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
  • api.geocod.io
Use insteadgeocodio.mygeocode.com
Key parameterapi_key (put your My Geocode key here, or leave it out for the free 2,500 a day)
Before
curl "https://api.geocod.io/v1.7/geocode?q=1109+N+Highland+St,+Arlington+VA&api_key=YOUR_GEOCODIO_KEY"
After
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.

See pricing Sign up with an email

Endpoints

Path on geocodio.mygeocode.comWhat it doesBacked by
/v1.7/geocode?q=...Forward geocodingForward geocoding
/v1.7/reverse?q=lat,lngReverse geocodingReverse geocoding
/v1.7/geocode (POST, JSON array)Batch forward geocodingForward geocoding

Example response

This is what the request above returns. Field names, nesting and types follow Geocodio. Only the data behind them is ours.

Response from geocodio.mygeocode.com
{
  "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

All REST drop-ins and JavaScript library drop-ins.