Twitch Live Streams Scraper avatar

Twitch Live Streams Scraper

Pricing

from $2.99 / 1,000 live streams

Go to Apify Store
Twitch Live Streams Scraper

Twitch Live Streams Scraper

Collects verified live stream cards from the public Twitch directory, optionally filtered to one category, and saves channel, stream, viewer, tag, and thumbnail fields.

Pricing

from $2.99 / 1,000 live streams

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

23 days ago

Last modified

Categories

Features

Limited permissions

Share

Reads public Twitch live streams from the overall directory or one game category. It starts with a bounded query to Twitch's public web GraphQL endpoint, deduplicates channels, and records public query provenance. If the query returns no usable streams, it falls back to the official directory page and one bounded browser render of that same page.

Get started

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Optionally set gameName to one category, or leave it empty for the overall live directory. Set maxItems for the number of streams you need.
  3. Keep maxItems and the other limits small for the first run.
  4. Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open Run summary (OUTPUT) to check the outcome and counts.

Input

All fields are optional; the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
gameNamestringOptionalNot suppliedOptional public Twitch category name, for example Fortnite. Omit for the overall live directory. up to 200 characters.
maxItemsintegerOptional50Maximum number of unique stream cards to save. 1–500.
timeoutMsintegerOptional30000Per-request timeout for the direct public Twitch page request. 5000–120000.
maxResponseBytesintegerOptional4000000Maximum Twitch HTML response size to read. 100000–10000000.
proxyConfigurationobjectOptional{"useApifyProxy":false}Optional proxy transport. Start direct and enable Apify Proxy only if public cards are withheld.

Default input:

{
"maxItems": 50,
"timeoutMs": 30000,
"maxResponseBytes": 4000000,
"proxyConfiguration": {
"useApifyProxy": false
}
}

gameName has no default: omit it for the overall live directory or supply one category name. The Actor reads public data from Twitch. Optional proxyConfiguration uses the standard Apify Proxy settings.

Output

The dataset contains one row per saved result. Optional information appears only when the source publishes it; missing values are omitted rather than inferred.

FieldTypeAvailabilityMeaning
recordTypestring enumAlwaysRecord type; always stream.
positionintegerAlwaysOne-based position in the saved live-stream result set.
channelLoginstringAlwaysPublic channel login.
channelNamestringAlwaysPublic channel display name.
channelUrlstringAlwaysCanonical public channel URL.
isVerifiedbooleanWhen publishedWhether a public verification badge was observed.
streamTitlestringAlwaysPublic live stream title.
streamTitleLengthintegerAlwaysCharacter length of the public stream title.
viewerCountintegerAlwaysParsed public viewer count.
viewerTextstringAlwaysViewer count as displayed, such as 225,582 viewers.
thumbnailstringAlwaysPublic preview image URL.
gameNamestringWhen publishedPublic category name when the card shows one.
gameUrlstringWhen publishedPublic category URL when the card shows one.
tagsstring arrayWhen publishedPublic card tags.
badgesstring arrayWhen publishedPublic card badge labels; absent from the archived rows.
languagestringWhen publishedPublic language tag when shown.
queryFilterstringWhen publishedCategory filter requested for the run; absent from the archived overall-directory rows.
queryUrlstringAlwaysOfficial Twitch public directory URL requested.
sourcestring enumAlwaysSource label; twitch-public-stream-card or twitch-public-streams-page.
sourceUrlstringAlwaysPublic URL used as evidence for the row.
scrapedAtstringAlwaysTime the record was written, in ISO UTC.

The example below is a real saved row from the 2026-10-25 run, limited to fields declared in the dataset schema; long arrays or strings are shortened.

