Skip to main content
POST

Authorizations

x-api-key
string
header
required

Your Footstep API key

Body

application/json
locations
object[]
required

Route waypoints (min 2, max 20)

Required array length: 2 - 20 elements

What to search for along the route (e.g. 'coffee shop', 'petrol station', 'supermarket')

travel
enum<string>
default:auto
Available options:
auto,
bicycle,
pedestrian,
bus,
truck
travel_options
object

Fine-tuning options. Include only the key matching your travel type.

max_detour_seconds
number
default:300

Maximum acceptable detour in seconds (1 min to 1 hour)

Required range: 60 <= x <= 3600
size
integer
default:5

Maximum number of places to return

Required range: 1 <= x <= 20
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

Route with places found along the corridor

route
object
required

The original route between the locations

places
object[]
required

Places found along the route, ranked by detour time