Returns live broadcasts matching the filters, ordered by viewer count, with title, game and streamer details.
POST
/api/v1/twitch/search/liveQuota usage: Each successful request to this endpoint deducts 1 quota units from your plan.
Request Parameters
Required Parameters
This endpoint has no required parameters.
Optional Parameters
| Name | In | Type | Description |
|---|---|---|---|
user_id | body | object | User ID example: string |
user_login | body | object | User login name example: string |
game_id | body | object | Game (category) ID example: string |
type | body | object | Stream type filter for the live list. Possible values: all, live; default all example: string |
language | body | object | Language example: string |
first | body | integer | Page size, maximum 100, default 20 example: 0 |
before | body | object | Previous page cursor example: string |
after | body | object | Next page cursor example: string |
Response Fields
| Name | Type | Description |
|---|---|---|
success | boolean | Success |
code | integer | Code |
message | string | Message |
data | object | - |
data.more | boolean | Has more |
data.offset | string | offset |
data.data | array<object> | data |
Try It
https://openapi.scdata.cc/api/v1/twitch/search/live
Select an API key from Dashboard
Add an API key before sending a request.Go to Dashboard
JSON Body
cURL Example
bash
curl -X POST "https://openapi.scdata.cc/api/v1/twitch/search/live" \-H "Authorization: YOUR_API_KEY" \-H "Content-Type: application/json" \-d '{"user_id":"string","user_login":"string","game_id":"string","type":"string","language":"string","first":0,"before":"string","after":"string"}'
Response Example (200 application/json)
json
{"success": true,"code": 200,"message": "Request successful","data": {"more": true,"offset": "string","data": [{"id": "string","user_id": "string","user_login": "string","user_name": "string","game_id": "string","game_name": "string","type": "string","title": "string","viewer_count": 0,"started_at": "2019-08-24T14:15:22.123Z","language": "string","thumbnail_url": "string","tags": ["string"],"is_mature": true}]}}
Use Cases
- Real-time opportunity spotting — See who is streaming a newly launched game right now to reach out while interest peaks.
- Live dashboard — Show the top live channels in a category on an internal monitoring screen.