Elevation API

Elevation API was designed to provide SRTM (Shuttle Radar Topography Mission) elevation data.

Request example:


curl --location --request GET 'https://api.geodesy.online/v1/elevation?locations=28.04532,-81.95663|28.55196,-81.38123' \
--header 'API_KEY: [your_api_key]'
                     

Response example:


{
    "result": {
        "coords": [
            {
                "lat": 28.04532,
                "lng": -81.95663,
                "elevation": 68.0
            },
            {
                "lat": 28.55196,
                "lng": -81.38123,
                "elevation": 35.0
            }
        ]
    },
    "success": true
}