# Twitch Scraper — Channels, Emails, Live Streams & Clips (`foxlabs/twitch-scraper`) Actor

Extract Twitch streamer profiles, business emails, social links, follower counts, Partner/Affiliate status, live streams by game/category, VOD archives, and top clips without API keys or login.

- **URL**: https://apify.com/foxlabs/twitch-scraper.md
- **Developed by:** [Berkan Kaplan](https://apify.com/foxlabs) (community)
- **Categories:** Social media, Lead generation
- **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 twitch creator 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 Banner](https://data.foxlabs.com.tr/img/twitch-scraper-banner.svg)

## Twitch Scraper — Channels, Creator Emails, Socials, Live Streams, VODs & Clips

Extract structured **Twitch creator profiles, sponsorship business emails, social media links (YouTube, X/Twitter, Instagram, TikTok, Discord), follower counts, Partner/Affiliate badges, active live streams by game/language, VOD archives, and top monthly clips** — with **zero Twitch API keys, OAuth tokens, or login required**.

> **AI Agent Quick-Start:** Start with: `{"mode":"channels","channels":["pokimane","shroud"],"includeVideos":true,"maxVideosPerChannel":5}`

***

### 1. What Does Twitch Scraper Do?

Twitch hosts over `7,000,000+` active creators and `80,000+` concurrent broadcasts across gaming, tech, music, sports, and IRL categories. **Twitch Scraper** connects directly to Twitch's public GraphQL layer at sub-second speed to power creator sponsorship outreach, talent scouting, and live viewership analytics.

- **Creator Sponsorship & Influencer Lead Generation (`channel`):** Extracts `followersCount`, `isPartner`, `isAffiliate`, `broadcastLanguage`, `lastBroadcastAt`, current live status, **and parses business inquiry emails (`extractedEmails[]`) + social profiles (`youTubeUrl`, `twitterUrl`, `instagramUrl`, `tiktokUrl`, `discordUrl`) from both channel bios and channel info panels**.
- **Game & Category Live Discovery (`gameNames` + `language`):** Discover creators currently streaming *Just Chatting*, *Valorant*, *League of Legends*, *Counter-Strike*, *Minecraft*, or any category filtered by ISO language (`EN`, `DE`, `ES`, `PT`, `FR`, `TR`) and `minFollowers`.
- **VOD Archives & Viral Clips (`includeVideos` / `includeClips`):** Optionally attach each creator's latest archived broadcasts (`vod`) and top 30-day clips (`clip`) with view counts, durations, games, and thumbnails.

***

### 2. Why Choose `foxlabs/twitch-scraper`?

| Capability | Typical Twitch Scrapers | `foxlabs/twitch-scraper` |
| :--- | :--- | :--- |
| **Twitch Developer API Keys** | Often requires BYOK `client_id` / `client_secret` | **Zero keys or login required (100% keyless)** |
| **Business Emails & Panel Links** | Bio text only (misses channel panels) | **Extracts emails + YouTube/X/IG/TikTok/Discord from bio & panels** |
| **4-in-1 Coverage** | Separate actors for channels vs clips vs streams | **Unified Channels + Live Streams + VODs + Clips** |
| **Speed & Proxy Cost** | Slow headless browser rendering | **Batched GraphQL (`<1s` per batch, `256 MB` RAM)** |
| **Fair Pay-Per-Event Pricing** | Monthly subscription fees | **`$2.00/1K` channels · `$1.00/1K` streams/VODs/clips · `$0` filtered rows** |

***

### 3. Who Uses This Data?

1. **Gaming, Hardware & Consumer Brand Sponsorship Teams:** Build targeted lists of English, German, Spanish, or Portuguese Twitch Partners with `10,000+` followers and verified business/talent-agency emails.
2. **Talent Management & MCN Agencies:** Spot fast-growing Twitch Affiliates (`isAffiliate: true`, `isPartner: false`) streaming specific titles with high concurrent `liveViewersCount`.
3. **Game Publishers & PR Teams:** Track live streamer adoption, concurrent viewers, and top community clips during game launches.
4. **Media & Creator Economy Researchers:** Monitor live viewership share across categories and languages via scheduled runs or Standby HTTP calls.

***

### 4. Transparent Pay-Per-Event Pricing

Billing is tied strictly to delivered records via `Actor.getChargingManager()` — **no monthly rental, no actor-start fee, and $0 charge on filtered-out or diagnostic `status` rows**:

| Event Name | Price | Per 1,000 Records | When Charged |
| :--- | :---: | :---: | :--- |
| `channel` | **$0.0020** | **$2.00 / 1K** | Each unique Twitch creator profile emitted (`rowType: "channel"`) |
| `stream` | **$0.0010** | **$1.00 / 1K** | Each active live broadcast emitted when `mode: "live_streams"` (`rowType: "stream"`) |
| `video` | **$0.0010** | **$1.00 / 1K** | Each archived VOD or top clip emitted when `includeVideos` / `includeClips` is enabled (`rowType: "video"`) |
| `game` | **$0.0010** | **$1.00 / 1K** | Each ranked Twitch game/category emitted when `mode: "top_games"` (`rowType: "game"`) |
| `status` | **$0.0000** | **Free** | Diagnostic note emitted only on empty input or zero matches |

***

### 5. Input Parameters

| Parameter | Type | Default | Description |
| :--- | :---: | :---: | :--- |
| `mode` | `string` | `"channels"` | `"channels"` (creator profiles), `"live_streams"` (active stream rows), or `"top_games"` (ranked categories by viewers). |
| `channels` | `string[]` | `["pokimane","shroud"]` | Specific Twitch logins, `@handles`, or `twitch.tv/...` URLs. |
| `searchQueries` | `string[]` | `[]` | Keywords to search Twitch channels (e.g., `"valorant"`, `"chess"`). |
| `gameNames` | `string[]` | `[]` | Exact Twitch game/category names (e.g., `"Just Chatting"`, `"Minecraft"`). |
| `language` | `string` | — | Optional ISO broadcast language code (`"EN"`, `"DE"`, `"ES"`, `"FR"`, `"PT"`, `"TR"`). |
| `minFollowers` | `integer` | — | Minimum follower threshold (`0` charge for filtered-out creators). |
| `partnersOnly` | `boolean` | `false` | Retain verified Twitch Partners (`isPartner: true`) only. |
| `liveOnly` | `boolean` | `false` | Retain channels currently live (`isLive: true`) only. |
| `includeVideos` | `boolean` | `false` | Emit recent archived VODs per channel (`video` event). |
| `includeClips` | `boolean` | `false` | Emit top 30-day clips per channel (`video` event). |
| `maxVideosPerChannel` | `integer` | `5` | Max VODs / clips per channel (`1–30`). |
| `maxResults` | `integer` | `25` | Max channels or streams per `searchQuery` or `gameName` (`1–1000`). |
| `maxTotalResults` | `integer` | `100` | Global ceiling across all billable rows (`1–25000`). |
| `proxyConfiguration` | `object` | `{"useApifyProxy":true}` | Managed automatically over fast Datacenter proxies. |

***

### 6. Quick-Start Examples

#### Creator Sponsorship Lead Discovery (`$2.00 / 1K`)

```json
{
  "mode": "channels",
  "gameNames": ["Valorant", "Counter-Strike"],
  "language": "EN",
  "minFollowers": 15000,
  "partnersOnly": true,
  "maxResults": 40,
  "maxTotalResults": 80
}
```

#### Channel Audit + Recent VODs & Top Clips

```json
{
  "mode": "channels",
  "channels": ["pokimane", "shroud", "kaicenat"],
  "includeVideos": true,
  "includeClips": true,
  "maxVideosPerChannel": 5
}
```

#### Live Stream Viewership Snapshot (`$1.00 / 1K`)

```json
{
  "mode": "live_streams",
  "gameNames": ["Just Chatting"],
  "language": "EN",
  "maxResults": 50
}
```

***

### 7. Sample Output Record

```json
{
  "rowType": "channel",
  "rowKey": "twitch:channel:44445592",
  "channelId": "44445592",
  "login": "pokimane",
  "displayName": "pokimane",
  "channelUrl": "https://www.twitch.tv/pokimane",
  "description": "hi ♡ i stream sometimes 📧 Business inquiries: teampokimane@wmeagency.com",
  "followersCount": 9428289,
  "isPartner": true,
  "isAffiliate": false,
  "isLive": false,
  "broadcastLanguage": "EN",
  "isMature": false,
  "lastBroadcastId": "320000507863",
  "lastBroadcastTitle": "chatting with chat!! <3",
  "lastBroadcastAt": "2026-11-21T21:27:29.456488Z",
  "lastBroadcastGame": "Just Chatting",
  "profileImageUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/912232e8-9e53-4fb7-aac4-14aed07869ca-profile_image-300x300.png",
  "createdAt": "2013-06-07T14:25:22.266478Z",
  "extractedEmails": ["teampokimane@wmeagency.com"],
  "youTubeUrl": "https://www.youtube.com/@pokimane",
  "twitterUrl": "https://twitter.com/pokimanelol",
  "instagramUrl": "https://www.instagram.com/pokimanelol",
  "discordUrl": "https://discord.gg/poki",
  "scrapedAt": "2026-11-23T00:00:00.000Z"
}
```

***

### 8. Output Schema Reference

- **`channel` Rows:** `channelId`, `login`, `displayName`, `channelUrl`, `description`, `followersCount`, `isPartner`, `isAffiliate`, `isLive`, `liveStreamId`, `liveStreamTitle`, `liveViewersCount`, `liveGameName`, `broadcastLanguage`, `isMature`, `lastBroadcastId`, `lastBroadcastTitle`, `lastBroadcastAt`, `lastBroadcastGame`, `profileImageUrl`, `bannerImageUrl`, `createdAt`, `extractedEmails[]`, `youTubeUrl`, `twitterUrl`, `instagramUrl`, `tiktokUrl`, `discordUrl`, `extractedLinks[]`.
- **`stream` Rows:** `streamId`, `title`, `streamUrl`, `viewersCount`, `language`, `isMature`, `gameId`, `gameName`, `startedAt`, `channelId`, `login`, `displayName`, `followersCount`, `isPartner`, `isAffiliate`, `extractedEmails[]`, `youTubeUrl`, `twitterUrl`.
- **`video` Rows (VODs & Clips):** `videoType` (`vod` | `clip`), `itemId`, `slug`, `login`, `title`, `url`, `viewCount`, `durationSeconds`, `gameName`, `curatorLogin`, `thumbnailUrl`, `publishedAt`.

***

### 9. API & SDK Integration

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/foxlabs~twitch-scraper/runs?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode":"channels","channels":["pokimane","shroud"],"includeVideos":true,"maxVideosPerChannel":5}'
```

#### JavaScript (`apify-client`)

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('foxlabs/twitch-scraper').call({"mode":"channels","channels":["pokimane","shroud"],"includeVideos":true,"maxVideosPerChannel":5});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python (`apify-client`)

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("foxlabs/twitch-scraper").call(run_input={"mode":"channels","channels":["pokimane","shroud"],"includeVideos":true,"maxVideosPerChannel":5})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(len(items))
```

***

### 10. Real-Time Standby HTTP Mode

When executed in Apify Standby mode, the container exposes synchronous HTTP endpoints:

- `GET /` — Readiness and health probe.
- `POST /scrape` — Accepts the same JSON input payload and returns `{"ok": true, "count": N, "items": [...]}` synchronously in `<2s`.

***

### 11. Deduplication & Crash Recovery

Every record carries a deterministic `rowKey` (`twitch:channel:<id>`, `twitch:stream:<id>`, `twitch:vod:<id>`, `twitch:clip:<slug>`) and is deduplicated across overlapping queries and container restarts via `readAlreadyDelivered()`.

***

### 12. Anti-Bleed Filter Protection

Filters (`minFollowers`, `partnersOnly`, `liveOnly`, `language`) run **before** emitting or charging rows, with a `2`-page zero-match stop guard.

***

### 13. Combining With Other foXLabs Actors

Pair `twitch-scraper` with:

- **`foxlabs/youtube-channel-leads`** & **`foxlabs/tiktok-profile-scraper`** to cross-enrich creator YouTube and TikTok links extracted from Twitch panels.
- **`foxlabs/steam-intelligence`** for game launch & streamer correlation analytics.

***

### 14. Performance & Memory Footprint

Direct GraphQL batching fetches up to `8` full channels (plus VODs and clips) or `25` live streams in a single `<800 ms` HTTP call inside **`256 MB` RAM**.

***

### 15. Handling Empty Results & Diagnostics (`SOURCE_REPORT`)

- Empty inputs or strict filter combinations that match zero creators finish cleanly (`SUCCEEDED`) with one free `rowType: "status"` explanation row.
- Full GraphQL request telemetry is persisted to `SOURCE_REPORT` in the default Key-Value Store.

***

### 16. Known Limitations

- `gameNames` expects exact Twitch category titles (for example `"Just Chatting"`, `"League of Legends"`, `"Counter-Strike"`). If you are unsure of the exact category spelling, use `searchQueries` instead.
- Sponsorship emails are extracted when creators publish them in their channel bio or `DefaultPanel` cards; creators who hide emails behind business-inquiry captcha forms will return `extractedEmails: []` alongside their social links.

***

### 17. Frequently Asked Questions (FAQ)

#### 1. Do I need a Twitch Developer account or `Client-ID` / OAuth token?

No. Everything runs keyless out of the box with zero configuration.

#### 2. How does Twitch Scraper find streamer business emails and social links?

It inspects both the channel's main `description` bio and all custom `DefaultPanel` markdown cards underneath the video player — where creators and talent agencies typically list sponsorship emails, YouTube channels, Discord servers, and X/Instagram handles.

#### 3. What is the difference between `mode: "channels"` and `mode: "live_streams"`?

`mode: "channels"` (`$2.00/1K`) deduplicates by creator and outputs full channel lead profiles (even when discovered via `gameNames`). `mode: "live_streams"` (`$1.00/1K`) outputs point-in-time live broadcast rows ranked by concurrent viewers.

#### 4. Can I scrape global top Twitch streams without specifying a game?

Yes! Set `mode: "live_streams"`, leave `channels`/`searchQueries`/`gameNames` empty, and optionally filter by `language: "EN"` to capture the highest-viewership live broadcasts across all of Twitch.

#### 5. Does it require expensive residential proxies?

No. It runs cleanly over standard Apify Datacenter proxies included in your plan.

#### 6. Am I charged for channels below `minFollowers`?

No. `minFollowers`, `partnersOnly`, and `liveOnly` are evaluated prior to billing, so non-matching channels cost `$0.00`.

#### 7. Can I pass full `https://www.twitch.tv/...` URLs in `channels`?

Yes. Raw usernames (`"shroud"`), `@handles` (`"@shroud"`), and full URLs (`"https://www.twitch.tv/shroud"`) are all normalized automatically.

#### 8. How are VODs and Clips billed?

Only when you explicitly enable `includeVideos: true` and/or `includeClips: true`. Each emitted VOD or clip row (`rowType: "video"`) is billed at `$0.001` (`$1.00 / 1K`), capped per creator by `maxVideosPerChannel`.

#### 9. Can I call this actor in real time from an AI agent or webhook?

Yes. Standby HTTP mode responds to `POST /scrape` synchronously in ~1–2 seconds.

#### 10. How does `maxTotalChargeUsd` spending protection work?

`Actor.getChargingManager()` is checked before every batch and row emission, stopping cleanly once your run budget is reached.

***

### 18. Support & Feedback

Open an issue on the Actor page in Apify Console with your Run ID or `SOURCE_REPORT` summary for fast assistance.

***

### 19. Legal & Responsible Use

This actor extracts publicly available creator profile and broadcast metadata for influencer marketing, sponsorship discovery, and media analytics. Users are responsible for complying with applicable outreach regulations when contacting business addresses.

# Changelog

This Actor's version history is a separate document: https://apify.com/foxlabs/twitch-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

Choose 'channels' to output enriched creator profiles, 'live_streams' for active broadcasts, or 'top_games' for top Twitch game/category rankings by concurrent viewers.

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

Specific Twitch usernames or URLs (e.g. 'pokimane', 'shroud', 'https://www.twitch.tv/kaicenat').

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

Keywords to discover Twitch channels (e.g. 'valorant', 'tech', 'chess', 'fitness').

## `gameNames` (type: `array`):

Exact Twitch category names to discover top live broadcasters or streams (e.g. 'Just Chatting', 'League of Legends', 'Counter-Strike', 'Minecraft').

## `language` (type: `string`):

Two-letter ISO language code filter for live streams / broadcaster discovery (e.g. 'EN', 'DE', 'ES', 'FR', 'PT', 'TR').

## `minFollowers` (type: `integer`):

Only retain channels/broadcasters with at least this many followers. Filtered-out rows cost $0.

## `partnersOnly` (type: `boolean`):

Keep verified Twitch Partner channels only (isPartner: true).

## `liveOnly` (type: `boolean`):

When in 'channels' mode, retain only channels currently broadcasting live.

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

Also emit recent archived VODs for extracted channels.

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

Also emit top clips from the past 30 days for extracted channels.

## `maxVideosPerChannel` (type: `integer`):

Maximum VODs and/or clips emitted per channel when includeVideos or includeClips is enabled.

## `maxResults` (type: `integer`):

Maximum channels or live streams collected per searchQuery or gameName.

## `maxTotalResults` (type: `integer`):

Global ceiling across all emitted channel, stream, and video rows.

## `proxyConfiguration` (type: `object`):

Apify Proxy configuration. Runs over fast Datacenter proxies out of the box.

## Actor input object example

```json
{
  "mode": "channels",
  "channels": [
    "pokimane",
    "shroud"
  ],
  "partnersOnly": false,
  "liveOnly": false,
  "includeVideos": false,
  "includeClips": false,
  "maxVideosPerChannel": 5,
  "maxResults": 25,
  "maxTotalResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `records` (type: `string`):

No description

## `sourceReport` (type: `string`):

No description

# 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 = {
    "mode": "channels",
    "channels": [
        "pokimane",
        "shroud"
    ],
    "maxResults": 25,
    "maxTotalResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("foxlabs/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 = {
    "mode": "channels",
    "channels": [
        "pokimane",
        "shroud",
    ],
    "maxResults": 25,
    "maxTotalResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("foxlabs/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 '{
  "mode": "channels",
  "channels": [
    "pokimane",
    "shroud"
  ],
  "maxResults": 25,
  "maxTotalResults": 100
}' |
apify call foxlabs/twitch-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,foxlabs/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/vNAeFYtiUdvkXsUrO/builds/SPxMcc2gIszlOnKmB/openapi.json
