BuddyGeo documentation
Turn addresses and place names into coordinates with the BuddyGeo API, find the address for a coordinate, or geocode a whole spreadsheet of addresses or coordinates without writing code.
BuddyGeo is a geocoding service with two ways in:
- An HTTP API for applications: send an address or place name and get its coordinates back as JSON (forward geocoding), or send a coordinate and get the nearest mapped address (reverse geocoding).
- A spreadsheet tool for bulk jobs: upload a CSV or XLSX file, map its address columns (or its latitude and longitude columns), check the estimate, and download the same rows with coordinates (or addresses) added.
Both draw on one credit allowance per workspace: a lookup that returns a result (a search with at least one match, or a reverse lookup with an address) costs one credit, and everything else is free.
Start here
Forward playground
Search an address or a place name in the browser and see its coordinates and every close match on a map.
Quickstart
Create a key, search for an address, then look up a coordinate, and find both requests in your dashboard.
API reference
Every endpoint, parameter and response, with an interactive Try it console.
Reverse playground
Run the CN Tower example in the browser and see the submitted and returned points on a map.
Geocode a spreadsheet
Open the upload wizard with the eleven-row address sample already loaded. A coordinate sample is offered there too.
Guides
Authentication
The X-API-Key header, key rotation with an overlap, and revocation.
Forward geocoding
GET /v1/search: one or several candidates for an address or place name.
Reverse geocoding
GET /v1/reverse: parameters, the response envelope and match levels.
Bulk processing
The upload wizard and the /v1/batch endpoints, from estimate to download.
Coordinate order
Latitude first in parameters and inputs, longitude first in GeoJSON.
Languages
Ask for a language with lang and read which one you received.
Rate limits and errors
Every error code, its HTTP status and what to do next.
Credits and billing
What consumes a credit, plan allowances and what a plan change does.
Nominatim migration
Keep your /reverse and /search requests: change the base URL and add a key.
Attribution
Results come from OpenStreetMap data under the ODbL. How to credit it.
Troubleshooting
401 after a rotation, 429, swapped coordinates, no match over water.
The API at a glance
| Endpoint | What it does |
|---|---|
GET /v1/search | Address or place name to coordinates |
GET /v1/reverse | Coordinate to the nearest mapped address |
POST /v1/batches | Submit a list of addresses or coordinates as one job (POST /v1/batch alias also accepted; requires Idempotency-Key) |
GET /v1/batches/{job_id} | Job status, progress and row counts |
GET /v1/batches/{job_id}/results | Row-level results (JSON, or ?format=csv|xlsx|errors) in the original order |
DELETE /v1/batches/{job_id} | Cancel the rows that have not been processed |
GET /v1/usage | Credits used, reserved and available in the current period |
GET /reverse, GET /search | Nominatim-compatible aliases |
Every request carries the key in the X-API-Key header. Every response carries a request_id that you can look up under Request logs or hand to support.
Where things are in the app
API keys
Create, rotate and revoke the keys of your workspace.
Usage
Requests against billable credits, by day, endpoint and key.
Request logs
Search by request ID and see why a request was or was not charged.
Billing and plans
Current plan, allowance, reset date and plan changes.
Service status
State of the API, the geocoder, batch processing and the dashboard.
Help and support
Search help or open a ticket with a request or job ID attached.
Related guides
Quickstart
Create a key, turn an address into coordinates with your first search, look up the address for a coordinate, and find both requests and their credits in your dashboard.
Forward geocoding
GET /v1/search turns an address or place name into coordinates and returns every plausible candidate when a query is ambiguous.
Reverse geocoding
GET /v1/reverse turns a latitude and longitude into the nearest mapped address, with its components, its own coordinate and an explanation of the match.