Skip to main content
Menu

← सभी एंडपॉइंट

चेकपॉइंट प्रति घंटा सांख्यिकी API Online

प्रति चेकपॉइंट और तिथि के अनुसार प्रति घंटा ऐतिहासिक कतार सांख्यिकी: 24 घंटे के मान, दैनिक औसत/न्यूनतम/अधिकतम, चरम और सबसे शांत घंटे, दिन-प्रति-दिन तुलना।

GET https://nakordoni.eu/api/v1/data/stats — कोटा श्रेणी: heavy

पैरामीटरविवरण
ppidचेकपॉइंट आईडी, उदाहरण के लिए 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"
🔑 इस एंडपॉइंट को सैंडबॉक्स में लाइव आज़माने के लिए डेवलपर के रूप में लॉग इन करें — प्रतिदिन 50 निःशुल्क टेस्ट कॉल। लॉग इन