Twitter X Media Scraper avatar
Twitter X Media Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Twitter X Media Scraper

Twitter X Media Scraper

Extract photos and videos from tweets for any public Twitter (X) account. Supports multi-user batching, media type filtering (photo/video), optional retweets, and detailed tweet + author metadata with clean CSV/JSON exports.

Pricing

from $2.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

2 days ago

Last modified

Share

๐Ÿ“ธ Twitter X Media Scraper

Extract Photos & Videos from Twitter X - Download comprehensive media content from any Twitter X account with high precision and speed. Perfect for content analysis, media research, and social media monitoring.

Apify Actor Twitter API Node.js


๐Ÿ“‹ Table of Contents


๐Ÿš€ Quick Start

Extract Twitter X media content in 3 simple steps:

  1. Add Target Usernames - Enter Twitter X usernames whose media content you want to extract
  2. Configure Settings - Set tweet limits and media type preferences
  3. Extract & Download - Get comprehensive media data with photos and videos

โœจ Key Features

๐ŸŽฏ Precision Media Extraction

  • Extract photos and videos from any public Twitter X account
  • Support for multiple username formats (@username, username, full URLs)
  • Batch processing for multiple accounts simultaneously
  • Advanced media filtering and analysis capabilities

๐Ÿ“Š Rich Media Collection

  • Photo Content: High-resolution images with metadata
  • Video Content: Multiple quality variants and formats
  • Tweet Information: Full tweet text, engagement metrics, timestamps
  • Author Details: Profile information and verification status
  • Media Analytics: Comprehensive media statistics and insights

โšก Enterprise Performance

  • High-Speed Processing: Extract hundreds of media files per minute
  • Smart Rate Limiting: Automatic request throttling to avoid blocks
  • Robust Error Handling: Continues processing even if some tweets fail
  • Scalable Architecture: Handle multiple API keys for increased throughput

๐Ÿ”’ Reliability & Compliance

  • Real-time Data: Always fresh, up-to-date media content
  • Error Recovery: Automatic retries and failover mechanisms
  • Data Integrity: Comprehensive media validation and metadata

๐ŸŽฏ Use Cases

Use CaseDescriptionBenefits
๐Ÿ“ธ Content AnalysisAnalyze visual content trends and patternsContent strategy, trend identification
๐Ÿ” Competitor ResearchMonitor competitor's media content strategyStrategic intelligence, content insights
๐ŸŽฏ Influencer MarketingCollect media content from influencersCampaign analysis, content quality assessment
๐Ÿ“ˆ Brand MonitoringTrack brand-related visual contentBrand awareness, reputation management
๐Ÿค Media ArchivalCreate comprehensive media archivesContent preservation, historical analysis
๐Ÿ“Š Engagement AnalysisStudy media performance and engagementContent optimization, audience insights
๐ŸŽช Research & AcademiaCollect data for social media researchAcademic studies, behavioral analysis
๐Ÿš€ Content CurationDiscover and collect high-quality mediaContent inspiration, creative research

๐Ÿ“Š Data Output

Each media record contains comprehensive information:

๐Ÿ“ธ Photo Data

{
"media_photos": [
{
"id": "1978513169153982466",
"media_url_https": "https://pbs.twimg.com/media/G3UXPqbbAAI_Yn_.jpg",
"type": "photo"
}
]
}

๐ŸŽฌ Video Data

{
"media_videos": [
{
"id": "1980335146310987777",
"media_url_https": "https://pbs.twimg.com/amplify_video_thumb/...",
"type": "video",
"duration": 13066,
"variants": [
{
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/...",
"bitrate": 2176000
}
]
}
]
}

๐Ÿ“Š Tweet & Engagement Data

{
"tweet_id": "1980335246127325338",
"text": "WE R DROPPING 10 YEAR MERCH AT 12PM PST...",
"favorites": 4437,
"retweets": 390,
"replies": 271,
"views": "257695",
"created_at": "Mon Oct 20 18:08:10 +0000 2025"
}

โš™๏ธ Configuration

๐ŸŽ›๏ธ Input Parameters

ParameterTypeRequiredDescription
usernamesArrayโœ…Twitter X usernames to extract media content from
max_tweets_per_userIntegerโŒMaximum tweets to process per user (default: 100)
include_retweetsBooleanโŒInclude media from retweets (default: false)
media_typesArrayโŒMedia types to extract: ['photo', 'video'] (default: both)

๐Ÿ”ง Advanced Settings

{
"usernames": ["KylieJenner", "elonmusk", "@sundarpichai"],
"max_tweets_per_user": 500,
"include_retweets": true,
"media_types": ["photo", "video"]
}

