Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
12 years ago
Probably having a brain fart, but I couldn't see a way to get the number of API hits remaining. I know that the limit is 10k per day (I'm using an API key) but because of hte way my app works it would be impossible to keep track of how many hits had been used.
How do I find out how many API hits are remaining for my API key?
Jun 1, 2011 at 18:34
103 3 3 bronze badges
X-RateLimit-Current header contains the requests you have left that particular day. The
X-RateLimit-Max dictates the total amount of requests your app can make in total through that day.
See the bottom two response headers in the screenshot.
Jun 1, 2011 at 18:46
864 5 5 silver badges 19 19 bronze badges
log in to answer this question.
Not the answer you're looking for? Browse other questions tagged
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only