Get Twitch Live Viewer Trend

13 endpoints • Base: https://openapi.scdata.cc

Returns a time series of viewer-count samples for one captured broadcast so peaks can be matched to moments in the stream.

GET/api/v1/twitch/live/viewer_count/over_time

Quota usage: Each successful request to this endpoint deducts 1 quota units from your plan.

Request Parameters

Required Parameters

NameInTypeDescription
live_idquerystringlive_id
example: 315722295417

Response Fields

NameTypeDescription
successbooleanSuccess
codeintegerCode
messagestringMessage
dataarray<object>Data
data[].countintegerViewer count
data[].monitor_timestringMonitoring time

Try It

https://openapi.scdata.cc/api/v1/twitch/live/viewer_count/over_time
Select an API key from Dashboard
Add an API key before sending a request.Go to Dashboard

Query Params

live_id*

cURL Example

bash
curl -X GET "https://openapi.scdata.cc/api/v1/twitch/live/viewer_count/over_time?live_id=315722295417" \
-H "Authorization: YOUR_API_KEY"

Response Example (200 application/json)

json
{
"success": true,
"code": 200,
"message": "Request successful",
"data": [
{
"count": 0,
"monitor_time": "2019-08-24T14:15:22.123Z"
}
]
}

Use Cases

  • Segment impact — Check whether viewers dropped or spiked during a sponsored segment.
  • Peak-time planning — Schedule product mentions for the part of the stream with the most viewers.

Related Endpoints