npm.io
1.0.0 • Published 3d ago

apify-twitch-scraper

Licence
MIT
Version
1.0.0
Deps
1
Size
8 kB
Vulns
0
Weekly
0

Twitch Scraper — Streams, Games, Channels & Clips API

Run on Apify Node.js client

Twitch Scraper — Streams, Games, Channels & Clips API — a Node.js client for the Apify Actor. Pull Twitch data at scale with no API-key hassle: thousands of clean, structured results you can export to JSON, CSV or Excel.

Run it on Apify: https://apify.com/logiover/twitch-scraper

Install

npm install apify-twitch-scraper

Usage

const scrape = require("apify-twitch-scraper");

(async () => {
  const items = await scrape({}, { token: process.env.APIFY_TOKEN });
  console.log(items.length, "results");
  console.log(items[0]);
})();

Get your free Apify token at https://console.apify.com/account/integrations.

Input

Field Type Description
mode string Mode
gameSort string Game sort (topStreams / topGames)
gameFanout integer Games to sweep (topStreams)
game string Game / category
games array Games / categories (batch)
login string Channel login
logins array Channel logins (batch, user)
videoSort string Video sort (videos)
clipPeriod string Clip period (clips)
clipSort string Clip sort (clips)
query string Search query
searchIndex string Search target
maxResults integer Max results

All fields optional — run with empty input {} for a broad default result set.

Output

Each result item includes fields such as: _mode, login, displayName, name, gameName, viewersCount, viewCount, followers, twitchUrl, scrapedAt, title, startedAt, tags, isPartner, thumbnailUrl, rank, gameId, boxArtUrl, isAffiliate, isLive.

Why use this

  • Thousands of results per run, auto-paginated
  • No Twitch login or reverse-engineering — just call the Actor
  • Export to JSON, CSV, Excel, JSONL, XML
  • Runs on Apify cloud — schedule it, add webhooks, wire into Make / Zapier / n8n

FAQ

Do I need an API key?

Only a free Apify token (grab one at https://console.apify.com/account/integrations). No Twitch login and no scraping setup on your side.

How many results can I get?

Thousands per run. Raise the limit in the input to pull more — the Actor paginates for you.

What export formats are supported?

Results are plain JSON in code; from the Apify dataset you can export CSV, Excel, JSON, JSONL or XML.

Is this an official Twitch API?

No. It is an unofficial Twitch data client on the Apify platform — a maintained alternative when there is no official or affordable API.


MIT 2026 logiover · Client library for the hosted Apify Actor. Not affiliated with Twitch.

Keywords