{
"recordType": "stream",
"position": 1,
"channelLogin": "caedrel",
"channelName": "Caedrel",
"channelUrl": "https://www.twitch.tv/caedrel",
"isVerified": true,
"streamTitle": "🔴WORLDS 2026 SWISS STAGE DAY 3 LYON VS GENG🔴",
"streamTitleLength": 46,
"viewerCount": 225582,
"viewerText": "225,582 viewers",
"thumbnail": "https://static-cdn.jtvnw.net/previews-ttv/live_user_caedrel-640x360.jpg",
"gameName": "League of Legends",
"gameUrl": "https://www.twitch.tv/directory/category/league-of-legends",
"tags": [
"English",
"LPL",
"LCK",
"LEC",
"Worlds",
"Esports",
"DropsEnabled"
],
"language": "EN",
"queryUrl": "https://www.twitch.tv/directory/all?sort=VIEWER_COUNT",
"source": "twitch-public-stream-card",
"sourceUrl": "https://www.twitch.tv/directory/all?sort=VIEWER_COUNT",
"scrapedAt": "2026-10-25T20:45:14.109Z"
}

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT.

FieldMeaning
statusRun outcome; SUCCEEDED or FAILED.
dataStatusDataset completeness: COMPLETE, PARTIAL, NO_RESULTS, or FAILED.
queryQuery label used for the run; the archived overall-directory run records top-live.
fixtureModeWhether a bundled QA fixture was used instead of the live source.
sourceTransportTransport used, such as direct_twitch_gql.
sourceUrlOfficial Twitch directory URL requested.
extractedCountStream cards parsed before the item cap.
usableCountStream cards with enough public fields to form a row.
responseSignalsBounded response diagnostics: streamNodeCount, gqlPageCount, and responseBytes.
recordsStoredStream rows saved.
dataRecordCountData records counted for the run.
diagnosticCountOperational issues recorded for the run.
dataAvailableWhether at least one stream row was saved.
maxItemsStream limit requested.
generatedByGenerator label recorded in the actor build.
runtimeSecondsMeasured run time in seconds.
completedAtTime the summary was written, in ISO UTC.
runStatusCanonical run status; matches status.
StatusData statusMeaning
SUCCEEDEDCOMPLETEEligible results were saved without an extraction problem.
SUCCEEDEDPARTIALSome results were saved, but a later problem prevented a complete run. Saved rows remain available.
SUCCEEDEDNO_RESULTSThe source completed cleanly and returned no matching results.
FAILEDFAILEDA fatal error occurred before any usable result was saved.

Example OUTPUT from the saved run:

{
"status": "SUCCEEDED",
"dataStatus": "COMPLETE",
"query": "top-live",
"fixtureMode": false,
"sourceTransport": "direct_twitch_gql",
"sourceUrl": "https://www.twitch.tv/directory/all?sort=VIEWER_COUNT",
"extractedCount": 30,
"usableCount": 30,
"responseSignals": {
"streamNodeCount": 30,
"gqlPageCount": 1,
"responseBytes": 16255
},
"recordsStored": 5,
"dataRecordCount": 5,
"diagnosticCount": 0,
"dataAvailable": true,
"maxItems": 5,
"generatedBy": "OpenAI Codex with GPT-6",
"runtimeSeconds": 0,
"completedAt": "2026-10-25T20:45:14.335Z",
"runStatus": "SUCCEEDED"
}

Coverage and limitations

The Actor reads public data from Twitch for the overall live directory or one category per run. It reads the anonymous GraphQL response first. If that yields no usable streams, it falls back to the official directory page and one bounded browser render of that same page. maxItems caps saved stream cards; GraphQL pagination stops when enough usable cards are collected, the source has no next page, or the 10-page bound is reached.

The Actor does not log in to private accounts or bypass access controls. proxyConfiguration is optional for legitimate network routing; do not use it to work around HTTP 403/429, challenges, or CAPTCHAs. Optional fields are omitted when the source does not publish them; values are not inferred. Source availability can change, and blocked, empty, or partial responses are reported in the run summary rather than written as data rows. Optional Apify Proxy settings are supported when supplied.

Usage and support

Cost depends on Apify compute, one directory or category page request, and optional proxy or browser work if the GraphQL path returns nothing. Start with a small maxItems, inspect the dataset and run summary, then scale gradually. See the Actor's Pricing tab for current account rates.

Use the Actor Issues page to report a problem. Include the run ID, the input used, and the run summary; do not include tokens, cookies, or private data. This Actor is not affiliated with Twitch. Use it only for public data and in accordance with the source's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.