---
title: "Get viewer count insights for a channel"
method: GET
path: "/channels/{id}/analytics/insights/viewers"
tags: ["Channels"]
---

# Get viewer count insights for a channel

`GET /channels/{id}/analytics/insights/viewers`

Data is only available for the last 30 days.

## Path parameters

- `id` string, required — Channel ID

## Query parameters

- `period` 'hour' | 'day' | 'week' | 'month', required — Time period for the insights
- `channelIds` string — Comma-separated list of channel IDs to filter by
- `distributionIds` string — Comma-separated list of distribution IDs to filter by
- `streamingFormats` string — Comma-separated list of streaming formats to filter by

## Response `200`

Viewer count insights data

- ViewersInsightsListResult
  - `data` object[], required — List of viewer count data points
    - `timestamp` string, required — Timestamp of the data point
    - `amount` number, required — Number of unique viewers

---

[API](https://skmtc.net/dolby/apis/theolive-api.md) · [All operations](https://skmtc.net/dolby/apis/theolive-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dolby/theolive-api/versions/b57006d43141/schema)
