Netlify REST APIs rate limiting enforced on which Netlify account for OAuth based access?

Hi,

I have a query on Rate Limiting for Netlify REST APIs. (Get started with the Netlify API | Netlify Docs)

Consider a Netlify Account - “Acct1” which is a PAID account.
It has an OAuth application created to access the authenticated user’s Netlify sites.

Now suppose another user/customer has an account - “Acct2” which is a TRIAL/FREE account.
And this user gets authenticated through the OAuth application created by “Acct1” and an access token is obtained.

Now, with this access token for the authenticated user “Acct2”, the rate limits will be enforced as per the TRIAL/FREE account - “Acct2”, or the rate limits will be as per the OAuth application hosted account which is “Acct1”, PAID in this case ?

There’s no difference for rate limits on any account level. They’re all the same.

But to answer your question, rate limits are applied per access token level.

In the case of Github, it gets applied to the OAuth application hosted account type. Referring here - Rate limits for GitHub Apps - GitHub Docs

But I didn’t find any similar documentation for Netlify.

@hrishikesh if there is no difference for rate limits then why is it given here - Get started with the Netlify API | Netlify Docs
“If you need higher limits, please contact us.”

So, if limit is made higher it applies to OAuth application account or the user account ?

Hey @OCM_EO_DEV,

Happy to clarify. The rate limit is specific to each token, not to each account, so it will only apply to calls which use that token.

Additionally, there is no difference for rate limits by account level at Netlify.

Let us know if you have any other questions on this and we’d be happy to help.