News submission and NakBus fleet are now in the partner dashboard
Use the same login (email and password) as your developer account to sign in to the Nakordoni Partners panel, and manage news and your bus fleet (NakDriver / NakManager) there, with team roles. Your API keys, endpoints and apps are unchanged, and the pages here keep working. Open Nakordoni Partners

← All endpoints

Truck Route API Online

Truck routing API with fuel stations and truck parking along the route, plus weigh stations and a driver rest plan. Send origin, destination and your vehicle (height, weight, length, width, axle load, hazmat) and get an HGV-legal route with the restrictions and dated truck driving bans it meets, the border crossings on it with their live wait, priced fuel stations, truck parkings (secure flag, capacity, amenities) and weighbridges within a corridor of the line. With include=rest the EU 561/2006 rules are applied to your driver state: 45-minute breaks at most 4 h 30 apart, daily rests before the 9 h / 10 h limit, each placed at a real parking before the limit is reached, weekend and holiday bans waited out, border waits on the timeline, single or double crew — and the ETA includes all of it. The rest plan is a planning aid, not a tachograph record.

GET https://nakordoni.eu/api/v2/data/truck-route — quota class: route

ParameterDescription
fromOrigin as lat,lon (required unless from_city is given), e.g. 52.2297,21.0122
toDestination as lat,lon (required unless to_city is given)
from_cityOrigin city name instead of coordinates (add from_country for accuracy)
from_countryISO 3166-1 alpha-2 country of from_city, e.g. PL
to_cityDestination city name instead of coordinates
to_countryISO 3166-1 alpha-2 country of to_city
viaUp to 5 waypoints as lat,lon|lat,lon
vehicle_typetruck (default): a heavy goods vehicle. Every restriction, driving ban, EU 561/2006 rest plan, weigh station and truck toll in this reference applies to it.
vehicle_type=motorhome still works for existing integrations; new integrations use the Motorhome Route API. Motorhome calls on either endpoint count against one Motorhome Route API daily allowance.
heightVehicle height in metres (1.0–5.0)
weightGross vehicle weight in tonnes (1–60); drives weight-limited restrictions and bans
lengthVehicle length in metres (2–30)
widthVehicle width in metres (1.0–3.5)
axle_loadAxle load in tonnes (1–20)
axlesNumber of axles, tractor plus trailer (2–12); used for routing and for toll classes (default for tolls: 5 from 18 t, 3 from 12 t, else 2)
trailersNumber of trailers (0–3); reported back, no routing effect yet
hazmatDangerous goods: 0 (default), 1 = ADR load with class not given, or a comma list of ADR classes 1–9 and/or explosive, gas, flammable, flammable_solid, oxidizing, poison, radioactive, corrosive, harmful_to_water
adr_tunnelADR tunnel restriction code of the load: B, C, D or E. Tunnels whose category forbids it are avoided (implies hazmat)
avoidComma list of tolls, ferries, motorways, borders, tunnels, unpaved, low_emission_zones
emission_classVehicle emission class euro0 … euro6; used for low-emission-zone checks and toll notes (tolls are priced at Euro VI rates)
alternativesNumber of alternative routes, 0–2 (default 0; routes without via points only)
geometrypolyline5 (default), polyline6 or geojson
arrive_atWanted arrival as RFC 3339; the departure is planned backwards including breaks and rests (instead of depart_at)
route_typefastest (default) or eco
includeComma list of fuel, parking, weigh, rest (default: all four)
corridor_kmMax distance from the route for fuel, parking and weigh stations, 0.2–5 km (default 2)
fuelFuel grades to price, comma list (default diesel)
tank_linclude=fuel_plan: usable tank size in litres, 20–1500 (required with fuel_plan)
consumption_l100include=fuel_plan: consumption in litres per 100 km, 3–60 (default 30)
start_fuel_pctinclude=fuel_plan: tank level at departure in %, 5–100 (default 100)
reserve_pctinclude=fuel_plan: the plan never lets the tank drop below this %, 5–50 (default 15). The grade planned is the first one in fuel
depart_atDeparture as ISO 8601 with time zone, up to 14 days ahead (default: now)
aliasesAccepted for easy switching: depart → depart_at, departAt, arriveAt, vehicleHeight, vehicleWidth, vehicleLength, vehicleWeight (kg or t), vehicleAxleWeight / axleWeight → axle_load, vehicleNumberOfAxles / axleCount → axles, vehicleTrailers → trailers, vehicleAdrTunnelRestrictionCode → adr_tunnel, vehicleEmissionClass → emission_class, maxAlternatives → alternatives, waypoints → via
crew1 (default) or 2 drivers — double crew uses the 30-hour daily rest window and 9 h rests
trafficforecast (default), live or off. forecast = learned recurring congestion + live traffic near the departure + roadworks, closures and weather at the passing time; live = current traffic without the learned pattern; off = no traffic layer (free-flow drive time)
driven_since_break_minDriver state: minutes driven since the last 45-minute break (default 0)
driven_today_minDriver state: minutes driven since the last daily rest (default 0)
driven_week_minDriver state: minutes driven this calendar week (default 0)
driven_last_week_minDriver state: minutes driven last week, for the 90 h fortnight limit (default 0)
reduced_daily_rests_usedReduced (9 h) daily rests already taken since the last weekly rest, 0–3 (default 0)
extended_days_used10-hour driving days already used this week, 0–2 (default 0)
last_weekly_rest_endISO 8601 end of the last weekly rest (default: assumed just before departure)
reduced_weekly_ok1 = a reduced (24 h) weekly rest may be planned (default 0 = regular 45 h)
langLanguage code for names and messages (default en)

