REST APIREST endpoint

The fastest order to visit your stops.

Travelling salesman in milliseconds. Returns the optimised order, the savings, and per-leg breakdowns.

POST /v1/routing/optimize
Why you need it

The problem this solves.

Field service, delivery, and home healthcare dispatch all hit the same wall: 8 to 30 stops in the wrong order costs time, fuel, and SLA breaches. optimize_stops solves the TSP in milliseconds and returns the full tour breakdown for billing, ETA quotes, and route audit.

What it does for you

What comes back in the response.

  • Optimised stop order plus the absolute savings versus the input order.
  • Per-leg distance and duration for the full tour.
  • Cost surface respects road network and travel mode. Reflects real driving time.
  • Pair with get_matrix when assigning many drivers to many drops.
  • Standard POST + JSON. Drops straight into any dispatch backend.
Try it

Call it from your backend.

Predictable HTTP. JSON in, JSON out. One auth header. Use it from any backend, edge function, or script.

POST /v1/routing/optimize
curl -X POST https://api.footstep.ai/v1/routing/optimize \
  -H "x-api-key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

Ready to call it?

£5 free credit on signup. One auth header, every major runtime.