---
title: "Viewers Histogram share"
method: GET
path: "/1/videos/{channel}/stats/viewers/histogram"
tags: ["Stats > Channel > Viewers"]
---

# Viewers Histogram share

`GET /1/videos/{channel}/stats/viewers/histogram`

This endpoint allows you to retrieve get viewers Histogram share.

## Path parameters

- `channel` integer, required

## Query parameters

- `from` string, required — Specify the starting date to get Consumption
- `to` string, nullable, required — Specify the ending date to get Consumption
- `per` 'day' | 'hour' | 'minute' | 'month' | 'quarter' | 'week' | 'year', required — Specify
- `account_id` integer, required — Account identifier

## Response `200`

OK

- Response
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/158a854b0c7d/schema)
