Twitch API scraper
Twitch API scraper
/twitch/v1/channel1 creditFull channel/user profile by login: id, display name, description, created-at, profile and banner image, follower count, partner/affiliate/staff flags, and the current live stream (title, viewer count, game/category, started-at) if live.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| login | required | — | Twitch channel login name — the handle in twitch.tv/<login> (e.g. 'shroud', 'pokimane', 'xqc'). Case-insensitive. |
/twitch/v1/stream1 creditLive status of a channel: whether it is live right now and, if so, the stream id, title, viewer count, game/category, started-at timestamp and a 1080p thumbnail. Returns is_live=false (honest-empty) for an offline channel.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| login | required | — | Twitch channel login name — the handle in twitch.tv/<login> (e.g. 'shroud', 'pokimane', 'xqc'). Case-insensitive. |
/twitch/v1/videos1 creditA channel's past broadcasts / VODs (most recent first), up to 100 in one page: id, title, duration, view count, published-at, game/category and thumbnail. Note: Twitch integrity-gates pagination beyond the first page for keyless access.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| login | required | — | Twitch channel login name — the handle in twitch.tv/<login> (e.g. 'shroud', 'pokimane', 'xqc'). Case-insensitive. |
| limit = 20 | optional | 1–100 | How many VODs to return (1-100, single page). |
| type = ARCHIVE | optional | ARCHIVE · HIGHLIGHT · UPLOAD · ALL | Which kind of videos: ARCHIVE (past broadcasts, default), HIGHLIGHT, UPLOAD or ALL. |
| sort = TIME | optional | TIME · VIEWS | Order: TIME (newest first, default) or VIEWS (most viewed). |
/twitch/v1/clips1 creditTop clips of a channel, ranked by views, up to 100 in one page: id, slug, title, view count, created-at, duration, game/category, the clip creator and the clip URL. Filter the time window with `period`. Pagination beyond page one is integrity-gated.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| login | required | — | Twitch channel login name — the handle in twitch.tv/<login> (e.g. 'shroud', 'pokimane', 'xqc'). Case-insensitive. |
| limit = 20 | optional | 1–100 | How many clips to return (1-100). |
| period = LAST_WEEK | optional | LAST_DAY · LAST_WEEK · LAST_MONTH · ALL_TIME | Time window for top clips: LAST_DAY, LAST_WEEK (default), LAST_MONTH or ALL_TIME. |
/twitch/v1/search_channels1 creditSearch Twitch channels by name/keyword. Returns matching channels with id, login, display name, description, follower count, partner/affiliate flags and live status (viewer count + game when live).
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| query | required | — | Free-text search term. |
| limit = 10 | optional | 1–30 | Max channels to return (1-30). |
/twitch/v1/search_categories1 creditSearch Twitch games/categories by name. Returns matching categories with id, name, display name, current live viewer count and box-art image.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| query | required | — | Free-text search term. |
| limit = 10 | optional | 1–30 | Max categories to return (1-30). |
/twitch/v1/top_games1 creditThe top games/categories on Twitch right now, ranked by live viewers: id, name, display name, current viewer count, content tags and box-art image. Up to 30.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| limit = 20 | optional | 1–30 | How many top games to return (1-30). |
/twitch/v1/top_streams1 creditThe top live streams on Twitch right now, ranked by viewers: stream id, title, viewer count, started-at, the broadcasting channel (login, display name) and the game/category. Up to 30.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| limit = 20 | optional | 1–30 | How many top streams to return (1-30). |
/twitch/v1/game1 creditGame/category detail by name plus its top live streams: category id, display name, total live viewers, description, avatar — and the top channels (up to 30) currently streaming it, each with title, viewer count and broadcaster.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| name | required | — | Exact game/category name as Twitch lists it (e.g. 'VALORANT', 'Just Chatting', 'Counter-Strike'). Use search_categories to resolve a fuzzy name first. |
| limit = 20 | optional | 1–30 | How many of the game's top live streams to return (1-30). |
curl -X POST https://api.reefapi.com/twitch/v1/channel \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"login":"shroud"}'{
"ok": true,
"data": { /* the result */ },
"meta": {
"latency_ms": 240,
"record_count": 12,
"completeness_pct": 100
},
"error": null
}