Statistics
Statistics are calculated based on the data available for a specific time period. The data is aggregated according to the time interval specified in your request. This means that if you request data with an hourly interval, the statistics will be aggregated and presented for each hour within the specified time range.
The aggregation process involves summing up or averaging the data points within each interval, depending on the type of statistic being queried. This allows you to see trends and patterns over time, making it easier to analyze the data and draw meaningful insights.
Refer to the different statistics types in the Statistics Types section for more information on how the data is aggregated for each type.
Coordinated Universal Time
The /statistics
endpoint uses Coordinated Universal Time (UTC) for all its calculations. This standardization ensures that data is consistent and comparable across different time zones. By using UTC, the API provides a global view of the data, which is crucial for applications that require a uniform time reference. This approach contrasts with the /statistics/daily
endpoint, which uses the user’s local timezone for calculations, offering a more personalized view.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Start time of the query range in UTC
"2006-01-02T15:04:05"
"2006-01-02T15:04:05Z"
End time of the query range in UTC
"2006-01-02T15:04:05"
"2006-01-02T15:04:05Z"
Exclude manual metrics from the statistics
Interval windows to aggregate data
fifteen_minute
, thirty_minute
, hour
, day
Statistics values
1
Provider slugs
Response
OK
The response is of type object
.