# Twitch Search Scraper (`alpha-scraper/twitch-search-scraper`) Actor

\[ 1k / 1$ ] Twitch search scraper: search channels, games or videos (VODs) and extract followers, live stream, viewers, game, language, partner status, VOD length and views, plus optional social links, panels, schedule, clips and VODs.

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

## Pricing

Pay per event + usage

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Search Scraper

Twitch Search Scraper is an Apify Actor that collects video data from Twitch and returns it as clean, structured records.
Twitch search scraper: search channels, games or videos (VODs) and extract followers, live stream, viewers, game, language, partner status, VOD length and views, plus optional social links, panels, schedule, clips and VODs.
Instead of copying Twitch pages by hand, you enter your keywords, choose a few options, and receive one JSON record for every video record that Twitch returns.

**Who is it for?** video marketers and creators; media and trend analysts; competitive-intelligence teams.
**What problem does it solve?** Collecting Twitch information by hand is slow and hard to repeat. Twitch Search Scraper returns the same documented Twitch fields every time, ready for spreadsheets, databases and dashboards.
**What data do you get?** 86 documented Twitch fields per record, exported as JSON, CSV, Excel, XML, HTML or RSS.
**What is the easiest way to start?** Open the Actor on Apify, keep the pre-filled input, lower `maxItems`, and press Start.

> **📌 Twitch Search Scraper at a glance**
>
> - **Platform:** Twitch
> - **Category:** video
> - **Input fields:** 5 · **Output fields:** 86
> - **Listed price:** $1.00 per 1,000 results

### ✨ Twitch Search Scraper Key Features

Twitch Search Scraper turns Twitch video records into structured data with a short list of inputs and a documented output.
Here is what Twitch Search Scraper offers:

- **Keyword input:** Twitch Search Scraper accepts one or many entries in `queries` and processes each entry on its own.
- **Result limit:** `maxItems` caps the Twitch records per run, so test runs of the Actor stay small and costs predictable.
- **Structured output:** 86 documented Twitch fields in a consistent JSON structure.
- **Export anywhere:** download the Twitch data as JSON, CSV, Excel, XML, HTML or RSS, or read the dataset through the Apify API.
- **Run summary:** a `RUN_SUMMARY` record and the status message report counts and the first problem of every run of Twitch Search Scraper.
- **Search Type** (`type`): What to search for: channels (streamers, with the live stream if one is running), games / categories, or…
- **Fetch Detail Data** (`fetchDetails`): Make one extra anonymous request per result.
- **Max Results To Enrich** (`detailLimit`): Only the first N returned results get the detail request; the remaining results are returned with their…

> **💡 Why use Twitch Search Scraper?**
>
> - You work with documented Twitch fields instead of raw pages.
> - You can repeat the same search job on a schedule and compare results over time.
> - You can start small with the Actor, check the output, and scale up when you are happy.

### 🔍 What Data Can Twitch Search Scraper Extract?

Each record describes one video record found on Twitch.
The schema documents 86 fields: 43 core fields that appear in almost every record, 9 common fields and 34 conditional fields that appear only when Twitch provides the value or the matching option is on.

- `type`: Result type
- `id`: ID
- `login`: Login name
- `displayName`: Display name
- `url`: Twitch URL
- `followersCount`: Followers
- `isPartner`: Partner
- `isAffiliate`: Affiliate

The Output section below lists more Twitch fields with their types and shows a real sample record collected by Twitch Search Scraper.

### ⚙️ How Twitch Search Scraper Works

The workflow of Twitch Search Scraper is intentionally simple, and the Actor needs no code:

1. You provide a JSON input or fill the Console form; missing options use their documented defaults.
2. For every entry in `queries`, Twitch Search Scraper requests results from Twitch, page after page, until it has `maxItems` records or Twitch has no more matches.
3. With `fetchDetails` on, Twitch Search Scraper also opens each record's detail page and adds the extra fields.
4. Each record is cleaned and mapped to the documented fields; values that Twitch does not provide are left out instead of guessed.
5. Records are saved to the default dataset in small batches, and a `RUN_SUMMARY` record closes the run of Twitch Search Scraper.

