Send a coordinate
Pass a latitude and longitude in decimal degrees. One point, one request.
latitude + longitudeELEVATION. ONE SIMPLE REQUEST.
Turn latitude and longitude into elevation with a simple JSON API. Free.
Free. No API key or credit card.
SMALL REQUEST. USEFUL ANSWER.
A straightforward way to add elevation to maps, routes, and the things you build.
Pass a latitude and longitude in decimal degrees. One point, one request.
latitude + longitudeGet a height in metres, ready to use in your application.
"elevation": 2360.0Use the elevation in a map, route, or application.
A LOOK AT THE RESPONSE
The same simple shape, whether you are in the Alps or in California.
Example responses from two locations.
{
"latitude": 46.5,
"longitude": 7.5,
"elevation": 2360.0,
"unit": "meters",
"error_in_meters": 1.0
}
BUILT FOR YOUR NEXT IDEA
Pass latitude and longitude. Receive elevation in metres.
/v1/elevation| Parameter | Accepted value |
|---|---|
latitude | Decimal number from -90 to 90. |
longitude | Decimal number from -180 to 180. |
Required decimal degrees in WGS84. One point per request.
200Elevation found422Invalid coordinate404Elevation unavailable503Temporarily unavailablecurl "https://elevationat.fyi/v1/elevation?latitude=46.5&longitude=7.5"
A FEW GOOD QUESTIONS
The API is free, without an account, API key, or payment card.
Elevations are returned in metres. Values can be zero or negative for locations below sea level.
Not yet. The current API accepts coordinates only. Address lookup is planned, but is not available in this release.
Availability can vary by location. If an elevation isn't available for a point, the API returns 404.
YOUR COORDINATES. A LITTLE MORE CONTEXT.