X (Twitter) Search Scraper avatar
X (Twitter) Search Scraper

Pricing

from $5.00 / 1,000 results

Go to Apify Store
X (Twitter) Search Scraper

X (Twitter) Search Scraper

Powerful X search data extractor. Search for any keyword, hashtag, or mention and download all matching tweets with their images, videos, profiles, and all engagement counts. Zero setup required – just enter your queries and get data!

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

Sachin Kumar Yadav

Sachin Kumar Yadav

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

8 days ago

Last modified

Share

πŸ” Twitter (X) Search Scraper - Advanced Tweet Search & Data Extraction

Powerful Twitter (X) search scraper that extracts tweets, user profiles, engagement metrics, and media content based on custom search queries. Perfect for social media monitoring, trend analysis, competitive research, and comprehensive Twitter data extraction! πŸš€

πŸ“‹ Table of Contents

πŸš€ Key Features

  • πŸ” Advanced Search: Search tweets using keywords, hashtags, mentions, and complex operators
  • 🎯 Multiple Search Types: Top, Latest, Media, People, and Lists search options
  • πŸ“Š Comprehensive Data: Extract tweet content, engagement metrics, and user information
  • 🎬 Media Support: Collect photos, videos, and GIFs with detailed metadata
  • ⚑ Batch Processing: Process multiple search queries efficiently
  • πŸ“± User Profiles: Detailed author information including followers, verification status
  • πŸ”„ Real-time Data: Get the latest tweets and trending content
  • πŸ“ˆ Export Options: Clean CSV and JSON exports for analysis

πŸ“Š What You Get

🐦 Tweet Information

FieldDescription
tweet_idUnique tweet identifier
textFull tweet content
created_atTweet creation timestamp
langTweet language
source_appApplication used to post
conversation_idThread identifier

πŸ“ˆ Engagement Metrics

MetricDescription
favoritesNumber of likes
retweetsRetweet count
repliesReply count
quotesQuote tweet count
bookmarksBookmark count
viewsView count (when available)

πŸ‘€ User Information

FieldDescription
screen_nameUsername (@handle)
nameDisplay name
descriptionBio/description
followers_countFollower count
friends_countFollowing count
verifiedVerification status
avatarProfile image URL
locationUser location

🎬 Media Assets

TypeDescription
photosHigh-resolution image URLs with sizes
videosVideo URLs with multiple quality variants
metadataDimensions, duration, aspect ratios

πŸ› οΈ How to Use

Step 1: Configure Search Queries πŸ”

  • Enter search terms, hashtags, or mentions
  • Use operators like "AI OR machine learning"
  • Add multiple queries for batch processing

Step 2: Select Search Type 🎯

  • Top: Most relevant and popular tweets
  • Latest: Newest tweets in chronological order
  • Media: Tweets containing photos/videos
  • People: User profiles matching query
  • Lists: Twitter lists related to query

Step 3: Configure Settings βš™οΈ

  • Set maximum tweets per query (1-500)
  • Enable/disable user information extraction
  • Enable/disable media information extraction

Step 4: Run & Export πŸš€

  • Start the scraper and monitor progress
  • Download results in CSV or JSON format
  • Analyze data using your preferred tools

πŸ“ Input Configuration

ParameterTypeRequiredDescriptionDefault
queriesArrayβœ…Search terms/phrases-
search_typeString❌Search type (Top/Latest/Media/People/Lists)"Top"
max_tweets_per_queryInteger❌Max tweets per query (1-500)100
include_user_infoBoolean❌Include user profile datatrue
include_media_infoBoolean❌Include media metadatatrue

πŸ” Search Query Examples

Query TypeExampleDescription
Keywordsartificial intelligenceFind tweets about AI
Hashtags#AI #MachineLearningSearch specific hashtags
Mentions@elonmuskFind tweets mentioning users
Complexbitcoin OR cryptocurrencyUse boolean operators
Phrases"climate change"Exact phrase matching

πŸ’‘ Use Cases

πŸ”¬ Research & Analysis

  • Trend Analysis: Monitor trending topics and hashtags
  • Sentiment Analysis: Collect tweets for sentiment research
  • Academic Research: Gather data for social media studies
  • Market Research: Analyze consumer opinions and feedback

πŸ“Š Business Intelligence

  • Brand Monitoring: Track mentions of your brand/products
  • Competitor Analysis: Monitor competitor discussions
  • Crisis Management: Track negative sentiment or issues
  • Influencer Research: Find key opinion leaders in your industry

πŸ“ˆ Marketing & Social Media

  • Content Strategy: Analyze successful content patterns
  • Hashtag Research: Find effective hashtags for campaigns
  • Audience Insights: Understand your target audience
  • Campaign Monitoring: Track campaign performance and reach

🎯 Specialized Applications

  • News Monitoring: Track breaking news and events
  • Political Analysis: Monitor political discussions and trends
  • Event Tracking: Follow live events and conferences
  • Product Launches: Monitor product launch discussions

πŸ”§ Advanced Features

