Forums

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

Is there a way to exceed the API requests limit for repository data?

Mattice Struyve
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 24, 2023

Hello

I am currently working on creating a secret scanning script for Bitbucket Cloud.
For this I am using the Bitbucket API to access the repository data .
The problem is that the API accepts a maximum of 1000 requests and I easily exceed this limit.
I have the following questions:

  • Does this also apply to the premium version of Bitbucket Cloud?
  • What would be an alternative solution to this problem?

Thanks in advance for your answer.
MS

2 answers

1 accepted

2 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2023

Hi @Mattice Struyve and welcome to the community!

The rate limits for authenticated calls are measured against the user ID of the authenticated user in the API calls:

In Bitbucket Cloud, these limits apply to all users, regardless of the billing plan of their workspace(s).

As Nic mentioned, the solution is to make fewer calls; the limits cannot be raised.

Kind regards,
Theodora

2 votes
Nic Brough -Adaptavist-
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.
February 24, 2023

Welcome to the Atlassian Community!

Premium Bitbucket has a higher limit, but it's still limited.  The solution is for you to make fewer calls from your code.

Mattice Struyve
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 27, 2023

Thank you for your answer!

Do you have any idea what the exact limit of the premium version is? I can't really find anything on this.

Nic Brough -Adaptavist-
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.
February 27, 2023

I'm sorry, faulty memory - they used to be different, but standard limits have now been raised to the same level as premium, so there is no difference any more.

See what @Theodora Boudale wrote - that's exactly what you need to read!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events