← Docs

Elevation API

Elevation at a point, in feet and meters.

Elevation for a latitude and longitude, from the nearest grid sample. Always returns feet and meters. Useful for forms, maps, and enriching a point with terrain height.

Lookup

GET
api.parseapi.com/elevation?lat={lat}&lon={lon}
Elevation in feet and meters for a point
Explore
Parameters 2
latnumber · query · required

Latitude

lonnumber · query · required

Longitude

Run uses the free demo on API 2.0.0. Copied code uses your API key when signed in, or YOUR_API_KEY when signed out.

import { parseAPI } from '@parseapi/sdk';

const parse = parseAPI("YOUR_API_KEY");
const result = await parse.elevation(27.9881, 86.925);
console.log(result);

Run on your server with a secret key. Calling from a browser or app?

Example response
{
  "latitude": 27.9881,
  "longitude": 86.925,
  "elevation": 8729,
  "elevation_ft": 28638,
  "resolution": 30
}

Response fields

latitude
Input latitude
longitude
Input longitude
elevation
Elevation in meters (null if unavailable)
elevation_ft
Elevation in feet (null if unavailable)
resolution
Approx grid spacing in meters

Questions? Email