Twitch API: List top streams
Lists 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.
Unofficial. Not affiliated with or endorsed by Twitch.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Category optional
category Game or category name, such as Fortnite or Just Chatting. Leave blank for all categories.
Fortnite
Default
.- Language optional
language Stream language name or two-letter code, such as English or es. Leave blank for all languages.
English
Default
.- Max Results optional
max_results Maximum number of streams, such as 25.
25
Whole number from 1 to 100. Default
25.
Input as JSON
{ "category": "Fortnite", "language": "English", "max_results": 25}Output
{ "streams": [ { "rank": 1, "category": "Fortnite", "language": "English", "started_at": "2026-10-23T07:03:56+00:00", "channel_link": "https://www.twitch.tv/loeya" , "stream_title": "FRIYAY chat chooses my fits! - !corsair - Code: LOEYA #EpicPartner", "streamer_name": "Loeya", "thumbnail_link": "https://static-cdn.jtvnw.net/previews-ttv/live_user_loeya-640x360.jpg" , "current_viewers": 1499 }, { "rank": 2, "category": "Fortnite", "language": "English", "started_at": "2026-10-23T06:01:43+00:00", "channel_link": "https://www.twitch.tv/oatley" , "stream_title": "🏆 SOLO RELOAD VICTORY CUP FINALS 🏆 !map", "streamer_name": "Oatley", "thumbnail_link": "https://static-cdn.jtvnw.net/previews-ttv/live_user_oatley-640x360.jpg" , "current_viewers": 1048 }, { "rank": 3, "category": "Fortnite", "language": "English", "started_at": "2026-10-23T02:07:26+00:00", "channel_link": "https://www.twitch.tv/blou" , "stream_title": "Not Ending Till I Win A game of Fortnite B lou Gaming", "streamer_name": "BLOU", "thumbnail_link": "https://static-cdn.jtvnw.net/previews-ttv/live_user_blou-640x360.jpg" , "current_viewers": 838 } ]}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"twitch.tv/list_top_streams","input":{"category":"Fortnite","language":"English","max_results":25}}' # 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_top_streams" , "input": { "category": "Fortnite", "language": "English", "max_results": 25 }})# 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_top_streams" , "input": { "category": "Fortnite", "language": "English", "max_results": 25 } }), 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_top_streams# with {"category":"Fortnite","language":"English","max_results":25}"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", "properties": { "category": { "type": "string", "default": "", "description": "Game or category name, such as Fortnite or Just Chatting. Leave blank for all categories." }, "language": { "type": "string", "default": "", "description": "Stream language name or two-letter code, such as English or es. Leave blank for all languages." }, "max_results": { "type": "integer", "default": 25, "maximum": 100, "minimum": 1, "description": "Maximum number of streams, such as 25." } }}Output schema
{ "type": "object", "required": [ "streams" ], "properties": { "streams": { "type": "array", "items": { "type": "object", "required": [ "rank", "streamer_name", "stream_title", "category", "current_viewers", "language", "started_at", "thumbnail_link", "channel_link" ], "properties": { "rank": { "type": "integer" }, "category": { "type": [ "string", "null" ] }, "language": { "type": [ "string", "null" ] }, "started_at": { "type": [ "string", "null" ] }, "channel_link": { "type": [ "string", "null" ] }, "stream_title": { "type": [ "string", "null" ] }, "streamer_name": { "type": [ "string", "null" ] }, "thumbnail_link": { "type": [ "string", "null" ] }, "current_viewers": { "type": [ "integer", "null" ] } }, "additionalProperties": false } } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
twitch.tv/list_top_streams- Returns
- rank, streamer, title, category, viewers, language, start time, thumbnail, channel link
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_top_streams with the inputs above.
Ask your agent
- What are the most-watched live streams on Twitch right now?
- Show me the top 10 Fortnite streams currently live, with viewer counts.
- Which Spanish-language streams have the biggest audiences at the moment?
- List the 50 biggest live Just Chatting broadcasts and their start times.
- Give me the current top streams across all categories in English, limited to 30.
See more
All Twitch methodsLists Twitch games and categories ranked by current live viewers, with content tags, box art and category links.
twitch.tv/list_top_categoriesLists 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_videosLooks 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 the most-watched live Kick streams right now, optionally in one category and language, sorted by current viewers.
kick.com/list_live_streamsLists Spotify's top or trending podcasts for a country in chart order, with rank, movement, publisher, artwork and Spotify link. Category charts exist only for some countries.
open.spotify.com/list_top_podcastsLists the games with the most players on Steam right now, with current and peak players and prices for a chosen country.
store.steampowered.com/list_most_playedLists ranked Android apps or games from the Google Play top free, top paid or top grossing chart for a country and category.
play.google.com/list_top_charts