CODE EXAMPLES
JavaScript (Fetch)
fetch('https://api.open-elevation.com/api/v1/lookup?locations=41.161758,-8.583933', {
method: 'GET',
headers: {},
})
.then(response => response.json())
.then(data => console.log(data));cURL
curl -X GET 'https://api.open-elevation.com/api/v1/lookup?locations=41.161758,-8.583933'Open-Elevation
0.0%
MAPS
A free and open-source elevation API.
PERFORMANCE TELEMETRY
RATE LIMITSCHECK DOCS
API TESTING INTERFACE
READY
SIGN IN TO EXECUTE TEST
Please sign in to test API endpoints
RESPONSE TELEMETRY
Execute API test to view telemetry data