This gist is only for the purpose that I don't have to look up the rate limits.
Bearer token is provided: 800 points per minute, per user
Bearer token is not provided: 30 points per minute
Docs Reference, Docs Reference 2
A bot sending a pair of PASS and NICK messages is considered an authentication attempt.
- 20 authentication attempts per 10 seconds per user.
- 20 join attempts per 10 seconds per user.
- 200 authentication attempts per 10 seconds per user.
- 2,000 join attempts per 10 seconds per user.
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.
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.
30 requests per minute per Extension viewer
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