Logo
Twitter API Documentation

Tweet Counts

Number of APIs: 2


1. Recent Tweet counts

GET https://api.twitter.com/2/tweets/counts/recent?query=

Search for public Tweets created in the last 7 days.

For full details, see the API reference for this endpoint.



2. Full-archive Tweet counts

GET https://api.twitter.com/2/tweets/counts/all?query=

Search across the complete history of public Tweets matching a search query; since the first Tweet was created in March 2006.

For full details, see the API reference for this endpoint.

NOTE this endpoint requires access via the Academic Research product track



ENDPOINTS