Skip to content
GuidesPlaygroundDashboard

Look up elevation at one or more points

GET/api/v1/elevation

Look up elevation at one or more points

Query ParametersExpand Collapse
lat: optional number

Latitude (single point)

lng: optional number

Longitude (single point)

locations: optional string

Pipe-separated lng,lat pairs (batch)

ReturnsExpand Collapse
ElevationLookupResult = object { geometry, properties, type }

GeoJSON Point Feature with 3D coordinate [lng, lat, elevation] (RFC 7946 §3.1.1)

geometry: GeoJsonGeometry { coordinates, type }
coordinates: array of number or array of array of number or array of array of array of number or array of array of array of array of number

GeoJSON coordinates array (nesting depth varies by geometry type)

One of the following:
array of number
array of array of number
array of array of array of number
array of array of array of array of number
type: "Point" or "LineString" or "Polygon" or 3 more
One of the following:
"Point"
"LineString"
"Polygon"
"MultiPoint"
"MultiLineString"
"MultiPolygon"
properties: object { elevation_m }
elevation_m: optional number

Elevation in meters above mean sea level

type: "Feature"

Look up elevation at one or more points

curl https://plaza.fyi/api/v1/elevation \
    -H "Authorization: Bearer $PLAZA_API_KEY"
Returns Examples