Twitch Public Streams, Channels, Videos and Clips Scraper avatar

Twitch Public Streams, Channels, Videos and Clips Scraper

Pricing

from $2.99 / 1,000 streams

Go to Apify Store
Twitch Public Streams, Channels, Videos and Clips Scraper

Twitch Public Streams, Channels, Videos and Clips Scraper

Extract public Twitch streams, games, channels, videos, clips, and search results through Twitch's anonymous web GraphQL surface with bounded pagination and request pacing.

Pricing

from $2.99 / 1,000 streams

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

2

Monthly active users

23 days ago

Last modified

Categories

Features

Limited permissions

Share

This Actor extracts public Twitch discovery data through Twitch's anonymous web GraphQL surface. It supports live streams, games and categories, search results, channel profiles, VODs, clips, and public Twitch URLs without a login or developer API key. Each row keeps the public identity, canonical URL, title, channel and game context, counters, media URLs, timestamps, and source provenance that the selected mode exposes.

Get started

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Choose mode, then supply its target: searchQuery for search, channelName for byChannel, categorySlug for byCategory and topClips, videoId for byVideo, clipSlug for byClip, or twitchUrls for byUrl. topStreams and topGames need no extra target.
  3. Keep maxItems, maxPages, 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

Fields marked Required must be supplied. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
modestring enumRequiredtopStreamsChoose the public Twitch resource to extract. Allowed values: "topStreams", "topGames", "search", "byChannel", "byCategory", "topClips", "byVideo", "byClip", "byUrl".
searchQuerystringOptionallirikSearch phrase used by search mode.
searchTypestring enumOptionalallReturn all supported search types or only channels, games, or videos.
channelNamestringOptionalNot suppliedChannel login, for example lirik.
categorySlugstringOptionalNot suppliedThe value after /directory/category/, for example just-chatting.
videoIdstringOptionalNot suppliedNumeric Twitch VOD identifier for byVideo mode.
clipSlugstringOptionalNot suppliedPublic Twitch clip slug for byClip mode.
twitchUrlsarrayOptional[]Public channel, category, VOD, or clip URLs for byUrl mode.
languagestring enumOptionalENFilter stream queries by Twitch broadcast language. Select Any for no language filter. Allowed values: "", "EN", "ES", "DE", "FR", "PT", "RU", "JA", "KO", "ZH", "IT", "TR", "PL", "AR", "TH", "ID", "VI", "NL", "SV", "FI", "DA", "NO", "CS", "HU", "EL", "RO", "BG", "UK", "HE", "MS", "TL", "ASL", "OTHER".
videoSortstring enumOptionalTIMESort channel VODs by publication time or public view count. Allowed values: "TIME", "VIEWS".
streamTypestring enumOptional""Optionally keep only a specific channel video broadcast type. Allowed values: "", "ARCHIVE", "HIGHLIGHT", "UPLOAD", "PAST_PREMIERE", "PREMIERE_UPLOAD".
clipPeriodstring enumOptionalLAST_WEEKTime window used for channel and category clip queries. Allowed values: "LAST_DAY", "LAST_WEEK", "LAST_MONTH", "ALL_TIME".
includeChannelVideosbooleanOptionaltrueInclude recent public videos when using byChannel mode.
includeChannelClipsbooleanOptionaltrueInclude public clips when using byChannel mode.
minViewersCountintegerOptional0Discard live streams below this current viewer count. 0–1000000.
minViewCountintegerOptional0Discard videos and clips below this public view count. 0–100000000.
containsKeywordstringOptionalNot suppliedCase-insensitive stream, VOD, or clip title filter.
maxItemsintegerOptional50Hard cap on unique dataset records. 1–300.
pageSizeintegerOptional30Number of connection items requested from Twitch per page. 1–30.
maxPagesintegerOptional5Maximum pages fetched from each paginated Twitch connection. 1–10.
minDelayMsintegerOptional350Minimum delay between public Twitch GraphQL requests.
requestTimeoutSecsintegerOptional30Abort an individual Twitch request after this many seconds. 10–90.
maxResponseBytesintegerOptional2000000Maximum size of an individual Twitch GraphQL response, 100,000–10,000,000 bytes.

Default input:

{
"mode": "topStreams",
"language": "EN",
"maxItems": 50,
"pageSize": 30,
"maxPages": 5,
"minDelayMs": 350,
"requestTimeoutSecs": 30,
"maxResponseBytes": 2000000
}

The defaults are ready for topStreams. Supply a target for modes that need one: search uses searchQuery (default lirik), byChannel uses channelName, byCategory and topClips use categorySlug, byVideo uses videoId, byClip uses clipSlug, and byUrl uses twitchUrls. Without the matching target, the run is rejected before requests start.

