Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Finding out request left until I hit the API rate limit

andrej_zavrsnik January 31, 2016

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Mark van Rossum August 17, 2017

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

0 votes
evzijst
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 8, 2016

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.

George Hickman September 12, 2016

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?

 

 

TAGS
AUG Leaders

Atlassian Community Events