Skip to main content
Menu

← Tüm uç noktalar

Çoklu Sınır Kapısı API Online

Sıra durumu ve veri tazeliğini tek bir istekte 20 kontrol noktasına kadar alın. Kota ⌈(N PPID × alt-ürünler) / 2⌉ olarak hesaplanır — eşdeğer bireysel çağrılardan %50 daha ucuz. Her iki veri kümesini aynı anda almak için include=queue,update-info kullanın.

GET https://nakordoni.eu/api/v1/data/multi — kota sınıfı: heavy

ParametreAçıklama
ppidsComma-separated list of checkpoint IDs (required, max 20) — e.g. id_2,id_13,id_15,id_59
includeComma-separated sub-products to include: queue, update-info (default: queue,update-info)
langLanguage code for checkpoint names in queue responses (default: 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.<ppid>One object per requested checkpoint, keyed by ppid — not an array. A ppid you asked for that we do not monitor is absent.
data.<ppid>.queuePresent when include contains queue: found, queue_now, wait_min, wait_status, trend_percent, trend_direction, age_min, freshness, name, updated_at.
data.<ppid>.update_infoPresent when include contains update-info: found, timestamp, datetime, timezone, age_seconds, age_minutes, freshness, queue_now.
meta.ppids_requestedHow many ppids the call asked for (envelope level, beside data).
meta.units_consumedQuota units this call actually cost — ⌈(ppids × sub-products) / 2⌉.
curl "https://nakordoni.eu/api/v1/data/multi?ppids=id_2,id_13,id_15&include=queue,update-info&lang=en" \
  -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