Stats > Globals > Viewers
Viewers per channel histogram
This endpoint allows you to retrieve Global viewers histogram per channel.
get/1/videos/stats/viewers/channels/histogram
Query parameters
fromstring required
Specify the starting date to get Consumption
Example:1640995200
Specify the starting date to get Consumption
tostring nullable required
Specify the ending date to get Consumption
Example:1672444800
Specify the ending date to get Consumption
per'day' | 'hour' | 'minute' | 'month' | 'quarter' | 'week' | 'year' required
Specify
Example:"toto"
Specify the ending date to get Consumption
account_idinteger required
Account identifier
The account identifier
Response
OK
Example response
{
"result": "success"
}Changes
No recorded changes to this endpoint across all 2 revisions of this API.