Stats API
Get Content 24h Data
Retrieves 24-hour views and engagement metrics with comparison to previous period
GET
Retrieves 24-hour views and engagement metrics with comparison to previous period. For each date, you get that day’s metrics along with the corresponding data from a period before for comparison.
Request Parameters
Parameter | Type | Description | Required |
---|---|---|---|
start_date | String | Start date in MM/DD/YYYY format | Yes |
end_date | String | End date in MM/DD/YYYY format | Yes |
limit | Integer | Limit the number of results. Default is 4. Recommended is 20. Set to 10,000 to get all data. | No |
Response Fields
Field | Description |
---|---|
date | Unix timestamp for the current day |
last_date | Unix timestamp for the comparison day (1 week before) |
current | Number of views/likes for the current day |
last | Number of views/likes for the comparison day |
total | Running total as of the latest date |
last_total | Running total as of the comparison period’s latest date |
Request Example
Response Example
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Start date in MM/DD/YYYY format
End date in MM/DD/YYYY format
Limit the number of results. Default is 4. Recommended is 20. Set to 10,000 to get all data.
Response
200
application/json
Content 24h data retrieved successfully
The response is of type object
.