### 🚀 How to Use Twitch Search Scraper

You can run the Actor in a few minutes. Follow these steps in the Apify Console:

1. Open the page of Twitch Search Scraper on Apify and select the **Input** tab.
2. Enter your Twitch keywords in **Search Keywords** (`queries`).
3. Set **Max Items Per Keyword** (`maxItems`) to a small number such as 20 for the first run.
4. Press **Start**, then open the **Output** tab to browse the Twitch dataset and use **Export** to download it.
5. Save the input as a **Task** and add a **Schedule** to repeat Twitch Search Scraper runs.

A quick start input for the Actor:

```json
{
  "queries": ["minecraft"],
  "maxItems": 20
}
```

With this input, Twitch Search Scraper searches Twitch for the keywords shown and returns at most `maxItems` records.

### 🛒 How to Scrape Twitch video records with Twitch Search Scraper

To scrape Twitch video records, add your keywords to `queries`, set `maxItems`, and start Twitch Search Scraper. Each keyword is processed separately, so ten keywords produce ten Twitch searches that share one dataset.

#### 📁 Can You Export Twitch Data to CSV, Excel or JSON?

Yes. Every run of the Actor stores its Twitch records in a dataset that you can download as JSON, CSV, Excel, XML, HTML or RSS from the Console or through the API.

#### ⏰ Can You Schedule Twitch Search Scraper to Monitor Twitch?

Yes. Save your input as a Task, attach a Schedule, and compare the Twitch dataset of every run.

### 📥 Twitch Search Scraper Input

This table lists every input field of Twitch Search Scraper, taken from the Actor's input schema. The form is pre-filled with a working example.

#### 🧾 Twitch Search Scraper Input Fields

|Field|Type|Default|Purpose|
|---|---|---|---|
|`queries`|array|\["minecraft"]|One or more search terms (for example a game, streamer or video title such as 'minecraft').|
|`maxItems`|integer|15|Maximum number of results per keyword.|
|`type`|string|"channels"|What to search for: channels (streamers, with the live stream if one is running), games /…|
|`fetchDetails`|boolean|true|Make one extra anonymous request per result.|
|`detailLimit`|integer|0|Only the first N returned results get the detail request; the remaining results are returned with…|

#### 📝 Twitch Search Scraper Input Examples

These are valid inputs for Twitch Search Scraper. Copy one into the JSON editor of the input form, or send it through the API.

#### 🧪 Example 1: Minimal input

The smallest useful input: your Twitch keywords and a result limit. Every other option keeps its default.

```json
{
  "queries": ["minecraft"],
  "maxItems": 20
}
```

#### 🧪 Example 2: Typical input with the documented defaults

Every option that has a documented default, shown with that default value so you can see the full shape of the input.

```json
{
  "queries": ["minecraft"],
  "maxItems": 20,
  "type": "channels",
  "fetchDetails": true,
  "detailLimit": 0
}
```

#### 🧪 Example 3: Search Type set to "games"

Changes `type` and keeps the other defaults.

```json
{
  "queries": ["minecraft"],
  "maxItems": 20,
  "type": "games",
  "fetchDetails": true,
  "detailLimit": 0
}
```

#### 🧪 Example 4: Search Type set to "videos"

Changes `type` and keeps the other defaults.

```json
{
  "queries": ["minecraft"],
  "maxItems": 20,
  "type": "videos",
  "fetchDetails": true,
  "detailLimit": 0
}
```

### 📤 Twitch Search Scraper Output

Twitch Search Scraper stores one record per video record in the default dataset of the run. The table shows the most common of the 86 documented Twitch fields.

#### 📋 Twitch Search Scraper Output Fields

