Preview

{"elevation":[38.0]}

API Documentation

The /elevation endpoint returns terrain elevation in meters for any coordinate(s). Supports up to 100 points per request. Parameters:

latitude longitude Floating point array Required
WGS84 latitude and longitude. Comma-separated for multiple points (max 100). Example: multiple coordinates.
api_key String
Your API key for authenticated requests.

New optional parameters may be added over time. Required parameters will not change for API stability.

JSON Return Object

On success a JSON object is returned with just one attribute elevation. It is always an array, even if only one coordinate is requested.

{
    "elevation": [38.0]
}

Errors

In case an error occurs, for example a URL parameter is not correctly specified, a JSON error object is returned with a HTTP 400 status code.

{
    "error":true,
    "reason":"Latitude must be in range of -90 to 90°. Given: 522.52."
}