OpenCage Geocoder

api.opencagedata.com

Community

OpenCage provides a forward and reverse geocoding API that aggregates multiple open data sources. Convert addresses to coordinates and coordinates to addresses, with rich annotations including timezone, currency, and geographic context for over 200 countries.

Auth

api_key

Pricing

free

Spec version

1.0

Base URL

https://api.opencagedata.com

Crawl failures

1

Last verified

2026-03-01 11:08:58

Health

Loading health data...

Capabilities

forward_geocode

location

Convert an address or place name into geographic coordinates. Returns results ranked by relevance with confidence scores, address components, and optional annotations.

Detail: https://api.opencagedata.com/capabilities/forward_geocode

geocode_with_bounds

location

Forward geocode within a specific bounding box to restrict results to a geographic area. Useful for disambiguating place names that exist in multiple regions.

Detail: https://api.opencagedata.com/capabilities/geocode_with_bounds

geocode_with_proximity

location

Forward geocode biased toward a specific location. Results closer to the proximity point are ranked higher, useful for location-aware search.

Detail: https://api.opencagedata.com/capabilities/geocode_with_proximity

reverse_geocode

location

Convert geographic coordinates (latitude, longitude) into a human-readable address. Returns formatted address, components, timezone, and currency annotations.

Detail: https://api.opencagedata.com/capabilities/reverse_geocode

Agent Preview

This is what an AI agent sees when it discovers this service via the Gateway:

Service: OpenCage Geocoder
Description: OpenCage provides a forward and reverse geocoding API that aggregates multiple open data sources. Convert addresses to coordinates and coordinates to addresses, with rich annotations including timezone, currency, and geographic context for over 200 countries.
Auth: api_key
Capabilities:
  - forward_geocode: Convert an address or place name into geographic coordinates. Returns results ranked by relevance with confidence scores, address components, and optional annotations.
  - geocode_with_bounds: Forward geocode within a specific bounding box to restrict results to a geographic area. Useful for disambiguating place names that exist in multiple regions.
  - geocode_with_proximity: Forward geocode biased toward a specific location. Results closer to the proximity point are ranked higher, useful for location-aware search.
  - reverse_geocode: Convert geographic coordinates (latitude, longitude) into a human-readable address. Returns formatted address, components, timezone, and currency annotations.