# Twitch Scraper (`automly/twitch-scraper`) Actor

Get Twitch channel profiles with followers, socials and live status, plus past videos, clips and the live streams of any game or category with viewer counts.

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

## Pricing

from $0.55 / 1,000 channels

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### What is Twitch Scraper?

**Twitch Scraper** lets you **get Twitch channel profiles, past videos, clips and live streams in bulk**: followers, description, social links (Twitter/X, YouTube, Instagram, Discord, TikTok...), live status with current viewers and game, last broadcast, team and partner status for every channel; views, length and dates of its videos and clips; and every live stream of a game or category with its viewer count, language and tags. Add channels or games, click **Start**, and download the results as Excel, CSV or JSON.

- 👤 **Channel profiles:** followers, bio, social links, live now, last broadcast, partner or affiliate
- 🎬 **Past videos:** past broadcasts, highlights and uploads with views, length and game
- ✂️ **Clips:** the most viewed clips of the last day, week, month or all time
- 🔴 **Live streams** of any game or category, by viewers or every live stream, with a language filter
- 🔓 **No login:** no Twitch account needed

### What can Twitch Scraper do?

- **Profile streamers in bulk**: followers, social links and live status of a list of channels
- **Find streamers in a game**: every channel live in VALORANT, Just Chatting or any category, with viewers and followers
- **Track live viewers** of a category over time with scheduled runs
- **Collect a channel's videos**: past broadcasts, highlights and uploads, newest or most viewed first
- **Get the top clips** of a channel for any period, with who clipped them and where they come from
- Export to Excel, CSV, JSON, HTML or XML, or send the data to Google Sheets, Make, Zapier and more

### What data can you extract from Twitch?

| | | |
|---|---|---|
| 👤 Username, display name, link | 👥 Followers | 📝 Description |
| 🔗 Social links | 🔴 Live now, viewers, game, title | 📅 Last broadcast: date, title, game |
| 🤝 Partner, affiliate, team | 🎬 Videos: views, length, type, game | ✂️ Clips: views, length, clipped by |
| 🎮 Live streams: viewers, language, tags | 🏆 Rank in the category | 🖼️ Profile, banner and preview images |

### How to scrape Twitch

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open **Twitch Scraper**.
3. Enter **Channels** (like `shroud` or `https://www.twitch.tv/pokimane`), **Games and categories** (like `Just Chatting` or `VALORANT`), or both.
4. Choose what to get for each channel (profile, past videos, clips) and how many.
5. Click **Start**, then download the results as Excel, CSV, JSON or HTML.

### How much does it cost to scrape Twitch?

You pay per result, and only for the results you get: each channel, video, clip and live stream has its own price. Channels and games that do not exist cost nothing.

| Apify plan | Channels per 1,000 | Videos per 1,000 | Clips per 1,000 | Live streams per 1,000 |
|---|---|---|---|---|
| Free | $2.45 | $0.10 | $1.80 | $1.80 |
| Starter (Bronze) | $2.15 | $0.09 | $1.60 | $1.60 |
| Scale (Silver) | $1.80 | $0.08 | $1.30 | $1.30 |
| Business (Gold) and higher | $0.55 | $0.05 | $0.49 | $0.49 |

A run also has a start fee of **$0.001 per run**. Platform usage is included in these prices, so you pay nothing else for the run. Set a maximum cost per run if you like: the run stops there.

Example: 1,000 channel profiles with their 5 newest videos each cost $2.95 on the Free plan and $0.80 on Business. The 500 most watched live streams of a category cost $0.90 on the Free plan and $0.25 on Business. Every Apify account gets **$5 of free usage each month**, enough for about 2,000 channel profiles on the Free plan.

### ⬇️ Input

| Setting | What it does |
|---|---|
| **Channels** | Twitch channels to read: a username (`shroud`) or a link to any of the channel's pages |
| **Games and categories** | Games or categories whose live streams you want: the name as on Twitch (`Just Chatting`) or its link |
| **Channel profile** | One row per channel (on by default) |
| **Past videos**, **Videos per channel**, **Video type**, **Video order** | Videos of each channel: all, past broadcasts, highlights or uploads; newest or most viewed first |
| **Clips**, **Clips per channel**, **Clips from** | The most viewed clips of each channel in the last day, week, month or all time |
| **Live streams per game**, **Live stream order**, **Stream languages** | Live streams of each game: most viewers first or every live stream; only some languages |

Three channels with their profile, 20 newest videos and 20 top clips of the month:

