Optimise visit order for multiple stops
Routing
Optimise Route
Find the optimal order to visit multiple locations. Returns the optimised route with terrain analytics and savings (distance and time) compared to the original order.
POST
Optimise visit order for multiple stops
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
application/json
Locations (min 4 for TSP)
Required array length:
4 - 50 elementsAvailable options:
auto, bicycle, pedestrian Fine-tuning options. Include only the key matching your travel type.
Available options:
kilometers, miles Required range:
10 <= x <= 200Include a natural language summary of the optimised route. Uses AI generation, adds ~500ms latency.
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