The Actor reads public data from Twitch over bounded direct HTTPS GraphQL requests. No proxy input is exposed.

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 discriminator for a successful public Twitch record. Allowed values: "stream", "channel", "game", "video", "clip".
sourcestringAlwaysPublic source host; twitch.tv for the archived rows.
provenancestringAlwaysSource and extraction provenance; public_twitch_anonymous_graphql for the archived rows.
sourceUrlstringAlwaysPublic Twitch URL or GraphQL endpoint used for the record.
urlstringAlwaysCanonical public Twitch URL.
streamIdstringWhen publishedPublic live stream ID.
channelIdstringWhen publishedPublic channel ID.
channelNamestringWhen publishedTwitch channel login.
channelSlugstringWhen publishedNormalized channel slug.
displayNamestringWhen publishedPublic channel or owner display name.
gameIdstringWhen publishedPublic game/category ID.
gameNamestringWhen publishedPublic game/category name.
gameSlugstringWhen publishedPublic game/category slug.
videoIdstringWhen publishedPublic VOD ID.
clipIdstringWhen publishedPublic clip ID.
slugstringWhen publishedPublic game or clip slug.
titlestringAlwaysPublic stream, video, clip, or game title.
namestringWhen publishedPublic game/category name.
descriptionstringWhen publishedPublic channel or video description.
viewersCountintegerWhen publishedCurrent live viewer count.
viewCountintegerWhen publishedPublic VOD or clip view count.
followersCountintegerWhen publishedPublic channel follower count.
durationSecondsnumberWhen publishedPublic clip duration in seconds.
lengthSecondsintegerWhen publishedPublic VOD length in seconds.
lengthMinutesnumberWhen publishedPublic VOD length in minutes.
languagestringWhen publishedPublic broadcast language.
broadcastTypestringWhen publishedPublic VOD broadcast type.
tagsarrayWhen publishedPublic stream or game tags.
tagCountintegerWhen publishedNumber of public tags.
tagsTextstringWhen publishedComma-separated public tags.
isLivebooleanWhen publishedWhether the public record is live.
isPublishedbooleanWhen publishedWhether a public VOD has a published timestamp.
isPartnerbooleanWhen publishedPublic partner flag.
isAffiliatebooleanWhen publishedPublic affiliate flag.
isStaffbooleanWhen publishedPublic staff flag when exposed.
hasBoxArtbooleanWhen publishedWhether public game art is available.
profileImageURLstringWhen publishedPublic profile image URL.
bannerImageURLstringWhen publishedPublic channel banner URL.
offlineImageURLstringWhen publishedPublic offline image URL.
previewImageURLstringWhen publishedPublic stream/VOD preview image URL.
thumbnailURLstringWhen publishedPublic clip thumbnail URL.
boxArtURLstringWhen publishedPublic game box-art URL.
embedURLstringWhen publishedPublic clip embed URL.
channelURLstringWhen publishedPublic channel URL.
categoryURLstringWhen publishedPublic game/category URL.
videoURLstringWhen publishedPublic VOD URL.
clipURLstringWhen publishedPublic clip URL.
gameURLstringWhen publishedPublic game/category URL.
createdAtstringWhen publishedPublic creation timestamp.
publishedAtstringWhen publishedPublic publication timestamp.
originalReleaseDatestringWhen publishedPublic game release date when exposed.
primaryColorHexstringWhen publishedPublic channel color.
curatorIdstringWhen publishedPublic clip curator ID.
curatorNamestringWhen publishedPublic clip curator name.
sourceVideoIdstringWhen publishedPublic source VOD ID for a clip.
videoOffsetSecondsnumberWhen publishedClip offset in the source VOD.
liveStreamobjectWhen publishedNested public live-stream snapshot on a channel record.
lastBroadcastobjectWhen publishedNested public last-broadcast metadata.
curatorobjectWhen publishedNested public clip curator metadata.
scrapedAtstringAlwaysUTC extraction timestamp.

The example below is a complete saved stream row from the 2026-10-25 topStreams run.

