Skip to main content
Menu

← Toate endpointurile

API prognoză coadă Online

Prognoză a nivelurilor cozii bazată pe ansamblu ML: orizonturi de 24 de ore și 7 zile (168 h) cu limite de încredere. Același model care alimentează predicțiile nakordoni.eu.

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

ParametruDescriere
ppidID punct de control, de ex. id_13 (vezi /api/v1/data/checkpoints)
prediction_steps24 (implicit) sau 168 pentru 7 zile

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[]One element per forecast step, nearest first — 24 or 168 of them.
data[].timeUnix timestamp the step forecasts, with hours_from_now.
data[].avg_carsPredicted queue at that hour.
data[].lower_boundConfidence band around avg_cars, with upper_bound; the _50 pair is the narrower 50% band.
data[].type_of_dataProvenance marker of the input reading the step was built from.
data[].sourceWhich model produced the step, with formula and the corrected flag when a calibrator adjusted it.
data[].learned_multPer-checkpoint learned multiplier applied, and weather_mult the weather one.
data[].v4Full breakdown from the v4 ensemble — component scores behind avg_cars.
curl "https://nakordoni.eu/api/v1/data/forecast?ppid=id_13&prediction_steps=24" \
  -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