Tachograph-compliant truck routing
POST /v1/route/truck-legal
Route with a simplified driving schedule based on the core rules of EU regulation 561/2006: a 45-minute break after 4.5 hours of driving and a daily rest after 9 hours. Weekly limits, split breaks, reduced rests and multi-driver crews are not modelled. driver_continuous_hours and driver_driven_today take into account what was driven before departure. The route covers all stops; time spent at the stops is not added. Returns the schedule with departure and arrival times.
Parameters
locationsarray of object, requireddeparturestringlanguagestring- Default: "en-US".
driver_driven_todaynumber- Hours the driver has already driven today (0 to 9) Default: 0.
weightnumber- Vehicle weight in tonnes Default: 18.
axle_loadnumber- Max axle load in tonnes Default: 9.
heightnumber- Vehicle height in metres Default: 4.
widthnumber- Vehicle width in metres Default: 2.5.
lengthnumber- Vehicle length in metres Default: 16.5.
hazmatboolean- Default: false.
driver_continuous_hoursnumber- Hours already driven since the last 45-minute break. The first break comes earlier by this much. Default: 0.
top_speed_kmhnumber- Maximum speed of the truck. Without it, 90 applies above 3.5 t. Default: 90.
Example request
curl -X POST https://eunavigation.duckdns.org/v1/route/truck-legal \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"locations":[{"lat":44.4268,"lon":26.1025},{"lat":52.52,"lon":13.405}],"departure":"2024-06-15T06:00:00Z","weight":18,"driver_driven_today":0}'Price
See the price of /v1/route/truck-legal on the pricing page.