Actions92
- Channel Actions
- Channel > Config Actions
- Event Actions
- Integrations Actions
- Live Actions
- Misc > Countries Actions
- Misc > Stream Actions
- Option Actions
- Option > Record Actions
- Option > Record > Instant Actions
- Option > Record > Storage Actions
- Option > Timeshift Actions
- Option > Watermarking Actions
- Option > Simulcast Actions
- Players Actions
- Players > Ads Actions
- Players > Embeds Actions
- Players > Pictures Actions
- Prices Actions
- Restrictions Actions
- Stats > Channel > Connection History Actions
- Stats > Channel > Consumption Actions
- Stats > Channel > Export Stats Actions
- Stats > Channel > Geolocation Actions
- Stats > Channel > Technologies Actions
- Stats > Channel > Viewers Actions
- Stats > Channel > Viewing Actions
- Stats > Globals > Consumption Actions
- Stats > Globals > Geolocation Actions
- Stats > Globals > Viewers Actions
- Stats > Globals > Viewing Actions
- Thumbnail Actions
- Order Actions
Stats > Channel > Viewers → Viewers Per Resolution Histogram.
AI-generatedSummary
Fetch viewer statistics for a channel segmented by resolution within a date range
Inputs
- authentication — Authentication method to use (OAuth2 or API Key)
- path_channel — The channel identifier (Pack order ID) to query
- query_from — Start date for the statistics (inclusive)
- query_to — End date for the statistics (inclusive)
- query_per (required) — Resolution granularity for the histogram (e.g., day, hour, week)
- query_account_id (required) — Identifier of the account whose channel is being queried
- returnFullResponse — If true, returns the complete API response; otherwise returns a simplified histogram
Output shape
an array of objects, each containing a resolution label and the corresponding viewer count for that resolution
The result is a histogram; if returnFullResponse is true the full API payload may be included, otherwise only the aggregated counts are returned. No pagination.
Examples
Example 1: Retrieve hourly viewer distribution for channel ID 123 from Jan 1 to Jan 7
authentication: oauth2; path_channel: 123; query_from: 2024-01-01T00:00:00Z; query_to: 2024-01-07T23:59:59Z; query_per: hour; query_account_id: 456; returnFullResponse: false