Yangilik yuborish va NakBus avtoparki endi hamkor panelida
Nakordoni Partners paneliga kirish uchun dasturchi hisobingiz bilan bir xil kirish ma'lumotlaridan (e-pochta va parol) foydalaning va u yerda yangiliklar hamda avtobus parkingizni (NakDriver / NakManager) jamoa rollari bilan boshqaring. API kalitlaringiz, endpointlaringiz va ilovalaringiz o'zgarishsiz qoladi, bu yerdagi sahifalar esa ishlashda davom etadi. Nakordoni Partners-ni ochish

← Barcha yakuniy nuqtalar

Truck Route API Online

Marshrut boʻylab yoqilgʻi shoxobchalari va yuk mashinalari uchun turargohlarni, shuningdek tarozi punktlari va haydovchining dam olish rejasini oʻz ichiga olgan yuk mashinalari marshrutlari API. Joʻnash va manzil nuqtalarini hamda transport vositangiz parametrlarini (balandligi, ogʻirligi, uzunligi, kengligi, oʻq yuki, xavfli yuk) yuboring — ogʻir yuk mashinalari uchun ruxsat etilgan marshrutni, yoʻlda uchraydigan cheklovlar va sanalari koʻrsatilgan yuk mashinalariga taqiqlarni, marshrutdagi chegara oʻtish joylarini ularning real kutish vaqti bilan, narxi koʻrsatilgan yoqilgʻi shoxobchalarini, yuk mashinalari turargohlarini (qoʻriqlanishi, sigʻimi, qulayliklari) va chiziq atrofidagi koridordagi tarozi punktlarini olasiz. include=rest boʻlganda EU 561/2006 qoidalari haydovchi holatiga qoʻllaniladi: 4 soat 30 daqiqadan oshmaydigan oraliqda 45 daqiqalik tanaffuslar, 9 soat / 10 soat chegarasigacha kunlik dam olishlar (har biri chegaraga yetmasdan haqiqiy turargohga joylashtiriladi), dam olish va bayram kunlaridagi taqiqlarni kutish, vaqt jadvalidagi chegarada kutish, bitta yoki ikkita haydovchi — va taxminiy yetib borish vaqti bularning barchasini oʻz ichiga oladi. Dam olish rejasi — rejalashtirish vositasi, taxograf yozuvi emas.

GET https://nakordoni.eu/api/v2/data/truck-route — kvota sinfi: route

ParametrTavsif
fromJoʻnash nuqtasi lat,lon koʻrinishida (from_city berilmasa majburiy), masalan 52.2297,21.0122
toManzil lat,lon koʻrinishida (to_city berilmasa majburiy)
from_cityKoordinatalar oʻrniga joʻnash shahri nomi (aniqlik uchun from_country qoʻshing)
from_countryfrom_city shahri davlatining ISO 3166-1 alpha-2 kodi, masalan PL
to_cityKoordinatalar oʻrniga manzil shahri nomi
to_countryto_city shahri davlatining ISO 3166-1 alpha-2 kodi
via5 tagacha oraliq nuqta lat,lon|lat,lon koʻrinishida
vehicle_typetruck (standart): og'ir yuk avtomobili. Ushbu qo'llanmadagi barcha cheklovlar, harakatlanish taqiqlari, EU 561/2006 bo'yicha dam olish rejalari, tortish stansiyalari va yuk mashinalari uchun yo'l haqi unga tegishli.
vehicle_type=motorhome mavjud integratsiyalar uchun ishlashda davom etadi; yangi integratsiyalar Motorhome Route API'dan foydalanadi. Avtouy chaqiruvlari ikkala endpointda ham Motorhome Route API ning bitta kunlik kvotasiga hisoblanadi.
heightTransport vositasining balandligi metrda (1.0–5.0)
weightTransport vositasining umumiy massasi tonnada (1–60); ogʻirlikka bogʻliq cheklovlar va taqiqlarga taʼsir qiladi
lengthTransport vositasining uzunligi metrda (2–30)
widthTransport vositasining kengligi metrda (1.0–3.5)
axle_loadOʻq yuki tonnada (1–20)
axlesOʻqlar soni, tortuvchi va tirkamani qoʻshganda (2–12); marshrutlash va pullik yoʻl klasslari uchun ishlatiladi (pullik yoʻl uchun standart: 18 t dan boshlab 5, 12 t dan boshlab 3, aks holda 2)
trailersTirkamalar soni (0–3); javobda qaytariladi, hozircha marshrutga taʼsir qilmaydi
hazmatXavfli yuklar: 0 (standart), 1 = klassi koʻrsatilmagan ADR yuki, yoki ADR 1–9 klasslari va/yoki explosive, gas, flammable, flammable_solid, oxidizing, poison, radioactive, corrosive, harmful_to_water qiymatlarining vergul bilan ajratilgan roʻyxati
adr_tunnelYukning ADR tunnel cheklovi kodi: B, C, D yoki E. Toifasi uni taqiqlaydigan tunnellar chetlab oʻtiladi (hazmat ni nazarda tutadi)
avoidtolls, ferries, motorways, borders, tunnels, unpaved, low_emission_zones qiymatlarining vergul bilan ajratilgan roʻyxati
emission_classTransport vositasining emissiya klassi euro0 … euro6; past emissiyali zonalarni tekshirish va pullik yoʻl izohlari uchun ishlatiladi (pullik yoʻl Euro VI tariflari boʻyicha hisoblanadi)
alternativesMuqobil marshrutlar soni, 0–2 (standart 0; faqat via nuqtasiz marshrutlar uchun)
geometrypolyline5 (standart), polyline6 yoki geojson
arrive_atIstalgan yetib borish vaqti RFC 3339 formatida; joʻnash vaqti tanaffus va dam olishlarni hisobga olib orqaga qarab rejalashtiriladi (depart_at oʻrniga)
route_typefastest (standart) yoki eco
includefuel, parking, weigh, rest qiymatlarining vergul bilan ajratilgan roʻyxati (standart: toʻrttalasi ham)
corridor_kmYoqilgʻi, turargoh va tarozi punktlari uchun marshrutdan eng katta masofa, 0.2–5 km (standart 2)
fuelNarxi koʻrsatiladigan yoqilgʻi turlari, vergul bilan ajratilgan roʻyxat (standart 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_atJoʻnash vaqti ISO 8601 formatida, vaqt zonasi bilan, 14 kungacha oldindan (standart: hozir)
aliasesOson oʻtish uchun qabul qilinadi: depart → depart_at, departAt, arriveAt, vehicleHeight, vehicleWidth, vehicleLength, vehicleWeight (kg yoki t), vehicleAxleWeight / axleWeight → axle_load, vehicleNumberOfAxles / axleCount → axles, vehicleTrailers → trailers, vehicleAdrTunnelRestrictionCode → adr_tunnel, vehicleEmissionClass → emission_class, maxAlternatives → alternatives, waypoints → via
crew1 (standart) yoki 2 haydovchi — juft ekipaj 30 soatlik kunlik dam olish oynasi va 9 soatlik dam olishlardan foydalanadi
trafficforecast (odatiy), live yoki off. forecast = o'rganilgan takrorlanuvchi tirbandliklar + jo'nash joyi yaqinidagi jonli trafik + o'tish paytidagi yo'l ishlari, yopilishlar va ob-havo; live = o'rganilgan shablonsiz joriy trafik; off = trafik qatlami yo'q (erkin oqimdagi yurish vaqti)
driven_since_break_minHaydovchi holati: oxirgi 45 daqiqalik tanaffusdan beri yurilgan daqiqalar (standart 0)
driven_today_minHaydovchi holati: oxirgi kunlik dam olishdan beri yurilgan daqiqalar (standart 0)
driven_week_minHaydovchi holati: shu kalendar haftada yurilgan daqiqalar (standart 0)
driven_last_week_minHaydovchi holati: oʻtgan haftada yurilgan daqiqalar, 90 soatlik ikki haftalik chegara uchun (standart 0)
reduced_daily_rests_usedOxirgi haftalik dam olishdan beri olingan qisqartirilgan (9 soat) kunlik dam olishlar, 0–3 (standart 0)
extended_days_usedShu haftada ishlatilgan 10 soatlik haydash kunlari, 0–2 (standart 0)
last_weekly_rest_endOxirgi haftalik dam olish tugashi ISO 8601 formatida (standart: joʻnashdan sal oldin deb olinadi)
reduced_weekly_ok1 = qisqartirilgan (24 soat) haftalik dam olishni rejalashtirish mumkin (standart 0 = odatiy 45 soat)
langNomlar va xabarlar uchun til kodi (standart en)

Javob maydonlari — javob konvertidagi data obyekti ichida. [] ro‘yxatni bildiradi, ya’ni data.items[].name har bir elementning name maydonidir. Qiymatimiz bo‘lmagan maydon null bo‘ladi, umuman bo‘lmaydi yoki bo‘sh ro‘yxat qaytadi — o‘rniga hech qachon soxta qiymat qo‘ymaymiz.

MaydonTavsif
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, kunlik va haftalik dam olish to'xtashlarida: muntazam haftalik dam olish (45 soat yoki ko'proq) va 45 soatdan uzun har qanday haftalik dam olish uchun false; qisqartirilgan haftalik dam olish (24 soatdan 45 soatdan kamgacha) va kunlik dam olish uchun true. accommodation_required qarama-qarshi qiymatga ega. rule = EU 561/2006 Art. 8(8) as amended by 2020/1054.
data.rest_plan[].accommodation[]v3, haftalik dam olish to'xtashlarida: to'xtash yaqinidagi, joyida xonalari bor to'xtash joylari (route-plan: places[] haydash oynasi; truck-route: oldin 45 daq haydashdan keyin 15 daqgacha) — name, type, country, lat, lon, at_km, offset_min, off_route_km, rooms_on_site. Faqat ma'lumot: to'xtash va uning yuk mashinalari to'xtash joyi o'zgarmaydi.
data.rest_plan[].parking.has_accommodationv3, haftalik dam olish to'xtashlarida: bu to'xtash joyida (route-plan da places[] ning har bir qatorida ham) joyida xonalar bo'lsa, ya'ni 300 m ichida xonalari bor joy bo'lsa, true. nearest_accommodation_km = eng yaqin accommodation[] joyigacha km dagi masofa yoki null.
data.rest_plan[].warningv3: accommodation_required true va accommodation[] bo'sh bo'lganda no_accommodation_found. Faqat ma'lumot; to'xtash rejada qoladi.
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. Oxirgi marta 90 kundan oldin tasdiqlangan yoqilg'i narxi qaytarilmaydi (yoqilg'i mahsulotlaridagi kabi qoida; fuel-stations sahifasidagi Narx yoshi bo'limiga qarang).
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"
Umumiy maʼlumot, qamrov va narxlar: Truck Route API
🔑 Bu endpoint'ni sandbox'da jonli sinash uchun dasturchi sifatida kiring — har bir mahsulot uchun kuniga 10 ta bepul sinov chaqiruvi. Kirish

Yangilandi