My App
Api

Directions

Valhalla-backed route endpoint.

Directions API

Directions proxy to Valhalla's route action.

Routes

GET /directions/v1/{profile}/{lon,lat;lon,lat}
POST /directions/v1/{profile}

GET query parameters include alternatives, units, and language. POST accepts a Valhalla-like JSON body with locations, optional costing, units, language, alternates, and directions_options.

Profiles map to Valhalla costing: driving, driving-traffic, car, and auto use auto; walking and pedestrian use pedestrian; cycling, bicycle, and bike use bicycle; truck, bus, motor_scooter, and motorcycle pass through.

Requests require API key or session auth and a reachable Valhalla service with graph data for the requested region.

On this page