|Field|Type|Description|
|---|---|---|
|`type`|string|Kind of result: `channel`, `game` or `video`, depending on the Type input.|
|`id`|string|Twitch ID of the channel, game or video, stored as text.|
|`login`|string|Lowercase login name of the channel, used in its page address.|
|`displayName`|string|Display name of the channel as shown on Twitch.|
|`url`|string|Link to the channel page, the game directory page or the video page on Twitch.|
|`followersCount`|integer|Followers|
|`isPartner`|boolean|True when the channel is a Twitch Partner.|
|`isAffiliate`|boolean|True when the channel is a Twitch Affiliate.|
|`isLive`|boolean|True when the channel was live at the time of the search.|
|`language`|string|Broadcast language code of the channel, or the language of the video.|
|`currentTitle`|string|Stream title currently set in the channel's broadcast settings, also shown when…|
|`currentGame`|string|Name of the game or category currently set in the channel's broadcast settings…|

#### 🧬 Twitch Search Scraper Sample Output

This record comes from a real run of the Actor. Long texts and lists are shortened, only common fields are shown, and contact details, personal names, usernames and profile links are hidden.

```json
{
  "type": "channel",
  "id": "112568845",
  "login": "[name hidden]",
  "displayName": "Minecraft",
  "url": "https://www.twitch.tv/[name hidden]",
  "followersCount": 864701,
  "isPartner": true,
  "isAffiliate": false,
  "language": "EN",
  "currentTitle": "The Frostbite Invitational - The Minecraft Stage TwitchCon San Diego - Day 2",
  "currentGame": "Minecraft",
  "lastBroadcastStartedAt": "2026-11-15T01:58:33.758112Z",
  "isLive": false,
  "lastBroadcastId": "319912126551"
}
```

**Sample record 2**

```json
{
  "type": "channel",
  "id": "549826259",
  "login": "[name hidden]",
  "displayName": "gwoofy",
  "url": "https://www.twitch.tv/[name hidden]",
  "followersCount": 154,
  "isPartner": false,
  "isAffiliate": true,
  "language": "EN",
  "currentTitle": "beating minecraft TONIGHT!! ^.^",
  "currentGame": "Minecraft",
  "lastBroadcastStartedAt": "2026-11-15T05:14:03.654326Z",
  "isLive": true,
  "lastBroadcastId": "322290279130"
}
```

**Sample record 3**

```json
{
  "type": "channel",
  "id": "165785",
  "login": "[name hidden]",
  "displayName": "Generikb",
  "url": "https://www.twitch.tv/[name hidden]",
  "followersCount": 194545,
  "isPartner": true,
  "isAffiliate": false,
  "language": "EN",
  "currentTitle": "New Pack! Janktastic Foodies! !hth !pack",
  "currentGame": "Minecraft",
  "lastBroadcastStartedAt": "2026-11-14T23:59:17.404459Z",
  "isLive": true,
  "lastBroadcastId": "316309919849"
}
```

#### 🔬 Twitch Search Scraper Field Details

Each field below is described with its type, how often it appears in the sample and example values.

- **`type`** (string, present in 30 of 30 sample records): Kind of result: `channel`, `game` or `video`, depending on the Type input. Examples: `"channel"`.
- **`id`** (string, present in 30 of 30 sample records): Twitch ID of the channel, game or video, stored as text. Examples: `"112568845"`, `"541100452"`.
- **`login`** (string, present in 30 of 30 sample records): Lowercase login name of the channel, used in its page address. Examples: `"[name hidden]"`.
- **`followersCount`** (integer, present in 30 of 30 sample records): Followers Examples: `864701`, `1280`.

### 🎯 Twitch Search Scraper Use Cases

People use Twitch Search Scraper when they need repeatable, structured video data from Twitch. Typical applications:

- Find videos, channels or streams for a keyword
- Compare views, duration and upload dates across creators
- Track new uploads around a topic
- Build curated lists of channels and categories
- Measure which formats and topics attract attention
- Export video metadata to spreadsheets and dashboards

Every one of these tasks starts from the same Twitch records that Twitch Search Scraper stores in the dataset.

