Batch Geocoding API
MassendevPage.apis.batchGeocoding.description
Überblick
Die Batch Geocoding API wandelt eine Liste von Adressen in einem Aufruf in Koordinaten um — bis zu 100 pro Anfrage. Ergebnisse werden in Eingabereihenfolge zurückgegeben, jeweils mit den besten Treffern, ideal für Datenpipelines, Tabellenimporte und einmalige Migrationen. Das Matching übernimmt Photon, mit Nominatim als Fallback für unsaubere Eingaben.
API-Referenz
POST
/api/1/geocode/batch| Parameter | Typ | Status |
|---|---|---|
| queries | array | Erforderlich |
| lang | string | Optional |
| limit | integer | Optional |
Beispielanfrage
Credit-Kosten: 1 credit / querycurl -X POST "https://osrmroute.com/api/1/geocode/batch?key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"queries":["Nizami küçəsi 10","28 May, Bakı"],"lang":"az"}'Weitere Dienste
Routing APIRoute Optimization APIGeocoding APIPlaces APIMatrix APIIsochrones APIMap Matching APINearest APITrip API (TSP)Standort-ClusteringDirections APIAlternative Routes APISnap to Road APIAutocomplete APITimezone APIElevation APIBoundary Lookup APIGeofencing APIElevation Profile APISolar APIGeometry Utilities APICoordinate Conversion APICountry Info API