Ultimate X (Twitter) Advanced Search Scraper
Pricing
Pay per event
Ultimate X (Twitter) Advanced Search Scraper
๐ Harness the full power of X (Twitter) Advanced Search! Filter by keywords, users, dates, engagement & more. Fast, stable, and precise data.
0.0 (0)
Pricing
Pay per event
1
2
1
Last modified
a day ago
๐ Ultimate X (Twitter) Advanced Search Scraper
Harness the full power of X's (Twitter's) Advanced Search with this fast and reliable scraper. Get stable, fast, and precise data using rich filters for keywords, users, dates, and engagement. Perfect for market analysis, brand monitoring, competitor research, and more.
This Actor replicates the entire functionality of Twitter's Advanced Search, allowing you to build highly specific queries to get the exact tweets you need. It's designed for efficiency, automatically splitting large date ranges into smaller chunks (by day, week, or month) to ensure stable and complete data collection.
โจ Key Features
- โจ Full Advanced Search: Access all filtering capabilities available on the X/Twitter website.
- ๐ Keyword Control: Include
all,any, ornoneof specified words, or target anexact phrase. - #๏ธโฃ Hashtag Search: Target specific trends and topics.
- ๐ค User Filtering: Scrape tweets
from,to, ormentioningspecific accounts. - ๐ Engagement Filters: Set minimum thresholds for
likes,replies, andreposts. - ๐ Language Filtering: Target tweets in a specific language.
- ๐
Precise Date Range: Define a
startandenddate for your search. - โฑ๏ธ Granular Time Splitting: Automatically split your scrape by
day,week, ormonthfor stable, long-term collection. - โก Fast & Stable: Built for efficient and reliable scraping.
- ๐ Comprehensive Data: Get rich data fields for each tweet (see output example).
๐ฏ Use Cases
- ๐ Market Analysis: Analyze customer sentiment and conversations around your brand or products.
- ๐ Competitor Analysis: Monitor what your competitors are tweeting, what users are saying to them, and which of their posts get the most engagement.
- ๐ฐ News & Trend Tracking: Follow breaking news or viral trends with high precision.
- ๐งโ๐ฌ Academic Research: Collect data for studies on public discourse, social media behavior, or specific events.
- โค๏ธ Brand Monitoring: Find mentions of your brand (even without the @) and track customer feedback.
๐ฅ Input
The Actor's input is designed to mirror all the options you'd find in Twitter's Advanced Search.
Date & Time Control
| Field | Type | Description |
|---|---|---|
startDate | String | Start date (inclusive). Format: YYYY-MM-DD. |
endDate | String | End date (inclusive). Format: YYYY-MM-DD. |
splitMode | String | How to split the date range:day,week, ormonth. Recommended:day. |
Content Filters
| Field | Type | Description |
|---|---|---|
All_of_these_words | String | Tweets must contain all these space-separated words. |
This_exact_phrase | String | Tweets must contain this exact phrase. |
Any_of_these_words | String | Tweets must contain at least one of these space-separated words. |
None_of_these_words | String | Exclude tweets containing any of these space-separated words. |
These_hashtags | String | Target hashtags (without #, space-separated). E.g.,nasa spacex. |
language | String | Filter by tweet language (e.g.,en,es,zh-cn) orany. |
User Filters
| Field | Type | Description |
|---|---|---|
From_these_accounts | String | Only tweetsfromthese accounts (without @). E.g.,elonmusk NASA. |
To_these_accounts | String | Only tweets sentin reply tothese accounts (without @). |
Mentioning_these_accounts | String | Only tweetsmentioningthese accounts (without @). |
Engagement Filters
| Field | Type | Description |
|---|---|---|
Minimum_replies | Integer | Only include tweets with at least this many replies. |
Minimum_likes | Integer | Only include tweets with at least this many likes. |
Minimum_reposts | Integer | Only include tweets with at least this many reposts. |
Scrape Limit
| Field | Type | Description |
|---|---|---|
maxItems | Integer | Maximum number of tweets to collect.0means unlimited. |
Output
The Actor returns a dataset where each item is a tweet object containing comprehensive details.
Output Example (JSON)
JSON
{"tweetId": "1980345702334230653","tweetUrl": "https://x.com/elonmusk/status/1980345702334230653","createdAt": "2025-10-20 18:49:43+00:00","authorHandle": "elonmusk","authorName": "Elon Musk","authorUrl": "https://x.com/elonmusk","isVerified": true,"language": "en","fullText": "@ArthurMacwaters The future AI will say โHe was smart โฆ by human standardsโ","imageUrls": [],"replyCount": 114,"repostCount": 84,"likeCount": 1094,"viewCount": 51204,"bookmarkCount": 56,"isAd": false,"isReply": true,"inReplyToHandle": "ArthurMacwaters","inReplyToUsername": "Arthur MacWaters","inReplyToUrl": "https://x.com/ArthurMacwaters","queryStr": "ai (from:elonmusk)","searchUrl": "https://x.com/search?q=ai (from:elonmusk) until:2025-10-21 since:2025-10-20&src=typed_query"}
๐ Getting Started
- โAdd Actorโ: Click the "Try for free" button to add this Actor to your Apify account.
- โSet Date Rangeโ: Define the time period you want to scrape by setting the
startDateandendDate(e.g.,2025-10-01to2025-10-31). - โDefine Your Search Queryโ: Fill in the advanced search fields. This is where the magic happens! For example:
- Set
All_of_these_wordstoai machine learning - Set
From_these_accountstoelonmusk - Set
Minimum_likesto100
- Set
- โSet Scrape Settingsโ: For stable scraping over long periods, set
splitModetoday. You can also set a specificlanguageor limit themaxItems. - โRun & Get Dataโ: Click "Start" and wait for the run to finish. You can download your complete tweet data in JSON, CSV, or Excel format from the "Storage" tab.
๐ Related Actors
Need more X (Twitter) data? ๐ Check out my other specialized scrapers:
- Advanced X (Twitter) Profile Scraper - Need a user's entire tweet history? This Actor scrapes all tweets from any X (Twitter) profile, not just the most recent ones. It intelligently uses advanced search and date ranges to capture a complete timeline.^^ Fast, stable, and perfect for in-depth user analysis. ๐
๐ฌ Support and Feedback
If you require additional fields, custom filtering, or a different scraper, reach out to us via Apify support channels or leave feedback directly on the Actorโs page.
๐ Tags
twitter, x, scraper, social media, data extraction, advanced search, marketing, analytics, sentiment analysis, competitor analysis, trend analysis, automation
On this page
Share Actor:
