Search code examples
twitter

Twitter v2 APIs: Accessing monthly tweet cap via API


My app invokes the Twitter v2 APIs to retrieve users tweets.

According to the Twitter Dev Portal I have a monthly tweet cap of 500,000 tweets that I can retrieve, and this UI tells me how much I've used.

However, is there any way to retrieve this data via an API?

This page seems to imply it's just via the UI, but I'm surprised there is no way to retrieve this via an API. Is there any such way even for v1?


Solution

  • v1.1 had no volume cap, but does have rate limits, which you can access via the HTTP headers on GET requests. POST requests are different, and managed at the user account level.

    In v2, at the time of writing, there is currently no way to access the cap and volume data via the API - it is only available in the UI.