Response fields — inside the data object of the envelope. [] marks a list, so data.items[].name is the name field of each element. A field is null, absent or an empty list when we hold no value for it — never a placeholder.

FieldDescription
data.routedistance_m, duration_s (pure driving), geometry (format in geometry_format), bbox, countries (ISO codes in order), departure_at, toll_distance_m, fuel_l, ascent_m, descent_m, legal, avoid; with arrive_at also arrive_at_requested.
data.route.country_split[]Per country in route order: country, km, duration_min.
data.route.adrOnly with adr_tunnel: tunnel_code, tunnels_avoided[] and tunnels_on_route[] (name, category, lat, lon).
data.route.low_emission_zones_avoided[]Only with avoid=low_emission_zones: zones the route was moved out of (name, country); low_emission_zones_on_route[] lists any that could not be avoided.
data.tollsEstimated truck tolls: currency (EUR), total_eur, complete, by_country[] (country, km_toll, cost_eur, basis), objects[] (priced tunnels and bridges: name, type, country, lat, lon, cost_eur, basis), estimate, coverage_note. A country we cannot price has cost_eur null and is named in coverage_note.
data.vehicleThe vehicle as understood: height_m, weight_t, length_m, width_m, axle_load_t, hazmat, axles, trailers, adr_classes, adr_tunnel, emission_class, type (truck).
data.alternatives[]Only with alternatives: distance_m, duration_s, forecast_duration_s (with traffic), tolls (currency, total_eur, complete, by_country) and geometry for each alternative route. Alternatives are planned without time-dependent restrictions and are not ban-checked; the main route is. Empty when no reasonable alternative exists.
data.route.restriction_hits[]Restrictions for this vehicle still on the line: kind, name, country, at_km. A zone that holds one of your via points is entered only on the legs into and out of that via: it is listed with exempt=true and reason=via_inside_zone and does not make route.legal false.
data.route.truck_bans[]Dated truck driving bans on the route: name, kind, country, details, min_weight_t, window_from, window_to, eta_at_ban (on the traffic forecast timeline), eta_at_ban_free (free-flow timeline), km_from_start, applies, active, avoided.
data.route.border_crossings[]Crossings on the route: name, ppid, from_country, to_country, lat, lon, km_from_start, status; wait_min = time on the exit side + the entry side at the planned arrival (wait_at), null when neither side is measured (wait_minutes = same value, legacy name); wait_sides[] (side country, role exit|entry, ppid, min, basis live|forecast, note when not measured); wait_notes[]; wait_capped (a side over 48 h is planned at 48 h); registration_required = an electronic-queue lane: register before arriving. v2: the time to get a slot is not included in the wait. v3: Ukraine-exit truck lanes use the eCherha published wait as wait_min (fresh data only, never capped; entry side included; stale = wait_min null + warning echerha_wait_unverified) and add registration_wait_minutes, registration_wait_source (echerha), registration_wait_at, registration_note (localized) and registration_url.
data.route.warnings[]code and message, e.g. ban_avoidance_skipped, restrictions_on_route, adr_tunnel_on_route, adr_tunnel_not_checked, low_emission_zone_on_route, closure_on_route (a full motorway closure overlaps the passing time), tolls_not_fully_avoided, arrive_at_not_reachable.
data.route.closures_on_route[]German motorways: closures, roadworks and traffic warnings within 150 m of the line whose time window overlaps the moment the truck passes: type (closure, roadwork, warning), road, title, km_from_start, eta, from, to, full_closure, lorry_specific (text names lorries or a weight limit), lat, lon. The route is not changed around them.
data.traffic_forecastUnless traffic=off: model, mode, duration_base, duration_s_free, duration_s_forecast, delay_s (recurring, live, roadworks, weather, total), hotspots[] (km_from_start, km_to, eta, delay_s, reason recurring|live|roadworks|lane_closure|closure|weather, label, road, confidence low|medium|high, dow_hour, delay_by_reason, country; jam_frequency and road_condition where known), weather_on_route[], closures_avoided[], recommended_alternative (a forecast-faster alternative is only recommended — the primary route is never swapped), coverage (how much data backed the plan, with a note), calc_ms. The forecast timeline drives the ETA, rest plan, ban timing and border-wait timing. A planning estimate; data collection started in September 2026.
data.rest_plan[]EU 561/2006 stops in order: type (break, daily_rest, weekly_rest), start_at, end_at, duration_min, km_from_start, parking (a parkings[] row or null), reason, overlaps_ban, counts_as.
data.fuel_planOnly with include=fuel_plan: grade, tank_l, consumption_l100, start_fuel_pct, reserve_pct, stops[] (km_from_start, station = a fuel_stations[] row, litres, est_price_per_l, est_cost and currency in the station currency, est_cost_eur, price_updated_at, fuel_left_on_arrival_pct, below_reserve when no station was in range), total_litres, total_est_cost (EUR, priced stops only), total_currency, fuel_left_at_destination_pct, warnings[] (code, km_from_start, message: fuel_gap, no_station_to_destination, price_unknown). Each stop is the cheapest station per litre within range that keeps the reserve; it buys enough to reach a cheaper station further on, or the destination, else a full tank. stops is empty when the tank covers the trip.
data.rest_warnings[] / data.route.warnings[] (v3)echerha_registration (registration needed, with registration_wait_minutes) and echerha_wait_unverified (eCherha wait missing or older than 3 h).
data.rest_plan[].in_vehicle_allowedv3, on daily and weekly rest stops: false for a regular weekly rest (45 h or more) and for any weekly rest of more than 45 h; true for a reduced weekly rest (24 h to less than 45 h) and for daily rests. accommodation_required has the opposite value. rule = EU 561/2006 Art. 8(8) as amended by 2020/1054.
data.rest_plan[].accommodation[]v3, on weekly rest stops: parkings with rooms on site near the stop (route-plan: the driving window of places[]; truck-route: 45 min of driving before to 15 min after) — name, type, country, lat, lon, at_km, offset_min, off_route_km, rooms_on_site. Information only: the stop and its truck parking do not change.
data.rest_plan[].parking.has_accommodationv3, on weekly rest stops: true when this parking (in route-plan also each places[] row) has rooms on site, i.e. a site with rooms within 300 m. nearest_accommodation_km = distance in km to the nearest accommodation[] site, or null.
data.rest_plan[].warningv3: no_accommodation_found when accommodation_required is true and accommodation[] is empty. Information only; the stop stays in the plan.
data.waits[]Forced waits on the timeline: ban_wait (a driving ban) and border_wait, same shape as rest_plan.
data.etaArrival time including driving, breaks, rests, ban waits and border waits; with driving_time_min, total_time_min and crew.
data.weekly_rest_checknext_weekly_rest_due_by, weekly_rest_on_trip, driven_week_min_at_arrival, driven_fortnight_min_at_arrival, weekly and fortnight limits, reduced rests and 10 h days used at arrival.
data.assumptions[]Defaults applied to driver state you did not send, and country rules not planned for.
data.rest_warnings[]code, km_from_start, message — e.g. no_parking_in_window when a stop had to be placed at the legal limit.
data.fuel_stations[]name, brand, lat, lon, country, km_from_start, distance_from_route_km, detour_km, prices[] (fuel_type, price, currency, stale), price_updated_at. A fuel price last confirmed more than 90 days ago is not returned (the same rule as the fuel products; see Price age on the fuel-stations page).
data.parkings[]name, type (parking, rest_area, truck_stop, autohof), lat, lon, country, km_from_start, distance_from_route_km, detour_km, capacity, capacity_trucks (official truck spaces where known, e.g. German motorway rest areas), secure, amenities[], opening_hours.
data.weigh_stations[]name, lat, lon, country, km_from_start, distance_from_route_km, detour_km, type and side (null when not known).
data.coveragecorridor_km, countries_on_route, fuel_grades, fuel countries with sparse or no price data, truncated lists, measured_at.
data.resolved_locationsOnly with from_city/to_city: query, lat, lon, label of the geocoded point.
api_versionv2 is unchanged. v3 (/api/v3/data/truck-route) adds the eCherha border wait and registration_* fields above, and the rest planner treats a border wait as time spent at the border: a long queue counts as the break, daily rest or weekly rest that was due (counts_as on the waits[] row) instead of being added on top.
data.disclaimerThe rest plan is a planning aid, not a tachograph record or legal advice.
data.attributionList of credits to display: always "Data by nakordoni.eu"; plus "Weigh stations: © OpenStreetMap contributors (ODbL)" whenever weigh_stations is non-empty.
curl "https://nakordoni.eu/api/v2/data/truck-route?from=52.2297,21.0122&to=52.52,13.405&weight=40&height=4&axles=5&emission_class=euro6&crew=1" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
Overview, coverage and pricing: Truck Route API
🔑 Log in as a developer to try this endpoint live in the sandbox — 10 free test calls per product a day. Log in

Updated