Truck Route API Online
Lkw-Routing-API mit Tankstellen und Lkw-Parkplätzen entlang der Route sowie Wiegestationen und einem Ruhezeitplan für Fahrer. Senden Sie Start, Ziel und Ihr Fahrzeug (Höhe, Gewicht, Länge, Breite, Achslast, Gefahrgut) und erhalten Sie eine Lkw-taugliche Route mit den dabei auftretenden Beschränkungen und datierten Lkw-Fahrverboten, den Grenzübergängen auf der Strecke mit aktueller Wartezeit, Tankstellen mit Preisen, Lkw-Parkplätzen (Bewacht-Kennzeichen, Kapazität, Ausstattung) und Fahrzeugwaagen innerhalb eines Korridors um die Linie. Mit include=rest wird die EU-Verordnung 561/2006 auf Ihren Fahrerstatus angewendet: 45-Minuten-Pausen spätestens alle 4 h 30 min, Tagesruhezeiten vor Erreichen der 9-h-/10-h-Grenze, jeweils auf einem echten Parkplatz vor Erreichen der Grenze, Wochenend- und Feiertagsfahrverbote ausgesessen, Grenzwartezeiten auf der Zeitachse, Einzel- oder Doppelbesatzung — und die ETA berücksichtigt all das. Der Ruhezeitplan ist eine Planungshilfe, keine Tachograph-Aufzeichnung.
GET https://nakordoni.eu/api/v2/data/truck-route
— Kontingentklasse: route
| Parameter | Beschreibung |
|---|---|
from | Start als lat,lon (erforderlich, sofern from_city nicht angegeben ist), z. B. 52.2297,21.0122 |
to | Ziel als lat,lon (erforderlich, sofern to_city nicht angegeben ist) |
from_city | Name der Startstadt statt Koordinaten (für mehr Genauigkeit from_country ergänzen) |
from_country | Land von from_city nach ISO 3166-1 alpha-2, z. B. PL |
to_city | Name der Zielstadt statt Koordinaten |
to_country | Land von to_city nach ISO 3166-1 alpha-2 |
via | Bis zu 5 Zwischenpunkte als lat,lon|lat,lon |
vehicle_type | truck (Standard): ein Lastkraftwagen. Alle Beschränkungen, Fahrverbote, Ruhezeitpläne nach EU 561/2006, Wiegestationen und Lkw-Mautgebühren in dieser Referenz gelten für dieses Fahrzeug. vehicle_type=motorhome funktioniert für bestehende Integrationen weiterhin; neue Integrationen verwenden die Motorhome Route API. Wohnmobil-Aufrufe an beiden Endpunkten werden auf ein gemeinsames Tageskontingent der Motorhome Route API angerechnet. |
height | Fahrzeughöhe in Metern (1.0–5.0) |
weight | Zulässiges Gesamtgewicht in Tonnen (1–60); bestimmt gewichtsbezogene Beschränkungen und Verbote |
length | Fahrzeuglänge in Metern (2–30) |
width | Fahrzeugbreite in Metern (1.0–3.5) |
axle_load | Achslast in Tonnen (1–20) |
axles | Anzahl der Achsen, Zugmaschine plus Anhänger (2–12); wird für das Routing und für Mautklassen verwendet (Standard für Maut: 5 ab 18 t, 3 ab 12 t, sonst 2) |
trailers | Anzahl der Anhänger (0–3); wird zurückgemeldet, hat noch keinen Einfluss auf das Routing |
hazmat | Gefahrgut: 0 (Standard), 1 = ADR-Ladung ohne Angabe der Klasse, oder eine kommagetrennte Liste von ADR-Klassen 1–9 und/oder explosive, gas, flammable, flammable_solid, oxidizing, poison, radioactive, corrosive, harmful_to_water |
adr_tunnel | ADR-Tunnelbeschränkungscode der Ladung: B, C, D oder E. Tunnel, deren Kategorie dies verbietet, werden gemieden (impliziert hazmat) |
avoid | Kommagetrennte Liste: tolls, ferries, motorways, borders, tunnels, unpaved, low_emission_zones |
emission_class | Emissionsklasse des Fahrzeugs euro0 … euro6; für Umweltzonen-Prüfungen und Mauthinweise (Maut wird nach Euro-VI-Tarifen berechnet) |
alternatives | Anzahl alternativer Routen, 0–2 (Standard 0; nur für Routen ohne via-Punkte) |
geometry | polyline5 (Standard), polyline6 oder geojson |
arrive_at | Gewünschte Ankunft nach RFC 3339; die Abfahrt wird rückwärts geplant, einschließlich Pausen und Ruhezeiten (anstelle von depart_at) |
route_type | fastest (Standard) oder eco |
include | Kommagetrennte Liste: fuel, parking, weigh, rest (Standard: alle vier) |
corridor_km | Max. Entfernung von der Route für Tankstellen, Parkplätze und Wiegestationen, 0.2–5 km (Standard 2) |
fuel | Zu bepreisende Kraftstoffsorten, kommagetrennte Liste (Standard diesel) |
tank_l | include=fuel_plan: usable tank size in litres, 20–1500 (required with fuel_plan) |
consumption_l100 | include=fuel_plan: consumption in litres per 100 km, 3–60 (default 30) |
start_fuel_pct | include=fuel_plan: tank level at departure in %, 5–100 (default 100) |
reserve_pct | include=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_at | Abfahrt als ISO 8601 mit Zeitzone, bis zu 14 Tage im Voraus (Standard: jetzt) |
aliases | Für einfaches Umsteigen akzeptiert: depart → depart_at, departAt, arriveAt, vehicleHeight, vehicleWidth, vehicleLength, vehicleWeight (kg oder t), vehicleAxleWeight / axleWeight → axle_load, vehicleNumberOfAxles / axleCount → axles, vehicleTrailers → trailers, vehicleAdrTunnelRestrictionCode → adr_tunnel, vehicleEmissionClass → emission_class, maxAlternatives → alternatives, waypoints → via |
crew | 1 (Standard) oder 2 Fahrer — Doppelbesatzung nutzt das 30-Stunden-Fenster für die Tagesruhezeit und 9-h-Ruhezeiten |
traffic | forecast (Standard), live oder off. forecast = gelernte wiederkehrende Staus + Live-Verkehr in der Nähe des Abfahrtsorts + Baustellen, Sperrungen und Wetter zum Zeitpunkt der Durchfahrt; live = aktueller Verkehr ohne das gelernte Muster; off = keine Verkehrsebene (Fahrzeit bei freiem Verkehrsfluss) |
driven_since_break_min | Fahrerstatus: Fahrminuten seit der letzten 45-Minuten-Pause (Standard 0) |
driven_today_min | Fahrerstatus: Fahrminuten seit der letzten Tagesruhezeit (Standard 0) |
driven_week_min | Fahrerstatus: Fahrminuten in dieser Kalenderwoche (Standard 0) |
driven_last_week_min | Fahrerstatus: Fahrminuten in der Vorwoche, für die 90-h-Doppelwochengrenze (Standard 0) |
reduced_daily_rests_used | Bereits seit der letzten Wochenruhezeit genommene reduzierte (9 h) Tagesruhezeiten, 0–3 (Standard 0) |
extended_days_used | Bereits in dieser Woche genutzte 10-Stunden-Lenktage, 0–2 (Standard 0) |
last_weekly_rest_end | Ende der letzten Wochenruhezeit als ISO 8601 (Standard: unmittelbar vor der Abfahrt angenommen) |
reduced_weekly_ok | 1 = eine reduzierte (24 h) Wochenruhezeit darf eingeplant werden (Standard 0 = reguläre 45 h) |
lang | Sprachcode für Namen und Meldungen (Standard en) |
Antwortfelder — innerhalb des data-Objekts im Antwortumschlag. [] steht für eine Liste, data.items[].name ist also das Feld name jedes Elements. Ein Feld ist null, fehlt oder ist eine leere Liste, wenn wir keinen Wert dafür haben — nie ein Platzhalter.
| Feld | Beschreibung |
|---|---|
data.route | distance_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.adr | Only 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.tolls | Estimated 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.vehicle | The 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_forecast | Unless 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_plan | Only 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_allowed | v3, bei Stopps für tägliche und wöchentliche Ruhezeiten: false für eine regelmäßige wöchentliche Ruhezeit (45 h oder mehr) und für jede wöchentliche Ruhezeit von mehr als 45 h; true für eine reduzierte wöchentliche Ruhezeit (24 h bis unter 45 h) und für tägliche Ruhezeiten. accommodation_required hat den umgekehrten Wert. rule = EU 561/2006 Art. 8(8) as amended by 2020/1054. |
data.rest_plan[].accommodation[] | v3, bei Stopps für wöchentliche Ruhezeiten: Parkplätze mit Zimmern vor Ort in der Nähe des Stopps (route-plan: Fahrzeitfenster von places[]; truck-route: 45 min Fahrt davor bis 15 min danach) — name, type, country, lat, lon, at_km, offset_min, off_route_km, rooms_on_site. Nur Information: Der Stopp und sein Lkw-Parkplatz ändern sich nicht. |
data.rest_plan[].parking.has_accommodation | v3, bei Stopps für wöchentliche Ruhezeiten: true, wenn dieser Parkplatz (in route-plan auch jede Zeile von places[]) Zimmer vor Ort hat, d. h. einen Ort mit Zimmern im Umkreis von 300 m. nearest_accommodation_km = Entfernung in km zum nächsten Ort aus accommodation[] oder null. |
data.rest_plan[].warning | v3: no_accommodation_found, wenn accommodation_required true ist und accommodation[] leer ist. Nur Information; der Stopp bleibt im Plan. |
data.waits[] | Forced waits on the timeline: ban_wait (a driving ban) and border_wait, same shape as rest_plan. |
data.eta | Arrival time including driving, breaks, rests, ban waits and border waits; with driving_time_min, total_time_min and crew. |
data.weekly_rest_check | next_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. Ein Kraftstoffpreis, der zuletzt vor mehr als 90 Tagen bestätigt wurde, wird nicht ausgegeben (dieselbe Regel wie bei den Kraftstoff-Produkten; siehe Preisalter auf der Seite fuel-stations). |
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.coverage | corridor_km, countries_on_route, fuel_grades, fuel countries with sparse or no price data, truncated lists, measured_at. |
data.resolved_locations | Only with from_city/to_city: query, lat, lon, label of the geocoded point. |
api_version | v2 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.disclaimer | The rest plan is a planning aid, not a tachograph record or legal advice. |
data.attribution | List 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"
Aktualisiert