v1
latestOpenAPI 3.0.32026-07-1761214.3 KBRouting
Routing via Valhalla (multimodal)
Single-source endpoint — Valhalla returns a turn-by-turn route, summary, and (optional) elevation profile.
get/api/v1/route
Query parameters
fromstring required
lat,lon
tostring required
lat,lon
mode'auto' | 'bicycle' | 'pedestrian'
Response
route returned
Example response
{
"data": {
"shape_format": "valhalla_encoded_polyline6"
},
"meta": {
"upstream": "ok",
"count": 5
}
}