```json
{
  "channelUsernames": ["shroud", "pokimane", "https://www.twitch.tv/xqc"],
  "includeVideos": true,
  "maxVideosPerChannel": 20,
  "includeClips": true,
  "clipPeriod": "LAST_MONTH",
  "maxClipsPerChannel": 20
}
```

Every English and Spanish live stream in VALORANT:

```json
{
  "gameNames": ["VALORANT"],
  "streamSort": "recent",
  "maxStreamsPerGame": 10000,
  "languages": ["en", "es"]
}
```

### ⬆️ Output

Every channel, video, clip and live stream is one row, with `type` saying which. Counts are whole numbers, languages are two-letter codes, dates are ISO 8601 in UTC. A channel row:

```json
{
  "type": "channel",
  "id": "37402112",
  "login": "shroud",
  "displayName": "shroud",
  "url": "https://www.twitch.tv/shroud",
  "description": "I'm back baby",
  "followersCount": 11289164,
  "isPartner": true,
  "isAffiliate": false,
  "language": "en",
  "socialLinks": [
    {"name": "discord", "title": "Discord", "url": "https://discord.gg/shroud"},
    {"name": "twitter", "title": "Twitter", "url": "https://twitter.com/shroud"},
    {"name": "youtube", "title": "YouTube", "url": "https://youtube.com/shroud"},
    {"name": "instagram", "title": "Instagram", "url": "https://instagram.com/shroud"}
  ],
  "team": "Loaded",
  "totalVideos": 1618,
  "isLive": false,
  "currentViewers": null,
  "streamTitle": null,
  "currentGame": null,
  "streamStartedAt": null,
  "streamTags": null,
  "lastBroadcastTitle": "SHAMAN NERF LIVE⚔️ LEVEL 60 ⚔️ SHROUD MAN ⚔️ FOR THE HORDE ⚔️",
  "lastBroadcastGame": "World of Warcraft",
  "lastBroadcastDate": "2026-11-13T00:57:59.192526Z",
  "createdAt": "2012-11-03T15:50:32.87847Z",
  "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-14T16:50:41Z"
}
```

A live stream row:

```json
{
  "type": "stream",
  "id": "319209074023",
  "url": "https://www.twitch.tv/trymacs",
  "rank": 1,
  "title": "Größtes Pokemon Opening von mir aller Zeiten! 520 Booster!",
  "viewersCount": 20488,
  "startedAt": "2026-11-14T15:47:14Z",
  "language": "de",
  "tags": ["Deutsch", "DropsAktiviert"],
  "isMature": false,
  "game": "Just Chatting",
  "gameId": "509658",
  "thumbnailUrl": "https://static-cdn.jtvnw.net/previews-ttv/live_user_trymacs-640x360.jpg",
  "broadcasterId": "64342766",
  "broadcasterLogin": "trymacs",
  "broadcasterDisplayName": "Trymacs",
  "broadcasterFollowers": 4030772,
  "isPartner": true,
  "profileImageUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/example-profile_image-300x300.png",
  "scrapedAt": "2026-11-14T16:50:41Z"
}
```

Video rows carry `title`, `url`, `videoType` (archive, highlight or upload), `viewCount`, `lengthSeconds`, `publishedAt`, `game`, `language`, `thumbnailUrl` and the channel. Clip rows carry `title`, `url`, `slug`, `viewCount`, `durationSeconds`, `createdAt`, `game`, `curatorLogin` (who clipped it), `videoId` and `videoOffsetSeconds` (the broadcast it was cut from and where), and the channel.

### How can I use Twitch data?

- **Influencer marketing:** find streamers in your game or category with their followers, viewers and social links
- **Market research:** see which games and categories draw viewers, and in which languages
- **Talent scouting:** spot growing channels by followers and live viewers
- **Content research:** find a channel's most viewed videos and clips
- **Esports and media monitoring:** track live viewers of tournaments and categories on a schedule

### How many results can I get?

Channels: as many as you list. Videos: every video a channel shows (Twitch keeps past broadcasts for 7 to 60 days; highlights and uploads stay). Clips: Twitch lists up to about 1,100 per channel and period. Live streams: **Most viewers first** gives about the 1,000 most watched streams of a category, as Twitch shows them; **Recently started first** gives every live stream of the category, thousands for the biggest ones. A live list changes while it is read, so each stream is saved once even when it moves between pages.

### Scrape more creator data

