Truck Route API Online
Marşrut boyunca yanacaqdoldurma məntəqələri və yük maşını parkinqləri, həmçinin çəki məntəqələri və sürücünün istirahət planı olan yük maşını marşrutlaşdırma API-si. Başlanğıc, təyinat və nəqliyyat vasitənizi (hündürlük, çəki, uzunluq, en, ox yükü, təhlükəli yük) göndərin və ağır yük nəqliyyatı üçün qanuni marşrut alın: rast gəldiyi məhdudiyyətlər və tarixlənmiş yük maşını hərəkəti qadağaları, üzərindəki sərhəd keçidləri və onların canlı gözləmə vaxtı, qiymətli yanacaqdoldurma məntəqələri, yük maşını parkinqləri (təhlükəsizlik, tutum, imkanlar) və xəttin ətrafındakı dəhlizdə çəki məntəqələri. include=rest ilə AB 561/2006 qaydaları sürücünün vəziyyətinə tətbiq olunur: ən çox 4 saat 30 dəqiqə fasilə ilə 45 dəqiqəlik fasilələr, 9 saat / 10 saat həddindən əvvəl gündəlik istirahətlər (hər biri hədd dolmamış real parkinqdə yerləşdirilir), həftəsonu və bayram qadağalarının gözlənilməsi, zaman xəttində sərhəd gözləmələri, tək və ya cüt heyət — və təxmini çatma vaxtı bunların hamısını daxil edir. İstirahət planı planlaşdırma köməkçisidir, taxoqraf qeydi deyil.
GET https://nakordoni.eu/api/v2/data/truck-route
— kvota sinfi: route
| Parametr | Təsvir |
|---|---|
from | lat,lon formatında başlanğıc (from_city verilmədikdə məcburidir), məs. 52.2297,21.0122 |
to | lat,lon formatında təyinat (to_city verilmədikdə məcburidir) |
from_city | Koordinatların əvəzinə başlanğıc şəhərin adı (dəqiqlik üçün from_country əlavə edin) |
from_country | from_city üçün ISO 3166-1 alpha-2 ölkə kodu, məs. PL |
to_city | Koordinatların əvəzinə təyinat şəhərin adı |
to_country | to_city üçün ISO 3166-1 alpha-2 ölkə kodu |
via | lat,lon|lat,lon formatında ən çox 5 aralıq nöqtə |
vehicle_type | truck (defolt): ağır yük avtomobili. Bu məlumat sənədindəki bütün məhdudiyyətlər, hərəkət qadağaları, EU 561/2006 üzrə istirahət planları, çəkiölçmə məntəqələri və yük maşınları üçün yol haqqı ona şamil olunur. vehicle_type=motorhome mövcud inteqrasiyalar üçün işləməyə davam edir; yeni inteqrasiyalar Motorhome Route API istifadə edir. Hər iki endpoint-də avtoev sorğuları Motorhome Route API-nin bir ümumi gündəlik kvotasından çıxılır. |
height | Nəqliyyat vasitəsinin metrlə hündürlüyü (1.0–5.0) |
weight | Nəqliyyat vasitəsinin tonla ümumi çəkisi (1–60); çəki ilə bağlı məhdudiyyət və qadağaları müəyyən edir |
length | Nəqliyyat vasitəsinin metrlə uzunluğu (2–30) |
width | Nəqliyyat vasitəsinin metrlə eni (1.0–3.5) |
axle_load | Tonla ox yükü (1–20) |
axles | Çəkici və qoşqu daxil ox sayı (2–12); marşrutlaşdırmada və yol haqqı sinifləri üçün istifadə olunur (yol haqqı üçün susmaya görə: 18 t-dan 5, 12 t-dan 3, əks halda 2) |
trailers | Qoşqu sayı (0–3); cavabda geri qaytarılır, hələlik marşruta təsiri yoxdur |
hazmat | Təhlükəli yüklər: 0 (susmaya görə), 1 = sinfi göstərilməyən ADR yükü, və ya vergüllə ayrılmış ADR sinifləri 1–9 və/və ya explosive, gas, flammable, flammable_solid, oxidizing, poison, radioactive, corrosive, harmful_to_water siyahısı |
adr_tunnel | Yükün ADR tunel məhdudiyyət kodu: B, C, D və ya E. Kateqoriyası bunu qadağan edən tunellərdən yan keçilir (hazmat nəzərdə tutur) |
avoid | tolls, ferries, motorways, borders, tunnels, unpaved, low_emission_zones dəyərlərinin vergüllə ayrılmış siyahısı |
emission_class | Nəqliyyat vasitəsinin emissiya sinfi euro0 … euro6; aşağı emissiyalı zona yoxlamaları və yol haqqı qeydləri üçün istifadə olunur (yol haqqları Euro VI tarifləri ilə hesablanır) |
alternatives | Alternativ marşrut sayı, 0–2 (susmaya görə 0; yalnız via nöqtəsi olmayan marşrutlar üçün) |
geometry | polyline5 (susmaya görə), polyline6 və ya geojson |
arrive_at | RFC 3339 formatında istənilən çatma vaxtı; yola çıxış fasilələr və istirahətlər daxil olmaqla geriyə doğru planlaşdırılır (depart_at əvəzinə) |
route_type | fastest (susmaya görə) və ya eco |
include | fuel, parking, weigh, rest dəyərlərinin vergüllə ayrılmış siyahısı (susmaya görə: dördü də) |
corridor_km | Yanacaqdoldurma, parkinq və çəki məntəqələri üçün marşrutdan maksimum məsafə, 0.2–5 km (susmaya görə 2) |
fuel | Qiymətləndiriləcək yanacaq növləri, vergüllə ayrılmış siyahı (susmaya görə 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 | Saat qurşağı ilə ISO 8601 formatında yola çıxış, 14 günə qədər irəli (susmaya görə: indi) |
aliases | Asan keçid üçün qəbul olunur: depart → depart_at, departAt, arriveAt, vehicleHeight, vehicleWidth, vehicleLength, vehicleWeight (kq və ya t), vehicleAxleWeight / axleWeight → axle_load, vehicleNumberOfAxles / axleCount → axles, vehicleTrailers → trailers, vehicleAdrTunnelRestrictionCode → adr_tunnel, vehicleEmissionClass → emission_class, maxAlternatives → alternatives, waypoints → via |
crew | 1 (susmaya görə) və ya 2 sürücü — cüt heyət 30 saatlıq gündəlik istirahət pəncərəsindən və 9 saatlıq istirahətlərdən istifadə edir |
traffic | forecast (susmaya görə), live və ya off. forecast = öyrənilmiş təkrarlanan tıxaclar + çıxış nöqtəsinin yaxınlığında canlı trafik + keçid vaxtı üçün yol işləri, bağlanmalar və hava; live = öyrənilmiş şablon olmadan cari trafik; off = trafik qatı yoxdur (sərbəst axın sürəti ilə yol vaxtı) |
driven_since_break_min | Sürücünün vəziyyəti: son 45 dəqiqəlik fasilədən bəri sürülən dəqiqələr (susmaya görə 0) |
driven_today_min | Sürücünün vəziyyəti: son gündəlik istirahətdən bəri sürülən dəqiqələr (susmaya görə 0) |
driven_week_min | Sürücünün vəziyyəti: bu təqvim həftəsində sürülən dəqiqələr (susmaya görə 0) |
driven_last_week_min | Sürücünün vəziyyəti: iki həftəlik 90 saat həddi üçün keçən həftə sürülən dəqiqələr (susmaya görə 0) |
reduced_daily_rests_used | Son həftəlik istirahətdən bəri artıq istifadə olunmuş qısaldılmış (9 saat) gündəlik istirahətlər, 0–3 (susmaya görə 0) |
extended_days_used | Bu həftə artıq istifadə olunmuş 10 saatlıq sürücülük günləri, 0–2 (susmaya görə 0) |
last_weekly_rest_end | ISO 8601 formatında son həftəlik istirahətin sonu (susmaya görə: yola çıxışdan bir az əvvəl hesab olunur) |
reduced_weekly_ok | 1 = qısaldılmış (24 saat) həftəlik istirahət planlaşdırıla bilər (susmaya görə 0 = adi 45 saat) |
lang | Adlar və mesajlar üçün dil kodu (susmaya görə en) |
Cavab sahələri — cavab zərfindəki data obyektinin içində. [] siyahını bildirir, yəni data.items[].name hər elementin name sahəsidir. Dəyəri olmayan sahə null olur, ümumiyyətlə görünmür və ya boş siyahı qaytarır — heç vaxt doldurucu qoymuruq.
| Sahə | Təsvir |
|---|---|
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, gündəlik və həftəlik istirahət dayanacaqlarında: müntəzəm həftəlik istirahət (45 saat və ya çox) və 45 saatdan uzun hər hansı həftəlik istirahət üçün false; azaldılmış həftəlik istirahət (24 saatdan 45 saatdan azadək) və gündəlik istirahət üçün true. accommodation_required əks dəyərə malikdir. rule = EU 561/2006 Art. 8(8) as amended by 2020/1054. |
data.rest_plan[].accommodation[] | v3, həftəlik istirahət dayanacaqlarında: dayanacağın yaxınlığında yerində otaqları olan parkinqlər (route-plan: places[] sürmə pəncərəsi; truck-route: əvvəl 45 dəq sürmədən sonra 15 dəq-dək) — name, type, country, lat, lon, at_km, offset_min, off_route_km, rooms_on_site. Yalnız məlumat: dayanacaq və onun yük maşınları parkinqi dəyişmir. |
data.rest_plan[].parking.has_accommodation | v3, həftəlik istirahət dayanacaqlarında: bu parkinqdə (route-plan-da places[]-in hər sətrində də) yerində otaqlar varsa, yəni 300 m daxilində otaqlı yer varsa, true. nearest_accommodation_km = ən yaxın accommodation[] yerinə qədər km ilə məsafə və ya null. |
data.rest_plan[].warning | v3: accommodation_required true və accommodation[] boş olduqda no_accommodation_found. Yalnız məlumat; dayanacaq planda qalır. |
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. Sonuncu dəfə 90 gündən əvvəl təsdiqlənmiş yanacaq qiyməti qaytarılmır (yanacaq məhsullarındakı eyni qayda; fuel-stations səhifəsində Qiymətin yaşı bölməsinə baxın). |
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"
Yeniləndi