Skip to main content
Menu

← Toate endpointurile

API statistici de frontieră pentru transportatorii cu autobuze Online

Performanța de trecere a frontierei pe transportator cu autobuze: treceri, minute de așteptare medie/mediană/min/max — construite din propriile noastre înregistrări de treceri corelate cu plăcuțele de înmatriculare.

GET https://nakordoni.eu/api/v1/data/bus-carriers — clasă de cotă: cheap

ParametruDescriere
ppidID punctului de control, de ex. id_13 — sau "all" pentru lista agregată
daysPerioadă 1-90 (implicit 30)
min_crossingsNumărul minim de treceri pentru a include un transportator (implicit 3)
limitNumărul maxim de transportatori returnați (implicit 20)

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.companies[].nameCarrier, as matched from plates seen at the border.
data.companies[].crossingsHow many crossings of theirs we matched in the period.
data.companies[].avg_wait_minTheir average border wait, with median_wait_min, min_wait_min and max_wait_min.
data.companies[].max_wait_days_agoHow long ago the worst wait happened — an old outlier is not today's carrier.
data.total_crossingsCrossings observed in period_days, with matched_crossings — the subset a carrier could be identified for.
data.data_availablefalse = too little matched data for the checkpoint/period to report anything.
data.ppidCheckpoint the stats are for ('all' when aggregated), with mode and generated_at.
curl "https://nakordoni.eu/api/v1/data/bus-carriers?ppid=all&days=30" \
  -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