OSRM Directions API
NavigationHosted OSRM (Open Source Routing Machine) — production-ready API, no self-hosting.
Abbiegehinweise mit sauberer, leicht darstellbarer Anweisungsliste für Auto, Fahrrad und zu Fuß.
Überblick
Die Directions API liefert Abbiegehinweise zwischen zwei oder mehr Wegpunkten. Jeder Schritt enthält lesbaren Text, Distanz, Dauer, Manövertyp und die genaue Position — bereit zur Darstellung in einer Navigations-UI. Unterstützt Auto, Fahrrad und zu Fuß sowie alternative Routen in einem Aufruf.
API-Referenz
GET
/api/1/directions| Parameter | Typ | Status |
|---|---|---|
| point | string | Erforderlich |
| profile | string | Optional |
| alternatives | integer | Optional |
| lang | string | Optional |
Beispielanfrage
Credit-Kosten: 1 creditcurl "https://osrmroute.com/api/1/directions?point=40.3777,49.8516&point=40.40,49.86&profile=driving&key=YOUR_KEY"
Weitere Dienste
Routing APIRoute Optimization APIGeocoding APIPlaces APIMatrix APIIsochrones APIMap Matching APINearest APITrip API (TSP)Standort-ClusteringAlternative Routes APISnap to Road APIAutocomplete APIBatch Geocoding APITimezone APIElevation APIBoundary Lookup APIGeofencing APIElevation Profile APISolar APIGeometry Utilities APICoordinate Conversion APICountry Info API