| Actor | What it gets |
|---|---|
| [YouTube Scraper](https://apify.com/automly/youtube-scraper) | Videos, Shorts and live streams from YouTube channels, playlists and searches |
| [YouTube Channel Scraper](https://apify.com/automly/youtube-channel-search-scraper) | YouTube channels by keyword with subscribers and links |
| [TikTok Scraper](https://apify.com/automly/tiktok-scraper) | TikTok videos, profiles and comments |
| [TikTok Profile Scraper](https://apify.com/automly/tiktok-profile-scraper) | TikTok profiles with followers, likes and bio links |

### ❓FAQ

#### Do I need a Twitch account?

No. The scraper collects what Twitch shows to anyone without signing in, so you don't need an account.

#### Why was a channel or game not found?

Twitch has no channel with that username, or no game or category with that name. Check the spelling, or paste the link from Twitch. It is listed in the run report under `notFound`, not charged, and the run still finishes successfully.

#### Why are some fields empty?

A channel that is offline has no current viewers, game or stream title; channels without a team, social links or banner leave those empty. Empty fields are empty, never zero.

#### Are emails included?

No. Emails and phone numbers typed into a channel's description are replaced with `[removed]`. Social links are included as the channel shows them.

#### Why did a game return fewer live streams than Twitch's counter?

With **Most viewers first**, Twitch lists about the top 1,000 streams of a category. Choose **Recently started first** to get every live stream.

# Actor input Schema

## `channelUsernames` (type: `array`):

Twitch channels to read, e.g. shroud or https://www.twitch.tv/pokimane. Any channel page link works (its videos, clips or About page).

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

Games or categories whose live streams you want, e.g. Just Chatting, VALORANT or https://www.twitch.tv/directory/category/just-chatting. Names as shown on Twitch; capital letters do not matter.

## `includeProfile` (type: `boolean`):

One row per channel: followers, description, social links, live status and viewers, last broadcast, team, partner status, images.

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

One row per video: past broadcasts, highlights and uploads with views, length, game and publish date.

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

Most videos to take from each channel, e.g. 20.

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

Which videos to take, e.g. Past broadcasts only. Twitch keeps past broadcasts for 7 to 60 days; highlights and uploads stay.

## `videoSort` (type: `string`):

Order the videos are taken in, e.g. Newest first.

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

One row per clip, most viewed first: views, length, who clipped it, game, and the broadcast it was cut from.

## `maxClipsPerChannel` (type: `integer`):

Most clips to take from each channel, e.g. 20. Twitch lists up to about 1,100 clips per channel and period.

## `clipPeriod` (type: `string`):

Time range of the clips, e.g. Last 7 days.

## `maxStreamsPerGame` (type: `integer`):

Most live streams to take from each game or category, e.g. 100.

## `streamSort` (type: `string`):

Order of the live streams, e.g. Most viewers first. Twitch lists about 1,000 streams per category by viewers; Recently started first reaches every live stream of the category.

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

Keep only live streams in these languages, as two-letter codes, e.g. en, de, es. Empty keeps every language.

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

Leave the default.

## Actor input object example

```json
{
  "channelUsernames": [
    "shroud",
    "pokimane"
  ],
  "gameNames": [
    "Just Chatting"
  ],
  "includeProfile": true,
  "includeVideos": true,
  "maxVideosPerChannel": 5,
  "videoType": "all",
  "videoSort": "newest",
  "includeClips": true,
  "maxClipsPerChannel": 5,
  "clipPeriod": "LAST_WEEK",
  "maxStreamsPerGame": 20,
  "streamSort": "viewers",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `channels` (type: `string`):

No description

## `videos` (type: `string`):

No description

## `clips` (type: `string`):

No description

## `streams` (type: `string`):

No description

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

No description

## `report` (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 = {
    "channelUsernames": [
        "shroud",
        "pokimane"
    ],
    "gameNames": [
        "Just Chatting"
    ],
    "includeVideos": true,
    "maxVideosPerChannel": 5,
    "includeClips": true,
    "maxClipsPerChannel": 5,
    "maxStreamsPerGame": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("automly/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 = {
    "channelUsernames": [
        "shroud",
        "pokimane",
    ],
    "gameNames": ["Just Chatting"],
    "includeVideos": True,
    "maxVideosPerChannel": 5,
    "includeClips": True,
    "maxClipsPerChannel": 5,
    "maxStreamsPerGame": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("automly/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 '{
  "channelUsernames": [
    "shroud",
    "pokimane"
  ],
  "gameNames": [
    "Just Chatting"
  ],
  "includeVideos": true,
  "maxVideosPerChannel": 5,
  "includeClips": true,
  "maxClipsPerChannel": 5,
  "maxStreamsPerGame": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call automly/twitch-scraper --silent --output-dataset

```

## MCP server setup

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