Scraper API
Twitchtwitch.top_streamsAvailable
Twitch top streams
The live streams with the most viewers, overall or in that category: channel, title, game, viewers, language, tags and start time.
Give it Nothing, or the name of a game or category.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 2
- Record
- 14 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/twitch.top_streams/runs
sent, and answered
a record of the run14 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 14 fields are set down here; the whole record is below.

What it is used for
- See what is on air
- The live streams with the most viewers on Twitch, overall or in one game, with channel, title, language, tags and start time.
- Measure a game's audience
- Read a game's top streams on a schedule and add up
viewers, to follow how many watch its leading channels through the day. - Find streamers to sponsor
- List the channels that lead a game or a category, with their language and tags, for a first list to look at.
What you send
Nothing, or the name of a game or category. These are its 2 inputs, as its schema has them.
gamestring Optional- A game or category by its name on Twitch, e.g. "Just Chatting" or "League of Legends"; every category when not given.
max_resultsinteger Optional- Return at most this many streams (30 at most).Default
30
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/twitch.top_streams/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"game":"League of Legends"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("twitch.top_streams", {"game": "League of Legends"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("twitch.top_streams", { game: "League of Legends" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "twitch.top_streams", map[string]any{"game": "League of Legends"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("twitch.top_streams", Map.of("game", "League of Legends"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run twitch.top_streams --input 'game=League of Legends'Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The live streams with the most viewers, overall or in that category: channel, title, game, viewers, language, tags and start time. A record has 14 fields. One we could not read is null, never an empty string or a zero.
{
"position": 1,
"id": "318387292899",
"title": "UN PEU D'ARENA AVEC L'ACTUAL AD KING ET CE DIABLE DE KOTEI ;) | GTA VI A 00H (!jd) (!prime)",
"viewers": 22665,
"started_at": "2026-11-18T20:42:56Z",
"language": "fr",
"game": {
"id": "21779",
"name": "League of Legends"
},
"tags": [
"Français",
"LEC",
"leagueoflegends"
],
"channel_id": "27115917",
"channel_login": "kamet0",
"channel_name": "Kamet0",
"channel_url": "https://www.twitch.tv/kamet0",
"partner": true,
"fetched_at": "2026-11-19T18:07:41.620354Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
Values shortened for this page: tags: 10 items, the first 3 shown.
The fields of a record
positioninteger- Its place in the list, from 1: most viewers first.
idstring- Twitch's id of the stream.
titlestring or null- The stream's title.
viewersinteger or null- How many people are watching, at the time of the run.
started_atdatetime or null- When the stream started.
languagestring or null- The stream's language, as a lower-case code, e.g. en.
gameobject or null- The game or category being streamed.Holds
id,name. tagslist of strings- The tags the streamer put on the stream.
channel_idstring or null- Twitch's numeric id of the channel.
channel_loginstring or null- The channel's name in its address.
channel_namestring or null- The channel's name as shown.
channel_urlstring or null- The channel's address on Twitch.
partnerboolean or null- The channel is a Twitch Partner.
fetched_atdatetime- When the list was read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- The 30 most watched streams; Twitch shows no more of the list to a visitor who is not signed in.
- A category nobody is streaming returns no records.
The bounds its schema sets
max_results- 1 to 30; 30 unless you say otherwise
Questions
What does Twitch top streams return?
The live streams with the most viewers, overall or in that category: channel, title, game, viewers, language, tags and start time. A record has 14 fields, among them position, id, title, viewers, started_at and language. A value that could not be read is null, never an empty string or a zero.
What do I send?
Nothing, or the name of a game or category. Optional: game and max_results.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: max_results 1 to 30 (30 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
The 30 most watched streams; Twitch shows no more of the list to a visitor who is not signed in. A category nobody is streaming returns no records.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id twitch.top_streams and the same input. It costs what the same API call costs.
Twitch
Public Twitch channels and the most watched live streams, as a visitor who is not signed in sees them.
Twitch channel
twitch.channelA Twitch channel's name, or its address. The channel as its page shows it: followers, description, links, partner mark, and whether it is live with the stream's title, game, viewers and start time.
- Industry
- Social and video
- Where
- Worldwide
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.