Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

API rate limits

Jack_s Account May 26, 2025

Found this bitbucket article that API rate limits headers should be present for mostly all repositories/2.0 endpoints:

https://www.atlassian.com/blog/bitbucket/introducing-scaled-rate-limits-for-bitbucket-cloud-api

but they are missed. 

i want to increase the API rate limits based on that, because now we are using 1000 requests per hour and its absolutely not enough for us.

what can you suggets?

2 answers

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 27, 2025

Hey @Jack_s Account 

Rate limits apply per account, so if you need more than 1,000 requests per hour, I suggest is to use two or more account authentications, such as App Passwords. Then, distribute the requests between these accounts to help you avoid exceeding the 1,000-request limit per account.

Regards,
Syahrul

0 votes
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 26, 2025

Hi @Jack_s Account ,

Make sure you are accessing the APIs using requests made via Access Tokens and Forge asApp API requests, otherwise the scaled rate limits do not apply.

Unfortunately, as far as I know (being following this issue closely for a long time now), there is no way to increase the rate limits.

You might find this ticket useful, as there are some discussions on workarounds before the scaled rate limits feature was implemented. 

Jack_s Account May 27, 2025

@Saxea _Flowie_ i tried different auth types (Oauth, api key) and there are no such headers in any case.

i don't know how to handle it properly, because i want to avoid "1000 requests per hour" . i want to be sure i can implement retry logic in case i got "429 err" if there is such err in bitbucket.

or get it from headers, or smth else.

in bitbucket on premise its possible to get rate limit parameters from API.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events