⚑ Smart Processing

  • Rate Limiting: Automatic delays to respect API limits
  • Error Recovery: Robust error handling and retry mechanisms
  • Batch Optimization: Efficient processing of multiple queries
  • Progress Tracking: Real-time extraction progress updates

🎯 Data Quality

  • Data Validation: Clean and validated output data
  • Duplicate Handling: Automatic deduplication of results
  • Format Consistency: Standardized data structure
  • Metadata Enrichment: Additional context and information

πŸ”„ Scalability

  • High Volume: Handle thousands of tweets efficiently
  • Multiple Queries: Process up to 20 queries simultaneously
  • Flexible Limits: Configurable extraction limits
  • Resource Optimization: Efficient memory and API usage

πŸ“ˆ Output Format

Sample Tweet Data Structure

{
"source": "twitter_search",
"search_query": "artificial intelligence",
"search_type": "Top",
"tweet_id": "1988723881423859888",
"text": "Amazing breakthrough in AI technology...",
"created_at": "Wed Nov 12 21:41:36 +0000 2025",
"lang": "en",
"favorites": 12523,
"retweets": 2011,
"replies": 1234,
"quotes": 180,
"bookmarks": 71,
"views": "129752",
"user_info": {
"screen_name": "techexpert",
"name": "Tech Expert",
"followers_count": 50000,
"verified": true,
"description": "AI researcher and tech enthusiast"
},
"media": {
"photo": [
{
"media_url_https": "https://pbs.twimg.com/media/example.jpg",
"id": "1234567890",
"sizes": {"large": {"h": 1024, "w": 768}}
}
]
},
"entities": {
"hashtags": ["#AI", "#Technology"],
"urls": ["https://example.com"],
"user_mentions": ["@username"]
}
}

⚑ Performance

πŸš€ Speed & Efficiency

  • Processing Rate: 200-500 tweets per minute
  • API Optimization: Intelligent request batching
  • Memory Efficient: Optimized for large datasets
  • Concurrent Processing: Multiple queries processed simultaneously

πŸ“Š Scalability Metrics

MetricPerformance
Max Queries20 per run
Max Tweets10,000+ per run
Processing Speed200-500 tweets/min
Success Rate99%+
Error RecoveryAutomatic retry

πŸ”’ Privacy & Ethics

βœ… Compliance

  • Public Data Only: Extracts only publicly available tweets
  • Terms of Service: Complies with Twitter's ToS
  • Rate Limiting: Respects API usage guidelines
  • No Authentication: No user login required

πŸ›‘οΈ Data Protection

  • No Personal Data Storage: Doesn't store sensitive information
  • Ethical Usage: Designed for legitimate research and analysis
  • Transparency: Clear data collection practices
  • User Control: Full control over extracted data

❓ FAQ

πŸ” General Questions

Q: What types of searches can I perform? A: You can search using keywords, hashtags (#), mentions (@), phrases in quotes, and boolean operators (OR, AND). The scraper supports all standard Twitter search syntax.

Q: How many tweets can I extract? A: You can extract up to 500 tweets per search query, with support for up to 20 different queries per run, allowing for up to 10,000 tweets total.

Q: Do I need a Twitter account? A: No, the scraper only accesses publicly available data and doesn't require any Twitter authentication.

βš™οΈ Technical Questions

Q: What data formats are supported? A: The scraper exports data in both JSON and CSV formats, making it compatible with most analysis tools and platforms.

Q: How fast is the extraction process? A: The scraper processes 200-500 tweets per minute, depending on the complexity of queries and API response times.

Q: Can I extract historical tweets? A: Yes, you can extract tweets from any time period, though Twitter's search API typically returns results from the past 7-10 days for most queries.

🎯 Usage Questions

Q: What's the difference between search types? A:

  • Top: Most relevant and engaging tweets
  • Latest: Newest tweets in chronological order
  • Media: Only tweets with photos/videos
  • People: User profiles matching your query
  • Lists: Twitter lists related to your search

Q: Can I monitor real-time trends? A: Yes, use the "Latest" search type to get the most recent tweets about trending topics or breaking news.

Q: How do I search for exact phrases? A: Use quotes around your search term, like "climate change" to find tweets containing that exact phrase.

πŸ”§ Troubleshooting

Q: What if my search returns no results? A: Try broader search terms, check spelling, or use different search types. Some topics may have limited recent activity.

Q: How do I handle rate limits? A: The scraper automatically handles rate limiting with built-in delays. For large extractions, consider splitting into smaller batches.

Q: Can I extract tweets in languages other than English? A: Yes, the scraper supports tweets in all languages. Use the lang field in results to filter by specific languages.


🏷️ Keywords

Twitter scraper, X scraper, tweet search, social media scraper, Twitter data extraction, tweet scraper, social media monitoring, Twitter API, X API, social media analytics, trend analysis, hashtag tracking, brand monitoring, sentiment analysis, social listening, Twitter research, social media intelligence, content analysis, engagement metrics, user profiling