API Reference
Dashboard
  1. API Reference
  2. Box API
  3. Stats & logs

Read per-10-minute uptime of one slot for each day in a range

Use this to draw an uptime chart. The range may span at most about 3 months (93 days). data is keyed by the epoch second of each day, walking back from end_date in 24-hour steps; each day has 144 ten-minute buckets with status 1 (up), 0 (down) or null (no data).

  • Read only
  • Basic auth
  • Panel API · since v20.8.0
  • Hub: routine call
  • getUptimeStats
GET/v2/stats/uptime_stats

Query parameters

positionintegerrequired
start_dateintegerrequired

Epoch seconds.

end_dateintegerrequired

Epoch seconds.

Responses

Uptime buckets or an error.

statusbooleanoptional
msgstringoptional
dateintegeroptional

Echo of start_date.

dataobjectoptional

Errors returned in msg

msgMeaningWhat to do
position, start_date and end_date are requiredA parameter is missing or not an integer.Send all three as integers.
Please select date range is not over than 3 months!The range is 93 days or more.Shorten the range.
Have an error during request! Contact administrator!The database query failed.Retry; check the box logs.
Verified against XProxy v21.3.2 on Nov 17, 2026