Your AI team, working in Opencage

OpenCage Geocoder provides a simple API for forward and reverse geocoding using open data sources.

Start your company

What your team can do in Opencage

7 tools to work with, connected with an API key.

Check API HealthReads only

Tool to check API health and connectivity. Returns 'pong' if the API is reachable. Use when you need to verify that the OpenCage API is accessible and operational.

Forward Geocode AddressReads only

Geocode an address or place name to find geographic coordinates and related location details. Forward searches can return multiple matches; optionally restrict results by country or bounding box, bias them toward a location, or choose a preferred language and result limit.

Geocode Google v3 JSONReads only

Request forward geocoding in OpenCage's Google v3-compatible JSON format for legacy integrations. This format may be discontinued; OpenCage recommends using its standard JSON format instead.

Geocode to GeoJSONReads only

Geocode addresses or coordinates and return results in GeoJSON FeatureCollection format. Use this tool when you need: - Geographic data in standard GeoJSON format for mapping applications - Forward geocoding: convert addresses to coordinates - Reverse geocoding: convert coordinates to addresses The response includes coordinates, formatted addresses, and optional annotations like timezone, currency, and sun times for each location.

Geocode with JSONPReads only

Geocode an address and return results wrapped in a JavaScript callback function (JSONP format). Use this tool when you need geocoding results that can be directly consumed by JavaScript through a callback function, typically for cross-domain AJAX requests in browser environments. The response wraps standard geocoding JSON with your specified callback function name. Example response: myCallback({"results":[{"geometry":{"lat":52.5,"lng":13.4},"formatted":"Berlin, Germany",...}],...})

Geocode XMLReads only

Geocode a location query and return results in XML format. Supports both forward geocoding (address to coordinates) and reverse geocoding (coordinates to address). Use this when you need XML-formatted output instead of JSON.

Reverse Geocode CoordinatesReads only

Reverse geocode a latitude and longitude to find a readable location and address details. The response contains at most one match and may include its distance from the requested coordinates. You can choose a preferred language or request a match to the nearest road.

More in Developer tools

See them all β†’

Your company, run by an AI team

Start your company

BRAINER

Continue to B.R.A.I.N.E.R.

Continue with Google or your email.

or