Skip to the content

Scraper API

Twitch

twitch.channelAvailable

Twitch channel

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.

Give it a Twitch channel's name, or its address.

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
18 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/twitch.channel/runs

{
"input": {
"login": "shroud"
}
}

sent, and answered

a record of the run18 fields

{
id: "37402112"
login: "shroud"
url: "https://www.twitch.tv/shroud"
display_name: "shroud"
description: "I'm back baby"
created_at: "2012-11-03T15:50:32.878470Z"
profile_image: "https://static-cdn.jtvnw.net/jtv_user_pictures/c754eebf-745b-4e0a-814a…
banner_image: "https://static-cdn.jtvnw.net/jtv_user_pictures/dbee25e8-55b7-4565-87f0…
followers: 11287753
… 9 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 18 fields are set down here; the whole record is below.

twitch.tv
The page Twitch channel reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Size up a streamer
A Twitch channel's followers, description, language and links, and whether it is a Partner or an Affiliate, in one record.
Know when a channel is live
live and stream say whether a channel is on air, with the stream's title, its game and how many are watching.
Follow growth
Read a channel on a schedule and keep the series of followers, with its most recent broadcast beside each reading.

What you send

A Twitch channel's name, or its address. These are its 2 inputs, as its schema has them.

loginstring One of the two
The channel's name as in its address, e.g. shroud for twitch.tv/shroud.
urlstring One of the two
The channel's address, e.g. https://www.twitch.tv/shroud.

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.channel/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"login":"shroud"}}'

# 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.channel", {"login": "shroud"})
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.channel", { login: "shroud" });
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.channel", map[string]any{"login": "shroud"})
	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.channel", Map.of("login", "shroud"));
        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.channel --input login=shroud

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

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. A record has 18 fields. One we could not read is null, never an empty string or a zero.

A record twitch.channel returned
{
  "id": "37402112",
  "login": "shroud",
  "url": "https://www.twitch.tv/shroud",
  "display_name": "shroud",
  "description": "I'm back baby",
  "created_at": "2012-11-03T15:50:32.878470Z",
  "profile_image": "https://static-cdn.jtvnw.net/jtv_user_pictures/c754eebf-745b-4e0a-814a-10bcaecaabbc-profile_image-300x300.png",
  "banner_image": "https://static-cdn.jtvnw.net/jtv_user_pictures/dbee25e8-55b7-4565-87f0-e9d4661dcc66-profile_banner-480.jpeg",
  "followers": 11287753,
  "partner": true,
  "affiliate": false,
  "live": false,
  "stream": null,
  "last_broadcast": {
    "title": "short dungeon sesh with the boys",
    "started_at": "2026-11-18T00:48:44.519028Z",
    "game": {
      "id": "18122",
      "name": "World of Warcraft"
    }
  },
  "language": "en",
  "mature": false,
  "links": [
    {
      "name": "discord",
      "title": "Discord",
      "url": "https://discord.gg/shroud"
    },
    {
      "name": "twitter",
      "title": "Twitter",
      "url": "https://twitter.com/shroud"
    }
  ],
  "fetched_at": "2026-11-19T18:07:41.610420Z"
}

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: links: 4 items, the first 2 shown.

The fields of a record

idstring
Twitch's numeric id of the channel.
loginstring
The channel's name in its address, lower case.
urlstring
The channel's address on Twitch.
display_namestring or null
The channel's name as shown.
descriptionstring or null
The channel's description of itself.
created_atdatetime or null
When the channel was created.
profile_imagestring or null
The address of the channel's picture.
banner_imagestring or null
The address of the channel's banner image.
followersinteger or null
How many followers the channel has.
partnerboolean or null
The channel is a Twitch Partner.
affiliateboolean or null
The channel is a Twitch Affiliate.
liveboolean
Whether the channel is broadcasting at the time of the run.
streamobject or null
The stream on air; null when the channel is offline.Holds id, title, game, viewers, started_at, language, tags, preview_image.
last_broadcastobject or null
The channel's most recent broadcast (the one on air, when it is live).Holds title, started_at, game.
languagestring or null
The language the channel is set to broadcast in, as a lower-case code.
matureboolean or null
The channel marks its broadcasts as intended for mature audiences.
linkslist of objects
The links the channel shows on its page: its other social accounts and sites.Each holds name, title, url.
fetched_atdatetime
When the channel was read, in UTC.

The whole schema, in its reference

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

  • Viewer and follower counts are those at the time of the run.
  • A channel that is closed or banned comes back as not found.

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Twitch channel return?

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. A record has 18 fields, among them id, login, url, display_name, description and created_at. A value that could not be read is null, never an empty string or a zero.

What do I send?

A Twitch channel's name, or its address. Of login and url, send one of the two.

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.

What does it not do?

Viewer and follower counts are those at the time of the run. A channel that is closed or banned comes back as not found.

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.channel 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 top streams

    twitch.top_streams

    Nothing, or the name of a game or category. The live streams with the most viewers, overall or in that category: channel, title, game, viewers, language, tags and start time.

Twitch on the line-up

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.