API reference

Traffic-aware route

POST /v1/route/traffic

Returns the route with duration_in_traffic_seconds and a traffic block. The estimate comes from a typical time-of-day congestion model (hour, weekday or weekend, urban or open road) applied to the free-flow time; incidents are added where a DATEX II feed is connected. It is a model, not measured live traffic — the traffic.source field says which sources contributed. With departure_time the estimate is made for that moment instead of now, and the response includes the estimated local arrival time.

Parameters

locations array of object, required
costing auto | truck | bicycle | pedestrian | motorcycle | motor_scooter | bus | taxi
Vehicle/costing model for routing Default: "auto".
language string
Default: "en".
departure_time string
Planned departure, ISO 8601. Without a zone (2026-12-03T08:00) it is local time at the first location; with Z or an offset (2026-12-03T06:00:00Z) it is converted to that local time.

Price

See the price of /v1/route/traffic on the pricing page.

Related endpoints