Advanced X (Twitter) Profile Scraper avatar
Advanced X (Twitter) Profile Scraper

Pricing

Pay per event

Go to Apify Store
Advanced X (Twitter) Profile Scraper

Advanced X (Twitter) Profile Scraper

Developed by

ВAH

ВAH

Maintained by Community

Scrape all tweets from any X (Twitter) profile, not just recent ones. Uses advanced search with specific date ranges to capture far more data. Fast, stable & data-rich.

0.0 (0)

Pricing

Pay per event

1

2

2

Last modified

11 hours ago

Description

🚀 Scrape all tweets from any X (Twitter) user, fast and reliably!

This isn't just a simple profile scraper. It leverages X's advanced search capabilities to find tweets within specific date ranges and languages, ensuring you capture far more data than by just scrolling a user's timeline. Get the complete picture, not just the most recent posts.

This Actor is built to be fast, stable, and deliver comprehensive data for your analysis needs.

✨ Key Features

  • Go Beyond the Timeline: Uses advanced search to find all tweets, even older ones often hidden from the main profile page.
  • Precision Date Control: Specify exact startDate and endDate to get only the tweets you need.
  • Language Filtering: Target tweets written in a specific language (e.g., en, ja, es, zh-cn).
  • Deep Scrape Mode: Use the splitMode (by Day, Week, or Month) to break down large time ranges. This is the secret to capturing a complete history, as X's search has limitations. Splitting by 'day' is the most thorough method.
  • Fast & Stable: Optimized for efficient and reliable scraping.
  • Rich Data: Get comprehensive fields for each tweet (see Output section).

🎯 Use Cases

This tool is perfect for:

  • 📊 Market Analysis: Track competitor announcements and marketing campaigns over time.
  • 📈 Sentiment Analysis: Gather a user's (or brand's) posts for specific periods to analyze public sentiment.
  • ⚖️ Legal & Academic Research: Archive a complete history of tweets from public figures for documentation or research.
  • 🤖 Data Model Training: Collect large, specific datasets for training AI and machine learning models.
  • 🧐 Competitor Benchmarking: See how often your competitors post and what they talk about.

Input

This Actor requires an X (Twitter) user's profile URL and a date range.

Input Example (JSON)

{
"profileUrls": ["https://x.com/NASA", "https://x.com/elonmusk"],
"startDate": "2025-08-01",
"endDate": "2025-09-02",
"splitMode": "week",
"language": "any"
}

Input Parameters

FieldTypeDescriptionDefault
profileUrlsArrayAn array of one or more user profile URLs (e.g.,https://x.com/USERNAME).[]
startDateStringThe start of the time range. Only tweetsposted on or afterthis date will be scraped. (Format:YYYY-MM-DD)Required
endDateStringThe end of the time range. Only tweetsposted on or beforethis date will be scraped. (Format:YYYY-MM-DD)Required
splitModeString(Optional) Splits the date range to get more results.dayis the most thorough. Options:day,week,month.day
languageString(Optional) Language filter for search. Use 'any' to disable filtering (e.g., 'en', 'fr', 'zh-cn').any

Note on splitMode: For users with many tweets, X's search won't show everything in a large date range. Using splitMode: "day" or splitMode: "week" breaks the job into smaller queries, maximizing the number of tweets you can find.

Output

The Actor stores results in the dataset. Each item represents a single tweet with complete author and engagement details.

Output Example (JSON)

{
"tweetId": "1962908474892812685",
"authorHandle": "NASA",
"tweetUrl": "https://x.com/NASA/status/1962908474892812685",
"fullText": "Get ready for autumn skies 🍂 \n \nIn September, you’ll get a good look at Saturn and see a celestial trio before sunrise mid-month. Get more details about what to expect from this month’s night skies: https://t.co/ClHjcD6zgu https://t.co/ItoxUVfisB",
"createdAt": "2025-09-02 16:00:24+00:00",
"replyCount": 191,
"repostCount": 768,
"likeCount": 2720,
"viewCount": "477100",
"authorId": "11348282",
"authorUrl": "https://x.com/NASA",
"authorLocation": "Pale Blue Dot"
}

🚀 Getting Started

  • Add Actor​: Click the "Try for free" button to add this Actor to your Apify account.
  • Add Input​: Enter one or more X/Twitter profile URLs (e.g., https://x.com/NASA) into the profileUrls field.
  • Set Date Range​: Define the time period you want to scrape by setting the startDate and endDate.
  • ​​Set Filters (Optional)​​: For a deep scrape, set splitMode to day or week. You can also set the language to target specific tweets.
  • Run & Get Data​: Click "Start" and wait for the Actor to finish. You can download your tweet data in JSON, CSV, or Excel format from the "Storage" tab.

Looking for a different way to scrape X (Twitter)? 😊 Check out my other specialized scrapers:

  1. Ultimate X (Twitter) Advanced Search Scraper - 🚀 Harness the full power of X (Twitter) Advanced Search! Instead of scraping one profile, this Actor finds tweets from all users based on your specific criteria. Filter by keywords, dates, engagement, language, and more. Fast, stable, and precise data.

💬 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, Data Extraction, Social Media, Marketing, Competitor Analysis, Research, Data Mining, Twitter Profile, User Tweets, Language Filter