Skip to main content
Menu

← Toate endpointurile

API cozilor la frontieră Online

Toate punctele de pe o frontieră dată + tip vehicul într-un singur apel. Suportă o singură destinație, listă prin virgulă sau "all". Rezultate sortate după lungimea cozii.

GET https://nakordoni.eu/api/v1/data/border/1/all/4 — clasă de cotă: heavy

ParametruDescriere
originCodul țării de origine (segment URL): 1=Ucraina, 2=Polonia, 3=Slovacia, 4=Ungaria, 5=România, 6=Moldova…
destinationDestinație: un singur cod, listă prin virgulă sau "all" pentru toți vecinii
crossing_typeTip vehicul: 4=mașină, 5=mașină (taxfree), 6=autobuz, 7=pietoni, 8=camion <7.5t, 9=camion
langLimba pentru denumirile punctelor în răspuns (implicit 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.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"
🔑 Autentifică-te ca dezvoltator pentru a testa acest endpoint live în sandbox — 50 de apeluri de test gratuite pe zi. Autentificare