Viewership
Query realtime viewership
Requires a private (non-CORS) API key to be used.
GET
/
data
/
views
/
now
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The playback ID to filter the query results. This can be a canonical playback ID from Livepeer assets or streams, or dStorage identifiers for assets
The creator ID to filter the query results
The list of fields to break down the query results. Specify this query-string multiple times to break down by multiple fields.
Available options:
playbackId
, device
, browser
, country
Response
200 - application/json
The playback ID associated with the metric.
The device used by the viewer.
The browser used by the viewer.
The country where the viewer is located.
The number of views for the stream/asset.
The error rate for the stream/asset.
Was this page helpful?