menu

Home

search

Elevation

Introduction

The Ambee elevation API provides elevation or altitude data for specific geographic coordinates on the earth's surface.

Elevation latest

Get elevation values, including minimum, maximum, and mean values, for any desired location within North America.

Latest - Geospatial search

Get elevation data using geographic coordinates (latitude/longitude).

Try Playgroundarr
GET
https://api.ambeedata.com/elevation/latest/by-lat-lng
Details
Request
Response

Headers

x-api-key

string
required
Unique key obtained after signup.
Allowed Value:
LANGUAGE_CODE
Default Value:
English

Content-type

string
optional
Default Value:
application/JSON

Accept-Language

string
optional
Specify your language with English as the default language.
Allowed Value:
LANGUAGE_CODE
Default Value:
English

Query Parameters

lat

number
required
Latitude of the search location.
Allowed Value:
Latitude must be between -90 and 90

lng

number
required
Longitude of the search location.
Allowed Value:
Longitude must be between -180 and 180
SAMPLE URL
https://api.ambeedata.com/elevation/latest/by-lat-lng?lat=37.77355324503912&lng=-122.39428048824142
SAMPLE REQUEST
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();

Latest - Placewise search

Retrieve elevation or altitude data for a specific location within North America.

Try Playgroundarr
GET
https://api.ambeedata.com/elevation/latest/by-place
Details
Request
Response

Headers

x-api-key

string
required
Unique key obtained after signup.
Allowed Value:
LANGUAGE_CODE
Default Value:
English

Content-type

string
optional
Default Value:
application/JSON

Accept-Language

string
optional
Specify your language with English as the default language.
Allowed Value:
LANGUAGE_CODE
Default Value:
English

Query Parameters

place

string
required
Name of the location to be searched.
SAMPLE URL
https://api.ambeedata.com/elevation/latest/by-place?place=San Francisco, USA
SAMPLE REQUEST
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();

Was this page helpful?
happy-emoji

Yes

sad-emoji

No