Youtube Scraper
by bluephantom
Unlimited and Affordable YouTube video scraper. Easily extract all video data using search terms or direct URLs. Carefully developed code, optimised t...
Opens on Apify.com
About Youtube Scraper
Unlimited and Affordable YouTube video scraper. Easily extract all video data using search terms or direct URLs. Carefully developed code, optimised through over 100 iterations, to minimise computational costs.
What does this actor do?
Youtube Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
YouTube Scraper 🎬 Scrape YouTube videos, shorts, and live streams at scale. Extract views, likes, channel info, thumbnails, transcripts, and more. Optimized pricing for all plans ## Features - 🔍 Search scraping — Search any term and scrape videos, shorts, or streams - 🎬 Videos, Shorts & Streams — Scrape any content type separately - 📝 Transcripts/Subtitles — Download in TXT, SRT, VTT, or JSON format - 🌍 Multi-region — Target specific countries and languages - 🔗 Direct URLs — Scrape specific videos by URL - 🎯 View filters — Filter by minimum/maximum view count - ⚡ Optimized — Fast, efficient, and cost-effective ## Output Data Each scraped video includes: | Field | Description | |-------|-------------| | title | Video title | | videoId | YouTube video ID | | videoUrl | Full video URL | | contentType | video, short, or live | | views | View count | | likes | Like count | | channelName | Channel name | | channelId | Channel ID | | channelUrl | Channel URL | | subscribers | Channel subscriber count | | publishedDate | Publish date | | thumbnail | Thumbnail URL | | isMembersOnly | Members-only content flag | | subtitles | Transcript text (if enabled) | | subtitlesLanguage | Transcript language code | | searchTerm | Original search term | | scrapedAt | Scrape timestamp | ## Example Output json { "title": "How to Build a Web Scraper in 10 Minutes", "videoId": "dQw4w9WgXcQ", "videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "contentType": "video", "views": 1250000, "likes": 45000, "channelName": "Tech Tutorials", "channelId": "UC1234567890", "channelUrl": "https://www.youtube.com/channel/UC1234567890", "subscribers": 500000, "publishedDate": "2 months ago", "thumbnail": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg", "isMembersOnly": false, "searchTerm": "web scraping tutorial", "scrapedAt": "2024-01-15T10:30:00.000Z" } ## Input Parameters ### Search Configuration | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | searchTerms | array | [] | List of search terms | | maxVideosPerSearch | integer | 10 | Max videos per search (0 to disable) | | maxShortsPerSearch | integer | 0 | Max shorts per search (0 to disable) | | maxStreamsPerSearch | integer | 0 | Max streams per search (0 to disable) | ### Direct URLs | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | directUrls | array | [] | Direct YouTube URLs to scrape | ### Transcript Options | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | downloadSubtitles | boolean | false | Download transcripts | | subtitleLanguage | string | en | Preferred language | | subtitleFormat | string | txt | Format: txt, srt, vtt, json | ### Filters | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | minViewCount | integer | 0 | Minimum views (0 = no minimum) | | maxViewCount | integer | 0 | Maximum views (0 = no maximum) | ### Localization | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | regionCode | string | US | YouTube region | | interfaceLanguage | string | en | Interface language | ### Performance | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | delayBetweenRequests | integer | 500 | Delay in ms between requests | | deduplicateResults | boolean | true | Skip duplicate videos | ### Proxy | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | proxyConfiguration | object | {"useApifyProxy": true} | Proxy settings | ## Example Input json { "searchTerms": ["web scraping tutorial", "python automation"], "maxVideosPerSearch": 20, "maxShortsPerSearch": 5, "downloadSubtitles": true, "subtitleLanguage": "en", "subtitleFormat": "txt", "minViewCount": 1000, "regionCode": "US", "proxyConfiguration": { "useApifyProxy": true } } ## Use Cases - Market Research — Analyze trending content in your niche - Competitor Analysis — Track competitor video performance - Content Ideas — Find popular topics and formats - Lead Generation — Find channels and creators to reach out to - Data Analysis — Build datasets for ML/AI training - Transcript Mining — Extract text content for analysis ## Integrations Export data to: - JSON, CSV, Excel - Google Sheets - Webhooks - Zapier, Make, n8n - Any API endpoint ## Tips 1. Use Apify Proxy — Recommended for reliable scraping at scale 2. Start small — Test with a few videos before large scrapes 3. Filter by views — Use minViewCount to get only popular content 4. Deduplicate — Keep deduplicateResults enabled to avoid duplicates across search terms ## Pricing $0.0025 - $0.004 per video scraped = $2.5 - $4 per 1,000 videos You only pay for successfully scraped videos with complete metadata. ## Support Having issues? Open an issue for this Actor or contact me at https://x.com/Im_BluePhantom.
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Youtube Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- bluephantom
- Pricing
- Paid
- Total Runs
- 175
- Active Users
- 10
Related Actors
TikTok Scraper
by clockworks
TikTok Data Extractor
by clockworks
Fast TikTok API (free-watermark videos)
by novi
YouTube Scraper
by streamers
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support