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
Community showcase
Posted in Off-topic

Friday Fun: What were your most formative young adult reads?

Hello, hello! Friday seems to have gotten away from me, so I suppose we'll call this a Sunday Funday? 🙈 Inspired by a thread I saw recently on Twitter, I'm curious which books you considered stapl...

214 views 22 7
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you