osrmroute
Products
Routing API

OSRM Routing API

Calculate routes, distances and estimated travel times on the road network. Explore available transport profiles, route geometry and integration examples.

Get your API key
Berlin, Germany
GET/api/v1/osrm/route/v1/{profile}/{coordinates}

Current plan limits

Free includes Routing, Route Optimization, Geocoding (including reverse lookup and autocomplete) and Matrix APIs within plan limits. Map Matching, Isochrone, Truck Routing, Fuel Estimate and other separate APIs require a paid plan, including PAYG. API access follows the account’s effective plan; a positive balance alone does not override Free restrictions. Road Data and AI retain their separate Business requirements.

Credit and requests-per-minute limits are shared across all account keys. An additional key credit cap cannot enlarge the account budget. Included credits are used first, then purchased credits.

Current plans and pricing

Overview

Calculate driving, walking or cycling routes worldwide, with geometry, distance, estimated duration and optional instructions. Mapped paths, access restrictions and connectivity determine each result. Test representative journeys for your application.

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

Ready-made transport profiles
Turn-by-turn navigation instructions
Elevation profiles and obstacles
Per-request truck dimensions and weight (separate API)

API reference

GET/api/v1/osrm/route/v1/{profile}/{coordinates}
ParameterTypeStatus
profilestringRequired
coordinatesstringRequired
overviewstringOptional
geometriesstringOptional
stepsbooleanOptional
alternativesinteger | booleanOptional

Example request

Credit cost: 1 credit per started block of 10 input points, including origin and destination.
curl "https://osrmroute.com/api/v1/osrm/route/v1/driving/49.8516,40.3777;49.86,40.40?steps=true&overview=full&geometries=geojson" -H "Authorization: Bearer YOUR_KEY"

Other services

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.