Twitch API: List channel videos
Lists a Twitch channel's public past broadcasts or highlights by date, or its top clips by views for a chosen period. Returns up to 100 items; clips unavailable to anonymous viewers are not included.
Unofficial. Not affiliated with or endorsed by Twitch.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Type optional
type Which videos to list: past_broadcasts, highlights, or clips.
past_broadcasts (default)
One of
past_broadcasts,highlights,clips.- Channel, required
channel Twitch channel name or channel link, for example xQc or https://www.twitch.tv/xqc.
xQc
- Clip Period optional
clip_period Period for top clips only, for example last_week.
last_week (default)
One of
last_day,last_week,last_month,all_time.- Max Results optional
max_results Maximum number of items, for example 20.
20 (default)
Whole number from 1 to 100.
Input as JSON
{ "channel": "xQc"}Output
{ "videos": [ { "id": "2907859259", "date": "2026-10-22", "title": "🚓LIVE🚓CLICK🚓DRAMA🚓GTA V🚓NOPIXEL V🚓MEGA ULTRA SUPER DAY🚓LOCK IT IN🚓TURF DAY🚓CAR DAY🚓END TIMES DAY🚓COOL🚓", "views": 19551, "length": "13:05:34", "category": "Just Chatting", "video_link": "https://www.twitch.tv/videos/2907859259" , "thumbnail_link": "https://static-cdn.jtvnw.net/cf_vods/d2vi6trrdongqn/03c6bbf4dff92859742c_xqc_320774646110_1792695855//thumb/thumb0-320x180.jpg" }, { "id": "2907037919", "date": "2026-10-21", "title": "🌫️LIVE🌫️CLICK🌫️GTA V🌫️NOPIXEL V🌫️MEGA DAY🌫️IMPORTANT🌫️LOCK IN🌫️CAR DAY????🌫️WOAH🌫️LETS GET IT🌫️BUSTA🌫️YAY🌫️", "views": 805698, "length": "11:55:06", "category": "Just Chatting", "video_link": "https://www.twitch.tv/videos/2907037919" , "thumbnail_link": "https://static-cdn.jtvnw.net/cf_vods/d1m7jfoe9zdc1j/e703c7899ad0c6a9d661_xqc_322064727131_1792612570//thumb/thumb0-320x180.jpg" }, { "id": "2905320411", "date": "2026-10-19", "title": "🌞LIVE🌞CLICK🌞DRAMA🌞NEWS🌞GTA V🌞NOPIXEL V🌞BIG UPDATE🌞I THINK🌞MEGA NEWS🌞IMPORTANT🌞SUPER DAY LOCK IN🌞CAR PART STACKING🌞", "views": 833038, "length": "11:38:10", "category": "Just Chatting", "video_link": "https://www.twitch.tv/videos/2905320411" , "thumbnail_link": "https://static-cdn.jtvnw.net/cf_vods/d1m7jfoe9zdc1j/a1033b5ad1de49dc3e4f_xqc_322039747803_1792439761//thumb/thumb0-320x180.jpg" } ], "channel": "xQc"}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"twitch.tv/list_channel_videos","input":{"channel":"xQc"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "twitch.tv/list_channel_videos" , "input": { "channel": "xQc" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "twitch.tv/list_channel_videos" , "input": { "channel": "xQc" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run twitch.tv/list_channel_videos# with {"channel":"xQc"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "channel" ], "properties": { "type": { "enum": [ "past_broadcasts", "highlights", "clips" ], "type": "string", "default": "past_broadcasts", "description": "Which videos to list: past_broadcasts, highlights, or clips." }, "channel": { "type": "string", "description": "Twitch channel name or channel link, for example xQc or https://www.twitch.tv/xqc." }, "clip_period": { "enum": [ "last_day", "last_week", "last_month", "all_time" ], "type": "string", "default": "last_week", "description": "Period for top clips only, for example last_week." }, "max_results": { "type": "integer", "default": 20, "maximum": 100, "minimum": 1, "description": "Maximum number of items, for example 20." } }}Output schema
{ "type": "object", "required": [ "channel", "videos" ], "properties": { "videos": { "type": "array", "items": { "type": "object", "required": [ "title", "date", "length", "views", "category", "thumbnail_link", "video_link", "id" ], "properties": { "id": { "type": "string", "description": "Twitch video or clip ID." }, "date": { "type": [ "string", "null" ], "format": "date", "description": "Publication date." }, "title": { "type": [ "string", "null" ], "description": "Video or clip title." }, "views": { "type": [ "integer", "null" ], "description": "View count." }, "length": { "type": [ "string", "null" ], "description": "Duration as text." }, "category": { "type": [ "string", "null" ], "description": "Game or category name." }, "video_link": { "type": "string", "description": "Twitch page for this video or clip." }, "thumbnail_link": { "type": [ "string", "null" ], "description": "Thumbnail image link." } }, "additionalProperties": false }, "description": "Past broadcasts or highlights newest first; clips most viewed first." }, "channel": { "type": "string", "description": "Channel display name." } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
twitch.tv/list_channel_videos- Returns
- title, date, length, views, category, thumbnail link, video link, id
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method twitch.tv/list_channel_videos with the inputs above.
Ask your agent
- Show me the top clips from the last month for the channel shroud, up to 50 of them
- I want past broadcasts from xQc, sorted by date, just 10 results
- Can you list highlights from the channel https://www.twitch.tv/pokimane?
- What are the most viewed clips of all time for ninja on Twitch?
- Pull up the last 30 past streams from the channel Asmongold so I can see their lengths and categories
See more
All Twitch methodsLists the most-watched live Twitch streams, optionally within a category and language. All-category results are limited to 30 streams; category results allow up to 100.
twitch.tv/list_top_streamsLooks up a public Twitch channel by name, display name or channel link and returns its profile, live status and up to 10 recent broadcast videos.
twitch.tv/get_channelReturns a Twitch channel's public upcoming stream schedule for the next 1 to 30 days, with start and end times, titles, categories and cancellations.
twitch.tv/get_stream_scheduleLists Twitch games and categories ranked by current live viewers, with content tags, box art and category links.
twitch.tv/list_top_categoriesLists a YouTube channel's public videos, Shorts, or live uploads, newest first or most popular first, along with channel details. Counts and dates taken from displayed text may be approximate.
youtube.com/list_channel_videosLists the most-watched live Kick streams right now, optionally in one category and language, sorted by current viewers.
kick.com/list_live_streamsLists the latest posts from a public Telegram channel preview, with text, posting time, approximate views, edit flag, forwarded source, thumbnails and post links.
t.me/list_channel_postsGets public details and statistics for one YouTube video by link, ID or title. A title selects the top search match.
youtube.com/get_video