Skip to main content
Menu

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

सीमा यात्रा मैट्रिक्स API Online

किसी मूल से सभी चेकपॉइंट के लिए यात्रा समय + सीमा कतार डेटा.

GET https://nakordoni.eu/api/v1/data/travel-matrix — कोटा श्रेणी: heavy

पैरामीटरविवरण
origin_latOrigin latitude (required)
origin_lonOrigin longitude (required)
typeCrossing type: 4=car UA→EU (default), 5=car EU→UA, 6=bus, 7=pedestrian, 8=truck<7.5t, 9=truck
destDestination country code (1=UA, 2=PL, 3=SK, 4=HU, 5=RO, 6=MD) or "all" (default)
origin_countryISO-2 origin country (e.g. DE, PL, CZ). Enables multi-leg route calculation for non-border countries
langLanguage code for checkpoint names (default uk)

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

फ़ील्डविवरण
data.results[].ppidCrossing, with checkpoint_name, country, country_id, lat and lon.
data.results[].distance_kmRoad distance from your origin, with drive_minutes.
data.results[].queue_minutesCurrent border wait, with queue_cars behind it.
data.results[].total_minutesdrive_minutes + queue_minutes — the ranking figure.
data.results[].avg_crossing_minutesTypical time inside the crossing itself, with total_with_avg_crossing for a door-to-door estimate.
data.results[].statusCheckpoint status — a closed crossing still appears, so filter on it.
data.originThe origin the matrix was computed from; count is the number of crossings, updated_at when the queues were read.
curl "https://nakordoni.eu/api/v1/data/travel-matrix?origin_lat=50.06&origin_lon=19.94&type=4&dest=all&lang=en" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 इस एंडपॉइंट को सैंडबॉक्स में लाइव आज़माने के लिए डेवलपर के रूप में लॉग इन करें — प्रतिदिन 50 निःशुल्क टेस्ट कॉल। लॉग इन