Skip to main content
Menu

← ყველა ენდპოინტი

საკონტროლო პუნქტის საათობრივი სტატისტიკის API Online

საათობრივი ისტორიული რიგის სტატისტიკა საკონტროლო პუნქტისა და თარიღის მიხედვით: 24 საათობრივი მნიშვნელობა, დღიური საშუალო/მინ/მაქს, პიკისა და ყველაზე მშვიდი საათები, დღიდან-დღემდე შედარება.

GET https://nakordoni.eu/api/v1/data/stats — კვოტის კლასი: heavy

პარამეტრიაღწერა
ppidკონტროლის წერტილის ID, მაგ. id_13 (იხ. /api/v1/data/checkpoints)
dateYYYY-MM-DD (ნაგულისხმევი: გუშინ)
compare1 = წინა დღის ჩართვა + დელტა
langენის კოდი (ნაგულისხმევი uk)

პასუხის ველები — პასუხის კონვერტის data ობიექტის შიგნით. [] აღნიშნავს სიას, ამიტომ data.items[].name არის თითოეული ელემენტის ველი name. ველი არის null, არ არსებობს ან ცარიელი სიაა, როცა მნიშვნელობა არ გვაქვს — შემავსებელს არასოდეს ვდებთ.

ველიაღწერა
data.ppidCheckpoint the statistics belong to, with checkpoint.name and checkpoint.source_url.
data.dateThe day covered, in the checkpoint's timezone (data.timezone); unit says what the numbers count.
data.hourly[]24 elements: hour, value, data_points (observations behind that hour). value is null for an hour with no data.
data.labelsHour labels for the 24 buckets; values is the bare value series, aligned with them.
data.dailyWhole-day rollup: avg, min, max, total, hours_with_data.
data.peakBusiest hour of the day, and quietest the calmest — both null when the day has too little data.
data.data_availablefalse = we hold nothing for that date; every number above is then empty rather than zero.
data.comparePresent only with compare=1: the same shape for the previous day plus delta_avg.
curl "https://nakordoni.eu/api/v1/data/stats?ppid=id_15&date=2026-06-01&compare=1" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 შედით დეველოპერის ანგარიშით, რომ ეს ენდპოინტი პირდაპირ Sandbox-ში სცადოთ — დღეში 50 უფასო სატესტო გამოძახება. შესვლა