Skip to main content
Menu

← Tutti gli endpoint

API code al confine Online

Tutti i valichi su un confine dato + tipo di veicolo in una sola chiamata. Supporta destinazione singola, elenco separato da virgole o "all". Risultati ordinati per lunghezza della coda.

GET https://nakordoni.eu/api/v1/data/border/1/all/4 — classe di quota: heavy

ParametroDescrizione
originCodice paese di origine (segmento URL): 1=Ucraina, 2=Polonia, 3=Slovacchia, 4=Ungheria, 5=Romania…
destinationDestinazione: codice singolo, elenco separato da virgole o "all" per tutti i vicini
crossing_typeTipo veicolo: 4=auto, 5=auto (esenzione), 6=autobus, 7=pedoni, 8=autocarro <7.5t, 9=autocarro
langLingua per i nomi dei valichi nella risposta (predefinito en)

Campi della risposta — all’interno dell’oggetto data della busta. [] indica una lista, quindi data.items[].name è il campo name di ogni elemento. Un campo è null, assente o una lista vuota quando non abbiamo un valore — mai un segnaposto.

CampoDescrizione
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"
🔑 Accedi come sviluppatore per provare questo endpoint dal vivo nella sandbox — 50 chiamate di prova gratuite al giorno. Accedi