# Twitch Scraper — Channels, Streams, VODs, Clips & Chat (`powernaner/twitch-scraper`) Actor

Scrape Twitch channels (followers, live status, bio, About panels, team), live streams by category, VODs with chapters, clips, stream schedules, emotes, top categories, channel search and VOD chat replay. No Twitch login or API key.

- **URL**: https://apify.com/powernaner/twitch-scraper.md
- **Developed by:** [Renan Teles](https://apify.com/powernaner) (community)
- **Categories:** Social media, Videos
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 channel profiles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Twitch Scraper — Channels, Streams, VODs, Clips & Chat

**Scrape public Twitch data in one Actor: channel profiles with follower counts, who is live right now in any category, VODs with chapter markers, clips, stream schedules, emotes, the top categories ranking, channel search and full VOD chat replay. No Twitch login or API key.**

It talks to the same public endpoint the twitch.tv website uses, without a browser, so runs are fast and cheap: our test run returned 62 rows from every source in under 5 seconds.

### What you get

One run can combine any of these:

| Input | What comes back |
|---|---|
| **Channels** (usernames or URLs) | Profile: followers, Partner/Affiliate status, live status and current viewers, bio, creation date, last stream, team, and the **About panels** (where streamers put sponsor links, socials and business contact). Plus, per channel: |
| ↳ VODs | Past broadcasts, highlights and uploads, with views, duration, category and **chapter markers** (when the streamer switched games inside the VOD). |
| ↳ Clips | Most viewed clips in the last 24 h, 7 days, 30 days or all time, with who clipped it and where in the VOD it comes from. |
| ↳ Schedule | Scheduled streams: start, end, title, category, cancellations. |
| ↳ Emotes | Subscriber emotes with tier and image URL. |
| **Categories** (names or URLs) | Live streams in the category right now, most viewed first, with viewers, uptime, language and tags. Filter by language. |
| **Top categories** | The most watched categories on Twitch right now, with live viewers, followers and number of live channels. |
| **Search keywords** | Channels matching a keyword, as full profiles. |
| **VOD chat replay** | Every chat message of a past broadcast, with timestamp, position in the VOD, author, badges and emotes. |

### Example output (real, from a cloud run on 2026-11-13)

Every row has a `type` column: `channel`, `stream`, `video`, `clip`, `category`, `scheduleSegment`, `emote` or `chatMessage`.

A **channel** (About panels shortened to 2 of 9):

```json
{
  "type": "channel",
  "id": "37402112",
  "login": "shroud",
  "displayName": "shroud",
  "url": "https://www.twitch.tv/shroud",
  "followersCount": 11289351,
  "isPartner": true,
  "isAffiliate": false,
  "isLive": false,
  "liveViewerCount": null,
  "liveTitle": null,
  "liveCategory": null,
  "liveStartedAt": null,
  "language": "en",
  "isMature": false,
  "description": "I'm back baby",
  "createdAt": "2012-11-03T15:50:32.87847Z",
  "lastBroadcastAt": "2026-11-13T00:57:59.192526Z",
  "lastBroadcastTitle": "SHAMAN NERF LIVE⚔️ LEVEL 60 ⚔️ SHROUD MAN ⚔️ FOR THE HORDE ⚔️",
  "lastBroadcastCategory": "World of Warcraft",
  "primaryTeam": { "name": "loadedllc", "displayName": "Loaded" },
  "panels": [
    { "type": "default", "title": null, "description": null, "linkUrl": "https://www.youtube.com/shroud", "imageUrl": "https://panels.twitch.tv/panel-37402112-image-503ca1b8-22d5-4eab-b610-e673c13860d8" },
    { "type": "default", "title": null, "description": null, "linkUrl": "https://www.instagram.com/shroud/", "imageUrl": "https://panels.twitch.tv/panel-37402112-image-0d16fd1d-13f5-4249-868b-c4eab1f4d0dc" }
  ],
  "profileImageUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/c754eebf-745b-4e0a-814a-10bcaecaabbc-profile_image-300x300.png",
  "bannerImageUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/dbee25e8-55b7-4565-87f0-e9d4661dcc66-profile_banner-480.jpeg",
  "scrapedAt": "2026-11-13T16:15:18.828Z",
  "source": "channel:shroud"
}
```

A **VOD** with chapter markers:

```json
{
  "type": "video",
  "id": "2914038727",
  "url": "https://www.twitch.tv/videos/2914038727",
  "channelLogin": "shroud",
  "title": "BIG NEW DROPS BIG NEW CONTENT LOADS OF ODYLE ENERGYYYYY",
  "videoType": "archive",
  "viewCount": 271997,
  "durationSeconds": 31361,
  "createdAt": "2026-10-29T16:41:33Z",
  "publishedAt": "2026-10-29T16:41:33Z",
  "recordedAt": "2026-10-29T16:41:32Z",
  "status": "RECORDED",
  "language": "en",
  "categoryName": "AION 2",
  "thumbnailUrl": "https://static-cdn.jtvnw.net/cf_vods/d2vi6trrdongqn/3b399e41f7bb92edc669_shroud_320871868510_1793292088//thumb/thumb0-640x360.jpg",
  "chapters": [
    { "title": "AION 2", "categoryName": "AION 2", "startSeconds": 0, "durationSeconds": 20058 },
    { "title": "Crimson Desert", "categoryName": "Crimson Desert", "startSeconds": 20058, "durationSeconds": 11303 }
  ],
  "scrapedAt": "2026-11-13T16:15:19.445Z",
  "source": "videos:shroud"
}
```

A **live stream** from a category:

```json
{
  "type": "stream",
  "id": "318329765219",
  "url": "https://www.twitch.tv/roman",
  "channelId": "38558904",
  "channelLogin": "roman",
  "channelDisplayName": "roman",
  "title": "🔴 FACEIT FULL PREMADE @foxcs @h0t_cs Dudu Cunha 🔴 ➤ REVIEW SAW vs STATE ➤ Rob Run depois? ➤ 25000$ giveaways rmncs.com",
  "viewerCount": 941,
  "startedAt": "2026-11-13T14:57:37Z",
  "uptimeMinutes": 77,
  "categoryId": "32399",
  "categoryName": "Counter-Strike",
  "language": "en",
  "tags": ["Português", "counterstrike", "CS2", "cs", "Portugal"],
  "isMature": false,
  "thumbnailUrl": "https://static-cdn.jtvnw.net/previews-ttv/live_user_roman-640x360.jpg",
  "scrapedAt": "2026-11-13T16:15:20.617Z",
  "source": "category:Counter-Strike"
}
```

A row of the **top categories** ranking:

```json
{
  "type": "category",
  "id": "18122",
  "name": "World of Warcraft",
  "slug": "world-of-warcraft",
  "url": "https://www.twitch.tv/directory/category/world-of-warcraft",
  "rank": 2,
  "viewersCount": 198147,
  "followersCount": 11059610,
  "broadcastersCount": 4226,
  "boxArtUrl": "https://static-cdn.jtvnw.net/ttv-boxart/18122-285x380.jpg",
  "originalReleaseDate": "2004-11-23T00:00:00Z",
  "scrapedAt": "2026-11-13T16:15:20.398Z",
  "source": "topCategories"
}
```

The dataset also has ready-made views (Channels, Live streams, VODs, Clips, Top categories, Schedule, Chat replay) so you can export just the columns you need.

### Output fields

Common to every row: `type`, `id`, `scrapedAt` (UTC) and `source` (which input produced the row, e.g. `videos:shroud`). Fields Twitch did not return are `null`; `0` always means a real zero.

| Row type | Fields |
|---|---|
| `channel` | `login`, `displayName`, `url`, `followersCount`, `isPartner`, `isAffiliate`, `isLive`, `liveViewerCount`, `liveTitle`, `liveCategory`, `liveStartedAt`, `language`, `isMature`, `description` (bio), `createdAt`, `lastBroadcastAt`, `lastBroadcastTitle`, `lastBroadcastCategory`, `primaryTeam`, `panels[]`, `profileImageUrl`, `bannerImageUrl` |
| `stream` | `url`, `channelId`, `channelLogin`, `channelDisplayName`, `title`, `viewerCount`, `startedAt`, `uptimeMinutes`, `categoryId`, `categoryName`, `language`, `tags[]`, `isMature`, `thumbnailUrl` |
| `video` | `url`, `channelLogin`, `title`, `videoType` (archive / highlight / upload), `viewCount`, `durationSeconds`, `createdAt`, `publishedAt`, `recordedAt`, `status`, `language`, `categoryName`, `thumbnailUrl`, `chapters[]` |
| `clip` | `slug`, `url`, `channelLogin`, `title`, `viewCount`, `durationSeconds`, `createdAt`, `curatorLogin`, `categoryName`, `language`, `isFeatured`, `videoId`, `videoOffsetSeconds`, `thumbnailUrl` |
| `category` | `name`, `slug`, `url`, `rank`, `viewersCount`, `followersCount`, `broadcastersCount`, `boxArtUrl`, `originalReleaseDate` |
| `scheduleSegment` | `channelLogin`, `startAt`, `endAt`, `title`, `isCancelled`, `categories[]` |
| `emote` | `channelLogin`, `token`, `tier` (1–3), `assetType`, `imageUrl` |
| `chatMessage` | `videoId`, `createdAt`, `offsetSeconds`, `commenterLogin`, `commenterDisplayName`, `text`, `emoteIds[]`, `badges[]`, `userColor` |

Each run also saves a **RUN_SUMMARY** (in the run's key-value store): rows per type and per source, what Twitch said does not exist, what failed and why, and notes such as "the channel has 1,618 VODs in total".

### Use cases

- **Influencer marketing and sponsorships:** shortlist streamers by followers, Partner status, language and category; read their About panels for sponsor links and business contact.
- **Esports and game publishers:** track who streams your game right now, with live viewers, and how the category ranks against others over time (schedule the Actor hourly).
- **Agencies and talent managers:** monitor a roster's last stream, schedule, VOD performance and top clips.
- **Content teams:** find the most viewed clips of a channel or category, and jump to the exact moment in the VOD with `videoOffsetSeconds` and chapter markers.
- **Research and moderation:** export full VOD chat replays with timestamps for community, sentiment or moderation analysis.

### Pricing

**Pay per event: you pay only for rows delivered.** Failed, empty and duplicate rows are never charged, there is no start fee, and platform usage is included.

| Event | What it is | Price per 1,000 |
|---|---|---|
| `channel` | One full channel profile | **$2.00** |
| `result` | One live stream, VOD, clip, category, schedule item or emote | **$0.80** |
| `chat-message` | One VOD chat message | **$0.10** |

Examples:

- **50 channels with 50 VODs and 50 clips each** = 50 profiles + 5,000 results = $0.10 + $4.00 = **$4.10**.
- **Who is live in 3 categories, 100 streams each** = 300 results = **$0.24**.
- **Full chat of one VOD with 20,000 messages** = **$2.00**.

Real run (2026-11-13): 1 channel, 2 VODs, 2 clips and 3 chat messages were charged exactly 1 `channel`, 4 `result` and 3 `chat-message` events; the channel that does not exist on Twitch was not charged.

You can cap your spend with the run's **maximum cost** setting; the run stops cleanly when it is reached (it may finish the one row in flight, so the total can exceed the cap by the price of one event).

### Limitations (read before buying)

- **About 100 results per query.** Twitch serves at most ~100 VODs, clips or live streams per query and blocks deeper pages. Above 100, this Actor adds extra queries (other VOD types and sort orders, shorter clip periods, one query per language) and removes duplicates, but **the full VOD history of a big channel is not reachable** (e.g. shroud has 1,618 VODs). The run summary tells you when a source fell short. Channel search is not limited this way: it pages through results normally.
- **No social links field.** Twitch blocks the profile's social links section for automated access from cloud servers, so this Actor does not collect it. Most streamers also link their socials in the About panels, which are included.
- **No email extraction.** Bios and panels are delivered raw; this Actor does not mine them for contact data.
- **Language filter follows Twitch.** It matches the channel language *or* a language tag on the stream, so a few rows may show another `language`.
- **Not real time.** Live data is a snapshot at run time. Live chat (as it happens) is not collected; VOD chat replay is.
- **Unofficial endpoint.** This Actor uses the public endpoint of the twitch.tv website, not Twitch's developer API. Twitch can change it without notice; we monitor it daily and fix breakages, but a run can occasionally fail until we do.
- VODs, clips, schedule and emotes are collected for the channels you list, not for channels found by search.
- Not affiliated with or endorsed by Twitch.

### FAQ

**Do I need a Twitch account, API key or OAuth token?**
No. Paste channel names or URLs and run.

**How fresh is the data?**
Collected at run time. `scrapedAt` on every row says exactly when.

**Can I get every VOD of a channel?**
The newest 100 always. Above that, the Actor adds the most viewed VODs and each VOD type (past broadcasts, highlights, uploads), up to a few hundred distinct VODs depending on the channel. Twitch does not serve deeper pages to automated clients.

**Why is `liveViewerCount` null and not 0?**
`null` means the channel was offline at run time. A real `0` would mean live with no viewers.

**How do I monitor something over time?**
Create a schedule in Apify Console (e.g. hourly for live streams in a category) and compare runs by `scrapedAt`.

**Is scraping Twitch legal?**
This Actor collects only publicly visible data. You are responsible for how you use it, including privacy laws such as GDPR when you process data about people.

# Actor input Schema

## `channels` (type: `array`):

Twitch usernames or channel URLs, e.g. shroud or https://www.twitch.tv/shroud. One per line.

## `includeVideos` (type: `boolean`):

Past broadcasts, highlights and uploads of each channel, newest first, with views, duration and chapter markers (category changes inside the VOD).

## `videoType` (type: `string`):

Which kind of video to collect.

## `includeClips` (type: `boolean`):

Most viewed clips of each channel in the period below, with views, creator (curator) and position in the source VOD.

## `clipsPeriod` (type: `string`):

Twitch ranks clips by views inside this window.

## `includeSchedule` (type: `boolean`):

Upcoming (and this week's) scheduled streams: start and end time, title, category, cancellations. Channels without a schedule return nothing here.

## `includePanels` (type: `boolean`):

The About section panels (title, text, link, image), inside each channel row. Often holds sponsor links and business contact.

## `includeEmotes` (type: `boolean`):

Channel subscriber emotes with tier and image URL. One row per emote: a big channel can have 50+.

## `searchQueries` (type: `array`):

Each keyword is a separate search, e.g. valorant or speedrun. Twitch returns up to about 1,000 channels per keyword.

## `categories` (type: `array`):

Category names or URLs, e.g. Counter-Strike, Just Chatting or https://www.twitch.tv/directory/category/valorant.

## `languages` (type: `array`):

Only live streams in these languages. Two-letter codes, e.g. en, pt, es. Twitch matches the channel language OR a language tag on the stream, so a few results may show another `language` (a channel set to English with a Português tag). Twitch lists about 100 streams per query: to go past 100 in one category, add 2 or more languages.

## `includeTopCategories` (type: `boolean`):

The most watched categories on Twitch right now (up to 100), with live viewers, followers and number of live channels.

## `chatReplayVideoIds` (type: `array`):

VOD IDs or URLs, e.g. https://www.twitch.tv/videos/2926861047. Busy streams have tens of thousands of messages: use the limit below.

## `maxChatMessagesPerVideo` (type: `integer`):

Stop each chat replay after this many messages.

## `maxItemsPerSource` (type: `integer`):

Cap per channel (VODs, clips), per search keyword and per category. Twitch serves at most ~100 per query; above 100 the Actor combines extra queries (other VOD types and sort orders, shorter clip periods, one query per language) and tells you in the run summary when it could not reach your number.

## `maxItems` (type: `integer`):

Stop the whole run after this many rows. 0 = no limit (the spending limit you set on the run still applies).

## `maxConcurrency` (type: `integer`):

Parallel sources. Requests to Twitch are spaced out regardless, so raising this rarely makes the run faster.

## `healthCheck` (type: `boolean`):

Internal: daily monitoring run used by the Actor's maintainers. Collects nothing for you and charges nothing.

## `healthCheckSimulateFailure` (type: `boolean`):

Internal: used to test the monitoring alert.

## `diagnose` (type: `boolean`):

Internal: tests which Twitch fields respond from where the Actor runs. Collects nothing for you and charges nothing.

## Actor input object example

```json
{
  "channels": [
    "shroud",
    "gaules"
  ],
  "includeVideos": true,
  "videoType": "all",
  "includeClips": true,
  "clipsPeriod": "7d",
  "includeSchedule": true,
  "includePanels": true,
  "includeEmotes": false,
  "searchQueries": [],
  "categories": [],
  "languages": [],
  "includeTopCategories": false,
  "chatReplayVideoIds": [],
  "maxChatMessagesPerVideo": 1000,
  "maxItemsPerSource": 10,
  "maxItems": 0,
  "maxConcurrency": 3,
  "healthCheck": false,
  "healthCheckSimulateFailure": false,
  "diagnose": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `runSummary` (type: `string`):

Rows per type and per source, what was not found on Twitch, what failed and why, and notes where Twitch's ~100-per-query limit stopped a source short.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "channels": [
        "shroud",
        "gaules"
    ],
    "searchQueries": [],
    "categories": [],
    "languages": [],
    "chatReplayVideoIds": [],
    "maxItemsPerSource": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("powernaner/twitch-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "channels": [
        "shroud",
        "gaules",
    ],
    "searchQueries": [],
    "categories": [],
    "languages": [],
    "chatReplayVideoIds": [],
    "maxItemsPerSource": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("powernaner/twitch-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "channels": [
    "shroud",
    "gaules"
  ],
  "searchQueries": [],
  "categories": [],
  "languages": [],
  "chatReplayVideoIds": [],
  "maxItemsPerSource": 10
}' |
apify call powernaner/twitch-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,powernaner/twitch-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/C6x6gkzBoRbL6DT0c/builds/hmiwM8tEQBdpuYeSL/openapi.json
