समाचार सबमिशन और NakBus फ्लीट अब पार्टनर डैशबोर्ड में हैं
अपने डेवलपर खाते को उसी ईमेल वाले Nakordoni Partners खाते से कनेक्ट करें और वहाँ समाचार और अपने बस बेड़े (NakDriver / NakManager) को टीम भूमिकाओं के साथ प्रबंधित करें। आपकी API कुंजियाँ, एंडपॉइंट और ऐप्स अपरिवर्तित रहते हैं, और यहाँ के पेज काम करना जारी रखते हैं। Nakordoni Partners खोलें

← सभी एंडपॉइंट

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_countryfrom_city के देश का ISO 3166-1 alpha-2 कोड, जैसे PL
to_cityनिर्देशांकों के बजाय गंतव्य शहर का नाम
to_countryto_city के देश का ISO 3166-1 alpha-2 कोड
viaअधिकतम 5 वेपॉइंट, lat,lon|lat,lon के रूप में
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 को सूचित करता है)
avoidtolls, ferries, motorways, borders, tunnels, unpaved, low_emission_zones की अल्पविराम-सूची
emission_classवाहन की उत्सर्जन श्रेणी euro0 … euro6; निम्न-उत्सर्जन क्षेत्र जाँच और टोल नोट के लिए उपयोग होती है (टोल Euro VI दरों पर आँके जाते हैं)
alternativesवैकल्पिक रूटों की संख्या, 0–2 (डिफ़ॉल्ट 0; केवल बिना via बिंदुओं वाले रूट)
geometrypolyline5 (डिफ़ॉल्ट), polyline6 या geojson
arrive_atवांछित आगमन RFC 3339 में; ब्रेक और विश्राम सहित प्रस्थान पीछे की ओर नियोजित होता है (depart_at के बजाय)
route_typefastest (डिफ़ॉल्ट) या eco
includefuel, parking, weigh, rest की अल्पविराम-सूची (डिफ़ॉल्ट: चारों)
corridor_kmईंधन, पार्किंग और वज़न स्टेशनों के लिए रूट से अधिकतम दूरी, 0.2–5 किमी (डिफ़ॉल्ट 2)
fuelकीमत दिखाने के लिए ईंधन ग्रेड, अल्पविराम-सूची (डिफ़ॉल्ट diesel)
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
crew1 (डिफ़ॉल्ट) या 2 चालक — दोहरा क्रू 30 घंटे की दैनिक विश्राम खिड़की और 9 घंटे के विश्राम का उपयोग करता है
trafficforecast (डिफ़ॉल्ट), 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_ok1 = घटाया हुआ (24 घंटे) साप्ताहिक विश्राम नियोजित किया जा सकता है (डिफ़ॉल्ट 0 = सामान्य 45 घंटे)
langनामों और संदेशों के लिए भाषा कोड (डिफ़ॉल्ट en)

रिस्पॉन्स फ़ील्ड — रिस्पॉन्स एनवेलप के data ऑब्जेक्ट के भीतर। [] सूची दर्शाता है, यानी data.items[].name हर एलिमेंट का name फ़ील्ड है। जिस फ़ील्ड का मान हमारे पास नहीं है वह null होता है, आता ही नहीं या खाली सूची होती है — प्लेसहोल्डर कभी नहीं।

फ़ील्डविवरण
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.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.
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, the time to get a slot is not included in the wait.
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.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.
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.
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"
अवलोकन, कवरेज और कीमतें: Truck Route API
🔑 इस एंडपॉइंट को सैंडबॉक्स में लाइव आज़माने के लिए डेवलपर के रूप में लॉग इन करें — प्रतिदिन 50 निःशुल्क टेस्ट कॉल। लॉग इन

अपडेट किया गया