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

# Get live stream viewers

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

## Request

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

Retrieves current viewer data for a live stream

## Path parameters

- `live_id` string, uuid, required

## Response `200`

Live stream viewers data retrieved successfully

- object
  - `id` string, uuid: Live stream identifier
  - `title` string: Live stream title
  - `status` string: Live stream status
  - `started_at` string, date-time: Live stream start time
  - `ended_at` string, date-time: Live stream end time
  - `viewers` integer: Current number of viewers

## 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.md) - [All operations](https://skmtc.dev/pandavideo/apis/panda-analytics-video-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pandavideo/apis/panda-analytics-video-api/revisions/f773175019ee?raw)
