Ultimate X (Twitter) Advanced Search Scraper avatar
Ultimate X (Twitter) Advanced Search Scraper

Pricing

Pay per event

Go to Apify Store
Ultimate X (Twitter) Advanced Search Scraper

Ultimate X (Twitter) Advanced Search Scraper

Developed by

ะ’AH

ะ’AH

Maintained by Community

๐Ÿš€ 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, or none of specified words, or target an exact phrase.
  • #๏ธโƒฃ Hashtag Search: Target specific trends and topics.
  • ๐Ÿ‘ค User Filtering: Scrape tweets from, to, or mentioning specific accounts.
  • ๐Ÿ“ˆ Engagement Filters: Set minimum thresholds for likes, replies, and reposts.
  • ๐ŸŒ Language Filtering: Target tweets in a specific language.
  • ๐Ÿ“… Precise Date Range: Define a start and end date for your search.
  • โฑ๏ธ Granular Time Splitting: Automatically split your scrape by day, week, or month for 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

FieldTypeDescription
startDateStringStart date (inclusive). Format: YYYY-MM-DD.
endDateStringEnd date (inclusive). Format: YYYY-MM-DD.
splitModeStringHow to split the date range:day,week, ormonth. Recommended:day.

Content Filters

FieldTypeDescription
All_of_these_wordsStringTweets must contain all these space-separated words.
This_exact_phraseStringTweets must contain this exact phrase.
Any_of_these_wordsStringTweets must contain at least one of these space-separated words.
None_of_these_wordsStringExclude tweets containing any of these space-separated words.
These_hashtagsStringTarget hashtags (without #, space-separated). E.g.,nasa spacex.
languageStringFilter by tweet language (e.g.,en,es,zh-cn) orany.

User Filters

FieldTypeDescription
From_these_accountsStringOnly tweetsfromthese accounts (without @). E.g.,elonmusk NASA.
To_these_accountsStringOnly tweets sentin reply tothese accounts (without @).
Mentioning_these_accountsStringOnly tweetsmentioningthese accounts (without @).

Engagement Filters

FieldTypeDescription
Minimum_repliesIntegerOnly include tweets with at least this many replies.
Minimum_likesIntegerOnly include tweets with at least this many likes.
Minimum_repostsIntegerOnly include tweets with at least this many reposts.

Scrape Limit

FieldTypeDescription
maxItemsIntegerMaximum 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

  1. โ€‹Add Actorโ€‹: Click the "Try for free" button to add this Actor to your Apify account.
  2. โ€‹Set Date Rangeโ€‹: Define the time period you want to scrape by setting the startDate and endDate (e.g., 2025-10-01 to 2025-10-31).
  3. โ€‹Define Your Search Queryโ€‹: Fill in the advanced search fields. This is where the magic happens! For example:
    • Set All_of_these_words to ai machine learning
    • Set From_these_accounts to elonmusk
    • Set Minimum_likes to 100
  4. โ€‹Set Scrape Settingsโ€‹: For stable scraping over long periods, set splitMode to day. You can also set a specific language or limit the maxItems.
  5. โ€‹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.

Need more X (Twitter) data? ๐Ÿ˜Š Check out my other specialized scrapers:

  1. 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