Free Elevation API Service

Get the elevation of every point on Earth.

About This Service

This API provides you with access to elevation data across Earth's globe, absolutely free of charge.

API Usage

To use the API, make a GET request to this endpoint with the required parameters. Here is an example request:

https://www.elevation-api.eu/v1/elevation/:lat/:lon[?json]

Parameters:

Response:

The API will return the elevation in meters. For example:

42

If the point is not into the DEM dataset, the response code will be 501 (or Null in JSON mode)

Try it out:

Get the elevation of the Lake Leman

JSON API endpoint (multi coordinates)

You can also request many coordinates at once by using the following endpoint: https://www.elevation-api.eu/v1/elevation?pts=[[lat1,lon1],[lat2,lon2],[lat3,lon3]]

Example

https://www.elevation-api.eu/v1/elevation?pts=[[46.24566,6.17081],[46.85499,6.78134]]

Misc

Data source

The digital elevation data comes from ESA's Copernicus program.

Rate limits

Don't be an idiot. Less than 10/s is okay

Contact

For more information, you can reach me at f@vi-di.fr