Skip to content

Get live viewer counts

The Stream player has full support for live viewer counts by default. To get the viewer count for live videos for use with third party players, make a GET request to the /views endpoint.

Terminal window
https://customer-<CODE>.cloudflarestream.com/<INPUT_ID>/views

Below is a response for a live video with several active viewers:

{ "liveViewers": 113 }