Twitch videos API
A channel’s past broadcasts, highlights and uploads as Helix Video objects, up to 100 per call, newest first or most viewed.
GET /v1/twitch/users/{handle}/videos1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/twitch/users/ishowspeed/videos?filter_by=ARCHIVE",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "data": [ { "id": "2934967396", "stream_id": null, "user_id": "220476955", "user_login": "ishowspeed", "user_name": "IShowSpeed", "title": "🔴 GTA 6 FINALE LAST MISSION 90% RIGHT NOW GET IN HERE 🔴 EARLY ACCESS GAMEPLAY 🔴 63M ON YOUTUBE 🔴", "description": "", "created_at": "2026-11-20T14:52:27Z", "published_at": "2026-11-20T14:52:27Z", "url": "https://www.twitch.tv/videos/2934967396", "thumbnail_url": "https://static-cdn.jtvnw.net/cf_vods/d2vi6trrdongqn/5ad7b3b5312386897c03_ishowspeed_321260089820_1795186342//thumb/thumb…", "viewable": "public", "view_count": 1948108, "language": "en", "type": "archive", "duration": "4h4m10s", "duration_seconds": 14650, "game_id": "1867279146", "game_name": "Grand Theft Auto VI" }, { "id": "2934870795", "stream_id": null, "user_id": "220476955", "user_login": "ishowspeed", "user_name": "IShowSpeed", "title": "🔴 NOT ENDING TILL I FINISH GTA 6 🔴 EARLY ACCESS GAMEPLAY GET IN HERE 🔴 63M ON YOUTUBE 🔴", "description": "", "created_at": "2026-11-20T12:46:25Z", "published_at": "2026-11-20T12:46:25Z", "url": "https://www.twitch.tv/videos/2934870795", "thumbnail_url": "https://static-cdn.jtvnw.net/cf_vods/d2vi6trrdongqn/0e8b15cdbc76c5cbbf9b_ishowspeed_321196884446_1795178780//thumb/thumb…", "viewable": "public", "view_count": 939713, "language": "en", "type": "archive", "duration": "2h1m18s", "duration_seconds": 7278, "game_id": "1867279146", "game_name": "Grand Theft Auto VI" }, "… 13 more" ], "total": 15, "pagination": { "has_more": false }}Parameters
| Name | Type | Description |
|---|---|---|
handlepath · required | string | Twitch login (username) or channel URL. Example: ninja. |
filter_byquery | "ARCHIVE" | "HIGHLIGHT" | "UPLOAD" | ARCHIVE, HIGHLIGHT or UPLOAD. One of ARCHIVE, HIGHLIGHT, UPLOAD. |
sort_byquery | "TIME" | "VIEWS" | TIME (default) or VIEWS. One of TIME, VIEWS. |
sincequery | string | Only videos created on or after this date. |
untilquery | string | Only videos created on or before this date. |
Response fields
200 with a TwitchVideosResponse, in the shape of Twitch’s Helix API objects.
| Field | Type | Description |
|---|---|---|
data | TwitchVideo[] | |
total | integer | All videos of this type on the channel. |
pagination | object | Up to 100 videos come in one call; has_more says there are older ones. |
Status codes
| Status | Meaning |
|---|---|
200 | The videos. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No Twitch channel or clip by that name. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Twitch is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
Can I page past 100?
Not yet: Twitch only serves the first 100 to a logged-out visitor without an integrity token; pagination.has_more says when there are more.
Twitch is a trademark of Twitch Interactive, Inc. We are not affiliated with or endorsed by Twitch.