### 💰 Twitch Search Scraper Pricing

The Actor description lists the price of the Actor as **$1.00 per 1,000 results**.
The table shows what that rate means for typical run sizes.

|Results|Cost at the listed rate|
|---|---|
|100|$0.10|
|1,000|$1.00|
|10,000|$10.00|
|100,000|$100.00|

- Check the **Pricing** tab on the Actor page for the current terms; your Apify plan and platform usage may also apply.
- Test with a small `maxItems` value before a large run.

### 💻 Run Twitch Search Scraper with the Apify API

You can start Twitch Search Scraper from code and read the Twitch records from the dataset.

#### 🐍 Run Twitch Search Scraper from Python

Replace `ACTOR_ID` with the Actor ID shown on the Actor page and keep your token in an environment variable.

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("ACTOR_ID").call(run_input={'queries': ['minecraft'], 'maxItems': 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### 🔗 Integrations and Automation

The Actor works with schedules, webhooks, the Apify API and many integrations.

#### 🔌 Connect Twitch Search Scraper to Google Sheets

- Open the Integrations tab of the Actor or Task in the Apify Console and add the Google Sheets integration.
- Authorise your Google account and pick the spreadsheet and the worksheet.
- Choose whether each run appends rows or replaces the sheet content.
- Start a run; when it succeeds the rows appear in your spreadsheet automatically.
- Once a run succeeds, the Twitch data is ready to use in Google Sheets.

### 🧭 Example Workflows with Twitch Search Scraper

These workflows show how teams combine Twitch Search Scraper with schedules, storage and analysis tools.

#### 🧭 Weekly monitoring dashboard

1. Create a Task with your Twitch keywords and a fixed `maxItems`.
2. Add a weekly schedule and a webhook on success.
3. Let the webhook append the Twitch dataset to Google Sheets or a database.
4. Chart the 86-field records in Looker Studio, Power BI or Tableau.
5. Review the RUN_SUMMARY record whenever a number looks unusual.

### 🛠️ Tips and Best Practices

Follow these tips to get clean data from Twitch Search Scraper faster:

- Start every new search with a small `maxItems` value so you can check the output and the cost before a big run.
- Change one input option at a time and compare the datasets; this makes it clear which option produced which effect.
- Save good inputs as Apify Tasks and give them descriptive names such as the keyword and the market.
- Use a schedule for monitoring jobs, and keep each run small so that matching results arrive quickly.
- Treat every field except the identifiers as optional in your downstream code.
- Keep the raw JSON of important runs; it is the most complete representation of each record.
- Review `type` (Search Type) before large runs: What to search for: channels (streamers, with the live stream if one is running), games / categories, or…
- Review `fetchDetails` (Fetch Detail Data) before large runs: Make one extra anonymous request per result.

### 🗂️ Apify Platform Topics for Twitch Search Scraper

These notes cover Apify features that you meet while running the Actor.

#### 📌 Running Twitch Search Scraper from the Console

- Open the Actor page and review the Input tab; every field is documented there.
- Press Start to launch a run; the status changes from Ready to Running to Succeeded.
- Watch the log tab for progress, warnings and the final summary line.
- Open the Output tab to browse the Twitch dataset in table or JSON view.
- Use Export to download the Twitch results in your preferred format.

### ⚖️ Legal and Responsible Use

Twitch Search Scraper is meant for publicly available information, and you are responsible for how you use the Twitch data. This is general information, not legal advice.

- Read and follow the terms of service and the published crawler rules of Twitch before you run large jobs.
- Collect only the video records and fields you need from Twitch, and use them for a legitimate purpose.
- Treat names, handles and contact details as personal data where privacy laws such as GDPR or CCPA apply.
- Respect copyright and database rights when you republish Twitch content, and honour removal requests.

### ❓ Frequently Asked Questions about Twitch Search Scraper

Answers to common questions about the Actor and about collecting Twitch data.

#### ❓ How do I run Twitch Search Scraper?

Open the Actor page on Apify, fill in the input form, and press Start.
The same run can be started from the Apify API, the Apify CLI, a schedule, or an integration, using the identical JSON input shown in the Input section.
Twitch Search Scraper saves every record to the run's default dataset, where you can preview and download it.

#### ❓ Do I need an Apify account to use the Actor?

Yes. Twitch Search Scraper runs on the Apify platform, so you need an Apify account to start it from the Console or the API.
A free account is enough to try the Actor on a small input; check your plan for the monthly credits it includes.

#### ❓ Can I run Twitch Search Scraper through the API?

Yes. Every Apify Actor can be started with the Apify API or one of the official clients for JavaScript and Python.
The API section of this page shows a copy-paste example that sends the same JSON input as the Console form.

#### ❓ How do I schedule Twitch Search Scraper to run every day or every week?

Save your input as an Apify Task, then add a Schedule with a cron expression to that Task.
Each scheduled run creates a new dataset, so you can compare today's Twitch results with yesterday's.

#### ❓ Which formats can I export the results in?

Apify datasets can be downloaded as JSON, JSONL, CSV, Excel, XML, HTML table and RSS.
Nested lists and objects are kept intact in JSON; for CSV or Excel choose the Twitch fields you need or flatten nested fields in the export options.

#### ❓ How many results can I collect in one run?

The `maxItems` input field controls the limit. Its default is 15, with a minimum of 1.
The run also stops earlier when Twitch has no more matching results for your input, so you may receive fewer records than requested.

#### ❓ Can I search several keywords in one run?

Yes. The `queries` field is a list, so you can enter many entries; each entry is processed on its own.
One or more search terms (for example a game, streamer or video title such as 'minecraft').

#### ❓ What is the `followersCount` field in the Actor output?

It is integer and is present in 30 of 30 sample records.

### 🤝 Support

Need help with Twitch Search Scraper or want a new field? Use the **Issues** tab on the Actor page and include the run link and your input.

- contact me by email : alphascraper69@gmail.com

# Actor input Schema

## `queries` (type: `array`):

One or more search terms (for example a game, streamer or video title such as 'minecraft'). Every term is searched on its own and gets its own 'Max Items Per Keyword'.

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

Maximum number of results per keyword. The Actor keeps loading Twitch's own result pages (cursor pagination) until this number is reached or Twitch reports no further page.

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

What to search for: channels (streamers, with the live stream if one is running), games / categories, or videos (VODs).

## `fetchDetails` (type: `boolean`):

Make one extra anonymous request per result. Channels: social links, about panels, team, subscription tiers and prices, offline banner, stream bitrate / fps / tags, 5 most-viewed clips, latest 5 VODs, stream schedule. Games: tags, broadcaster count, 5 top live streams, clips and videos. Videos: description, status, tags, previews, creator and the owner's public channel summary. Turn off for a much faster run with search data only.

## `detailLimit` (type: `integer`):

Only the first N returned results get the detail request; the remaining results are returned with their search data only and 'detailStatus' says 'skipped: detailLimit=N'. Use 0 to enrich every returned result. Used only while 'Fetch Detail Data' is on.

## Actor input object example

```json
{
  "queries": [
    "minecraft"
  ],
  "maxItems": 15,
  "type": "channels",
  "fetchDetails": true,
  "detailLimit": 0
}
```

# Actor output Schema

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

Structured records extracted by Twitch Search Scraper and stored in the run's default dataset.

# 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 = {
    "queries": [
        "minecraft"
    ],
    "maxItems": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("alpha-scraper/twitch-search-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 = {
    "queries": ["minecraft"],
    "maxItems": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("alpha-scraper/twitch-search-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 '{
  "queries": [
    "minecraft"
  ],
  "maxItems": 15
}' |
apify call alpha-scraper/twitch-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alpha-scraper/twitch-search-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/GAf6xHz5RpWjeTbYJ/builds/wltgeTdlhnckbJuGT/openapi.json
