Map-match a GPS trace to the road network. Returns a snapped polyline with confidence score. Optionally includes directions with terrain analytics, road attributes (surface, grade, road class), and per-point match quality.
Your Footstep API key
Provide either shape or encoded_polyline
2 - 20000 elementsauto, bicycle, pedestrian, bus, truck route = directions with terrain, attributes = road details, both = combined
route, attributes, both GPS accuracy in meters
1 <= x <= 100Search radius in meters
1 <= x <= 10010 <= x <= 200Response 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 Snapped trace with optional route and attributes
Encoded polyline of snapped trace
Match confidence score (0-1)
0 <= x <= 1Present when output includes 'route'. Includes terrain analytics.
Present when output includes 'attributes'. Road segment details.
Per-point match quality details