The Ambee elevation API provides elevation or altitude data for specific geographic coordinates on the earth's surface.
Get elevation values, including minimum, maximum, and mean values, for any desired location within North America.
Get elevation data using geographic coordinates (latitude/longitude).
x-api-key
Content-type
Accept-Language
lat
lng
https://api.ambeedata.com/elevation/latest/by-lat-lng?lat=37.77355324503912&lng=-122.39428048824142
const http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/elevation/latest/by-lat-lng?lat=37.77355324503912&lng=-122.39428048824142",
"headers": {
"x-api-key": "API_KEY",
"Content-type": "application/json"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
Retrieve elevation or altitude data for a specific location within North America.
x-api-key
Content-type
Accept-Language
place
https://api.ambeedata.com/elevation/latest/by-place?place=San Francisco, USA
const http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/elevation/latest/by-place?place=San Francisco, USA",
"headers": {
"x-api-key": "API_KEY",
"Content-type": "application/json"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
Next
Playground
Yes
No