Elevation API Reference
Base URL
https://elevation.maptoolkit.net
Endpoints
GET /
Get elevation for one or more coordinates
Returns an array of elevation values in meters, in the same order as the input coordinates.
Provide coordinates using loc, points, or a combination of both.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
loc | query | array | No | Coordinate in lat,lng format. Repeat this parameter to query multiple locations. |
callback | query | string | No | Wraps the response in a JSONP callback function with this name. |
points | query | string | No | JSON-encoded array of [lat, lng] coordinate pairs. |
| Status | Description |
|---|---|
200 | Array of elevation values in meters, one per input coordinate. |
400 | Bad request. |
500 | Internal server error. |
Try it
The console below sends live requests against the endpoints above. You can browse it
without an API key; Execute needs one, because every endpoint requires the api_key
query parameter and returns 403 without it. Use Authorize to add your key. See
First Steps if you do not have one yet.