Username Format Support:

  • โœ… username - Simple username
  • โœ… @username - With @ symbol
  • โœ… https://twitter.com/username - Full Twitter URL
  • โœ… https://x.com/username - X.com URL

๐Ÿ’ก Pro Tips

๐Ÿš€ Maximize Performance

  • Batch Processing: Add multiple usernames to process them efficiently
  • Optimal Limits: Use 100-500 tweets per user for best speed/data balance
  • Media Filtering: Choose specific media types based on your needs

๐ŸŽฏ Data Quality

  • Regular Updates: Run extractions regularly to track new media content
  • Media Validation: Always validate media URLs before downloading
  • Quality Filtering: Focus on high-engagement tweets with quality media

๐Ÿ“Š Analysis Strategies

  • Content Trends: Analyze visual content patterns and themes
  • Engagement Correlation: Study relationship between media type and engagement
  • Temporal Analysis: Track media posting patterns over time
  • Comparative Analysis: Compare media strategies across different accounts

๐Ÿ“ˆ Performance

โšก Speed Benchmarks

TweetsProcessing TimeAPI RequestsMedia Files
100~1-2 minutes5-10 requests50-200 files
500~5-8 minutes25-50 requests250-1000 files
1,000~10-15 minutes50-100 requests500-2000 files

๐Ÿ”„ Rate Limiting

  • Smart Throttling: Automatic delays between requests
  • Error Recovery: Automatic retries on temporary failures

๐ŸŽฌ Media Analysis

๐Ÿ”— Content Mapping

  • Media Trends: Understand visual content patterns and themes
  • Engagement Patterns: Identify high-performing media types
  • Content Evolution: Track changes in media strategy over time

๐Ÿ“Š Advanced Analytics

  • Media Performance Analysis: Compare engagement across different media types
  • Content Frequency: Analyze posting patterns and media distribution
  • Quality Assessment: Evaluate media resolution and format preferences

๐ŸŽฏ Strategic Applications

  • Content Strategy: Analyze successful media content patterns
  • Competitor Analysis: Study competitor's visual content approach
  • Trend Research: Identify emerging visual content trends

โ“ FAQ

Q: How many media files can I extract?

A: You can extract up to 5,000 tweets per username, potentially yielding thousands of media files. For optimal performance, we recommend 100-500 tweets per run.

Q: What media data do I get for each tweet?

A: Complete media information including photo URLs, video variants with different qualities, tweet text, engagement metrics, author details, and timestamps.

Q: Can I extract media from private accounts?

A: No, the scraper only works with public Twitter X accounts due to API limitations.

Q: What types of media can I extract?

A: You can extract photos (JPG, PNG) and videos (MP4, M3U8) with multiple quality variants. Choose specific types using the media_types parameter.

Q: How often should I run the scraper?

A: For content monitoring, run daily or weekly. For research projects, the frequency depends on your analysis needs.

Q: Is the media data real-time?

A: Yes, all media data is fetched in real-time directly from Twitter X's API.

Q: What happens if a tweet is deleted?

A: The scraper will skip unavailable tweets and continue processing others, logging any errors.

Q: Can I download the actual media files?

A: The scraper provides direct URLs to media files. You can use these URLs to download the actual images and videos programmatically.

Q: How do I handle large media datasets?

A: Use Apify's dataset API to process data in chunks, or export to CSV/JSON for further analysis and media downloading.


๐Ÿ†˜ Support

๐Ÿ“ž Get Help

  • ๐Ÿ“ง Email Support: Contact us for technical assistance
  • ๐Ÿ“š Documentation: Comprehensive guides and examples
  • ๐Ÿ’ฌ Community: Join our developer community
  • ๐Ÿ› Bug Reports: Report issues for quick resolution

๐Ÿ”„ Updates & Maintenance

  • โœ… Regular updates for API changes
  • ๐Ÿ›ก๏ธ Security patches and improvements
  • ๐Ÿ“ˆ Performance optimizations
  • ๐Ÿ†• New features based on user feedback

Ready to unlock the power of Twitter X media intelligence? ๐Ÿš€

Start your media analysis journey today and transform how you understand visual content trends, engagement patterns, and media strategies!


Built with โค๏ธ for the Apify community

Search Keywords

Twitter Media Scraper, Twitter Media scraper apify, Twitter media scraper download, Twitter photo scraper, Twitter video scraper, X media scraper, Twitter image downloader, Twitter video downloader, social media scraper, Twitter content scraper, X photo scraper, Twitter media extractor, social media content analysis, Twitter media monitoring, X media downloader.