Truck Route API Online
ट्रक रूटिंग API, जिसमें रूट के साथ ईंधन स्टेशन और ट्रक पार्किंग, साथ ही वज़न स्टेशन और चालक का विश्राम प्लान शामिल है। प्रारंभ, गंतव्य और अपना वाहन (ऊँचाई, वज़न, लंबाई, चौड़ाई, एक्सल लोड, खतरनाक माल) भेजें और HGV के लिए वैध रूट पाएँ — जिसमें रास्ते में मिलने वाले प्रतिबंध और तारीख़ वाले ट्रक ड्राइविंग प्रतिबंध, रूट पर सीमा चौकियाँ और उनकी लाइव प्रतीक्षा, कीमत वाले ईंधन स्टेशन, ट्रक पार्किंग (सुरक्षित का संकेत, क्षमता, सुविधाएँ) और रेखा के आसपास के कॉरिडोर में वेब्रिज शामिल हैं। include=rest के साथ चालक की स्थिति पर EU 561/2006 के नियम लागू होते हैं: अधिकतम 4 घंटे 30 मिनट के अंतर पर 45 मिनट के ब्रेक, 9 घंटे / 10 घंटे की सीमा से पहले दैनिक विश्राम, हर एक सीमा पहुँचने से पहले किसी वास्तविक पार्किंग पर रखा जाता है, सप्ताहांत और छुट्टी के प्रतिबंधों की प्रतीक्षा, टाइमलाइन में सीमा पर प्रतीक्षा, एकल या दोहरा क्रू — और अनुमानित आगमन समय में यह सब शामिल है। विश्राम प्लान योजना का सहायक साधन है, टैकोग्राफ़ रिकॉर्ड नहीं।
GET https://nakordoni.eu/api/v2/data/truck-route
— कोटा श्रेणी: route
| पैरामीटर | विवरण |
|---|---|
from | प्रारंभ बिंदु lat,lon के रूप में (from_city देने पर आवश्यक नहीं), जैसे 52.2297,21.0122 |
to | गंतव्य lat,lon के रूप में (to_city देने पर आवश्यक नहीं) |
from_city | निर्देशांकों के बजाय प्रारंभ शहर का नाम (सटीकता के लिए from_country जोड़ें) |
from_country | from_city के देश का ISO 3166-1 alpha-2 कोड, जैसे PL |
to_city | निर्देशांकों के बजाय गंतव्य शहर का नाम |
to_country | to_city के देश का ISO 3166-1 alpha-2 कोड |
via | अधिकतम 5 वेपॉइंट, lat,lon|lat,lon के रूप में |
vehicle_type | truck (डिफ़ॉल्ट): एक भारी माल वाहन। इस संदर्भ में दिए गए सभी प्रतिबंध, ड्राइविंग निषेध, EU 561/2006 के अनुसार विश्राम योजनाएँ, वज़न केंद्र और ट्रक टोल इसी पर लागू होते हैं। vehicle_type=motorhome मौजूदा इंटीग्रेशन के लिए अब भी काम करता है; नए इंटीग्रेशन Motorhome Route API का उपयोग करते हैं. दोनों एंडपॉइंट पर मोटरहोम कॉल Motorhome Route API के एक ही दैनिक कोटे में गिनी जाती हैं। |
height | वाहन की ऊँचाई मीटर में (1.0–5.0) |
weight | वाहन का कुल वज़न टन में (1–60); वज़न-सीमित प्रतिबंधों और रोक को निर्धारित करता है |
length | वाहन की लंबाई मीटर में (2–30) |
width | वाहन की चौड़ाई मीटर में (1.0–3.5) |
axle_load | एक्सल लोड टन में (1–20) |
axles | एक्सल की संख्या, ट्रैक्टर और ट्रेलर मिलाकर (2–12); रूटिंग और टोल श्रेणियों के लिए उपयोग होती है (टोल के लिए डिफ़ॉल्ट: 18 टन से 5, 12 टन से 3, अन्यथा 2) |
trailers | ट्रेलरों की संख्या (0–3); उत्तर में लौटाई जाती है, अभी रूटिंग पर कोई प्रभाव नहीं |
hazmat | खतरनाक माल: 0 (डिफ़ॉल्ट), 1 = बिना श्रेणी बताए ADR माल, या ADR श्रेणियों 1–9 और/या explosive, gas, flammable, flammable_solid, oxidizing, poison, radioactive, corrosive, harmful_to_water की अल्पविराम-सूची |
adr_tunnel | माल का ADR सुरंग प्रतिबंध कोड: B, C, D या E। जिन सुरंगों की श्रेणी इसे मना करती है उनसे बचा जाता है (hazmat को सूचित करता है) |
avoid | tolls, ferries, motorways, borders, tunnels, unpaved, low_emission_zones की अल्पविराम-सूची |
emission_class | वाहन की उत्सर्जन श्रेणी euro0 … euro6; निम्न-उत्सर्जन क्षेत्र जाँच और टोल नोट के लिए उपयोग होती है (टोल Euro VI दरों पर आँके जाते हैं) |
alternatives | वैकल्पिक रूटों की संख्या, 0–2 (डिफ़ॉल्ट 0; केवल बिना via बिंदुओं वाले रूट) |
geometry | polyline5 (डिफ़ॉल्ट), polyline6 या geojson |
arrive_at | वांछित आगमन RFC 3339 में; ब्रेक और विश्राम सहित प्रस्थान पीछे की ओर नियोजित होता है (depart_at के बजाय) |
route_type | fastest (डिफ़ॉल्ट) या eco |
include | fuel, parking, weigh, rest की अल्पविराम-सूची (डिफ़ॉल्ट: चारों) |
corridor_km | ईंधन, पार्किंग और वज़न स्टेशनों के लिए रूट से अधिकतम दूरी, 0.2–5 किमी (डिफ़ॉल्ट 2) |
fuel | कीमत दिखाने के लिए ईंधन ग्रेड, अल्पविराम-सूची (डिफ़ॉल्ट 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 | प्रस्थान ISO 8601 में समय क्षेत्र सहित, 14 दिन आगे तक (डिफ़ॉल्ट: अभी) |
aliases | आसान स्विचिंग के लिए स्वीकार किए जाते हैं: depart → depart_at, departAt, arriveAt, vehicleHeight, vehicleWidth, vehicleLength, vehicleWeight (किग्रा या टन), vehicleAxleWeight / axleWeight → axle_load, vehicleNumberOfAxles / axleCount → axles, vehicleTrailers → trailers, vehicleAdrTunnelRestrictionCode → adr_tunnel, vehicleEmissionClass → emission_class, maxAlternatives → alternatives, waypoints → via |
crew | 1 (डिफ़ॉल्ट) या 2 चालक — दोहरा क्रू 30 घंटे की दैनिक विश्राम खिड़की और 9 घंटे के विश्राम का उपयोग करता है |
traffic | forecast (डिफ़ॉल्ट), live या off. forecast = सीखी गई बार-बार होने वाली भीड़ + प्रस्थान के पास लाइव ट्रैफ़िक + गुज़रने के समय सड़क निर्माण कार्य, बंदियाँ और मौसम; live = सीखे गए पैटर्न के बिना वर्तमान ट्रैफ़िक; off = कोई ट्रैफ़िक परत नहीं (बिना रुकावट वाला ड्राइव समय) |
driven_since_break_min | चालक की स्थिति: पिछले 45 मिनट के ब्रेक के बाद से चलाए गए मिनट (डिफ़ॉल्ट 0) |
driven_today_min | चालक की स्थिति: पिछले दैनिक विश्राम के बाद से चलाए गए मिनट (डिफ़ॉल्ट 0) |
driven_week_min | चालक की स्थिति: इस कैलेंडर सप्ताह में चलाए गए मिनट (डिफ़ॉल्ट 0) |
driven_last_week_min | चालक की स्थिति: पिछले सप्ताह चलाए गए मिनट, 90 घंटे की पखवाड़े की सीमा के लिए (डिफ़ॉल्ट 0) |
reduced_daily_rests_used | पिछले साप्ताहिक विश्राम के बाद से ले लिए गए घटाए गए (9 घंटे) दैनिक विश्राम, 0–3 (डिफ़ॉल्ट 0) |
extended_days_used | इस सप्ताह उपयोग किए जा चुके 10 घंटे के ड्राइविंग दिन, 0–2 (डिफ़ॉल्ट 0) |
last_weekly_rest_end | पिछले साप्ताहिक विश्राम का अंत ISO 8601 में (डिफ़ॉल्ट: प्रस्थान से ठीक पहले माना जाता है) |
reduced_weekly_ok | 1 = घटाया हुआ (24 घंटे) साप्ताहिक विश्राम नियोजित किया जा सकता है (डिफ़ॉल्ट 0 = सामान्य 45 घंटे) |
lang | नामों और संदेशों के लिए भाषा कोड (डिफ़ॉल्ट en) |
रिस्पॉन्स फ़ील्ड — रिस्पॉन्स एनवेलप के data ऑब्जेक्ट के भीतर। [] सूची दर्शाता है, यानी data.items[].name हर एलिमेंट का name फ़ील्ड है। जिस फ़ील्ड का मान हमारे पास नहीं है वह null होता है, आता ही नहीं या खाली सूची होती है — प्लेसहोल्डर कभी नहीं।
| फ़ील्ड | विवरण |
|---|---|
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, दैनिक और साप्ताहिक विश्राम के ठहरावों पर: नियमित साप्ताहिक विश्राम (45 घंटे या अधिक) और 45 घंटे से अधिक के किसी भी साप्ताहिक विश्राम के लिए false; घटाए गए साप्ताहिक विश्राम (24 घंटे से 45 घंटे से कम तक) और दैनिक विश्राम के लिए true। accommodation_required का मान इसके विपरीत होता है। rule = EU 561/2006 Art. 8(8) as amended by 2020/1054. |
data.rest_plan[].accommodation[] | v3, साप्ताहिक विश्राम के ठहरावों पर: ठहराव के पास ऐसी पार्किंग जहाँ कमरे उपलब्ध हैं (route-plan: places[] की ड्राइविंग विंडो; truck-route: पहले 45 मिनट की ड्राइविंग से बाद में 15 मिनट तक) — name, type, country, lat, lon, at_km, offset_min, off_route_km, rooms_on_site। केवल जानकारी: ठहराव और उसकी ट्रक पार्किंग नहीं बदलते। |
data.rest_plan[].parking.has_accommodation | v3, साप्ताहिक विश्राम के ठहरावों पर: true जब इस पार्किंग (route-plan में places[] की हर पंक्ति भी) में कमरे उपलब्ध हों, यानी 300 मी के भीतर कमरों वाला स्थान हो। nearest_accommodation_km = निकटतम accommodation[] स्थान तक किमी में दूरी, या null। |
data.rest_plan[].warning | v3: no_accommodation_found जब accommodation_required true हो और accommodation[] खाली हो। केवल जानकारी; ठहराव योजना में बना रहता है। |
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. जिस ईंधन मूल्य की आख़िरी पुष्टि 90 दिन से पहले हुई हो, वह नहीं लौटाया जाता (ईंधन उत्पादों जैसा ही नियम; 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"
अपडेट किया गया