{
"recordType": "stream",
"source": "twitch.tv",
"provenance": "public_twitch_anonymous_graphql",
"sourceUrl": "https://www.twitch.tv/caedrel",
"url": "https://www.twitch.tv/caedrel",
"scrapedAt": "2026-10-25T20:44:51.933Z",
"streamId": "318122066788",
"title": "🔴WORLDS 2026 SWISS STAGE DAY 3 LYON VS GENG🔴",
"titleLength": 46,
"titleWordCount": 9,
"viewersCount": 225582,
"viewersCountText": "225,582",
"streamType": "live",
"isLive": true,
"previewImageURL": "https://static-cdn.jtvnw.net/previews-ttv/live_user_caedrel-640x360.jpg",
"previewImageWidth": 640,
"previewImageHeight": 360,
"height": 1080,
"width": 1920,
"channelId": "92038375",
"channelName": "caedrel",
"channelSlug": "caedrel",
"displayName": "Caedrel",
"profileImageURL": "https://static-cdn.jtvnw.net/jtv_user_pictures/483a37ac-58fd-4e2f-8dc3-2c68a0164112-profile_image-70x70.png",
"primaryColorHex": "8205B3",
"isPartner": true,
"channelURL": "https://www.twitch.tv/caedrel",
"gameId": "21779",
"gameName": "League of Legends",
"gameSlug": "league-of-legends",
"gameURL": "https://www.twitch.tv/directory/category/league-of-legends",
"boxArtURL": "https://static-cdn.jtvnw.net/ttv-boxart/21779-285x380.jpg",
"tags": [
"English",
"LPL",
"LCK",
"LEC",
"Worlds",
"Esports",
"DropsEnabled"
],
"tagCount": 7,
"tagsText": "English, LPL, LCK, LEC, Worlds, Esports, DropsEnabled"
}

The archived stream rows also contain the following fields, which are not declared in the dataset schema. They are emitted for stream records by the current GraphQL mapping.

Observed fieldTypeMeaning
titleLengthintegerCharacter length of the public stream title.
titleWordCountintegerWord count of the public stream title.
viewersCountTextstringViewer count formatted by the source, such as 225,582.
streamTypestringStream type label, such as live.
previewImageWidthintegerWidth of the preview image.
previewImageHeightintegerHeight of the preview image.
heightintegerSource video height in pixels.
widthintegerSource video width in pixels.

Run summary

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

FieldMeaning
recordTypeSummary discriminator; twitch-summary.
statusRun outcome; SUCCEEDED or FAILED.
dataStatusDataset completeness: COMPLETE, PARTIAL, NO_RESULTS, or FAILED.
dataAvailableWhether at least one public record was saved.
actorActor slug; twitch-scraper.
sourceSource host; twitch.tv.
provenanceExtraction provenance; public_twitch_anonymous_graphql.
sourceTransportTransport label; fetch for direct GraphQL requests.
sourceUrlGraphQL endpoint or public page used for the run.
fixtureModeWhether a bundled QA fixture was used instead of the live source.
modeMode requested for the run.
requestedMaxItemsRecord limit requested.
itemsStoredRecords written to the dataset.
recordTypesDistinct record types saved, such as ["stream"].
recordsStoredComplete records written.
dataRecordCountData records counted for the run.
diagnosticCountOperational issues recorded for the run.
generatedByGenerator label recorded in the actor build.
durationMsMeasured collection time in milliseconds.
scrapedAtTime 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.

Current builds also write dataStatusReason when pagination stops early; the archived example predates it.

Example OUTPUT from the saved run:

{
"recordType": "twitch-summary",
"status": "SUCCEEDED",
"dataStatus": "COMPLETE",
"dataAvailable": true,
"actor": "twitch-scraper",
"source": "twitch.tv",
"provenance": "public_twitch_anonymous_graphql",
"sourceTransport": "fetch",
"sourceUrl": "https://gql.twitch.tv/gql",
"fixtureMode": false,
"mode": "topStreams",
"requestedMaxItems": 10,
"itemsStored": 10,
"recordTypes": [
"stream"
],
"recordsStored": 10,
"dataRecordCount": 10,
"diagnosticCount": 0,
"generatedBy": "OpenAI Codex with GPT-6",
"durationMs": 967,
"scrapedAt": "2026-10-25T20:44:52.900Z",
"runStatus": "SUCCEEDED"
}

Coverage and limitations

The Actor reads public data from Twitch through the anonymous web GraphQL surface. It supports top streams, top games, search, channel profiles with optional VODs and clips, category streams, category clips, single VODs, single clips, and URL resolution. maxPages and pageSize bound each paginated connection; maxItems caps unique saved records. The selected mode determines which record types appear.

The Actor does not log in to private accounts, use a developer API key, scrape chat, access subscriber-only content, or bypass access controls. 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.

Usage and support

Cost depends on Apify compute and the number of GraphQL requests. A run makes one or more paginated requests depending on maxPages, pageSize, and the selected mode; byChannel can add VOD and clip requests when those options are enabled. Start with small item and page limits, 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.