OSRMRoute

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.

Overview

The Routing API finds the fastest or shortest path across the real road network between two or more points. It supports car, bike and foot profiles, each computed on a dedicated graph, and returns the route geometry, total distance and duration, and optional turn-by-turn instructions. Built on the battle-tested OSRM engine with Contraction Hierarchies, it answers in milliseconds even for long journeys — ideal for navigation, delivery ETAs and trip planning.

Ready-made transport profiles
Turn-by-turn navigation instructions
Elevation profiles and obstacles
Custom profile support (Speed/Priority limits)

API reference

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

Example request

Credit cost: 1 credit
curl "https://osrmroute.com/api/v1/osrm/route/v1/driving/49.8516,40.3777;49.86,40.40?steps=true&overview=full&geometries=geojson&key=YOUR_KEY"

Other services