---
title: "Get live stream viewers history"
method: GET
path: "/analytics/live/{live_id}/viewers_historic"
tags: ["Analytics API"]
---

# Get live stream viewers history

`GET /analytics/live/{live_id}/viewers_historic`

## Request

- Base URL: `https://api-v2.pandavideo.com`
- URL: `https://api-v2.pandavideo.com/analytics/live/{live_id}/viewers_historic`
- Auth: API key in header `Authorization`

Retrieves historical viewer data for a live stream

## Path parameters

- `live_id` string, uuid, required

## Response `200`

Live stream viewers history retrieved successfully

- object[]: Historical viewer data points
  - `viewers` integer: Number of viewers at this timestamp
  - `timestamp` integer: Unix timestamp in milliseconds

## Other responses

- `400`: Bad request - Invalid input parameters
- `401`: Unauthorized - Invalid or missing authentication
- `404`: Not found - Resource does not exist
- `500`: Internal server error

---

[API](https://skmtc.dev/pandavideo/apis/panda-analytics-video-api-2.md) - [All operations](https://skmtc.dev/pandavideo/apis/panda-analytics-video-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/pandavideo/apis/panda-analytics-video-api-2/revisions/b91a08a16590?raw)
