Trimiterea știrilor și flota NakBus se află acum în panoul de partener
Conectați-vă contul de dezvoltator la un cont Nakordoni Partners cu același e-mail și gestionați acolo știrile și flota dvs. de autobuze (NakDriver / NakManager), cu roluri de echipă. Cheile API, punctele finale și aplicațiile dvs. rămân neschimbate, iar paginile de aici continuă să funcționeze. Deschide Nakordoni Partners

← Toate endpointurile

API pentru mai multe puncte de trecere Online

Obțineți starea cozii și prospețimea datelor pentru până la 5 puncte de trecere într-o singură cerere. Cota se calculează ca ⌈(N PPID × sub-produse) / 2⌉ — cu 50% mai ieftin decât apelurile individuale echivalente. Folosiți include=queue,update-info pentru a obține ambele seturi de date deodată. De la 2026-08-30, o cerere cu mai mult de 5 PPID-uri primește răspuns doar pentru primele 5: restul sunt ignorate (returnate în meta.ppid_cap.ignored) și nu sunt taxate.

GET https://nakordoni.eu/api/v1/data/multi — clasă de cotă: heavy

ParametruDescriere
ppidsComma-separated list of checkpoint IDs (required, max 5 from 2026-08-30) — e.g. id_2,id_13,id_15. Extra IDs beyond the fifth are ignored, not rejected.
includeComma-separated sub-products to include: queue, update-info (default: queue,update-info)
langLanguage code for checkpoint names in queue responses (default: en)

Câmpurile răspunsului — în interiorul obiectului data din plicul răspunsului. [] marchează o listă, deci data.items[].name este câmpul name al fiecărui element. Un câmp este null, lipsește sau este o listă goală atunci când nu avem o valoare — niciodată un substitut.

CâmpDescriere
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_quality.
data.<ppid>.update_infoPresent when include contains update-info: found, timestamp, datetime, timezone, age_seconds, age_minutes, freshness, queue_now, data_quality.
data.<ppid>.*.data_qualityOn both sub-products: high = counted from a real observation source at the crossing, low = a modelled estimate where no counting source exists. Same high|low vocabulary as the checkpoints directory, Border Queue and Best Time to Cross. Both are real answers; a low value is an estimate and should be labelled as one if you show it to drivers.
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⌉, counted on the checkpoints actually answered.
meta.ppid_capPresent ONLY when the call listed more than 5 PPIDs: cap, enforced_from, enforced, ppids_asked, ppids_answered, ignored[] and a plain-language notice. The same event also sets the X-Devapi-Warning response header.
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"
🔑 Autentifică-te ca dezvoltator pentru a testa acest endpoint live în sandbox — 50 de apeluri de test gratuite pe zi. Autentificare

Actualizat