OSRMplus

Routing, matrices, and fleet optimization in one API.

Get an API key. Send coordinates. Get routes, distance matrices, and optimized vehicle plans back. No servers, no map data, no infrastructure to manage.

Try it right now

curl https://api.osrmplus.com/route/v1/driving/\
  74.3436,31.5497;74.2650,31.4700 \
  -H "x-api-key: YOUR_KEY"

1.7ms

p50 routing latency

measured in production

7

API endpoints

route, matrix, VRP, TSP, and more

99.9%

uptime

load-balanced, multi-node

60s

to first call

sign up, get a key, send a request


What you get

One API,
seven endpoints

Routing

Point-to-point directions, road snapping, and GPS trace matching. Send coordinates, get back turn-by-turn routes with distances and durations.

/route/nearest/match

Distance Matrices

Calculate distances and durations between every pair of locations in one call. Fast enough for real-time dispatch, large enough for planning.

/tableup to 10K elements

Fleet Optimization

VRP and TSP solvers that plan routes for multiple vehicles at once. Time windows, capacity limits, and priority stops included.

/vrp/tsp/optimize

Traffic Profiles

Apply time-of-day speed adjustments so that routes planned for rush hour reflect rush-hour conditions. You set the rules, the router follows them.

custom profilestime slots

Fast and Consistent

Built on OSRM, the routing engine used by logistics companies worldwide. Sub-2ms median latency, byte-identical results every time.

OSRM coreMLD algorithm

Nothing to Run

No servers to set up, no map data to download, no weekly rebuilds to schedule. You call the API, we keep the maps fresh and the servers running.

managedauto-updating

How it works

Three steps to
your first route

1

Sign up and get a key

Create an account and get an API key on the free tier. No credit card, no approval process.

2

Pick your regions

Choose the parts of the world you need. Each region is a country or group of countries with weekly-updated maps.

3

Send requests

Call the API with coordinates. Get routes, matrices, and vehicle plans back as JSON. Standard HTTP, works with any language.


API

Clean,
predictable API

Standard HTTP with JSON responses. If you have used OSRM before, you already know most of the surface. The optimization endpoints are new.

GET/route
Point-to-point directions with distance and duration
GET/table
Distance and duration matrices between many locations
GET/nearest
Snap a coordinate to the nearest road
GET/match
Match GPS traces to the road network
POST/vrp
Multi-vehicle route optimization with constraints
POST/tsp
Find the shortest round trip through a set of stops
POST/optimize
VRP with sensible defaults for common cases

Start routing
in 60 seconds

Free tier. No credit card. Get an API key and send your first request before you finish reading this page.