Integrate A-to-B route planning, turn-by-turn navigation, route optimization, isochrone calculations, location clustering and other tools into your application.
Pass the key as the
keyquery parameter in every request, for example:curl "https://graphhopper.com/api/1/route?point=51.131,12.414&point=48.224,3.867&profile=car&calc_points=false&key=api_key"
You can also try all APIs without registration in the API Explorer.
Route Optimization
Solve traveling salesman and vehicle routing problems.
Routing
Calculate the best path between two or more points, with turn-by-turn instructions.
Matrix
Calculate distances and times between many start and destination locations.
Geocoding
Find the coordinates of an address, and addresses near a coordinate.
Isochrone
Compute the area reachable from a location within a time or distance limit.
Map Matching
Snap GPS traces to the road network.
Clustering
Assign customers to a given number of groups.
Custom Profiles
Create routing profiles customized to your needs.
Common Workflows
How the APIs combine, for example for a delivery app.
Route Optimization
Fleets, workloads, objectives and constraints: the concepts behind a request.
Map Data and Routing Profiles
OpenStreetMap and TomTom data, and the vehicle profiles for each.
Custom Model
Modify the routing behavior of a vehicle profile with rules in JSON.
To speed up development and make coding easier, we offer a JavaScript client and a Java client.
For turn-by-turn navigation in your iOS or Android app we recommend the Maplibre Navigation SDK (Kotlin Multiplatform version), which works well with GraphHopper.