Geocodio drop-in replacement
Geocodio focuses on the United States and Canada. geocodio.mygeocode.com answers its geocode and reverse endpoints in the same shape, and takes addresses anywhere in the world.
Change one hostname
| Original host |
|
|---|---|
| Use instead | geocodio.mygeocode.com |
| Key parameter | api_key (put your My Geocode key here, or leave it out for the free 2,500 a day) |
curl "https://api.geocod.io/v1.7/geocode?q=1109+N+Highland+St,+Arlington+VA&api_key=YOUR_GEOCODIO_KEY"curl "https://geocodio.mygeocode.com/v1.7/geocode?q=1109+N+Highland+St,+Arlington+VA&api_key=YOUR_MYGEOCODE_KEY"Why people move
The same interface, worldwide coverage, and no per-lookup pricing tiers to track.
Try it before you sign up for anything. Requests to geocodio.mygeocode.com count toward the same 2,500 a day you get on our own endpoints, with no key and no account. Above that, credits at $0.001 per request or €50 a month unlimited. Signing up takes an email address and nothing else.
Endpoints
| Path on geocodio.mygeocode.com | What it does | Backed by |
|---|---|---|
/v1.7/geocode?q=... | Forward geocoding | Forward geocoding |
/v1.7/reverse?q=lat,lng | Reverse geocoding | Reverse geocoding |
/v1.7/geocode (POST, JSON array) | Batch forward geocoding | Forward geocoding |
Example response
This is what the request above returns. Field names, nesting and types follow Geocodio. Only the data behind them is ours.
{
"input": {
"address_components": {
"number": "1109",
"predirectional": "N",
"street": "Highland",
"suffix": "St",
"formatted_street": "N Highland St",
"city": "Arlington",
"state": "VA",
"country": "US"
},
"formatted_address": "1109 N Highland St, Arlington, VA"
},
"results": [
{
"address_components": {
"number": "1109",
"predirectional": "N",
"street": "Highland",
"suffix": "St",
"formatted_street": "N Highland St",
"city": "Arlington",
"county": "Arlington County",
"state": "VA",
"zip": "22201",
"country": "US"
},
"formatted_address": "1109 N Highland St, Arlington, VA 22201",
"location": { "lat": 38.886665, "lng": -77.094733 },
"accuracy": 1,
"accuracy_type": "rooftop",
"source": "My Geocode"
}
]
}Details and differences
- accuracy_type uses Geocodio's labels: rooftop, point, range_interpolation, nearest_rooftop_match, street_center, place, county, state.
- Any v1.x path prefix is accepted. The fields parameter for appended data (congressional districts, timezones) supports timezone only.
If your client depends on a field or behaviour that is not listed here, tell us. Compatibility gaps get fixed quickly because they are usually small.
Other drop-in hosts
- Google Maps
- Bing Maps
- HERE
- Mapbox
- Geocode.Farm
- Nominatim (OSM)
- OpenCage
- LocationIQ
- Geoapify
- TomTom
- MapQuest
- PositionStack
- ip-api
- ipinfo
- ipstack
- Open-Elevation
How the drop-ins work, the overview, and the JavaScript library drop-ins.