Daily Statistics
Daily Statistics are calculated based on the data available for a specific time period. The data is aggregated for each day based on the user’s local timezone. 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.
User’s Local Timezone
The /statistics/daily
endpoint uses the user’s local timezone for all its calculations. This approach ensures that the data reflects the user’s actual daily activity patterns, providing a more personalized view. By using the local timezone, the API tailors the data to the user’s specific context, which is particularly useful for applications that focus on individual user experiences. This approach contrasts with the /statistics
endpoint, which uses Coordinated Universal Time (UTC) for calculations, offering a standardized global 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 user's local timezone according to the provider
"2006-01-02"
End time of the query range in user's local timezone according to the provider
"2006-01-02"
Exclude manual metrics from the statistics
Statistics values
1
Provider slugs
Response
OK
The response is of type object
.