Distance matrix, maplines, turn-by-turn directions, route and fleet optimization APIs
πͺπΊ Hosted in the EU π Powered by open source
Get Free API Key# Distance matrix between 4 NYC landmarks
curl "https://api.simplerouting.io/osrm/table/v1/driving/-73.9855,40.7580;-74.0134,40.7127;-73.9718,40.7678;-73.9614,40.7143" \
-H "Authorization: Bearer 988b35cc-6183-4922-bbc0-857e1a1d318d"
# Get directions from Penn Station to JFK Airport
curl "https://api.simplerouting.io/osrm/route/v1/driving/-73.9935,40.7506;-73.7781,40.6413?overview=full" \
-H "Authorization: Bearer 988b35cc-6183-4922-bbc0-857e1a1d318d"
# Optimize 10 stops across 2 vehicles (VRP solver)
curl -X POST "https://api.simplerouting.io/vroom/" \
-H "Authorization: Bearer 988b35cc-6183-4922-bbc0-857e1a1d318d" \
-H "Content-Type: application/json" \
-d '{
"vehicles": [
{ "id": 1, "start": [-73.9935, 40.7506], "end": [-73.9935, 40.7506] },
{ "id": 2, "start": [-73.9857, 40.6892], "end": [-73.9857, 40.6892] }
],
"jobs": [
{ "id": 1, "location": [-73.9857, 40.7484] },
{ "id": 2, "location": [-73.9772, 40.7527] },
{ "id": 3, "location": [-73.9911, 40.7359] },
{ "id": 4, "location": [-73.9973, 40.7308] },
{ "id": 5, "location": [-74.0061, 40.7424] },
{ "id": 6, "location": [-73.9936, 40.6960] },
{ "id": 7, "location": [-73.9754, 40.6826] },
{ "id": 8, "location": [-73.9614, 40.7143] },
{ "id": 9, "location": [-73.9690, 40.6602] },
{ "id": 10, "location": [-73.9636, 40.6712] }
]
}'
This is a live demo with a real API key (feel free to steal it).
Want the full picture?
View API DocsHitting the limits, want more countries, or need a bespoke solution? Email [email protected] β we'll figure it out.
Assign jobs to vehicles and get optimal stop order. Handle time windows, capacity constraints, and multi-vehicle fleets.
Calculate travel distances and times between multiple points. Perfect for logistics and planning.
Get the road-following route geometry between any waypoints β ready to draw on Leaflet, Mapbox, or any map library. Turn-by-turn steps included.
Snap GPS traces to the road network. Clean up tracking data and analyze actual routes driven.
Car routing across North America and Europe, truck/HGV routing for North America, and bicycle routing rolling out region by region.
Built on OSRM, VROOM, and OpenStreetMap. No vendor lock-in, no proprietary formats.
North America
Europe
Self-hosting OSRM means a 128GB server and ongoing DevOps work. Enterprise providers mean "contact us" pricing and sales calls. I wanted something in between β a routing API you can start using in 30 seconds for $0. So I built it.
Not for you if: you need global coverage (NA and EU-only right now), real-time traffic data, sub-10ms latency guarantees, or enterprise SLAs with legal contracts. No hard feelings.
I also build custom solutions β routing stack deployments, custom routing integrations, geospatial data pipelines, or anything in the routing/logistics space. If you need a bespoke solution built by someone who knows this stack inside and out, let's talk.
No catch. This is a side project filling a gap in the market. The free tier subsidizes itself through the paid tier. I'm not trying to get rich, just break even while providing value.
For small-to-medium projects, absolutely. But if you need five-nines, sub-millisecond latency, and legal contracts, you probably need enterprise anyway.
North America and Europe. Need more regions? Email me β I'll add them based on demand.
OSRM routing quality is competitive with Google for distance matrix and directions. VROOM handles fleet optimization like Google's Route Optimization API. You won't get real-time traffic data, but for 90% of use cases, this works great β at a fraction of the cost.
Yes! The APIs are compatible with standard OSRM and VROOM, so migration should be straightforward. You'll save on server costs and DevOps time.
Germany β EU-based infrastructure, so your data stays in-region. Handy if GDPR or data residency requirements matter for your business.