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

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

रूट प्लानर API Online

सीमा पार यात्रा के लिए द्वार-से-द्वार योजना: मार्ग, उस पर पड़ने वाली सीमा चौकियाँ लाइव कतार या आपके पहुँचने के समय के पूर्वानुमान के साथ, और आराम, भोजन तथा ईंधन के वे ठहराव जो चालक वास्तव में करता है — सब एक ही समयरेखा पर। लंबी कतार उस विश्राम के रूप में गिनी जाती है जो वैसे भी देय था, इसलिए प्रतीक्षा कभी दोहरी नहीं गिनी जाती; बसों और ट्रकों के लिए EU 561/2006 का अनिवार्य विश्राम लागू होता है, और बसों के सेवा ठहराव 1000 से अधिक लाइसेंसशुदा समय-सारणियों पर कैलिब्रेट किए गए हैं। प्रत्येक सीमा चौकी wait_basis भी लौटाती है: vehicle_lane जब आपकी वाहन श्रेणी की अपनी मापी गई कतार हो, car_lane जब कार लेन की कतार सबसे अच्छा उपलब्ध संकेत हो।

GET https://nakordoni.eu/api/v2/data/route-plan — कोटा श्रेणी: heavy

पैरामीटरविवरण
origin_latप्रारंभ बिंदु का अक्षांश (आवश्यक)
origin_lonप्रारंभ बिंदु का देशांतर (आवश्यक)
dest_latगंतव्य का अक्षांश (आवश्यक)
dest_lonगंतव्य का देशांतर (आवश्यक)
vehiclecar (डिफ़ॉल्ट), bus या truck — यह रूटिंग प्रोफ़ाइल और ठहराव मॉडल दोनों तय करता है।
departISO-8601 प्रारूप में प्रस्थान का समय, अधिकतम 14 दिन आगे तक (डिफ़ॉल्ट: अभी)। इसी के आधार पर आगमन के समय की कतार का पूर्वानुमान बनता है।
viaवैकल्पिक मध्यवर्ती बिंदु lat,lon;lat,lon प्रारूप में (अधिकतम 3) — उदाहरण के लिए, मार्ग को किसी दूसरी सीमा चौकी से होकर ले जाने के लिए।
forecast1 (डिफ़ॉल्ट) = प्रत्येक सीमा चौकी पर आपके आगमन के समय की कतार का पूर्वानुमान लगाएँ; 0 = वर्तमान कतार का उपयोग करें।
stop_places1 = प्रत्येक ठहराव के लिए वास्तविक विश्राम स्थल / ईंधन स्टेशन बताएँ (डिफ़ॉल्ट 0)।
overnight1 = जब ड्राइविंग 11 घंटे से अधिक हो तो सलाहकारी रात्रि ठहराव जोड़ें (डिफ़ॉल्ट 0)।
rest_ruleslegacy (v2 में डिफ़ॉल्ट) या eu561 — overnight=1 और vehicle=truck|bus के साथ: प्रतिदिन 9 घंटे ड्राइविंग, 11 घंटे दैनिक विश्राम (प्रकार overnight, minutes 660), 4 घंटे 30 मिनट के बाद 45 मिनट का ब्रेक। eu561 v3 से डिफ़ॉल्ट है
driven_since_break_mineu561 के लिए ड्राइवर की स्थिति: पिछले 45 मिनट के ब्रेक के बाद से चलाए गए मिनट (डिफ़ॉल्ट 0)
driven_today_mineu561: पिछले दैनिक विश्राम के बाद से चलाए गए मिनट (डिफ़ॉल्ट 0)
duty_started_min_agoeu561: पिछले दैनिक विश्राम के समाप्त होने के बाद बीते मिनट; अगला दैनिक विश्राम उस क्षण से 13 घंटे के भीतर (संक्षिप्त विश्राम के बाद 15 घंटे) शुरू होना चाहिए (डिफ़ॉल्ट 0)
driven_week_mineu561: इस सप्ताह चलाए गए मिनट; 56 घंटे पर weekly_rest स्टॉप (45 घंटे) जोड़ा जाता है (डिफ़ॉल्ट 0)
driven_fortnight_mineu561: दो सप्ताह में चलाए गए मिनट; सीमा 90 घंटे (डिफ़ॉल्ट 0)
extended_days_usedeu561: इस सप्ताह पहले ही उपयोग किए गए 10 घंटे के ड्राइविंग दिन, अधिकतम 2 (डिफ़ॉल्ट 0)। 10 घंटे का दिन तभी योजित होता है जब उससे यात्रा एक और दैनिक विश्राम के बिना पूरी हो जाए
reduced_rests_usedeu561: पिछले साप्ताहिक विश्राम के बाद से उपयोग किए गए संक्षिप्त 9 घंटे के दैनिक विश्राम, अधिकतम 3 (डिफ़ॉल्ट 0)
allow_reducedeu561: 1 = यदि इससे यात्रा अगले दिन पूरी होती है तो संक्षिप्त 9 घंटे का दैनिक विश्राम उपयोग किया जा सकता है (डिफ़ॉल्ट 0)
places_before_minstop_places=1 के साथ: हर ब्रेक या विश्राम से कितने मिनट पहले की ड्राइविंग में जगहें खोजनी हैं, 0–120 (डिफ़ॉल्ट 45)
places_after_minstop_places=1 के साथ: हर ब्रेक या विश्राम के कितने मिनट बाद की ड्राइविंग में जगहें खोजनी हैं, 0–120 (डिफ़ॉल्ट 15)
places_radius_kmstop_places=1 के साथ: ब्रेक और भोजन की जगहों के लिए मार्ग से अधिकतम दूरी, 0.5–25 किमी (डिफ़ॉल्ट 5; 25 से अधिक होने पर सीमित कर दी जाती है और radius_clamped चेतावनी लौटती है)
rest_radius_kmstop_places=1 के साथ: रात्रि ठहराव और साप्ताहिक विश्राम की जगहों के लिए मार्ग से अधिकतम दूरी, 0.5–25 किमी (डिफ़ॉल्ट 5; 25 से अधिक होने पर radius_clamped के साथ सीमित कर दी जाती है)
geometry1 = मार्ग की पूरी ज्यामिति शामिल करें (डिफ़ॉल्ट 0)।
alternatives1 (डिफ़ॉल्ट) = आस-पास की वैकल्पिक सीमा चौकियों को उनकी कतारों सहित शामिल करें।
preferencerecommended (डिफ़ॉल्ट), fastest या shortest
langसीमा चौकियों के नामों के लिए भाषा कोड (डिफ़ॉल्ट en)

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

