osrmroute

OSRM Directions API

Navigation

Hosted OSRM (Open Source Routing Machine) — a production API without self-hosting.

Turn-by-turn navigation with a clean, easy-to-render instruction list for car, bike and foot.

GET/api/1/directions

Overview

The Directions API returns turn-by-turn navigation between two or more waypoints. Each step comes with human-readable text, distance, duration, maneuver type and the exact location — ready to render in a navigation UI. It supports driving, cycling and walking, plus alternative routes in one call.

API reference

GET/api/1/directions
ParameterTypeStatus
pointstringRequired
profilestringOptional
alternativesintegerOptional
langstringOptional

Example request

Credit cost: 1 credit
curl "https://osrmroute.com/api/1/directions?point=40.3777,49.8516&point=40.40,49.86&profile=driving&key=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.