Viewership
Query realtime viewership
GET
/
data
/
views
/
now
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
playbackId
string
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
creatorId
string
The creator ID to filter the query results
breakdownBy[]
enum<string>[]
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
playbackId
string
The playback ID associated with the metric.
device
string
The device used by the viewer.
browser
string
The browser used by the viewer.
country
string
The country where the viewer is located.
viewCount
integer
requiredThe number of views for the stream/asset.
errorRate
number
requiredThe error rate for the stream/asset.
Was this page helpful?