Skip to main content
Menu

← Bütün son nöqtələr

Sərhəd növbəsi API Online

Müəyyən bir sərhəddəki bütün keçid məntəqələri + nəqliyyat növü bir sorğuda. Tək bir təyinat, vergüllə ayrılmış siyahı və ya "all" dəstəkləyir. Nəticələr növbə uzunluğuna görə sıralanmış.

GET https://nakordoni.eu/api/v1/data/border/1/all/4 — kvota sinfi: heavy

ParametrTəsvir
originÇıxış ölkəsinin kodu (URL seqmenti): 1=Ukrayna, 2=Polşa, 3=Slovakiya, 4=Macarıstan, 5=Rumıniya…
destinationTəyinat: bir kod, vergüllə ayrılmış siyahı və ya bütün qonşular üçün "all"
crossing_typeNəqliyyat növü: 4=minik, 5=minik (vergiсiz), 6=avtobus, 7=piyada, 8=yük <7.5t, 9=yük
langCavabdakı keçid məntəqəsi adlarının dili (standart en)

Cavab sahələri — cavab zərfindəki data obyektinin içində. [] siyahını bildirir, yəni data.items[].name hər elementin name sahəsidir. Dəyəri olmayan sahə null olur, ümumiyyətlə görünmür və ya boş siyahı qaytarır — heç vaxt doldurucu qoymuruq.

SahəTəsvir
data.originNumeric country code the path asked for, plus origin_name in the requested language.
data.destinationsNumeric country codes the call expanded to, plus destination_names.
data.crossing_typeVehicle type of every row, plus crossing_type_label.
data.checkpoints[].ppidCheckpoint ID.
data.checkpoints[].nameCheckpoint name in the requested language.
data.checkpoints[].borderNumeric country code of the neighbour this crossing leads to, plus border_name.
data.checkpoints[].queueVehicles counted in the queue right now.
data.checkpoints[].wait_minEstimated wait in minutes; null where the crossing has no wait signal.
data.checkpoints[].wait_statusPlain-language band for the wait (e.g. free_flow, moderate, heavy).
data.checkpoints[].trend_percentChange against the recent baseline, with trend_direction (up | down | flat).
data.checkpoints[].updated_atWhen this reading was taken, plus age_min — how old it is now.
data.checkpoints[].source_urlPublic page for the checkpoint, for the attribution link.
data.countNumber of checkpoints returned; generated_at is when the set was assembled.
curl "https://nakordoni.eu/api/v1/data/border/1/all/4" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Bu son nöqtəni sınaq mühitində canlı yoxlamaq üçün developer kimi daxil olun — gündə 50 pulsuz test sorğusu. Giriş