Get Elevation
Query elevation values for coordinates or an encoded polyline. Returns height values with a computed summary including ascent, descent, min/max/avg elevation.
Documentation Index
Fetch the complete documentation index at: https://docs.footstep.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your Footstep API key
Body
Provide either shape or encoded_polyline
Coordinates (max 2000)
2000Encoded polyline alternative
Include cumulative distances
Resample interval in meters
1 <= x <= 1000Decimal places for heights
0 <= x <= 2Response format. footstep = optimised for app developers (encoded polyline, flat structure). geojson = standard GeoJSON FeatureCollection (decoded coordinates, immediately usable in Leaflet/Mapbox GL/deck.gl).
footstep, geojson Response
Elevation data with summary
Elevations (when range=false)
[distance_meters, elevation_meters] tuples (when range=true)
2 elementsElevation statistics for the requested points. total_ascent_meters and total_descent_meters are included only when range: true was requested.