Livestreams

Retrieve Livestream Viewership

Changed on

Retrieves a livestream's viewership: peak, average, and unique viewers, total watch time, viewers for each minute, and how many members joined the account during it. Counts update while the livestream is live and settle about five minutes after it ends.

get/livestreams/{id}/viewership

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string required

Livestream ID, prefixed lfeed_.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

livestream viewership retrieved

LivestreamViewership required
average_viewers, number required

Average number of viewers watching at once, not counting the host: watch_time_seconds divided by how long the livestream has run, rounded to one decimal place.

new_members, integer required

Number of members who joined the account between the start of the livestream and its end, or now while it is live. Team members are not counted.

peak_viewers, integer required

Highest number of viewers watching at once, not counting the host.

peak_viewers_at, string nullable required

When the livestream first reached peak_viewers, as an ISO 8601 timestamp. null when nobody watched.

tracked, boolean required

Whether viewer activity was tracked for this livestream. false before it starts, and after it ends when nothing was recorded, such as for livestreams from before viewer tracking existed. Every viewer count is then 0.

unique_viewers, integer required

Number of distinct people who watched, not counting the host. A signed-out guest counts once per visit.

viewers, LivestreamViewersPoint[] required
watch_time_seconds, integer required

Total time viewers spent watching, in seconds, not counting the host.

Example response

{
  "average_viewers": 31.1,
  "new_members": 1,
  "peak_viewers": 164,
  "peak_viewers_at": "2026-01-01T12:00:00.000Z",
  "tracked": true,
  "unique_viewers": 182,
  "viewers": [
    {
      "viewers": 38
    }
  ],
  "watch_time_seconds": 197340
}

Changes