API reference

Truck routing with time restrictions

POST /v1/route/truck-timed

Truck routing with vehicle dimensions and a departure time. The departure time is passed to the routing engine, so restrictions with opening hours present in OpenStreetMap apply for that moment. The response also flags whether the departure falls at night (22:00–06:00 local time) or on a weekend, as a reminder to check national driving bans; it does not model each country's ban rules. Both checks are on unless you send false.

Parameters

locations array of object, required
language string
Default: "en".
vehicle object
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.
restrictions object

Price

See the price of /v1/route/truck-timed on the pricing page.

Related endpoints