OSRMRoute
PROFESSIONAL DEVELOPER PLATFORM

Built by developers, for developers

Add enterprise-grade routing to your apps via a REST API. Get started right away with clear documentation, ready-made code samples and the high-performance OSRM engine.

API Suite: Performance and Scalable Power

Our geospatial engine is optimized to handle high loads and compute the most optimal result in milliseconds.

Routing API

Battle-tested

From point A to point B: industry-grade routing for different transport modes. Turn instructions, elevation profiles and accurate arrival times (ETA) — all within a single API.

Route Optimization API

Premium

Handle complex logistics and turn your fleet's toughest routing tasks into efficient delivery plans. Work with time windows, driver skills and custom vehicle constraints.

Geocoding API

High Accuracy

Connect place with logic: convert addresses to coordinates and coordinates to precise real addresses. High-performance geocoding and reverse geocoding for enterprise-grade applications.

Matrix API

Ultra Fast

Fast distance computation at scale: instantly compute the time and distance matrix between hundreds of points at once. Speed up your optimization algorithms based on real road networks.

Isochrones API

Visual Analytics

Analyze travel time with reachability maps. Generate custom coverage polygons for any point, tailored to transport mode and road preferences.

Map Matching API

GPS Cleanup

Snap noisy GPS signals to the real road network. Turn scattered tracking coordinates into clean, accurate and logical route data.

Developer Resources and Tools

Get the job done fast with tools that make setup easy.

Technical Docs

Documentation covering every API detail, from getting-started guides to complex routing scenarios.

API Explorer

Send API requests and see the results instantly, both as code and on an interactive map. The fastest testing tool.

SDKs & Libraries

Use our official JavaScript, Python and Java SDK libraries to speed up your integration.

Why OSRMRoute?

Our geospatial routing infrastructure is specifically tuned to solve the toughest logistics and courier problems fast.

Millisecond-Level Latency

Routes are computed instantly via OSRM's internal optimized C++ engine.

99.9% Uptime Guarantee

Our high-availability clusters are ready to answer your requests at any moment.

Full Integration with the Azerbaijan Map

All internal roads, speed limits and geographic features are updated every day.

routing-request.sh
# 1. Send a route request with your API key
curl -X GET "https://osrmroute.com/api/v1/route/driving/\
49.8671,40.4093;49.8550,40.4150?overview=full&key=YOUR_API_KEY"

# 2. Fast JSON response returned from the server
{
  "code": "Ok",
  "routes": [{
    "geometry": {
      "coordinates": [[49.8671, 40.4093], ...],
      "type": "LineString"
    },
    "distance": 3254.2,
    "duration": 245.8
  }]
}