Routing that respects height, weight, and axle-load restrictions — not just the shortest path.
Powered by OSRM and OpenStreetMap.
🟢 Free to get started ✅ No credit card required 🔓 Open source, no lock-in
Get Free API KeyAlways free for small projects. $10/mo covers most apps
Garden State Parkway, NJ: car vs. hgv. Same waypoints, two profiles — see how the routes diverge where trucks are restricted.
# swap "driving" → "hgv" to change the profile — same coordinates, different route
curl "https://api.simplerouting.io/osrm/route/v1/driving/-74.1979,39.9537;-74.1724,40.7357?overview=full&geometries=geojson" \
-H "Authorization: Bearer 988b35cc-6183-4922-bbc0-857e1a1d318d"
This is a live demo with a real API key (feel free to steal it).
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.
Routes respect standard commercial vehicle height and weight limits — no more routing through low bridges or weight-restricted roads.
Roads OpenStreetMap marks off-limits to trucks are automatically excluded, even where a car route would use them.
Live today for North America. Same OSM-backed engine as our car and bike profiles — more regions roll out based on demand.
Use hgv as the profile to get truck-aware routing:
# /osrm/route/v1/{profile}/{coordinates} — use "hgv" for truck routing
curl "https://api.simplerouting.io/osrm/route/v1/hgv/-74.1979,39.9537;-74.1724,40.7357?overview=full&geometries=geojson" \
-H "Authorization: Bearer YOUR_API_KEY"
Standard routing engines — including our own car/driving profile — optimize for passenger vehicles. They'll happily send a truck under a 12'6" bridge or down a road with a 10-ton weight limit, because nothing in the request told them the vehicle wouldn't fit. For fleets running box trucks, tractor-trailers, or hazmat loads, that's not a minor inconvenience — it's bridge strikes, fines, and blocked streets.
No overages — your plan is your bill.
Hitting the limits, want more countries, or need a bespoke solution? Email [email protected] — we'll figure it out.
Yes — it's live for North America. Call the same /osrm/route/v1/{profile}/{coordinates} endpoint with hgv as the profile.
Car/driving (North America and Europe), truck/hgv (North America), and bicycle routing rolling out region by region. See Hosted OSRM API and our Bicycle Routing API for details.