Open-Elevation drop-in replacement

Open-Elevation's public server is a volunteer project with no uptime promise. openelevation.mygeocode.com answers the same lookup endpoint, by GET or POST, with 30 metre data.

Change one hostname

Original host
  • api.open-elevation.com
Use insteadopenelevation.mygeocode.com
Key parameterNone on the original. Add key=... to use your account, or whitelist your server IPs. Or send nothing and use the free 2,500 a day.
Before
curl "https://api.open-elevation.com/api/v1/lookup?locations=27.9881,86.9250|46.5763,7.6613"
After
curl "https://openelevation.mygeocode.com/api/v1/lookup?locations=27.9881,86.9250|46.5763,7.6613"

Why people move

No key needed, same URL structure, and a server that is monitored and paid for.

Try it before you sign up for anything. Requests to openelevation.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 openelevation.mygeocode.comWhat it doesBacked by
/api/v1/lookup?locations=lat,lon|lat,lonLookup by GETElevation lookup
/api/v1/lookup (POST, JSON body)Lookup by POSTElevation lookup

Example response

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

Response from openelevation.mygeocode.com
{
  "results": [
    { "latitude": 27.9881, "longitude": 86.925, "elevation": 8752 },
    { "latitude": 46.5763, "longitude": 7.6613, "elevation": 3459 }
  ]
}

Details and differences

  • Elevation is returned as an integer number of metres, as Open-Elevation does. Use our own /v1/elevation endpoint if you want decimals and the dataset resolution.
  • Each point counts as one request.

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.