Advanced Tweet Search (POST /search-tweets)
What is it? The /search-tweets endpoint replicates the full power of the X (Twitter) Advanced Search engine. It allows you to search for specific tweets using a wide array of filters and logic, returning up to 20 matching tweets per request.
Why use it?
- Trend Monitoring: Track specific keywords or hashtags to gauge public sentiment in real-time.
- Competitor Analysis: Use operators like
from:handleto monitor all posts from a specific competitor. - Date-Range Research: Collect historical data for specific events using
since:YYYY-MM-DDanduntil:YYYY-MM-DDoperators. - Brand Protection: Monitor mentions of your brand or specific product phrases to respond to customer feedback quickly.
- Sorting: Results can be ordered by
popularorlatest. - Pagination: If more than 20 results exist, the API returns a
next_cursorto fetch the next page. - Query Syntax: Supports standard X operators (e.g.,
from:,to:,exact phrases,#hashtags).