Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

up vote 5 down vote accepted

The 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.

chrome web inspector awesomeness

share|improve this answer
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .