twurple

github.com/twurple/twurple Twitch Tools Open-source projectOpen source

Interact with Twitch's API, chat and subscribe to events via PubSub and EventSub.

github.com/twurple/twurple
twurple homepage screenshot

About twurple

Twurple is an open source set of libraries for developers who work with Twitch. It covers Twitch's APIs, including querying the Helix API, connecting to and interacting with Twitch Chat, and listening to events through EventSub. The authentication package can refresh access tokens automatically.

The functionality is split across separate npm packages. The authentication package handles only authentication, so a project installs each package it needs: @twurple/api for Helix calls, @twurple/chat for chat, and @twurple/eventsub-http or @twurple/eventsub-ws for event listening. The library is released under the MIT license. The repository description also mentions PubSub, but the package list in the README covers EventSub only.

Key features

  • Query the Twitch Helix API through the @twurple/api package
  • Connect to and interact with Twitch Chat through @twurple/chat
  • Listen to Twitch events over EventSub using HTTP webhooks
  • Listen to Twitch events over EventSub using WebSockets
  • React to custom redemptions, subscriptions, and follows using EventSub
  • Refresh access tokens automatically through the @twurple/auth package
Best for: Developers building Twitch bots, integrations, or applications that call the Twitch API or respond to Twitch events.
Good for
  • Open source and released under the MIT license
  • Refreshes access tokens automatically, so expired tokens do not need manual handling
  • Modular design lets a project install only the packages it uses
Watch out for
  • The authentication package provides only authentication; other functions are in separate packages

twurple at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

twurple alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Firebot

github.com/crowbartools/Firebot

Firebot provides desktop automation for Twitch streamers, including chat commands, events, timers, currencies, and integrations.

Open source
24 alternatives

Popular in Twitch Tools

Well-known listings from the same topic.

All 110

twurple FAQ

How do I install Twurple?
Run npm i @twurple/auth, yarn add @twurple/auth, or pnpm install @twurple/auth in your project. The other functions are installed as separate packages.
Where can I get help with Twurple?
You can join the Twitch API Libraries Discord Server and ask in the #twurple channel.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing