Wild APIs

Routing APIs

Routing APIs compute directions, travel times and route matrices. OSRM is free, keyless and built on OpenStreetMap, with GPS map matching and trip optimization included. Hosted options need a key: GraphHopper adds route optimization for driving, cycling and walking, openrouteservice from a university institute offers isochrones and elevation, and Mapy.com brings car, bike and foot routing from the Czech mapping service.
6 listings of 114 in catalogue
APIPricingAuthFormatFree tierStatus
Distancematrix.aiTravel time and distance between many origins and destinations at once, with live traffic and transit modes.
Location & Mapping › Routing
FreemiumAPI keyJSON<100/dayLive
GraphHopper Directions APITurn-by-turn routing and route optimization for driving, cycling and walking, worldwide.
Location & Mapping › Routing
FreemiumAPI keyJSON100–1k/dayLive
Mapy.com REST APIMap tiles, geocoding, car/bike/foot routing and route matrices from Czech mapping service Mapy.com.
Location & Mapping › Routing
FreemiumAPI keyJSON—Live
openrouteserviceOpenStreetMap directions, isochrones, matrices, geocoding and elevation, run by a university institute.
Location & Mapping › Routing
FreemiumAPI keyJSON—Live
OSRMRoad, bike and foot routing on OpenStreetMap: routes, distance matrices, GPS map matching, trip optimisation.
Location & Mapping › Routing
FreeNoneJSON10k+/dayLive
Stadia MapsTurn-by-turn routing, time/distance matrices, isochrones, map tiles, geocoding and time zone lookups.
Location & Mapping › Routing
FreemiumAPI keyJSON—Live

Choosing a Routing API

Is there a free Routing API?

Yes. OSRM is free to use, and GraphHopper Directions API, openrouteservice, Distancematrix.ai, Mapy.com REST API and Stadia Maps have a free tier alongside paid plans.

Which Routing APIs work without an API key?

OSRM needs no key or sign-up, so you can try it with a plain request.

Can I call a Routing API from front-end JavaScript?

OSRM allows cross-origin requests and needs no key, so it works straight from the browser. For the others, call them from your server so your key stays private.

Can I use Routing APIs in a commercial project?

Distancematrix.ai and Mapy.com REST API permit commercial use. OSRM, GraphHopper Directions API and Stadia Maps restrict it, for example to non-commercial or attributed use, so read the terms first.

Which Routing APIs work with AI agents?

GraphHopper Directions API and Mapy.com REST API publish an OpenAPI spec for generating clients and tools.

More specific: Distance Matrix APIs

More in Location & Mapping: Geocoding APIs · Address & Postal Code APIs · Maps APIs · IP Geolocation APIs · Places APIs · Countries APIs

Related: Transit APIs