Twitch Streams Scraper Gql
Pricing
from $2.99 / 1,000 results
Twitch Streams Scraper Gql
Twitch Streams Scraper GQL is a Python tool to extract stream titles, game categories, live viewer counts, streamer usernames, and uptime timestamps from Twitch's internal GraphQL endpoint. It exports structured live-streaming datasets into clean CSV or JSON formats
Pricing
from $2.99 / 1,000 results
Rating
0.0
(0)
Developer
real-estate-api
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
18 days ago
Last modified
Categories
Features
Share
Twitch Streams Scraper (GQL) — Live Twitch Streams and Viewer Statistics

Overview
Twitch Streams Scraper (GQL) collects publicly available live stream information from Twitch and organizes it into a structured dataset. Capture stream IDs, titles, viewer counts, broadcaster details, and game categories without manually browsing Twitch's live directory.
Export the collected data in JSON, CSV, Excel, and other supported Apify dataset formats.
Features
- Live Stream Collection: Retrieve live streams from Twitch's directory.
- Top Streams: Collect streams sorted by viewer count.
- Game Filtering: Filter results by game or category name.
- Broadcaster Details: Capture broadcaster login and display names.
- Viewer Statistics: Collect the current viewer count for each stream.
- Maximum Item Control: Set a limit on the number of records collected.
- Structured Dataset: Store stream information in a clean, organized format.
- Scheduled Runs: Refresh live stream data using Apify schedules.
Collection Mode
| Mode | Description |
|---|---|
topStreams | Collect live streams sorted by viewer count, up to the configured maxItems limit. |
The actor typically retrieves up to 30 streams per page. Twitch may restrict requests for subsequent pages, so a run can return fewer records than the requested maximum.
Input Parameters
| Parameter | Type | Description |
|---|---|---|
mode | String | Collection mode. Use topStreams. |
first | Integer | Number of streams requested per page. |
gameName | String | Optional game or category name used to filter results. Leave empty to include all categories. |
maxItems | Integer | Maximum number of stream records to collect. |
requestDelayMs | Integer | Delay between requests in milliseconds. |
userAgent | String | User-Agent value used for requests. |
timeoutSecs | Integer | Overall run timeout in seconds. |
requestTimeoutSecs | Integer | Individual request timeout in seconds. |
Example Input
{"mode": "topStreams","first": 30,"gameName": "","maxItems": 50,"requestDelayMs": 1000,"userAgent": "ActorResearch/1.0","timeoutSecs": 300,"requestTimeoutSecs": 30}
What Data Does This Actor Extract?
| Field | Description |
|---|---|
streamId | Unique identifier of the live stream. |
streamTitle | Title of the live stream. |
viewersCount | Current number of viewers. |
broadcaster | Broadcaster information, including login and display name. |
game | Game or category associated with the stream. |
scrapedAt | Date and time when the record was collected. |
Example Output
{"streamId": "319543611735","streamTitle": "SPOOKY TIME","viewersCount": 64146,"broadcaster": {"login": "caseoh_","displayName": "caseoh_"},"game": {"name": "Minecraft"},"scrapedAt": "2026-10-26T00:00:00+00:00"}
Use Cases
- Live Directory Snapshots: Build spreadsheets of popular live streams ranked by viewer count.
- Category Monitoring: Collect streams associated with a particular game or category.
- Creator Research: Explore broadcaster login names and display names from public streams.
- Viewer Analysis: Compare viewer counts across collected live streams.
- Scheduled Monitoring: Run the actor periodically to collect fresh live directory snapshots.
Working with Your Dataset
After a successful run, access the collected records through the Apify Dataset tab.
You can export the dataset in JSON, CSV, Excel, and other supported formats for analysis, reporting, or further processing.
FAQ
Who is this actor for?
It is designed for analysts, researchers, and developers who want structured information about publicly listed Twitch live streams.
What data does it collect?
It collects stream IDs, titles, viewer counts, broadcaster details, game categories, and collection timestamps.
Can I filter streams by game?
Yes. Enter a game or category name in gameName to filter the collected results.
Can I collect more than 30 streams?
You can configure maxItems to request more records. However, Twitch may restrict subsequent pages, so the actual number collected can be lower than the requested limit.
Can I run it on a schedule?
Yes. You can configure Apify schedules to collect fresh live stream snapshots at your preferred intervals.
How fresh is the collected data?
Each run collects information at request time. Viewer counts and stream availability can change after collection.
Disclaimer
This Actor is an independent tool and is not affiliated with, endorsed by, sponsored by, or officially associated with Twitch or its owners. It collects information from publicly available pages. Users are responsible for ensuring that their use of collected data complies with applicable terms and laws.
Is Web Scraping Legal?
Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same thing as republishing someone's article or photo.
This actor collects information from public pages. It does not log in and it does not bypass access controls.
For a longer explanation, see Apify's article Is web scraping legal?.