osrmroute
Coverage

Worldwide coverage

Driving, walking and cycling routes and address search worldwide. Routes require mapped, connected roads or paths that allow the selected travel mode. Detailed local data varies by service.

Geographic exploration

Walking and cycling use the worldwide road and path network. A route requires connected ways that permit the selected mode. Missing paths or access restrictions return an explicit error; no driving route is substituted.

The level of detail in address and administrative boundary data varies by region and service.

Country and territory directory

Find a market and see its service coverage and limitations.

250 entries

Find APIs by business task

Choose APIs for transport, delivery, address search and mapping. Each service page explains what to send, what you get back and how to integrate it.

Navigation
  • Routing API

    Calculate a road route through the points in the supplied order for driving, cycling or walking. Request instructions with steps=true and select GeoJSON with geometries=geojson.

    GET /api/v1/osrm/route/v1/{profile}/{coordinates}
  • Map Matching API

    Snaps imprecise GPS traces to the real road network (snap to road). Used to clean up noise in GPS signals.

    GET /api/v1/osrm/match/v1/{profile}/{coordinates}
  • Nearest API

    Snaps any coordinate to the nearest real road segment and returns information about the road name.

    GET /api/v1/osrm/nearest/v1/{profile}/{coordinates}
  • Directions API

    Returns turn-by-turn navigation between two or more waypoints, with a clean instruction list (text, distance, duration, maneuver type and location). Supports car, bike and foot, plus up to 3 alternative routes in a single call.

    Alternative routes (same endpoint) →

    GET /api/1/directions
  • Snap to Road API

    Snaps raw, imprecise GPS points onto the nearest position on the road network. Repeat the point parameter for each coordinate (up to 100).

    GET /api/1/snap
  • Fuel Estimate API

    Estimate fuel volume and trip value from distance, loaded weight, observed empty/full consumption and your fuel price. Use it alone or include fuel in a Truck request.

    POST /api/v1/fuel/estimate
  • Truck Routing API

    Plan truck routes within and across countries on connected roads. Send the dimensions and loaded weight of the vehicle with each request.

    POST /api/v1/truck/route
  • Search Along Route API

    Discover useful stops and compare their additional driving time.

    POST /api/v1/places/along-route
  • Walking routes

    Calculate a road route through the points in the supplied order for driving, cycling or walking. Request instructions with steps=true and select GeoJSON with geometries=geojson.

    GET /api/v1/osrm/route/v1/walking/{coordinates}
  • Cycling routes

    Calculate a road route through the points in the supplied order for driving, cycling or walking. Request instructions with steps=true and select GeoJSON with geometries=geojson.

    GET /api/v1/osrm/route/v1/cycling/{coordinates}
Plan deliveries and loading
  • Route Optimization API

    Plans fleet routes with capacity, time windows, skills and paired pickup/delivery constraints. A bounded heuristic reduces travel time without guaranteeing a global optimum. Unassigned tasks remain in solution.unassigned; invalid inputs are rejected as a whole.

    POST /api/1/vrp
  • Matrix API

    Calculate travel times, distances or both between origins and destinations. Use sources and destinations to select indexes in the coordinate list.

    GET /api/v1/osrm/table/v1/{profile}/{coordinates}
  • Isochrones API

    Estimates reachability from sampled road travel times. quality.status is estimated when every sampled direction has a reachable point; otherwise it is insufficient_data and polygons is empty. Empty results do not prove there are no reachable roads. The boundary is approximate; only time limits are supported.

    GET /api/1/isochrone
  • Trip API (TSP)

    Order stops for one vehicle using the road network. The service can return a round trip or an open route. For an open route, send roundtrip=false&source=first&destination=last. The order is not guaranteed to be optimal.

    GET /api/v1/osrm/trip/v1/{profile}/{coordinates}
  • Load Planning

    Plan mixed cargo for trucks, trailers and containers. Review stacking, loading order and space in 3D, or integrate the Load Planning API into your own software.

    POST /api/v1/load-plansGET /api/v1/load-plans/{id}
Search
  • Geocoding API

    Turn a search text into geographic coordinates (forward) or coordinates into an address (reverse). Fast, typo-tolerant autocomplete that covers streets, addresses and points of interest (cafes, shops, hotels, offices). Ideal for search-as-you-type.

    GET /api/1/geocode
  • Places API

    Find points of interest near a location — cafes, shops, hotels, ATMs, pharmacies and more — filtered by category and radius, sorted by distance.

    GET /api/1/places
  • Autocomplete API

    Fast, typo-tolerant place suggestions as the user types, with optional location bias.

    GET /api/1/autocomplete
  • Batch Geocoding API

    Geocode up to 100 address strings per request. Results follow input order, and each query costs one credit.

    POST /api/1/geocode/batch
  • Natural Language Search

    Find places using a short English query.

    POST /api/v1/search/natural
  • Place details

    Read source attributes from a retrieved suggestion or route search.

    POST /api/v1/places/details
  • Structured Geocoding API

    Search addresses with street, city, postcode and country components.

    POST /api/v1/search/structured
  • Suggest & Retrieve API

    Build place search with suggestions and a secure retrieval step.

    POST /api/v1/search/suggestPOST /api/v1/search/retrieve
  • Reverse Geocoding

    Turn a search text into geographic coordinates (forward) or coordinates into an address (reverse). Fast, typo-tolerant autocomplete that covers streets, addresses and points of interest (cafes, shops, hotels, offices). Ideal for search-as-you-type.

    GET /api/1/geocode?reverse=true&point={lat,lng}
