Skip to main content
POST

Authorizations

x-api-key
string
header
required

Your Footstep API key

Body

application/json
locations
object[]
required
Required array length: 1 - 100 elements
travel
enum<string>
default:auto

Filter edges by travel type

Available options:
auto,
bicycle,
pedestrian,
bus,
truck
verbose
boolean
default:false

Include edge metadata

format
enum<string>
default:footstep

Response format. footstep = optimised for app developers (encoded polyline, flat structure). geojson = standard GeoJSON FeatureCollection (decoded coordinates, immediately usable in Leaflet/Mapbox GL/deck.gl).

Available options:
footstep,
geojson

Response

Locate results

locations
object[]
required