सीमा यात्रा मैट्रिक्स API Online
किसी मूल से सभी चेकपॉइंट के लिए यात्रा समय + सीमा कतार डेटा.
GET https://nakordoni.eu/api/v1/data/travel-matrix
— कोटा श्रेणी: heavy
| पैरामीटर | विवरण |
|---|---|
origin_lat | Origin latitude (required) |
origin_lon | Origin longitude (required) |
type | Crossing type: 4=car UA→EU (default), 5=car EU→UA, 6=bus, 7=pedestrian, 8=truck<7.5t, 9=truck |
dest | Destination country code (1=UA, 2=PL, 3=SK, 4=HU, 5=RO, 6=MD) or "all" (default) |
origin_country | ISO-2 origin country (e.g. DE, PL, CZ). Enables multi-leg route calculation for non-border countries |
lang | Language code for checkpoint names (default uk) |
रिस्पॉन्स फ़ील्ड — रिस्पॉन्स एनवेलप के data ऑब्जेक्ट के भीतर। [] सूची दर्शाता है, यानी data.items[].name हर एलिमेंट का name फ़ील्ड है। जिस फ़ील्ड का मान हमारे पास नहीं है वह null होता है, आता ही नहीं या खाली सूची होती है — प्लेसहोल्डर कभी नहीं।
| फ़ील्ड | विवरण |
|---|---|
data.results[].ppid | Crossing, with checkpoint_name, country, country_id, lat and lon. |
data.results[].distance_km | Road distance from your origin, with drive_minutes. |
data.results[].queue_minutes | Current border wait, with queue_cars behind it. |
data.results[].total_minutes | drive_minutes + queue_minutes — the ranking figure. |
data.results[].avg_crossing_minutes | Typical time inside the crossing itself, with total_with_avg_crossing for a door-to-door estimate. |
data.results[].status | Checkpoint status — a closed crossing still appears, so filter on it. |
data.origin | The 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 निःशुल्क टेस्ट कॉल। लॉग इन