Back to catalog
🚌

GraphHopper

API Key

A-to-B routing with turn-by-turn instructions

🚌TransportationHTTPS

GraphHopper

Route: Berlin to Munich

OriginBerlin, Germany
DestinationMunich, Germany
Distance Km585.4
Duration Hours5.3
Instructions47
Ascend M1,240
Descend M1,180

Sample Response

response.json
1{
2 "origin": "Berlin, Germany",
3 "destination": "Munich, Germany",
4 "distance_km": 585.4,
5 "duration_hours": 5.3,
6 "instructions": 47,
7 "ascend_m": 1240,
8 "descend_m": 1180,
9 "bbox": [
10 11.0767,
11 48.1351,
12 13.405,
13 52.52
14 ]
15}

Code Snippets

request.sh
1"color:#c084fc">curl -X "color:#fbbf24">GET "https://docs.graphhopper.com/" \
2 "color:#60a5fa">-H "Authorization: Bearer YOUR_API_KEY"
View Documentation

Similar APIs