Twitch API: Get channel stream schedule
Returns a Twitch channel's public upcoming stream schedule for the next 1 to 30 days, with start and end times, titles, categories and cancellations.
Unofficial. Not affiliated with or endorsed by Twitch.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Channel, required
channel Twitch channel name or channel link, for example lirik or https://www.twitch.tv/lirik/schedule.
https://www.twitch.tv/cohhcarnage/schedule
- Days Ahead optional
days_ahead Number of days ahead to include, for example 14. Default 7.
30
Whole number from 1 to 30. Default
7.
Input as JSON
{ "channel": "https://www.twitch.tv/cohhcarnage/schedule" , "days_ahead": 30}Output
{ "channel": "CohhCarnage", "streams": [ { "link": "https://www.twitch.tv/cohhcarnage/schedule" , "title": "Normal Stream!", "end_at": "2026-10-23T19:00:00+00:00", "category": null, "start_at": "2026-10-23T12:00:00+00:00", "cancelled": false, "recurring": true }, { "link": "https://www.twitch.tv/cohhcarnage/schedule" , "title": "Saturday Stream!", "end_at": "2026-10-24T16:00:00+00:00", "category": null, "start_at": "2026-10-24T12:00:00+00:00", "cancelled": false, "recurring": true }, { "link": "https://www.twitch.tv/cohhcarnage/schedule" , "title": "Reruns in our 24 Hour Community, Twitch.tv/Cohh!" , "end_at": "2026-10-24T23:00:00+00:00", "category": null, "start_at": "2026-10-24T19:00:00+00:00", "cancelled": false, "recurring": true } ], "schedule_link": "https://www.twitch.tv/cohhcarnage/schedule" , "vacation_note": null}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"twitch.tv/get_stream_schedule","input":{"channel":"https://www.twitch.tv/cohhcarnage/schedule","days_ahead":30}}' # 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/get_stream_schedule" , "input": { "channel": "https://www.twitch.tv/cohhcarnage/schedule" , "days_ahead": 30 }})# 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/get_stream_schedule" , "input": { "channel": "https://www.twitch.tv/cohhcarnage/schedule" , "days_ahead": 30 } }), 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/get_stream_schedule# with {"channel":"https://www.twitch.tv/cohhcarnage/schedule","days_ahead":30}"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": { "channel": { "type": "string", "description": "Twitch channel name or channel link, for example lirik or https://www.twitch.tv/lirik/schedule." }, "days_ahead": { "type": "integer", "default": 7, "maximum": 30, "minimum": 1, "description": "Number of days ahead to include, for example 14. Default 7." } }}Output schema
{ "type": "object", "required": [ "channel", "schedule_link", "vacation_note", "streams" ], "properties": { "channel": { "type": "string", "description": "Channel display name." }, "streams": { "type": "array", "items": { "type": "object", "required": [ "start_at", "end_at", "title", "category", "recurring", "cancelled", "link" ], "properties": { "link": { "type": "string", "description": "Stream schedule page." }, "title": { "type": [ "string", "null" ], "description": "Scheduled stream title, if provided." }, "end_at": { "type": [ "string", "null" ], "description": "Stream end time in ISO 8601 with offset, if provided." }, "category": { "type": [ "string", "null" ], "description": "Scheduled category, if provided." }, "start_at": { "type": "string", "description": "Stream start time in ISO 8601 with offset." }, "cancelled": { "type": "boolean", "description": "Whether the stream was cancelled." }, "recurring": { "type": "boolean", "description": "Whether the scheduled slot repeats weekly." } }, "additionalProperties": false }, "description": "Upcoming scheduled streams in start-time order." }, "schedule_link": { "type": "string", "description": "Public channel schedule page." }, "vacation_note": { "type": [ "string", "null" ], "description": "Scheduled vacation note, if any." } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
twitch.tv/get_stream_schedule- Returns
- channel name, schedule link, vacation note, upcoming streams
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/get_stream_schedule with the inputs above.
Ask your agent
- What is xQcOW's stream schedule for the next 14 days?
- Show me upcoming streams from the channel pokimane this week, including cancellations.
- Can you check when shroud is streaming in the next 3 days on Twitch?
- I want to see the schedule for the channel https://www.twitch.tv/ninja/schedule over the next 30 days.
- Which categories and titles does the streamer lirik have planned for the coming week, and is there any vacation note?
See more
All Twitch methodsLooks 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_channelLists 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.
twitch.tv/list_channel_videosLists 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_streamsLists Twitch games and categories ranked by current live viewers, with content tags, box art and category links.
twitch.tv/list_top_categoriesLists upcoming AniList anime episodes ordered by air time, with air times in the chosen time zone and available streaming links.
anilist.co/get_airing_scheduleGets a public YouTube channel's profile, links and statistics from its name, @handle or link. Subscriber totals may be rounded as YouTube displays them.
youtube.com/get_channelLists the most-watched live Kick streams right now, optionally in one category and language, sorted by current viewers.
kick.com/list_live_streamsLists 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_videos