REST APIREST endpoint

Clean up a GPS trace.

Map-match a noisy GPS recording to the road network. Returns the corrected path plus per-segment road attributes.

POST /v1/routing/snap
Why you need it

The problem this solves.

GPS traces from phones and trackers jump, drift, and cut corners. snap_trace pins each point to the most likely road segment and returns the cleaned path with confidence scores, surface type, road class, and speed limits per segment. The basis for fleet replay, route validation, and post-hoc analysis.

What it does for you

What comes back in the response.

  • Cleaned LineString of the snapped trace.
  • Per-segment road attributes: surface, class, speed limit, grade.
  • Confidence score per snap for quality filtering.
  • Terrain analytics for the full trace.
  • Standard POST. JSON in, JSON out.
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/snap
curl -X POST https://api.footstep.ai/v1/routing/snap \
  -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.