Maps
  • Text-to-style preview

    Describe palette and layer changes, review the map, then apply.

    POST /api/v1/studio/preview
  • Static Maps API

    Export styled maps as PNG images for reports and applications.

    POST /api/v1/maps/static
  • Studio API

    Manage map styles, datasets and publication from your application.

    GET /api/v1/studio/{resource}POST /api/v1/studio/{resource}
Data
  • Location Clustering

    Groups (clusters) given coordinates by their geographic proximity and density.

    POST /api/1/cluster
  • Timezone API

    Get the IANA time zone, current UTC offset, DST status and local time for any coordinate on Earth.

    GET /api/1/timezone
  • Elevation API

    Height above sea level, in metres, for any coordinate — one point or a whole route profile.

    GET /api/1/elevation
  • Boundary Lookup API

    Find which country, state, city and district a coordinate falls in — with the boundary polygon on request.

    GET /api/1/boundary
  • Geofencing API

    Test in one call which of your zones each point falls inside — polygon or circular fences.

    POST /api/1/geofence
  • Elevation Profile API

    Elevation at every point of a path plus total ascent, descent and distance — a full route profile.

    POST /api/1/elevation/profile
  • Geometry Utilities API

    Distance, bearing, area, centroid, simplification and polyline encode/decode — spatial math as a service.

    POST /api/1/geometry
  • Coordinate Conversion API

    Convert latitude/longitude to and from UTM and MGRS grid references.

    GET /api/1/convert
  • Dataset Query API

    Find nearby features in your own uploaded geographic datasets.

    POST /api/v1/maps/datasets/{id}/query
  • Road Data API

    Speed limits, road attributes and traffic-sign observations within available coverage.

    POST /api/v1/roads/lookupPOST /api/v1/roads/batch
  • Road Signs

    Find road sign observations within a map area. Retrieve sign classifications, coordinates, directions and observation dates with cursor pagination.

    POST /api/v1/roads/signs
  • Speed Limit Lookup

    Read the mapped passenger-car speed limit near a coordinate. A missing or ambiguous limit returns null.

    GET /api/1/speed-limit
Cross-border road coverage

The Routing API can calculate a cross-border car route in one request when its stops are connected on a supported road network.

Send the origin, destination and any stops in order, along with the loaded vehicle dimensions, gross weight, heaviest axle load and total axle count. Truck Routing can cross country borders where the mapped road network has a connected route suitable for that vehicle.

Truck Routing API →
Platform Integration Guide
  • Account usage

    Road data: 100,000 operations / month

    POST /api/v1/roads/usage
  • Async jobs

    Operations: geocode_batch, matrix, optimize. POST /api/jobs returns 202 and a job ID. Reusing the same Idempotency-Key and payload returns the existing job; a different payload returns 409.

    POST /api/jobsGET /api/jobsGET /api/jobs/{id}DELETE /api/jobs/{id}
  • Sandbox API

    Validate response parsing in the fixture sandbox before a paid live call.

    POST /api/sandbox
  • Source metadata

    Check data sources, geographic coverage and freshness by service.

    GET /api/source-metadata
  • Map styles and vector tiles

    Load public basemaps or published styles in MapLibre. Public requests need no API key and use zero credits. Use the tile URLs supplied by the style and preserve attribution.

    GET /api/basemaps/{style}GET /api/map-styles/{id}GET /api/map-styles/{id}/tiles/{dataset}/{z}/{x}/{y}GET /api/private-maps/{id}GET /api/private-maps/{id}/tiles/{dataset}/{z}/{x}/{y}
  • Mobile Access

    Connect your mobile application without embedding a private API key.

    POST /api/mobile/challengePOST /api/mobile/token
  • Remote MCP API

    Connect AI tools to location services.

    POST /api/mcp
  • Compatibility endpoints

    For existing integrations, check coordinate order and response units before switching to a canonical API.

    GET /api/v1/route/{profile}/{coordinates}GET /api/1/routeGET /api/1/route/infoGET /api/1/matrixPOST /api/1/matrixPOST /api/1/matrix/calculatePOST /api/1/matchPOST /api/1/elevationPOST /api/1/optimizePOST /api/1/vrp/optimizePOST /api/1/cluster/calculatePOST /api/1/batch-geocode

Request additional service coverage

Tell us which country, service and example location you need.

Tell us which country, service and example location you need.

OSRMRoute Support

Talk directly to our team

HERE TO HELP

How can we help?

Send a message. Ticket replies are also sent to your verified email.

Your chats

Your chats will appear here.