Calculate Matrix
Compute a time and distance matrix between sources and targets. Returns a 2D matrix indexed by [source][target] with distance_meters and duration_seconds for each pair. Null cells indicate unreachable pairs. All distances are in meters regardless of request units.
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
1 - 50 elements1 - 50 elementsauto, bicycle, pedestrian, bus, truck Fine-tuning options. Include only the key matching your travel type.
kilometers, miles 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).
footstep, geojson Response
Time/distance matrix
Time/distance matrix with explicit units
2D matrix indexed as matrix[source_index][target_index]. null = unreachable pair.