TwurpleAuthenticationGetting dataExamplesFAQMigration

Data overview

Getting data from the Twitch API is sadly split into many systems. Here's some handy tables on which library you can and should use for which use case.

Current state & actions

Operation@twurple/api@twurple/chat
Start an adYesNo
Get Bits leaderboardYesNo
Get available CheermotesYesNo
Get Extension transactionsYesNo
Get channel category/titleYesNo
Set channel category/titleYesNo
Get channel editorsYesNo
Manage custom rewards & redemptionsYesNo
Get available emotes & badgesYesNo
Get & create clipsYesNo
Manage dropsYesNo
Manage extensionsYesNo
Get category infoYesNo
Manage polls & predictionsYesNo
Get banned usersYesNo
Ban/unban/timeout usersYesNo
Get & manage schedulesYesNo
Search categoriesYesNo
Search channelsYesNo
Get stream keyYesNo
Get info about streamsYesNo
Manage stream markersYesNo
Get list of subscribersYesNo
Check subscriptionYesYes (in message context)
Get list of VIPsYesNo
Check VIPYesYes (in message context)
Manage VIPsYesNo
Get list of moderatorsYesNo
Manage moderatorsYesNo
Get & manage stream tagsYesNo
Get team infoYesNo
Get user infoYesYes (in message context; login, display name, ID only)
Get & manage followsYesNo
Get & manage VODsYesNo
Raid usersYesNo
Send chat messagesYesYes
Send chat announcementsYesNo
Send whispersYesNo
Remove chat messagesYesNo
Set chat modes (e.g. emote/sub/follower only)YesNo
Get & manage AutoMod settingsYesNo
Get current Creator Goals stateYesNo
Get list of chattersYesNo
Get info about charity campaignsYesNo
Get & manage Shield Mode statusYesNo
Send warningsYesNo

Events

Event type@twurple/chat@twurple/eventsub-*
Chat messagesYesYes
Chat mode (e.g. sub only) changesYesYes
WhispersYesYes
CheersYesYes
Channel pointsRedemptions w/ messages onlyYes
SubscriptionsPublished onlyYes
AutoModNoYes
Live / offline / stream changesNoYes
FollowsNoYes
RaidsYesYes
BansYesYes
Mod add/removeNoYes
VIP add/removeNoYes
Polls & predictionsNoYes
Extension transactionsNoYes
Hype TrainsNoYes
Authorization grant/revokeNoYes
DropsNoYes
Charity campaigns & donationsNoYes
Shield mode begin/endNoYes
Unban request createNoYes
Unban request resolveNoYes
Suspicious (low-trust) users update/messageNoYes
WarningsNoYes
Moderation actionsNoYes