Skip to main content
Menu

← Tüm uç noktalar

Sınır kuyruğu API'si Online

Belirli bir sınırdaki tüm kapılar + araç tipi tek bir çağrıda. Tek hedef, virgülle ayrılmış liste veya "all" destekler. Sonuçlar kuyruk uzunluğuna göre sıralanmış.

GET https://nakordoni.eu/api/v1/data/border/1/all/4 — kota sınıfı: heavy

ParametreAçıklama
originÇıkış ülkesi kodu (URL segmenti): 1=Ukrayna, 2=Polonya, 3=Slovakya, 4=Macaristan, 5=Romanya…
destinationHedef: tek kod, virgülle ayrılmış liste veya tüm komşular için "all"
crossing_typeAraç tipi: 4=otomobil, 5=otomobil (vergisiz), 6=otobüs, 7=yaya, 8=kamyon <7.5t, 9=kamyon
langYanıttaki kapı adlarının dili (varsayılan en)

Yanıt alanları — yanıt zarfındaki data nesnesinin içinde. [] bir listeyi gösterir; yani data.items[].name her öğenin name alanıdır. Değerimiz olmayan bir alan null olur, hiç bulunmaz ya da boş liste döner — asla yer tutucu koymayız.

AlanAçıklama
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 uç noktayı sanal alanda canlı denemek için geliştirici olarak giriş yapın — günde 50 ücretsiz test çağrısı. Giriş yap