Zum Inhalt
Menu

← Alle Endpunkte

API „Beste Überquerungszeit" Online

Typische-Woche-Statistiken pro Checkpoint: 7×24-Matrix Wochentag×Stunde (Median + p25/p75-Band), ruhigster/verkehrsreichster Tag, beste/schlechteste 2-Stunden-Fenster.

GET https://nakordoni.eu/api/v1/data/day-stats — Kontingentklasse: cheap

ParameterBeschreibung
ppidCheckpoint-ID
langSprachcode

Antwortfelder — innerhalb des data-Objekts im Antwortumschlag. [] steht für eine Liste, data.items[].name ist also das Feld name jedes Elements. Ein Feld ist null, fehlt oder ist eine leere Liste, wenn wir keinen Wert dafür haben — nie ein Platzhalter.

FeldBeschreibung
data.matrix7×24 median queue: matrix[dayOfWeek][hour], day 0 = Monday, hours in the checkpoint's timezone (data.tz).
data.loSame 7×24 shape — the p25 floor of the band; hi is the p75 ceiling.
data.countsObservations behind each cell — a cell with few counts is a weak median.
data.weekday_avgSeven averages, one per weekday; best_day and worst_day index into them.
data.best_slots[]Quietest 2-hour windows: dow, hour, v (the value). worst_slots is the same for the busiest.
data.overall_avgAverage across the whole matrix, with overall_max.
data.samplesReadings the matrix was built from, over period_days; data_quality grades that sample.
data.generated_atWhen the matrix was last recomputed (unix). It is precomputed daily, not per request.
curl "https://nakordoni.eu/api/v1/data/day-stats?ppid=id_13&lang=en" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Melden Sie sich als Entwickler an, um diesen Endpunkt live in der Sandbox auszuprobieren — 50 kostenlose Testaufrufe pro Tag. Anmelden