Developer documentation

An address in.
Coordinates out.

Geocode addresses, suggest places as people type, and find what’s around a point. Start with one JSON request. No special SDK required.

This is the managed API for OpenGeocoding, the open-source geocoding engine we build and maintain. We host the engine and provide API key authentication, usage tracking and account management. The engine is open source; this hosted service is a separate commercial offering.

Prefer to run the engine yourself? See the self-hosting instructions on GitHub. The endpoints and authentication below describe the managed API, not the engine’s native interface.

Your first request

Up and running in a minute

  1. 01 Create a key in the dashboard.
  2. 02 Send a POST with your key and a JSON body.
  3. 03 Read coordinates and structured address fields.
cURL
curl 'https://api.opengeocoding.com/v1/search' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"addressString":"Copenhagen"}'

The API domain is a placeholder until launch. Replace it with your deployed edge URL. Never expose a secret API key in browser code.

Explore the API

5 endpoints

Autocomplete and regions are free of credit charges. Other successful operations spend one credit. Understand credits and limits →

Show the required data credits wherever you display results. Data attribution →