Overview
Thesearch command searches Twitter for tweets matching a query string. You can filter by different search tabs like Top, Latest, Photos, or Videos.
Syntax
Arguments
The search query string. Use quotes for multi-word queries.Supports Twitter search operators like:
from:username- Tweets from a specific userto:username- Tweets to a specific user#hashtag- Tweets with a hashtagfilter:links- Tweets containing linksmin_faves:100- Tweets with at least 100 likes
Options
Search tab to use:
Top- Most relevant tweets (default)Latest- Most recent tweetsPhotos- Tweets with photosVideos- Tweets with videos
-tMaximum number of tweets to fetch.Alias:
-nOutput tweets as JSON instead of formatted table.
Save search results to a JSON file.Alias:
-oEnable score-based filtering on search results.
Examples
Output
The command displays a formatted table with:- Tweet content and author
- Engagement metrics (likes, retweets, replies)
- Timestamps
- Filter statistics (when using
--filter)
Example Output
Search Tips
The
--type Latest option is useful for monitoring real-time discussions or breaking news, while Top is better for finding high-quality content on a topic.Use Cases
- Research - Gather tweets on a specific topic for analysis
- Monitoring - Track mentions of brands, products, or keywords
- Content discovery - Find high-quality content in your niche
- Trend analysis - Collect recent tweets on trending topics
