Skip to content

Instantly share code, notes, and snippets.

@Snocember
Last active October 16, 2022 21:29
Show Gist options
  • Save Snocember/61ee88538a6b2cb1d0b382b14616ff55 to your computer and use it in GitHub Desktop.
Save Snocember/61ee88538a6b2cb1d0b382b14616ff55 to your computer and use it in GitHub Desktop.
Twitch ratelimits

This gist is only for the purpose that I don't have to look up the rate limits.

Twitch Helix API Ratelimits:

Bearer token is provided: 800 points per minute, per user

Bearer token is not provided: 30 points per minute

Docs Reference, Docs Reference 2

IRC Ratelimits

Join

A bot sending a pair of PASS and NICK messages is considered an authentication attempt.

Normal account:

  • 20 authentication attempts per 10 seconds per user.
  • 20 join attempts per 10 seconds per user.

Verified account:

  • 200 authentication attempts per 10 seconds per user.
  • 2,000 join attempts per 10 seconds per user.

Docs Reference

Messages

There are differences between normal and verified account. Normal account:

  • Non-mod: 20 messages per 30 seconds
  • Mod: 100 messages per 30 seconds

See more here (Docs Reference)

If you exceed these limits, Twitch ignores the bots messages for the next 30 minutes.

Oauth

The maximum number of valid access tokens that a refresh token can be associated with is 50. Docs Ref

I did not find informations about rate limits on getting oath tokens and refreshing, revoking or validating them.

Extension Ratelimits

30 requests per minute per Extension viewer

Docs Reference

PubSub

Clients can listen on up to 50 topics per connection. Trying to listen on more topics will result in an error message. It is recommended that a single client IP address establishes no more than 10 simultaneous connections. The two limits above are likely to be relaxed for approved third-party applications. Docs Ref

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment