# Twitch Scraper — Channels, Live & VODs | from $1.50/1K (`bovi/twitch-scraper`) Actor

Scrape Twitch channel profiles, live stream status, and VOD archives via the official public GraphQL API. No user auth required. Returns followers, viewer counts, stream details, game/category, tags, and video metadata.

- **URL**: https://apify.com/bovi/twitch-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Social media, Marketing, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Twitch Scraper — Channels, Live & VODs | from $1.50/1K | No Auth Required

For gaming market researchers, influencer marketing platforms, and gaming-industry analytics teams that need Twitch data at scale.

**Pricing: $1.50 per 1,000 channels · $2.50 per 1,000 VODs (when `includeVideos=true`)**

Scrape Twitch channel profiles, live stream data, and VOD archives via the official public Twitch GraphQL API. No user authentication required. Pay per result.

### Pricing example

**$1.50 per 1,000 channel records · $2.50 per 1,000 VODs** (when `includeVideos=true`). Example: 50 channels = $0.08. 50 channels + 20 VODs each = $0.08 + $2.50 = $2.58. No per-run fee. No auth required.

### Sample output

```json
{
  "type": "channel",
  "channel_login": "shroud",
  "display_name": "shroud",
  "followers": 11240000,
  "is_live": false,
  "stream_title": null,
  "game": null,
  "viewers": null,
  "last_broadcast_title": "TACTICAL SHOOTER MARATHON",
  "is_affiliate": false,
  "is_partner": true,
  "created_at": "2014-04-25T00:00:00Z",
  "parse_confidence": 1.0,
  "scraped_at": "2026-06-05T09:00:00Z"
}
````

### What you get

For each channel:

- **Followers count** — total followers
- **Live status** — is the channel currently live?
- **Stream details** — title, game/category, viewer count, start time, tags
- **Channel metadata** — description, partner/affiliate status, profile image, account creation date
- **Last broadcast** — title and start time of the most recent stream

Optional per-channel:

- **VOD archive** — recent past broadcasts with title, view count, duration, game, thumbnail URL

### Use cases

- **Gaming market research** — track which games are trending by viewer count
- **Influencer monitoring** — monitor follower growth and live status for lists of streamers
- **Content analytics** — analyse VOD performance (views, duration, games)
- **Competitive intelligence** — benchmark streamers by category or game
- **Data feeds** — build live gaming dashboards with fresh Twitch data

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `channels` | string\[] | `["shroud", "pokimane", "ninja"]` | Twitch login names to scrape |
| `maxItems` | integer | 100 | Max total items to push (0 = unlimited) |
| `includeVideos` | boolean | false | Also fetch VOD archive per channel |
| `maxVideosPerChannel` | integer | 20 | Max VODs per channel (1–100) |

### Output schema

Each dataset row has `type` = `"channel"` or `"video"`.

**Channel row fields:**
`channel_id`, `channel_login`, `display_name`, `description`, `followers`, `is_live`, `stream_title`, `game`, `game_id`, `viewers`, `stream_started_at`, `stream_tags`, `last_broadcast_title`, `last_broadcast_at`, `is_affiliate`, `is_partner`, `profile_image`, `created_at`, `scraped_at`, `parse_confidence`, `warnings`

**Video row fields:**
`channel_id`, `channel_login`, `display_name`, `video_id`, `video_title`, `video_views`, `video_duration_s`, `video_status`, `video_game`, `video_thumbnail`, `published_at`, `created_at`, `scraped_at`, `parse_confidence`, `warnings`

### Frequently asked questions

**Do I need a Twitch account or API key?**
No. The actor uses the same public GraphQL endpoint Twitch's own website calls, with the standard web Client-ID. No signup, no developer app, no OAuth required.

**Do I need a proxy?**
No. The Twitch public GraphQL API is open to datacenter IPs. No proxy cost to you.

**What formats does output come in?**
JSON, CSV, Excel via the Apify dataset. Native integration with n8n, Make, Zapier.

**What if a channel returns empty or is not found?**
The actor logs `channel_not_found` and continues to the next channel in the list — no crash, no charge for the missing channel.

### Technical notes

- Uses the official Twitch public web GraphQL endpoint (`gql.twitch.tv/gql`) with the standard public web Client-ID — no API key signup required.
- Videos: fetches up to 100 VODs per channel in a single request (no pagination needed for most use cases).
- `parse_confidence` (0.0–1.0) and `warnings` in every row provide machine-readable quality signals.

### Pricing

**$1.50 per 1,000 channel records · $2.50 per 1,000 VOD records** (when `includeVideos=true`). PPE — pay per result, no per-run fee. No auth required.

### Why this Twitch scraper beats the alternatives

| | This scraper | epctex/twitch-scraper | Generic API wrappers |
|---|:---:|:---:|:---:|
| Price | **$1.50/1K channels** | ~$3-5/1K | varies |
| VOD archive (separate event) | **$2.50/1K** | included flat | ✗ |
| Official Twitch GraphQL API | ✓ | partial | ✓ |
| No user OAuth required | ✓ | ✓ | ✓ |
| Live stream + game + viewer count | ✓ | partial | partial |
| `parse_confidence` on every record | ✓ | ✗ | ✗ |

### Live monitoring use case

Run on a schedule to track live status for a list of gaming influencers — get followers, viewer counts, and current game on every run. Set `includeVideos=false` for lightweight live-status checks, or `includeVideos=true` for full VOD analytics.

### Use with AI Agents (MCP)

This Twitch scraper is callable as a **tool by AI agents** (Claude Desktop, Cursor, VS Code, n8n, or any MCP-compatible client) via Apify's hosted Model Context Protocol server.

```json
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.apify.com/?tools=bovi/twitch-scraper",
        "--header",
        "Authorization: Bearer <YOUR_APIFY_TOKEN>"
      ]
    }
  }
}
```

### Integrations

Built for gaming market researchers and influencer-marketing platforms benchmarking channel reach, live status, and VOD archives — the JSON/dataset output drops into the tools you already run, no glue code:

- **n8n / Make / Zapier** — trigger a run or pipe every new dataset item into 500+ apps (Google Sheets, Airtable, Slack, HubSpot, your database) with no code: [n8n](https://docs.apify.com/platform/integrations/n8n), [Make](https://docs.apify.com/platform/integrations/make), [Zapier](https://docs.apify.com/platform/integrations/zapier).
- **Webhooks** — fire your own endpoint the moment a run finishes, to push results straight into your pipeline ([docs](https://docs.apify.com/platform/integrations/webhooks)).
- **MCP server** — expose this actor as a tool to Claude, Cursor, or any [MCP client](https://mcp.apify.com) so an AI agent can pull this data mid-conversation ([guide](https://blog.apify.com/how-to-use-mcp/)).
- **API & SDKs** — fetch the dataset as JSON, CSV, or Excel through the Apify REST API or the Python / JS SDKs.

See all [Apify integrations](https://apify.com/integrations).

# Actor input Schema

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

List of Twitch channel login names to scrape (the part after twitch.tv/). Example: shroud, pokimane, ninja. Case-insensitive.

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

Maximum total items (channels + videos) to push. 0 = no limit. Default 100.

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

Also scrape recent archived VODs (past broadcasts) for each channel. Each video is a separate dataset row with type=video. Default false to keep costs low.

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

Maximum archived VODs to fetch per channel when includeVideos=true. Range 1–100. Default 20.

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

Apify Proxy settings. RESIDENTIAL is recommended for cloud runs.

## Actor input object example

```json
{
  "channels": [
    "shroud",
    "pokimane",
    "ninja"
  ],
  "maxItems": 100,
  "maxVideosPerChannel": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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",
        "pokimane",
        "ninja"
    ],
    "maxItems": 100,
    "includeVideos": false,
    "maxVideosPerChannel": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/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",
        "pokimane",
        "ninja",
    ],
    "maxItems": 100,
    "includeVideos": False,
    "maxVideosPerChannel": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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",
    "pokimane",
    "ninja"
  ],
  "maxItems": 100,
  "includeVideos": false,
  "maxVideosPerChannel": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/twitch-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=bovi/twitch-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Twitch Scraper — Channels, Live & VODs | from $1.50/1K",
        "description": "Scrape Twitch channel profiles, live stream status, and VOD archives via the official public GraphQL API. No user auth required. Returns followers, viewer counts, stream details, game/category, tags, and video metadata.",
        "version": "0.1",
        "x-build-id": "b9bfnmEZw7Tm5T8zC"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/bovi~twitch-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-bovi-twitch-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/bovi~twitch-scraper/runs": {
            "post": {
                "operationId": "runs-sync-bovi-twitch-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/bovi~twitch-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-bovi-twitch-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "channels": {
                        "title": "Channel logins",
                        "type": "array",
                        "description": "List of Twitch channel login names to scrape (the part after twitch.tv/). Example: shroud, pokimane, ninja. Case-insensitive.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItems": {
                        "title": "Max items total",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum total items (channels + videos) to push. 0 = no limit. Default 100."
                    },
                    "includeVideos": {
                        "title": "Include VOD archive",
                        "type": "boolean",
                        "description": "Also scrape recent archived VODs (past broadcasts) for each channel. Each video is a separate dataset row with type=video. Default false to keep costs low."
                    },
                    "maxVideosPerChannel": {
                        "title": "Max videos per channel",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Maximum archived VODs to fetch per channel when includeVideos=true. Range 1–100. Default 20."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify Proxy settings. RESIDENTIAL is recommended for cloud runs."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
