Returns a collection of relevant Tweets matching a specified query.Please note that Twitter's search service and, by extension, the Search API is not meant to be an exhaustive source of Tweets. Not all Tweets will be indexed or made available via the search interface.In API v1.1, the response format of the Search API has been improved to return Tweet objects more similar to the objects you'll find across the REST API and platform. You may need to tolerate some inconsistencies and variance in perspectival values (fields that pertain to the perspective of the authenticating user) and embedded user objects.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.twitter.com/1.1/search/tweets.json'