फ़ील्डविवरण
data.routeThe drive itself: distance_km, drive_seconds, vehicle, toll_distance_km.
data.borders[].ppidA crossing on the route, with name, from, to and crossing_type.
data.borders[].waitIts live or arrival-time-forecast wait, with wait_basis — vehicle_lane when your vehicle class has its own measured queue, car_lane when the car queue is the best available signal.
data.borders[].registration_requiredtrue on a Ukraine-exit truck lane with an electronic queue (eCherha): register before arriving.
data.borders[].registration_wait_minuteseCherha published wait in minutes for that lane (fresh data only, never capped), else null. With rest_rules=eu561 (default from v3) it is used as the border wait (wait.source echerha_registration) and as a rest; with legacy it is reported only. Warning echerha_registration when above 0.
data.borders[].registration_wait_sourceecherha when registration_wait_minutes is set, else null.
data.borders[].registration_wait_atISO 8601 UTC time of the eCherha reading.
data.borders[].registration_noteLocalized (lang) note about registering on eCherha; registration_url is https://echerha.gov.ua. Both only on registration_required crossings.
data.borders[].at_kmWhere it falls on the route, with at_drive_seconds and distance_from_route_km.
data.borders[].alternatives[]Other crossings worth switching to: ppid, name, wait_minutes, queue_cars, detour_km.
data.stops[].typebreak, meal, fuel, overnight, weekly_rest (45 h, eu561), border_wait or ban_wait, with reason, at_km, at_drive_s, minutes, starts_at and ends_at.
data.stops[].counts_asOn a border_wait or ban_wait stop: what the wait satisfies — none, break, meal, overnight or weekly_rest — so it is not planned twice.
data.stops[].banOn a ban_wait stop: the driving ban being waited out — name, country, from, until.
data.stops[].places[]With stop_places=1, on break, meal, overnight and weekly_rest stops: candidate parkings inside the pause window, best first — name, type (truck_stop, autohof, rest_area, parking), country, lat, lon, at_km, at_drive_s, offset_min (minutes from the planned stop, negative = before it), off_route_km, detour_km (same value), exceeds_4h30 (continuous driving since the last break would pass 4 h 30), type_rank (1 truck_stop … 4 parking). Tune with places_before_min, places_after_min, places_radius_km, rest_radius_km.
data.stops[].in_vehicle_allowedv3, दैनिक और साप्ताहिक विश्राम के ठहरावों पर: नियमित साप्ताहिक विश्राम (45 घंटे या अधिक) और 45 घंटे से अधिक के किसी भी साप्ताहिक विश्राम के लिए false; घटाए गए साप्ताहिक विश्राम (24 घंटे से 45 घंटे से कम तक) और दैनिक विश्राम के लिए true। accommodation_required का मान इसके विपरीत होता है। rule = EU 561/2006 Art. 8(8) as amended by 2020/1054.
data.stops[].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.stops[].place.has_accommodationv3, साप्ताहिक विश्राम के ठहरावों पर: true जब इस पार्किंग (route-plan में places[] की हर पंक्ति भी) में कमरे उपलब्ध हों, यानी 300 मी के भीतर कमरों वाला स्थान हो। nearest_accommodation_km = निकटतम accommodation[] स्थान तक किमी में दूरी, या null।
data.stops[].warningv3: no_accommodation_found जब accommodation_required true हो और accommodation[] खाली हो। केवल जानकारी; ठहराव योजना में बना रहता है।
data.summaryThe timeline totals: drive_seconds, stop_seconds, border_wait_seconds, total_seconds, arrival_at, stop_count, border_count and borders_absorbed_breaks — long waits that satisfied a due break instead of adding to it.
data.modelRules the plan was built on: vehicle, basis (driving-hygiene or EU 561/2006), break_after_drive_min, meal_after_drive_min, fuel_every_km.
data.warnings[]Things to tell the driver: code, ppid, name, status, message, suggested_alternative — e.g. checkpoint_closed, wait_capped (a queue over 48 h is planned at 48 h; the eCherha wait is not capped), radius_clamped (places_radius_km or rest_radius_km above 25 km; with param, requested, used), echerha_registration (registration needed, with registration_wait_minutes), echerha_wait_unverified (eCherha wait missing or older than 3 h; check https://echerha.gov.ua).
api_versionv2 is additive only: the places[], ban_wait, weekly_rest, counts_as, registration_* and driver-state parameters above are opt-in or extra fields; rest_rules defaults to legacy and place names use the original filter. v3 (/api/v3/data/route-plan) changes defaults: rest_rules=eu561, strict place names (real parkings and rest areas only), the eCherha published wait (uncapped) used as the border wait, and a border wait counts as the break or rest that was due. Pass rest_rules=legacy to keep the old model on v3.
curl "https://nakordoni.eu/api/v2/data/route-plan?origin_lat=50.4501&origin_lon=30.5234&dest_lat=52.2297&dest_lon=21.0122&vehicle=car&stop_places=1&lang=en" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 इस एंडपॉइंट को सैंडबॉक्स में लाइव आज़माने के लिए डेवलपर के रूप में लॉग इन करें — प्रति प्रोडक्ट प्रतिदिन 10 मुफ़्त टेस्ट कॉल। लॉग इन

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