December 01, 2025Announcing Google Maps API compatibility mode
Quick summary: Geocodio now has a drop-in Google Maps geocoding compatible API mode with transparent pricing that's typically 90% cheaper than Google Maps. All you need is a free API key and to swap out the hostname—that's it.
Geocodio has just launched a Google Maps API compatibility mode that accepts Google Maps Geocoding API-formatted requests and has the same response structure.
This makes saving money on geocoding by switching from the Google Maps geocoding API to Geocodio significantly easier, as all you need to do is change the hostname and sign up for a free Geocodio API key.
The new Compatibility Mode means you’ll save time while you save money.
If you're currently using Google Maps SDKs for geocoding, you can now switch to Geocodio by simply changing two things:
You can use the same request parameters and the response will have the same JSON response structure – no code refactoring needed. The compatibility endpoint translates Google Maps-formatted requests into Geocodio queries and returns results in the Google Maps response format, allowing for seamless migration with minimal code changes and no learning curve.

Geocodio’s Google Maps geocoding API compatibility endpoint is available at https://api.geocod.io/maps/api/geocode/json and serves as a direct drop-in replacement for Google Maps' geocoding endpoint.
All you need to do is change the host from maps.googleapis.com to api.geocod.io.
Both forward and reverse geocoding are fully supported.
You can continue using official Google Maps SDKs with minimal modifications. Here's an example using the Python SDK:
# Install: pip install googlemaps
import googlemaps
# Create client with Geocodio endpoint
gmaps = googlemaps.Client(
key='YOUR_GEOCODIO_API_KEY',
base_url='https://api.geocod.io'
)
# Forward geocoding
geocode_result = gmaps.geocode('1109 N Highland St, Arlington VA')
location = geocode_result[0]['geometry']['location']
print(f"Lat: {location['lat']}, Lng: {location['lng']}")
# Reverse geocoding
reverse_result = gmaps.reverse_geocode((38.886665, -77.094733))
print(reverse_result[0]['formatted_address'])
The same approach works with Node.js.
Geocodio’s compatibility endpoint includes all essential Google Maps geocoding response fields:
| Feature | Status | Notes |
|---|---|---|
address_components |
✅ Supported | Typed address component arrays (see details below) |
formatted_address |
✅ Supported | Full formatted address string |
geometry.location |
✅ Supported | Latitude and longitude coordinates |
geometry.location_type |
✅ Supported | Accuracy indicators (ROOFTOP, RANGE_INTERPOLATED, GEOMETRIC_CENTER, APPROXIMATE) |
geometry.viewport |
✅ Supported | Bounding box for the result |
types |
✅ Supported | Result type indicators |
partial_match |
✅ Supported | Added when accuracy < 1.0 |
status |
✅ Supported | Response status codes (OK, ZERO_RESULTS, etc.) |
Address components and component filtering are also supported, allowing you to transform Geocodio’s address data into Google Maps format and filter results by country, postal code, locality (city), state/province, or street name.
Currently, Geocodio supports addresses in the United States and Canada. Requests for addresses in other countries will return a ZERO_RESULTS status.
A few Google Maps Geocoding API fields are not included in responses:
The geometry.viewport field is approximated rather than based on actual address boundaries.
Geocodio’s Google Maps API compatibility endpoint is ideal for migrating existing applications with minimal code changes.
For new integrations, we recommend using Geocodio's native API to access our full feature set, including:
You can use both APIs with the same Geocodio account and API key, making it easy to migrate gradually while accessing Geocodio's extended features.
With Geocodio’s new compatibility endpoint, switching your geocoding from Google Maps is no longer a major migration project, but a simple endpoint update that can unlock meaningful savings on your geocoding bill.
To start using the new Google Maps API compatibility endpoint, all you'll need is a Geocodio API key. If you don't have one yet, sign up for free.
Have questions? Contact Geocodio support (real humans) at support@geocod.io.