Batch Geocoding API
BulkdevPage.apis.batchGeocoding.description
Overview
The Batch Geocoding API turns a list of address strings into coordinates in one call — up to 100 per request. Results are returned in the same order as the input, each with the best matches, so it slots neatly into data pipelines, spreadsheet imports and one-off migrations. Photon powers matching, with a Nominatim fallback for messy input.
API reference
POST
/api/1/geocode/batch| Parameter | Type | Status |
|---|---|---|
| queries | array | Required |
| lang | string | Optional |
| limit | integer | Optional |
Example request
Credit cost: 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"}'Other services
Routing APIRoute Optimization APIGeocoding APIPlaces APIMatrix APIIsochrones APIMap Matching APINearest APITrip API (TSP)Location ClusteringDirections APIAlternative Routes APISnap to Road APIAutocomplete APITimezone APIElevation APIBoundary Lookup APIGeofencing APIElevation Profile APISolar APIGeometry Utilities APICoordinate Conversion APICountry Info API