Get viewers from a live

Returns a real-time snapshot of viewer count and status for a live stream. Use this for 'watching now' counters. For viewer count over time, use the historic viewers endpoint.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

GET /analytics/live/{live_id}/viewers

Returns the real-time viewer count and current status of a live stream. Use this to display a "watching now" counter or to drive realtime widgets on a broadcaster dashboard.

📘

Authorization

Requires a valid Panda API token sent in the Authorization header (no Bearer prefix).

HTTP Method & Path

GET /analytics/live/{live_id}/viewers

Base URL: https://api-v2.pandavideo.com.br

Authentication Requirements

Security SchemeHeaderNote
API KeyAuthorizationPanda API token (without Bearer prefix)

Parameters

NameInTypeRequiredDescription
AuthorizationheaderstringYesPanda API token (without Bearer prefix)

Path Parameters

FieldTypeRequiredDescriptionConstraints
live_idstring (uuid)YesID of the live stream whose viewer count you want to retrieve.uuid

Response

Success Response (200)

{
  "id": "11111111-2222-3333-4444-555555555555",
  "title": "My live stream",
  "status": "online",
  "started_at": "2026-05-28T15:00:00.000Z",
  "ended_at": null,
  "viewers": 320
}

Response Schema

FieldTypeDescription
idstring (uuid)ID of the live stream.
titlestringTitle of the live stream.
statusstringCurrent status. Enum: online, offline, canceled, finished, finished_imported.
started_atstring | nullWhen the live started (ISO 8601). null if not started yet.
ended_atstring | nullWhen the live ended (ISO 8601). null if still active.
viewersintegerCurrent number of concurrent viewers. 0 when the live is offline.
📘

Real-time vs historic

This endpoint returns a snapshot of the current viewer count. For viewer count over time (charts), use Get Historic Viewer Data for Live Stream.

Error Responses

  • 400 Bad Requestlive_id is missing or not a valid UUID.
  • 401 Unauthorized — Missing or invalid API token.
  • 404 Not Found — Live not found for the given live_id.
  • 500 Internal Server Error — Server-side error.

Example Usage

cURL

curl -X GET \
  'https://api-v2.pandavideo.com.br/analytics/live/<live_id>/viewers' \
  -H 'Authorization: your_api_token_here' \
  -H 'Accept: application/json'

Related

Path Params
uuid
required

ID of the live stream.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json