{
  "data": {
    "id": "YXRY87aO77hhiTxV0",
    "actId": "h7JMv6cE6NcHPySPs",
    "userId": "tnBVjt3CXmcUrEE3L",
    "startedAt": "2026-11-29T05:42:27.027Z",
    "finishedAt": "2026-11-29T05:42:40.603Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "inputSchema": "{\n  \"title\": \"Twitch VOD Chat Replay Input\",\n  \"description\": \"Export a Twitch VOD chat replay with per-minute activity, list channel emotes, or extract team rosters. Cookieless; no login or proxy setup required.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to extract.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"vodChat\",\n        \"channelChat\",\n        \"emotes\",\n        \"teams\"\n      ],\n      \"enumTitles\": [\n        \"VOD chat replay by ID or URL\",\n        \"Chat replay from recent channel VODs\",\n        \"Channel emote catalog\",\n        \"Team member rosters\"\n      ],\n      \"default\": \"channelChat\",\n      \"prefill\": \"channelChat\"\n    },\n    \"vodIds\": {\n      \"title\": \"VOD IDs or URLs\",\n      \"type\": \"array\",\n      \"description\": \"(mode=vodChat) Twitch VOD IDs or full URLs, e.g. `2926946185` or `https://www.twitch.tv/videos/2926946185`.\",\n      \"editor\": \"stringList\",\n      \"sectionCaption\": \"VOD and channel selection\"\n    },\n    \"channelLogins\": {\n      \"title\": \"Channel logins\",\n      \"type\": \"array\",\n      \"description\": \"(mode=channelChat, emotes) Channel logins or URLs, e.g. `shroud` or `https://www.twitch.tv/shroud`. Used as the channel for the emote catalog and as the VOD source in channel chat mode.\",\n      \"editor\": \"stringList\",\n      \"prefill\": [\n        \"shroud\"\n      ]\n    },\n    \"teamNames\": {\n      \"title\": \"Team names\",\n      \"type\": \"array\",\n      \"description\": \"(mode=teams) Twitch team names or team URLs, e.g. `nrg` or `https://www.twitch.tv/team/nrg`.\",\n      \"editor\": \"stringList\"\n    },\n    \"maxVodsPerChannel\": {\n      \"title\": \"Max VODs per channel\",\n      \"type\": \"integer\",\n      \"description\": \"(mode=channelChat) How many matching VODs to read per channel.\",\n      \"default\": 5,\n      \"prefill\": 1,\n      \"minimum\": 1,\n      \"maximum\": 50\n    },\n    \"vodType\": {\n      \"title\": \"VOD type\",\n      \"type\": \"string\",\n      \"description\": \"(mode=channelChat) Which kind of VOD to select. Highlights and uploads often have no chat replay.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"ARCHIVE\",\n        \"HIGHLIGHT\",\n        \"UPLOAD\",\n        \"ALL\"\n      ],\n      \"enumTitles\": [\n        \"Past broadcasts (archives)\",\n        \"Highlights\",\n        \"Uploads\",\n        \"All types\"\n      ],\n      \"default\": \"ARCHIVE\",\n      \"prefill\": \"ARCHIVE\"\n    },\n    \"vodPublishedAfter\": {\n      \"title\": \"VOD published after\",\n      \"type\": \"string\",\n      \"description\": \"(mode=channelChat) Optional earliest VOD date, inclusive, in `YYYY-MM-DD` format (UTC).\",\n      \"editor\": \"datepicker\"\n    },\n    \"vodPublishedBefore\": {\n      \"title\": \"VOD published before\",\n      \"type\": \"string\",\n      \"description\": \"(mode=channelChat) Optional latest VOD date, inclusive, in `YYYY-MM-DD` format (UTC).\",\n      \"editor\": \"datepicker\"\n    },\n    \"startOffsetSeconds\": {\n      \"title\": \"Start offset (seconds)\",\n      \"type\": \"integer\",\n      \"description\": \"(mode=vodChat, channelChat) Skip chat before this many seconds into each VOD.\",\n      \"default\": 0,\n      \"prefill\": 0,\n      \"minimum\": 0,\n      \"maximum\": 10000000,\n      \"sectionCaption\": \"Chat replay options\"\n    },\n    \"endOffsetSeconds\": {\n      \"title\": \"End offset (seconds)\",\n      \"type\": \"integer\",\n      \"description\": \"(mode=vodChat, channelChat) Stop after this many seconds into each VOD. Leave empty to read to the end.\",\n      \"minimum\": 0,\n      \"maximum\": 10000000\n    },\n    \"keywords\": {\n      \"title\": \"Keyword filter\",\n      \"type\": \"array\",\n      \"description\": \"(mode=vodChat, channelChat) Keep only messages containing at least one of these words (or all of them when match mode is ALL). Leave empty to keep every message.\",\n      \"editor\": \"stringList\"\n    },\n    \"keywordMatch\": {\n      \"title\": \"Keyword match\",\n      \"type\": \"string\",\n      \"description\": \"(mode=vodChat, channelChat) Whether one keyword or every keyword must appear in the message.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"ANY\",\n        \"ALL\"\n      ],\n      \"enumTitles\": [\n        \"Any keyword\",\n        \"All keywords\"\n      ],\n      \"default\": \"ANY\",\n      \"prefill\": \"ANY\"\n    },\n    \"includeSystemMessages\": {\n      \"title\": \"Include system messages\",\n      \"type\": \"boolean\",\n      \"description\": \"(mode=vodChat, channelChat) Keep subscription, gift, raid, watch-streak and moderation notices. Turn off to keep only viewer-authored messages.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"includeBadges\": {\n      \"title\": \"Include badges\",\n      \"type\": \"boolean\",\n      \"description\": \"(mode=vodChat, channelChat) Add chat badges and subscriber, moderator, VIP and bits flags to each message.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"includeAggregates\": {\n      \"title\": \"Include per-minute aggregates\",\n      \"type\": \"boolean\",\n      \"description\": \"(mode=vodChat, channelChat) Add one extra row per minute with message count, unique chatters and top emotes. Useful for finding highlight moments.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"includeGlobalEmotes\": {\n      \"title\": \"Include global emotes\",\n      \"type\": \"boolean\",\n      \"description\": \"(mode=emotes) Also return Twitch's global emote catalog alongside each channel's subscriber and follower emotes.\",\n      \"default\": false,\n      \"prefill\": false,\n      \"sectionCaption\": \"Emote catalog options\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum primary rows to save: chat messages (vodChat, channelChat), emote rows (emotes), or team rows (teams). Minute aggregates are additional rows.\",\n      \"default\": 1000,\n      \"prefill\": 1,\n      \"minimum\": 1,\n      \"maximum\": 100000,\n      \"sectionCaption\": \"Output\"\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Twitch VOD Chat Replay, Emote Catalog & Team Roster\n\nDownload a Twitch VOD's full timestamped chat replay, see how chat activity rises and falls minute by minute, pull a channel's subscriber and follower emotes with working CDN images, and export the member roster of any Twitch team — all without a Twitch login, OAuth token, cookie, or proxy setup.\n\nTwitch keeps a public chat replay for most archived broadcasts. This actor walks that replay from the first second to the last, or from any start/end offset you choose, and writes one clean JSON row per message. It also returns optional per-minute aggregation rows so you can spot raid spikes, giveaway storms, and the exact minute a highlight happened.\n\n## What you can extract\n\n| Mode | What it returns |\n|---|---|\n| `vodChat` | Every chat message in one or more VODs you specify by ID or URL |\n| `channelChat` | Chat replay from the newest N VODs of one or more channels, filtered by VOD type and publish date |\n| `emotes` | A channel's subscriber emotes per tier, follower emotes, and optionally Twitch's global emote set |\n| `teams` | Team profile and the complete member roster, including members beyond the first page |\n\n## Input\n\n| Field | Type | Default | What it does |\n|---|---|---|---|\n| `mode` | string | `channelChat` | What to extract: `vodChat`, `channelChat`, `emotes`, or `teams`. |\n| `vodIds` | array | – | VOD IDs or full VOD URLs for `vodChat`, e.g. `2926946185` or `https://www.twitch.tv/videos/2926946185`. |\n| `channelLogins` | array | – | Channel logins or channel URLs for `channelChat` and `emotes`, e.g. `shroud` or `https://www.twitch.tv/shroud`. |\n| `teamNames` | array | – | Team names or team URLs for `teams`, e.g. `nrg` or `https://www.twitch.tv/team/nrg`. |\n| `maxVodsPerChannel` | integer | `5` | How many matching VODs to read per channel in `channelChat`. |\n| `vodType` | string | `ARCHIVE` | `ARCHIVE`, `HIGHLIGHT`, `UPLOAD`, or `ALL`. Highlights and uploads may not have a chat replay. |\n| `vodPublishedAfter` | string | – | Earliest VOD publish date, inclusive, as `YYYY-MM-DD` in UTC. |\n| `vodPublishedBefore` | string | – | Latest VOD publish date, inclusive, as `YYYY-MM-DD` in UTC. |\n| `startOffsetSeconds` | integer | `0` | Skip chat before this many seconds into each VOD. |\n| `endOffsetSeconds` | integer | – | Stop after this many seconds into each VOD. Leave empty to read to the end. |\n| `keywords` | array | – | Keep only messages containing a keyword. Works with unicode and treats punctuation literally. |\n| `keywordMatch` | string | `ANY` | `ANY` keeps messages with at least one keyword; `ALL` requires every keyword. |\n| `includeSystemMessages` | boolean | `true` | Keep subscription, gift, raid, watch-streak, moderation, and room-mode notices. Turn off for viewer-authored messages only. |\n| `includeBadges` | boolean | `true` | Add badges plus subscriber, moderator, VIP, broadcaster, and bits flags to each chat row. |\n| `includeAggregates` | boolean | `false` | Add one extra row per minute with message count, unique chatters, and top emotes. |\n| `includeGlobalEmotes` | boolean | `false` | In `emotes` mode, also return Twitch's global emote catalog. |\n| `maxItems` | integer | `1000` | Maximum primary rows: chat messages, emote rows, or team rows. Minute aggregates are additional. |\n\n## Examples\n\n### Full chat replay for one VOD\n\n```json\n{\n  \"mode\": \"vodChat\",\n  \"vodIds\": [\"2926946185\"],\n  \"includeBadges\": true,\n  \"includeAggregates\": true,\n  \"maxItems\": 5000\n}\n```\n\n### A 10-minute window around a moment you want to review\n\n```json\n{\n  \"mode\": \"vodChat\",\n  \"vodIds\": [\"https://www.twitch.tv/videos/2926946185\"],\n  \"startOffsetSeconds\": 5400,\n  \"endOffsetSeconds\": 6000,\n  \"keywords\": [\"clutch\", \"no way\"],\n  \"keywordMatch\": \"ANY\",\n  \"maxItems\": 2000\n}\n```\n\n### Chat from a channel's last three archived streams\n\n```json\n{\n  \"mode\": \"channelChat\",\n  \"channelLogins\": [\"shroud\"],\n  \"maxVodsPerChannel\": 3,\n  \"vodType\": \"ARCHIVE\",\n  \"maxItems\": 20000\n}\n```\n\n### Emote catalog with tier and image URLs\n\n```json\n{\n  \"mode\": \"emotes\",\n  \"channelLogins\": [\"xqc\", \"pokimane\"],\n  \"includeGlobalEmotes\": true,\n  \"maxItems\": 500\n}\n```\n\n### Team roster\n\n```json\n{\n  \"mode\": \"teams\",\n  \"teamNames\": [\"nrg\", \"cloud9\"],\n  \"maxItems\": 10\n}\n```\n\n## Chat message output\n\nEach `chatMessage` row carries the VOD metadata plus:\n\n| Field | Description |\n|---|---|\n| `messageId` | Twitch's unique chat message ID. |\n| `offsetSeconds` | Seconds from the start of the VOD. |\n| `offsetHms` | The same offset formatted as `hh:mm:ss`. |\n| `createdAt` | Wall-clock UTC time the message was posted. |\n| `commenterId`, `commenterLogin`, `commenterDisplayName` | The sender's Twitch identity. |\n| `userColor` | The sender's chat colour, when Twitch provides one. |\n| `messageText` | The complete plain-text message. |\n| `fragments` | Ordered text and emote fragments, including emote ID, name, position, and a CDN image URL. |\n| `emotes` | A flat list of the emotes used in the message. |\n| `badges` | Badge set ID, version, and a readable type such as `subscriber`, `moderator`, `vip`, `bits`, or `channelBadge`. |\n| `isSubscriber`, `isModerator`, `isVip`, `hasBitsBadge`, `isBroadcaster`, `isStaff` | Convenience flags derived from the badges. |\n| `isSystemMessage`, `systemMessageType` | Flags subscription, gift, raid, watch-streak, follow, moderation, room-mode, announcement, and milestone notices. |\n| `subscriberMonths` | Parsed from subscription notices that state a tenure. |\n| `bitsUsed` | Parsed when a notice states a bits amount. |\n| `vodId`, `vodUrl`, `vodTitle`, `vodLengthSeconds`, `vodViewCount`, `vodCreatedAt`, `vodPublishedAt`, `vodBroadcastType`, `vodStatus`, `vodLanguage` | Source VOD metadata. |\n| `channelId`, `channelLogin`, `channelDisplayName`, `gameId`, `gameName`, `sourceUrl` | Source channel and category metadata. |\n| `recordType`, `scrapedAt` | Row type and extraction timestamp. |\n\n### Per-minute aggregate output\n\nWhen `includeAggregates` is on, a `chatMinute` row is added for every minute that contains matching messages:\n\n| Field | Description |\n|---|---|\n| `minuteOffsetSeconds` | Minute start in seconds. |\n| `minuteStartHms`, `minuteEndHms` | Minute boundaries as `hh:mm:ss`. |\n| `messageCount` | Messages kept in that minute. |\n| `uniqueChatterCount` | Distinct commenter logins in that minute. |\n| `topEmotes` | Up to five `{name, count}` entries, sorted by count. |\n| VOD and channel metadata | The same source fields as chat rows, so aggregates can be joined or filtered without a lookup. |\n\n## Emote output\n\nEach `emote` row contains `channelLogin`, `channelId`, `channelDisplayName`, `emoteId`, `emoteName`, `emoteSetId`, `emoteSetName`, `tier`, `tierLabel`, `emoteType`, `animated`, `assetType`, `state`, `imageUrl`, `imageUrl1x`, `imageUrl2x`, `animatedImageUrl`, `sourceUrl`, `recordType`, and `scrapedAt`.\n\n`tier` is `1000`, `2000`, or `3000` for subscriber emotes, `follower` for follower emotes, and `global` for the optional global catalog. `emoteType` is `subscription`, `follower`, or `global`. `imageUrl` and the 1x/2x variants point at Twitch's static CDN; animated emotes also get `animatedImageUrl`.\n\n## Team output\n\nEach `team` row contains `teamId`, `teamName`, `teamDisplayName`, `teamDescription`, `teamBannerUrl`, `teamLogoUrl`, `teamOwnerLogin`, `teamOwnerDisplayName`, `memberCount`, `capturedMemberCount`, `members`, `sourceUrl`, `recordType`, and `scrapedAt`.\n\n`members` is a complete roster of `{userId, login, displayName}` objects. The actor follows Twitch's team-member cursor to the end of the roster, so `capturedMemberCount` normally equals `memberCount`.\n\n## Use cases\n\n- Build a chat dataset for moderation-classifier training or sentiment analysis.\n- Find the exact minute of a raid, giveaway, or clutch play for clip editing.\n- Measure chat velocity and unique participation across a stream.\n- Export a channel's emote catalog with ready-to-use image URLs for chat overlays or archives.\n- Keep a searchable roster of Twitch teams for esports research or partnership tracking.\n- Review subscriber and watch-streak messages in a chosen VOD window.\n\n## Limitations\n\n- Twitch only exposes chat replay for VODs it still hosts. Expired VODs return no messages.\n- Channels can disable chat replay or enable subscriber-only chat; anonymous requests then return nothing. The run status says when a VOD has no chat replay.\n- Chat replay does not expose a moderator action log. Bans, timeouts, and deleted messages may be absent or look like ordinary messages.\n- Twitch does not return a bits amount in the chat-replay schema. `hasBitsBadge` is available, and `bitsUsed` is filled when a notice states the amount, but a per-message bits total is not available.\n- Bits-tier cheer emotes are not in the public channel emote response used here. Subscriber and follower emotes are complete; the global catalog is available as an option.\n- System-message detection is text-based because the replay schema has no event-type field. A viewer typing an exact subscription notice could be classified as a system message.\n- Live chat is out of scope. This actor reads finished VOD replays, not the live IRC/WebSocket stream.\n- Very long VODs can produce tens of thousands of messages. Use `maxItems` and the time window to keep a run small.\n\n## Frequently asked questions\n\n**Do I need a Twitch account or API key?**\nNo. The actor uses Twitch's public web data. It never asks for a login, cookie, OAuth token, or proxy configuration.\n\n**How far back can I go?**\nAs far back as Twitch still hosts the VOD and its chat replay. `channelChat` can scan recent VODs by type and date; `vodChat` accepts any VOD ID or URL that still resolves.\n\n**Why did a VOD return zero messages?**\nThe VOD may have no chat replay, subscriber-only chat, or an expired chat archive. The status message names how many VODs had no replay. Try another VOD from the same channel or a different date range.\n\n**What is the difference between `messageText` and `fragments`?**\n`messageText` is the readable message with emote tokens left in place. `fragments` preserves the original structure: text runs and emote runs with IDs, names, positions, and image URLs.\n\n**Can I filter by a specific user?**\nUse `keywords` to match message content. Per-user filtering is not a separate field; filter the dataset on `commenterLogin` after export.\n\n**Why is `subscriberMonths` missing on some subscriber messages?**\nTwitch only states a tenure in subscription notices. A normal message with a subscriber badge does not include a month count, so the field is omitted rather than guessed.\n\n**Can I get every message in a six-hour stream?**\nYes, subject to Twitch's source limits and the `maxItems` cap. Raise `maxItems`, leave the time window open, and let the actor follow the VOD's chat cursor to the end. The run status reports how many messages were saved.\n\n**Are emote image URLs permanent?**\nThey point at Twitch's public emote CDN. They work without a referer or cookie, but Twitch can change or remove an emote at any time.\n\n**Does this download video or clips?**\nNo. It extracts chat text, emote metadata, and team rosters. It does not download video, audio, or clip files.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "twitch-vod-chat-replay-emotes-teams",
      "title": "Twitch VOD Chat Replay, Emote Catalog & Team Roster",
      "description": "Download a Twitch VOD's full chat replay with per-minute activity aggregates, list a channel's subscriber and follower emotes, and export Twitch team rosters. Cookieless, with time-window, keyword and badge filters.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Twitch VOD Chat Replay, Emote Catalog & Team Roster\n\nDownload a Twitch VOD's full timestamped chat replay, see how chat activity rises and falls minute by minute, pull a channel's subscriber and follower emotes with working CDN images, and export the member roster of any Twitch team — all without a Twitch login, OAuth token, cookie, or proxy setup.\n\nTwitch keeps a public chat replay for most archived broadcasts. This actor walks that replay from the first second to the last, or from any start/end offset you choose, and writes one clean JSON row per message. It also returns optional per-minute aggregation rows so you can spot raid spikes, giveaway storms, and the exact minute a highlight happened.\n\n## What you can extract\n\n| Mode | What it returns |\n|---|---|\n| `vodChat` | Every chat message in one or more VODs you specify by ID or URL |\n| `channelChat` | Chat replay from the newest N VODs of one or more channels, filtered by VOD type and publish date |\n| `emotes` | A channel's subscriber emotes per tier, follower emotes, and optionally Twitch's global emote set |\n| `teams` | Team profile and the complete member roster, including members beyond the first page |\n\n## Input\n\n| Field | Type | Default | What it does |\n|---|---|---|---|\n| `mode` | string | `channelChat` | What to extract: `vodChat`, `channelChat`, `emotes`, or `teams`. |\n| `vodIds` | array | – | VOD IDs or full VOD URLs for `vodChat`, e.g. `2926946185` or `https://www.twitch.tv/videos/2926946185`. |\n| `channelLogins` | array | – | Channel logins or channel URLs for `channelChat` and `emotes`, e.g. `shroud` or `https://www.twitch.tv/shroud`. |\n| `teamNames` | array | – | Team names or team URLs for `teams`, e.g. `nrg` or `https://www.twitch.tv/team/nrg`. |\n| `maxVodsPerChannel` | integer | `5` | How many matching VODs to read per channel in `channelChat`. |\n| `vodType` | string | `ARCHIVE` | `ARCHIVE`, `HIGHLIGHT`, `UPLOAD`, or `ALL`. Highlights and uploads may not have a chat replay. |\n| `vodPublishedAfter` | string | – | Earliest VOD publish date, inclusive, as `YYYY-MM-DD` in UTC. |\n| `vodPublishedBefore` | string | – | Latest VOD publish date, inclusive, as `YYYY-MM-DD` in UTC. |\n| `startOffsetSeconds` | integer | `0` | Skip chat before this many seconds into each VOD. |\n| `endOffsetSeconds` | integer | – | Stop after this many seconds into each VOD. Leave empty to read to the end. |\n| `keywords` | array | – | Keep only messages containing a keyword. Works with unicode and treats punctuation literally. |\n| `keywordMatch` | string | `ANY` | `ANY` keeps messages with at least one keyword; `ALL` requires every keyword. |\n| `includeSystemMessages` | boolean | `true` | Keep subscription, gift, raid, watch-streak, moderation, and room-mode notices. Turn off for viewer-authored messages only. |\n| `includeBadges` | boolean | `true` | Add badges plus subscriber, moderator, VIP, broadcaster, and bits flags to each chat row. |\n| `includeAggregates` | boolean | `false` | Add one extra row per minute with message count, unique chatters, and top emotes. |\n| `includeGlobalEmotes` | boolean | `false` | In `emotes` mode, also return Twitch's global emote catalog. |\n| `maxItems` | integer | `1000` | Maximum primary rows: chat messages, emote rows, or team rows. Minute aggregates are additional. |\n\n## Examples\n\n### Full chat replay for one VOD\n\n```json\n{\n  \"mode\": \"vodChat\",\n  \"vodIds\": [\"2926946185\"],\n  \"includeBadges\": true,\n  \"includeAggregates\": true,\n  \"maxItems\": 5000\n}\n```\n\n### A 10-minute window around a moment you want to review\n\n```json\n{\n  \"mode\": \"vodChat\",\n  \"vodIds\": [\"https://www.twitch.tv/videos/2926946185\"],\n  \"startOffsetSeconds\": 5400,\n  \"endOffsetSeconds\": 6000,\n  \"keywords\": [\"clutch\", \"no way\"],\n  \"keywordMatch\": \"ANY\",\n  \"maxItems\": 2000\n}\n```\n\n### Chat from a channel's last three archived streams\n\n```json\n{\n  \"mode\": \"channelChat\",\n  \"channelLogins\": [\"shroud\"],\n  \"maxVodsPerChannel\": 3,\n  \"vodType\": \"ARCHIVE\",\n  \"maxItems\": 20000\n}\n```\n\n### Emote catalog with tier and image URLs\n\n```json\n{\n  \"mode\": \"emotes\",\n  \"channelLogins\": [\"xqc\", \"pokimane\"],\n  \"includeGlobalEmotes\": true,\n  \"maxItems\": 500\n}\n```\n\n### Team roster\n\n```json\n{\n  \"mode\": \"teams\",\n  \"teamNames\": [\"nrg\", \"cloud9\"],\n  \"maxItems\": 10\n}\n```\n\n## Chat message output\n\nEach `chatMessage` row carries the VOD metadata plus:\n\n| Field | Description |\n|---|---|\n| `messageId` | Twitch's unique chat message ID. |\n| `offsetSeconds` | Seconds from the start of the VOD. |\n| `offsetHms` | The same offset formatted as `hh:mm:ss`. |\n| `createdAt` | Wall-clock UTC time the message was posted. |\n| `commenterId`, `commenterLogin`, `commenterDisplayName` | The sender's Twitch identity. |\n| `userColor` | The sender's chat colour, when Twitch provides one. |\n| `messageText` | The complete plain-text message. |\n| `fragments` | Ordered text and emote fragments, including emote ID, name, position, and a CDN image URL. |\n| `emotes` | A flat list of the emotes used in the message. |\n| `badges` | Badge set ID, version, and a readable type such as `subscriber`, `moderator`, `vip`, `bits`, or `channelBadge`. |\n| `isSubscriber`, `isModerator`, `isVip`, `hasBitsBadge`, `isBroadcaster`, `isStaff` | Convenience flags derived from the badges. |\n| `isSystemMessage`, `systemMessageType` | Flags subscription, gift, raid, watch-streak, follow, moderation, room-mode, announcement, and milestone notices. |\n| `subscriberMonths` | Parsed from subscription notices that state a tenure. |\n| `bitsUsed` | Parsed when a notice states a bits amount. |\n| `vodId`, `vodUrl`, `vodTitle`, `vodLengthSeconds`, `vodViewCount`, `vodCreatedAt`, `vodPublishedAt`, `vodBroadcastType`, `vodStatus`, `vodLanguage` | Source VOD metadata. |\n| `channelId`, `channelLogin`, `channelDisplayName`, `gameId`, `gameName`, `sourceUrl` | Source channel and category metadata. |\n| `recordType`, `scrapedAt` | Row type and extraction timestamp. |\n\n### Per-minute aggregate output\n\nWhen `includeAggregates` is on, a `chatMinute` row is added for every minute that contains matching messages:\n\n| Field | Description |\n|---|---|\n| `minuteOffsetSeconds` | Minute start in seconds. |\n| `minuteStartHms`, `minuteEndHms` | Minute boundaries as `hh:mm:ss`. |\n| `messageCount` | Messages kept in that minute. |\n| `uniqueChatterCount` | Distinct commenter logins in that minute. |\n| `topEmotes` | Up to five `{name, count}` entries, sorted by count. |\n| VOD and channel metadata | The same source fields as chat rows, so aggregates can be joined or filtered without a lookup. |\n\n## Emote output\n\nEach `emote` row contains `channelLogin`, `channelId`, `channelDisplayName`, `emoteId`, `emoteName`, `emoteSetId`, `emoteSetName`, `tier`, `tierLabel`, `emoteType`, `animated`, `assetType`, `state`, `imageUrl`, `imageUrl1x`, `imageUrl2x`, `animatedImageUrl`, `sourceUrl`, `recordType`, and `scrapedAt`.\n\n`tier` is `1000`, `2000`, or `3000` for subscriber emotes, `follower` for follower emotes, and `global` for the optional global catalog. `emoteType` is `subscription`, `follower`, or `global`. `imageUrl` and the 1x/2x variants point at Twitch's static CDN; animated emotes also get `animatedImageUrl`.\n\n## Team output\n\nEach `team` row contains `teamId`, `teamName`, `teamDisplayName`, `teamDescription`, `teamBannerUrl`, `teamLogoUrl`, `teamOwnerLogin`, `teamOwnerDisplayName`, `memberCount`, `capturedMemberCount`, `members`, `sourceUrl`, `recordType`, and `scrapedAt`.\n\n`members` is a complete roster of `{userId, login, displayName}` objects. The actor follows Twitch's team-member cursor to the end of the roster, so `capturedMemberCount` normally equals `memberCount`.\n\n## Use cases\n\n- Build a chat dataset for moderation-classifier training or sentiment analysis.\n- Find the exact minute of a raid, giveaway, or clutch play for clip editing.\n- Measure chat velocity and unique participation across a stream.\n- Export a channel's emote catalog with ready-to-use image URLs for chat overlays or archives.\n- Keep a searchable roster of Twitch teams for esports research or partnership tracking.\n- Review subscriber and watch-streak messages in a chosen VOD window.\n\n## Limitations\n\n- Twitch only exposes chat replay for VODs it still hosts. Expired VODs return no messages.\n- Channels can disable chat replay or enable subscriber-only chat; anonymous requests then return nothing. The run status says when a VOD has no chat replay.\n- Chat replay does not expose a moderator action log. Bans, timeouts, and deleted messages may be absent or look like ordinary messages.\n- Twitch does not return a bits amount in the chat-replay schema. `hasBitsBadge` is available, and `bitsUsed` is filled when a notice states the amount, but a per-message bits total is not available.\n- Bits-tier cheer emotes are not in the public channel emote response used here. Subscriber and follower emotes are complete; the global catalog is available as an option.\n- System-message detection is text-based because the replay schema has no event-type field. A viewer typing an exact subscription notice could be classified as a system message.\n- Live chat is out of scope. This actor reads finished VOD replays, not the live IRC/WebSocket stream.\n- Very long VODs can produce tens of thousands of messages. Use `maxItems` and the time window to keep a run small.\n\n## Frequently asked questions\n\n**Do I need a Twitch account or API key?**\nNo. The actor uses Twitch's public web data. It never asks for a login, cookie, OAuth token, or proxy configuration.\n\n**How far back can I go?**\nAs far back as Twitch still hosts the VOD and its chat replay. `channelChat` can scan recent VODs by type and date; `vodChat` accepts any VOD ID or URL that still resolves.\n\n**Why did a VOD return zero messages?**\nThe VOD may have no chat replay, subscriber-only chat, or an expired chat archive. The status message names how many VODs had no replay. Try another VOD from the same channel or a different date range.\n\n**What is the difference between `messageText` and `fragments`?**\n`messageText` is the readable message with emote tokens left in place. `fragments` preserves the original structure: text runs and emote runs with IDs, names, positions, and image URLs.\n\n**Can I filter by a specific user?**\nUse `keywords` to match message content. Per-user filtering is not a separate field; filter the dataset on `commenterLogin` after export.\n\n**Why is `subscriberMonths` missing on some subscriber messages?**\nTwitch only states a tenure in subscription notices. A normal message with a subscriber badge does not include a month count, so the field is omitted rather than guessed.\n\n**Can I get every message in a six-hour stream?**\nYes, subject to Twitch's source limits and the `maxItems` cap. Raise `maxItems`, leave the time window open, and let the actor follow the VOD's chat cursor to the end. The run status reports how many messages were saved.\n\n**Are emote image URLs permanent?**\nThey point at Twitch's public emote CDN. They work without a referer or cookie, but Twitch can change or remove an emote at any time.\n\n**Does this download video or clips?**\nNo. It extracts chat text, emote metadata, and team rosters. It does not download video, audio, or clip files.\n",
      "input": {
        "title": "Twitch VOD Chat Replay Input",
        "description": "Export a Twitch VOD chat replay with per-minute activity, list channel emotes, or extract team rosters. Cookieless; no login or proxy setup required.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to extract.",
            "editor": "select",
            "enum": [
              "vodChat",
              "channelChat",
              "emotes",
              "teams"
            ],
            "enumTitles": [
              "VOD chat replay by ID or URL",
              "Chat replay from recent channel VODs",
              "Channel emote catalog",
              "Team member rosters"
            ],
            "default": "channelChat",
            "prefill": "channelChat"
          },
          "vodIds": {
            "title": "VOD IDs or URLs",
            "type": "array",
            "description": "(mode=vodChat) Twitch VOD IDs or full URLs, e.g. `2926946185` or `https://www.twitch.tv/videos/2926946185`.",
            "editor": "stringList",
            "sectionCaption": "VOD and channel selection"
          },
          "channelLogins": {
            "title": "Channel logins",
            "type": "array",
            "description": "(mode=channelChat, emotes) Channel logins or URLs, e.g. `shroud` or `https://www.twitch.tv/shroud`. Used as the channel for the emote catalog and as the VOD source in channel chat mode.",
            "editor": "stringList",
            "prefill": [
              "shroud"
            ]
          },
          "teamNames": {
            "title": "Team names",
            "type": "array",
            "description": "(mode=teams) Twitch team names or team URLs, e.g. `nrg` or `https://www.twitch.tv/team/nrg`.",
            "editor": "stringList"
          },
          "maxVodsPerChannel": {
            "title": "Max VODs per channel",
            "type": "integer",
            "description": "(mode=channelChat) How many matching VODs to read per channel.",
            "default": 5,
            "prefill": 1,
            "minimum": 1,
            "maximum": 50
          },
          "vodType": {
            "title": "VOD type",
            "type": "string",
            "description": "(mode=channelChat) Which kind of VOD to select. Highlights and uploads often have no chat replay.",
            "editor": "select",
            "enum": [
              "ARCHIVE",
              "HIGHLIGHT",
              "UPLOAD",
              "ALL"
            ],
            "enumTitles": [
              "Past broadcasts (archives)",
              "Highlights",
              "Uploads",
              "All types"
            ],
            "default": "ARCHIVE",
            "prefill": "ARCHIVE"
          },
          "vodPublishedAfter": {
            "title": "VOD published after",
            "type": "string",
            "description": "(mode=channelChat) Optional earliest VOD date, inclusive, in `YYYY-MM-DD` format (UTC).",
            "editor": "datepicker"
          },
          "vodPublishedBefore": {
            "title": "VOD published before",
            "type": "string",
            "description": "(mode=channelChat) Optional latest VOD date, inclusive, in `YYYY-MM-DD` format (UTC).",
            "editor": "datepicker"
          },
          "startOffsetSeconds": {
            "title": "Start offset (seconds)",
            "type": "integer",
            "description": "(mode=vodChat, channelChat) Skip chat before this many seconds into each VOD.",
            "default": 0,
            "prefill": 0,
            "minimum": 0,
            "maximum": 10000000,
            "sectionCaption": "Chat replay options"
          },
          "endOffsetSeconds": {
            "title": "End offset (seconds)",
            "type": "integer",
            "description": "(mode=vodChat, channelChat) Stop after this many seconds into each VOD. Leave empty to read to the end.",
            "minimum": 0,
            "maximum": 10000000
          },
          "keywords": {
            "title": "Keyword filter",
            "type": "array",
            "description": "(mode=vodChat, channelChat) Keep only messages containing at least one of these words (or all of them when match mode is ALL). Leave empty to keep every message.",
            "editor": "stringList"
          },
          "keywordMatch": {
            "title": "Keyword match",
            "type": "string",
            "description": "(mode=vodChat, channelChat) Whether one keyword or every keyword must appear in the message.",
            "editor": "select",
            "enum": [
              "ANY",
              "ALL"
            ],
            "enumTitles": [
              "Any keyword",
              "All keywords"
            ],
            "default": "ANY",
            "prefill": "ANY"
          },
          "includeSystemMessages": {
            "title": "Include system messages",
            "type": "boolean",
            "description": "(mode=vodChat, channelChat) Keep subscription, gift, raid, watch-streak and moderation notices. Turn off to keep only viewer-authored messages.",
            "default": true,
            "prefill": true
          },
          "includeBadges": {
            "title": "Include badges",
            "type": "boolean",
            "description": "(mode=vodChat, channelChat) Add chat badges and subscriber, moderator, VIP and bits flags to each message.",
            "default": true,
            "prefill": true
          },
          "includeAggregates": {
            "title": "Include per-minute aggregates",
            "type": "boolean",
            "description": "(mode=vodChat, channelChat) Add one extra row per minute with message count, unique chatters and top emotes. Useful for finding highlight moments.",
            "default": false,
            "prefill": false
          },
          "includeGlobalEmotes": {
            "title": "Include global emotes",
            "type": "boolean",
            "description": "(mode=emotes) Also return Twitch's global emote catalog alongside each channel's subscriber and follower emotes.",
            "default": false,
            "prefill": false,
            "sectionCaption": "Emote catalog options"
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Maximum primary rows to save: chat messages (vodChat, channelChat), emote rows (emotes), or team rows (teams). Minute aggregates are additional rows.",
            "default": 1000,
            "prefill": 1,
            "minimum": 1,
            "maximum": 100000,
            "sectionCaption": "Output"
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Twitch VOD Chat Replay, Emote Catalog & Team Roster Output",
        "description": "Chat messages with offsets, commenter and badge data, emote fragments and CDN images; optional per-minute activity aggregates; channel subscriber and follower emotes; and team rosters.",
        "properties": {
          "dataset": {
            "type": "string",
            "title": "Dataset",
            "description": "Dataset containing all extracted Twitch records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Twitch records",
              "transformation": {
                "fields": [
                  "recordType",
                  "channelLogin",
                  "messageText",
                  "commenterLogin",
                  "offsetHms",
                  "createdAt"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.3",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    }
  }
}