It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Finding out request left until I hit the API rate limit

This question is in reference to Atlassian Documentation: Rate limits

I will like to find out how many request are left before I hit the API rate limit. Ideally also the timestamp when the limit will be reset. GitHub returns this information on every API response headers:

X-RateLimit-Limit,
X-RateLimit-Remaining,
X-RateLimit-Reset

Something similar would be nice to have, or maybe there is a separate API call to retrieve this info?

 

2 answers

0 votes

That would certainly be nice and this is something we are looking into. At the moment however there is no way to predict when rate limiting will occur.

You could keep track yourself by counting your requests and comparing them to the hourly allotment to the published maximums: https://confluence.atlassian.com/bitbucket/rate-limits-668173227.html#Ratelimits-Requestlimits but I will agree that this is cumbersome.

The linked document does not help anyone using the endpoints not covered by the listed 3.  Your own documentation lists eight top level endpoints, not to mention all the sub-endpoints.  What are the limits for these endpoints?

 

 

Are the rate limits per user per hour, or per team per hour?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted 12 hours ago in Off-topic

Miscellaneous Monday - Where it all started.

Happy Monday everyone! If you're anything like me, you tend to think a lot about what the future looks like. What are my kids up to in 15 years? Have we solved for climate change? How could TVs poss...

88 views 13 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you