# Rate Limit Bucket - App vs. User Access Token

**URL:** <https://discuss.dev.twitch.com/t/rate-limit-bucket-app-vs-user-access-token/37904>\
**Category:** API\
**Created:** [April 12, 2022, 4:43pm UTC](https://discuss.dev.twitch.com/t/rate-limit-bucket-app-vs-user-access-token/37904 "2022-04-12T16:43:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eldergoddev](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/eldergoddev/32/17772_2.png) [@eldergoddev](https://discuss.dev.twitch.com/u/eldergoddev)\
**Post date:** [April 12, 2022, 4:43pm UTC](https://discuss.dev.twitch.com/t/rate-limit-bucket-app-vs-user-access-token/37904/1 "2022-04-12T16:43:10Z")

</div>

So I understand that there’s a bucket for App Access Tokens (AAT) and User Access Tokens (UAT) per:  
[Twitch API Rate Limits](https://dev.twitch.tv/docs/api/guide#rate-limits)

> Your app is given a bucket for app access requests and a bucket for user access requests. For requests that specify a user access token, the limits are applied per client ID per user per minute.

Does this separate bucket apply to API endpoints that only need an AAT and you provide it with a UAT?

Example:  
GET [https://api.twitch.tv/helix/clips](https://api.twitch.tv/helix/clips)

If I provide a UAT, does it get its own bucket despite this endpoint only needing an App Access Token or does it charge my App bucket?

What I’m trying to confirm is whether or not my scaling concerns for App Access Token Twitch endpoints are resolved by UATs.

---

<div class="post-metadata">

**Author:** ![WLG3R](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/wlg3r/32/6985_2.png) [@WLG3R](https://discuss.dev.twitch.com/u/WLG3R)\
**Post date:** [April 12, 2022, 6:17pm UTC](https://discuss.dev.twitch.com/t/rate-limit-bucket-app-vs-user-access-token/37904/2 "2022-04-12T18:17:32Z")

</div>

TL;DR yes.

Think of an app access token as a user token without a user. So it gets it’s own 800 bucket. Then each user gets an 800 bucket. There are some endpoints that are ONLY app access token accessible. But you shouldn’t need to be scaling for those few endpoints. And some endpoints have their own rate limits outside the 800 bucket that’s smaller only for that one. But in general you should be fine if you use user tokens when needed/ you can use them.

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [May 12, 2022, 6:18pm UTC](https://discuss.dev.twitch.com/t/rate-limit-bucket-app-vs-user-access-token/37904/3 "2022-05-12T18:18:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
