Make a GET request to
https://elevation-api.io/api/elevation?points=(39.90974,-106.17188),(62.52417,10.02487)&key=YOUR-API-KEY-HERE
This will yield elevations @ 5000 meter resolution:
{
"elevations":
[
{"lat":39.90974, "lon":-106.17188, "elevation":2768.5},
{"lat":62.52417, "lon":10.02487, "elevation":1051.5}
],
"resolution": "5000m"
}
Include an API key in the url ?key=YOUR-API-KEY
or within the header under ELEVATION-API-KEY
5000 meter resolution will always be free, but an API key is required!
Requires an API key with positive balance; just add resolution=90
to your requests!
You can add resolution=90-interpolated
for $0.00015 per GET request.
This is ~10x cheaper than other comparable API services!
This yields elevations between 5 and 30 meter resolutions! In the worst case you'll get 30 meter; most of Europe and the US are 5-10 meter resolution.
Requires an API key with positive balance; just add resolution=30
to your requests!
You can add resolution=30-interpolated
for $0.0003 per GET request.
With the interpolated option we emulate ~10 meter resolution!
{"points": [[12.3,45.6],[12.4,23.4]]}
-9999
key=YOUR-API-KEY
or in the header of the request under ELEVATION-API-KEY