Straßendaten-API
Tempolimits, Straßeneigenschaften und Verkehrszeichenbeobachtungen im verfügbaren Gebiet.
Business · Enterprise
Straßendaten: 100.000 Vorgänge pro Monat · Straßendaten: individuelles Kontingent
Ein Punkt oder eine Seite mit bis zu 100 Zeichen zählt als ein Vorgang. Stapel zählen je Punkt (maximal 50). Keine zusätzlichen API-Credits, Übertragung oder automatische Mehrkosten. Business: 120 Anfragen pro Minute für alle Schlüssel.
Die Abdeckung ist teilweise. Unbekannte Tempolimits bleiben null; Zeichenbeobachtungen ersetzen keine Straßenregeln.
Die Geschwindigkeitsabfrage deckt derzeit Aserbaidschan, Katar und das importierte Gebiet von Prag ab. Zeichenbeobachtungen haben eine separate, teilweise Abdeckung.
Authorization: Bearer YOUR_API_KEY · scope: speed-limit · application/json · ≤ 16 KiB
Tempo und Straßeneigenschaften
curl -X POST https://osrmroute.com/api/v1/roads/lookup \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{"lat":25.2854,"lon":51.531,"radius":35}'curl -X POST https://osrmroute.com/api/v1/roads/batch \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{"points":[{"lat":25.2854,"lon":51.531},{"lat":40.4093,"lon":49.8671}]}'{
"data": {
"point": {
"lat": 40.4093,
"lon": 49.8671
},
"country_code": "AZ",
"speed_limit": null,
"unit": "km/h",
"status": "no_matching_road",
"reason": "No compatible road was found inside the requested radius.",
"road": null,
"source": null,
"alternatives": [],
"note": "Mapped road limit from the source dataset. Unknown, ambiguous, variable and conditional limits return null. Unverified image detections and routing travel speeds are not used as legal road limits."
},
"operations": 1
}Tempolimit auf Straßen
Rufen Sie das kartierte Pkw-Tempolimit nahe einer Koordinate ab. Fehlende oder mehrdeutige Werte werden als null zurückgegeben.
point=lat,lon | lat + lon · radius: 5–100 m (35 m) · heading: 0–<360° · osm_way_id
HTTP 200 · 1 Anfrage-Credits · speed_limit: number | null · km/h
Die Geschwindigkeitsabfrage deckt derzeit Aserbaidschan, Katar und das importierte Gebiet von Prag ab. Zeichenbeobachtungen haben eine separate, teilweise Abdeckung.
curl --fail-with-body "https://osrmroute.com/api/1/speed-limit?lat=25.3812&lon=51.5193" -H "Authorization: Bearer $OSRMROUTE_API_KEY"Verkehrszeichen-API
Verkehrszeichenbeobachtungen in einem Kartenausschnitt finden: Klassifikation, Koordinaten, Richtung und Beobachtungsdaten mit Cursor-Paginierung.
Bis zu 100 Beobachtungen pro Seite. Eine erfolgreiche Seite verbraucht eine Road-Data-Operation. Business und Enterprise teilen dieses Kontingent mit Straßen- und Stapelabfragen.
curl -X POST https://osrmroute.com/api/v1/roads/signs \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{"country":"DE","bbox":[13.4,52.51,13.402,52.512],"limit":100}'bbox: [west, south, east, north] · Δlongitude ≤ 0.05° · Δlatitude ≤ 0.025° · cursor: next_cursor
{
"data": {
"observations": [],
"next_cursor": null,
"coverage": "partial_source_observations",
"note": "Source observations are not confirmed road rules. No observations does not establish absence of signs. Import time is not observation time."
},
"operations": 1
}Nachweis der Routen-Compliance
Vergleichen Sie vor der Disposition eine geplante oder zugeordnete Route mit indexierten Straßen-Geschwindigkeitsdaten.
Jede Position wird einzeln bewertet. Ungedeckte Positionen werden explizit und erstattet zurückgegeben; bedingte, variable und unbekannte Limits bleiben unbekannt. Keine Navigation, Rechtsfreigabe oder Live-Verkehr.
scope: speed-limit · coordinates: 2–50 · maximum submitted straight-line route length: 500 km
curl -X POST https://osrmroute.com/api/v1/roads/compliance \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{"route_kind":"planned","coordinates":[[49.8516,40.3755],[49.86,40.38],[49.8671,40.4093]]}'{
"data": {
"route_kind": "planned",
"coverage": "partial_indexed_observations",
"samples": [
{
"position_index": 0,
"submitted_position": [
51.531,
25.2854
],
"status": "unknown",
"speed_limit": null,
"speed_limit_status": "unknown",
"reason": "No explicit speed limit is mapped on this road.",
"country_code": "QA",
"road": null,
"source": null
}
],
"segments": [
{
"from_position_index": 0,
"to_position_index": 0,
"status": "unknown",
"country_code": "QA",
"speed_limit": null,
"speed_limit_status": "unknown",
"road": null,
"source": null
}
],
"sign_observations": {
"status": "unavailable",
"coverage_by_country": [],
"unavailable_position_indexes": [
0,
1
],
"observations": [],
"note": "Road-sign observations are unavailable because this source has not been enabled. This does not establish that signs are absent."
},
"note": "Evidence is limited to submitted positions and indexed source data. It is not comprehensive road-rule coverage, legal clearance, navigation guidance, safety advice, real-time data, or proof that an observation or rule is absent."
},
"operations": 2
}Kontonutzung
curl -X POST https://osrmroute.com/api/v1/roads/usage \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{}'{
"limit": 100000,
"used": 100,
"reserved": 0,
"remaining": 99900,
"requests_per_minute": 120,
"resets_at": "2026-11-01T00:00:00Z"
}