# \[DEPRECATED] Twitch Scraper - Clip & VOD Metadata Extractor (`dltik/twitch-scraper`) Actor

Download Twitch clips and VODs as MP4, extract stream metadata, viewer counts, chat replays and channel info. Supports clip URLs, channel names and category search. Get titles, duration, game, streamer stats and thumbnails. No login required. Export JSON, CSV or Excel via API.

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

## Pricing

from $0.50 / 1,000 video scrapeds

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 — Clip & VOD Metadata Extractor (Views, Game, Streamer)

> Extract **Twitch clip and VOD metadata**: title, duration, views, game/category, creator, formats. Supports clips, VODs, and channels with content-type filtering. No video download — clean structured metadata only. HTTP-only, **$0.002 per video**.

⭐ **Bookmark this Twitch Scraper** — Apify ranks actors by bookmarks, so it directly helps the visibility of this scraper on the Apify Store.

### What is the Twitch Scraper?

The **Twitch Scraper** is an Apify actor that pulls metadata from [Twitch](https://www.twitch.tv/) clips, VODs (video-on-demand), and channels. Drop in a list of URLs (channel pages, clip URLs, VOD URLs) and get back clean JSON: title, duration, view count, game/category, streamer, upload date, formats, thumbnail. No video download — pure metadata extraction for analytics, archiving, and creator-economy research.

The most efficient way to track Twitch creators at scale without using the gated Twitch API.

### Use cases

- **Creator-economy analytics** — track top Twitch streamers by views, growth velocity, game.
- **Brand sponsorship targeting** — find rising streamers in a specific game/category for influencer outreach.
- **Game popularity research** — count Twitch VODs per game over time to spot trending titles.
- **Multi-platform creator analytics** — combine Twitch with YouTube and Kick data.
- **Content highlights archiving** — full-channel VOD metadata snapshot for legal or research.
- **Migration tracking** — measure how a streamer's viewership changed after a platform move.

### Input

```json
{
  "urls": [
    "https://www.twitch.tv/example_streamer",
    "https://www.twitch.tv/example_streamer/clip/AwesomeClipSlug",
    "https://www.twitch.tv/videos/1234567890"
  ],
  "contentTypes": ["clip", "vod"]
}
```

### Output

```json
{
  "url": "https://www.twitch.tv/videos/1234567890",
  "type": "vod",
  "title": "Example stream replay",
  "duration_sec": 7245,
  "views": 28342,
  "game": "Just Chatting",
  "streamer": "example_streamer",
  "language": "en",
  "uploaded_at": "2026-04-25",
  "thumbnail": "https://static-cdn.jtvnw.net/..."
}
```

### Pricing

**PAY_PER_EVENT — $0.002 per video metadata fetched** (= $2 per 1,000). Failed fetches not charged.

### FAQ — Twitch API alternatives

**Twitch official API?** Yes but it's gated (requires app registration, OAuth, quota). This scraper is no-auth, no-quota.

**Live-stream metadata?** For active live streams, channel URLs return the live snapshot (title, viewer count, current game).

**Clip support?** Yes — clip URLs work alongside VOD URLs; the actor detects type automatically.

**Why not yt-dlp?** yt-dlp returns raw metadata; this actor normalizes the schema across content types and adds Apify dataset structure for analytics.

***

⭐ **Found this useful? Bookmark this Twitch Scraper** — it's the strongest signal for Apify Store ranking.

#### Related actors

- [Kick Scraper](https://apify.com/dltik/kick-scraper) — Twitch alternative
- [Rumble Scraper](https://apify.com/dltik/rumble-scraper) — alternative video platform
- [YouTube Transcript Scraper](https://apify.com/dltik/youtube-transcript-scraper) — bulk YouTube transcripts

License: MIT · Author: [dltik](https://apify.com/dltik)

- [Vimeo Scraper](https://apify.com/dltik/vimeo-scraper) - Video metadata extractor
- [Dailymotion Scraper](https://apify.com/dltik/dailymotion-scraper) - Video metadata extractor

# Actor input Schema

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

URL d'un clip, VOD ou chaîne Twitch (ex: https://clips.twitch.tv/ClipName ou https://www.twitch.tv/videos/123456)

## `urls` (type: `array`):

Liste d'URLs Twitch pour traitement batch

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

Filtrer par type de contenu

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

Nombre maximum de résultats à retourner (1-1000)

## Actor input object example

```json
{
  "url": "https://clips.twitch.tv/ObedientTubularDurianSSSsss-cCbGRCYFrMFHiVYb",
  "contentType": "all",
  "maxResults": 50
}
```

# Actor output Schema

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

Métadonnées structurées de chaque clip ou VOD Twitch : titre, durée, vues, jeu/catégorie, créateur, type de contenu.

# 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 = {
    "url": "https://clips.twitch.tv/ObedientTubularDurianSSSsss-cCbGRCYFrMFHiVYb"
};

// Run the Actor and wait for it to finish
const run = await client.actor("dltik/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 = { "url": "https://clips.twitch.tv/ObedientTubularDurianSSSsss-cCbGRCYFrMFHiVYb" }

# Run the Actor and wait for it to finish
run = client.actor("dltik/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 '{
  "url": "https://clips.twitch.tv/ObedientTubularDurianSSSsss-cCbGRCYFrMFHiVYb"
}' |
apify call dltik/twitch-scraper --silent --output-dataset

```

## MCP server setup

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