Skip to main content
Menu

← Όλα τα endpoints

API Καταλόγου Συνοριακών Σημείων Διέλευσης Online

Κατάλογος όλων των παρακολουθούμενων συνοριακών σημείων διέλευσης: αναγνωριστικά, ονόματα, χώρες, συντεταγμένες και κατάσταση. Χρησιμοποιήστε τον για να ανακαλύψετε τις τιμές ppid για τα άλλα API.

GET https://nakordoni.eu/api/v1/data/checkpoints — κλάση ποσόστωσης: cheap

ΠαράμετροςΠεριγραφή
countryΦιλτράρισμα κατά αριθμητικό κωδικό χώρας (1=UA, 2=PL, 3=SK, 4=HU, 5=RO, 6=MD, 7=BY, 8=LT, 9=LV, …)
langΓλώσσα ονομάτων σημείων διέλευσης (προεπιλογή en)

Πεδία της απάντησης — μέσα στο αντικείμενο data του φακέλου απάντησης. Το [] δηλώνει λίστα, άρα το data.items[].name είναι το πεδίο name κάθε στοιχείου. Ένα πεδίο είναι null, απουσιάζει ή είναι κενή λίστα όταν δεν έχουμε τιμή — ποτέ κάτι εικονικό.

ΠεδίοΠεριγραφή
data.checkpoints[].ppidCheckpoint ID — the value every other product's ppid parameter takes.
data.checkpoints[].nameCheckpoint name in the requested language.
data.checkpoints[].originNumeric country code of the side the crossing is operated from.
data.checkpoints[].destinationNumeric country code of the country across the border.
data.checkpoints[].crossing_typeVehicle type this row is monitored for: 4=car, 5=taxfree car, 6=bus, 7=pedestrian, 8=truck<7.5t, 9=truck.
data.checkpoints[].timezoneIANA timezone of the crossing — every timestamp for it is in this zone.
data.checkpoints[].status1=open, 3=closed, 0=inactive.
data.checkpoints[].has_day_statsfalse means the Best Time to Cross product has no matrix for this checkpoint and would answer 404 — skip it rather than poll it.
data.countNumber of checkpoints returned.
curl "https://nakordoni.eu/api/v1/data/checkpoints" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Συνδεθείτε ως προγραμματιστής για να δοκιμάσετε ζωντανά αυτό το endpoint στο Sandbox — 50 δωρεάν δοκιμαστικές κλήσεις την ημέρα. Σύνδεση