osrmroute

OSRM Matrix API

Ultra Fast

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

Calculate travel-time and distance matrices between multiple locations. Use road-network results for planning within your plan and request limits.

GET/api/v1/osrm/table/v1/{profile}/{coordinates}

Overview

The Matrix API calculates travel times and distances between origins and destinations in one request. It supports optimization, dispatch and driver selection. Limits depend on your plan; processing time varies by region, graph cache and matrix size. Validate your expected workload before production.

API reference

GET/api/v1/osrm/table/v1/{profile}/{coordinates}
ParameterTypeStatus
profilestringRequired
coordinatesstringRequired
annotationsstringOptional

Example request

Credit cost: 1 credit / 10 cells
curl "https://osrmroute.com/api/v1/osrm/table/v1/driving/49.85,40.37;49.86,40.40;49.83,40.39?annotations=duration,distance&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.