How to know if I'm hitting API call limits?



Hi all, I recently made my first website that uses the twitter api. The site keeps count of how many times certain politicians tweet within a week. Today during a big spike in traffic it started returning empty numbers where it queries for the user/statuses_count number. There are three different twitter accounts it tracks so each page view is making 3 API calls. Immediately after the traffic spike it returned to normal. Is there a way to know if I was hitting the limit?


You can check your API rate limit with :