Logo
Twitter API Documentation

Search Tweets

Number of APIs: 2


1. Recent search

GET https://api.twitter.com/2/tweets/search/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 search

GET https://api.twitter.com/2/tweets/search/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