The Twitch API provides the tools and data used to develop Twitch integrations. The data models and systems are designed to provide relevant data in an easy, consistent, and reliable way. For the full list of endpoints that you can use in your integration, explore the Twitch API Reference.
The Twitch API uses OAuth 2.0 for authentication. To learn about the different types of access tokens that the API supports, see Authentication. If you plan to use some of the extension-related endpoints, you’ll also need learn how to get JSON Web Tokens (JWT) (see JSON Web Tokens and Managing Extension Secrets).
For information about using the APIs, see the following guides:
- Starting a Poll
- Starting a Prediction
- Starting a Raid
- Creating Stream Clips
- Creating Stream Markers
- Moderating a Broadcaster’s Chat
- Getting a Creator’s Goals
- Getting an Extension Analytics Report
- Getting a Game Analytics Report
You should also become familiar with the following features:
|EventSub||The Twitch API provides APIs that you can call to poll the status of a given resource. These APIs are fine if you need a snapshot of the resource but it’s recommended that you subscribe to receive resource updates instead. For information about subscribing to events, see EventSub subscriptions.|
|Command-line Interface||Twitch offers a command-line interface for managing Twitch resources. You can use it to call the Twitch endpoints, get an OAuth access token, and test EventSub events.|
Call your first Twitch API in minutes using Getting started.