REST APIREST endpoint

Walk, cycle, or drive. Which one fits?

Run multiple travel modes through the same A to B and get a side-by-side comparison plus a natural-language summary.

POST /v1/routing/compare
Why you need it

The problem this solves.

Travel and outdoor apps want to recommend modes, not just pick one. compare_routes runs 2 to 4 modes through the same A to B and returns a comparison block (fastest, shortest, easiest terrain) in one POST instead of three orchestrated calls.

What it does for you

What comes back in the response.

  • 2 to 4 modes per call (driving, walking, cycling).
  • Side-by-side distance, duration, ascent, and difficulty per mode.
  • Each mode comes back as its own LineString with a recommended colour hint.
  • Per-mode terrain block for difficulty surfacing.
  • Standard POST. Use from any backend stack.
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/compare
curl -X POST https://api.footstep.ai/v1/routing/compare \
  -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.