- Home
- Categories
- Geolocation & Mapping
- OpenCage Geocoding API
OpenCage Geocoding API
The OpenCage Geocoding API offers developers reliable forward and reverse geocoding services using multiple open data sources for seamless integration.
Developed by OpenCage Data
Reference for available routes, request structures, and live examples.
Convert addresses to geographic coordinates
https://api.opencagedata.com/geocode/v1/jsoncurl -X GET 'https://api.opencagedata.com/geocode/v1/json' \
-H 'Authorization: Bearer YOUR_API_KEY'{
"q": "1600 Pennsylvania Ave",
"key": "API_KEY"
}{
"results": [
{
"geometry": {
"lat": 38.8977,
"lng": -77.0365
}
}
]
}- Building store locators or location-based searchOptimized Capability
- Integrating address autocomplete and validation in appsOptimized Capability
- Mapping visualizations for travel or delivery servicesOptimized Capability
- Reverse geocoding GPS data in mobile or IoT devicesOptimized Capability
- Geotagging and enriching datasets with place informationOptimized Capability
- ✓ Combines multiple open data sources for high coverage
- ✓ Worldwide geocoding and reverse geocoding
- ✓ Supports time zones, currencies, and many location details
- ✓ Simple, transparent pricing and generous free tier
- ✓ Helpful support and comprehensive documentation
- ✗ Rate limits may constrain large-scale real-time apps without a commercial plan
- ✗ No native offline mode—requires live internet access
- ✗ Some regions may have less detailed data
- ✗ API key must be protected and not exposed in public repositories
FAQs
API Specifications
v1Less than 5 minutes
2,500 requests/day (free tier), higher for paid plans
2,500 requests per day; no credit card required
Use Case: Best For
Developers building global location-based apps, mapping, or analytics tools
Not Recommended For
Offline geocoding or ultra-high-frequency real-time location apps
Explore Related APIs
Discover similar APIs to OpenCage Geocoding API
REST Countries API
The REST Countries API offers developers free, no-key-required access to detailed country information, suitable for various applications.
Countries Now API
The Countries Now API provides developers with structured geolocation data about countries and cities, making it ideal for enhancing international features in applications.
Zippopotam.us
The Zippopotam.us API provides free access to postal and ZIP code information from over 60 countries, suitable for enhancing address lookup and geocoding functionality in applications.