Youtube Scraper
Pricing
$7.00/month + usage
Youtube Scraper
This script scrapes YouTube search results using . It fetches the top 20 videos for a given query, extracts video and channel details (title, views, duration, publish time, thumbnails), formats the data, saves it as a JSON file
Pricing
$7.00/month + usage
Rating
0.0
(0)
Developer

Data Pilot
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Share
π YouTube Scraper is a robust Apify Actor designed to scrape YouTube Scraper data from YouTube search results. This tool provides comprehensive YouTube Scraper information, including video titles, view counts, durations, and channel details for any search query. Whether you're conducting SEO research, analyzing YouTube Scraper trends, or building video databases, the YouTube Scraper delivers detailed YouTube Scraper data efficiently.
With residential proxy support, the YouTube Scraper ensures reliable and undetected scraping of YouTube Scraper results. It focuses on key YouTube Scraper metrics like view counts, upload dates, and channel information, making it an essential tool for YouTube Scraper analysis and content research.
π₯ Features
- Comprehensive YouTube Scraper Extraction β Scrapes detailed YouTube Scraper data, including video metadata, channel info, and engagement metrics for any search query.
- Advanced Formatting β Provides human-readable formats for YouTube Scraper view counts, durations, and publication times.
- Batch Processing β Retrieves a specified number of YouTube Scraper results (up to 20+) in a single run for extensive YouTube Scraper datasets.
- Residential Proxy Support β Utilizes Apify's residential proxies to bypass restrictions and ensure high success rates for YouTube Scraper scraping.
- Metadata Enrichment β Extracts YouTube Scraper thumbnails, descriptions, and channel verification status for in-depth YouTube Scraper analysis.
- Error Handling β Robust logging and fallback mechanisms for failed YouTube Scraper scrapes.
- Dataset Integration β Automatically uploads YouTube Scraper data to your Apify dataset for easy export and analysis.
βοΈ How It Works
The YouTube Scraper takes a search query as input and uses to fetch YouTube Scraper results from YouTube's search API. It extracts metadata for videos and channels, formats the data for readability, and returns structured YouTube Scraper information on success or error details on failure. This approach ensures fast, consistent results for YouTube Scraper research and trend analysis.
Key Processing Steps:
- Query Validation β Parse and validate search query
- API Querying β Query YouTube search API via
- Result Extraction β Extract video and channel data
- Metadata Enrichment β Get thumbnails, descriptions, verification status
- Formatting β Convert to human-readable format
- Data Compilation β Aggregate results
- Export β Push to dataset in JSON format
Key benefits for YouTube Scraper analysis:
- Track YouTube Scraper search result rankings and performance.
- Analyze YouTube Scraper video engagement and channel metrics.
- Build YouTube Scraper databases for content strategy.
- Research keyword rankings on YouTube.
- Analyze video performance trends.
π₯ Input
The scraper accepts the following input parameters:
| Field | Type | Default | Description |
|---|---|---|---|
searchQuery | string | required | The search query to scrape YouTube Scraper results for (e.g., "technology news"). |
maxResults | integer | 20 | Maximum number of YouTube Scraper results to retrieve (1-50). |
useApifyProxy | boolean | false | Enable residential proxies for YouTube Scraper scraping. |
apifyProxyGroups | array | ["RESIDENTIAL"] | Proxy groups to use (e.g., ["RESIDENTIAL"]). |
Example input JSON:
{"searchQuery": "technology news","maxResults": 15,"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]}
π€ Output
The scraper outputs detailed YouTube Scraper data in JSON format. Each record includes:
| Field | Type | Description |
|---|---|---|
query | string | The original search query for YouTube Scraper. |
timestamp | string | Timestamp of the YouTube Scraper scrape. |
totalResults | integer | Number of YouTube Scraper results retrieved. |
video | array | Array of YouTube Scraper video objects. |
channel | array | Array of YouTube Scraper channel objects. |
Video Object Fields:
| Field | Type | Description |
|---|---|---|
videoId | string | Unique ID of the YouTube Scraper video. |
url | string | URL to the YouTube Scraper video. |
title | string | Title of the YouTube Scraper video. |
thumbnail | string | Thumbnail URL for the YouTube Scraper video. |
description | string | Description snippet of the YouTube Scraper video. |
channelName | string | Name of the YouTube Scraper channel. |
channelId | string | ID of the YouTube Scraper channel. |
isChannelVerified | boolean | Verification status of the YouTube Scraper channel. |
publishedTime | string | Human-readable publication time. |
viewH | string | Formatted view count (e.g., "1.2M views"). |
view | integer | Raw view count for the YouTube Scraper video. |
durationH | string | Formatted duration (e.g., "10 minutes"). |
duration | integer | Raw duration in seconds. |
Example output for YouTube Scraper results:
{"query": "technology news","timestamp": "2025-02-14T12:00:00Z","totalResults": 15,"video": [{"videoId": "example123","url": "https://www.youtube.com/watch?v=example123","title": "Latest Technology News","thumbnail": "https://example.com/thumbnail.jpg","description": "Breaking technology news...","channelName": "Tech Channel","channelId": "UCexample","isChannelVerified": true,"publishedTime": "2 days ago","viewH": "1.2M views","view": 1200000,"durationH": "10 minutes, 30 seconds","duration": 630}],"channel": [{"channelId": "UCexample","url": "https://www.youtube.com/channel/UCexample","channelName": "Tech Channel","username": "techchannel","avatar": "https://example.com/avatar.jpg","isChannelVerified": true,"subscriberH": "500K subscribers","description": "Channel dedicated to tech news"}]}
π§° Technical Stack
- Core Library: β YouTube search and data extraction
- Proxy Support: Apify Proxy with RESIDENTIAL support for reliability
- Data Processing: JSON formatting, metadata enrichment
- Platform: Apify Actor β serverless, scalable, integrated with Dataset and KeyβValue Store
- Deployment: Oneβclick run on Apify Console or via REST API
π― Use Cases
- SEO Research β Research YouTube keyword rankings and video performance.
- Content Strategy β Analyze what content ranks for specific keywords.
- Competitive Analysis β Research competitor videos and channels.
- Trend Analysis β Identify trending videos and topics on YouTube.
- Video Performance Research β Analyze view counts and engagement metrics.
- Channel Research β Research YouTube channels in your niche.
- Keyword Ranking β Track keyword rankings and SERP positions on YouTube.
- Market Research β Research market trends through YouTube search results.
- Lead Generation β Identify relevant channels and creators in your niche.
- Influencer Research β Find influencers and creators in your space.
- Content Ideas β Get inspiration from trending videos in your niche.
- Video Optimization β Research how successful videos are titled and described.
- Academic Research β Collect YouTube search data for research studies.
- Social Media Research β Research social media trends through YouTube.
π Quick Start
- Open in Apify Console β visit the Actor page and click Try for free.
- Enter search query β provide a YouTube search query (e.g., "machine learning").
- Set result limit β choose between 1-50 results to retrieve.
- Enable proxies β optional; enable for more reliable scraping.
- Click Start β the Actor will scrape YouTube search results.
- View Results β check the dataset for video and channel data.
- Analyze Data β use metrics for research and strategy.
- Export β download the results as JSON, CSV, or Excel.
You can also call this Actor programmatically via Apify SDK or REST API β ideal for automated YouTube research and trend tracking.
π Why This Scraper?
| Feature | Benefit |
|---|---|
| β Comprehensive data | Get videos, channels, and metrics in one call. |
| β Human-readable format | View counts and durations in easy-to-read format. |
| β Batch processing | Get up to 50 results in a single run. |
| β Residential proxies | Bypass restrictions β reliable access. |
| β Channel verification | Get channel verification status and info. |
| β Rich metadata | Thumbnails, descriptions, timestamps. |
| β Fast results | Quick API queries and processing. |
| β Apify ecosystem | Seamless integration with other Actors, triggers, and webhooks. |
π¦ Changelog
- Initial release of YouTube Scraper
- Search query support for YouTube results
- Video and channel data extraction
- Metadata enrichment (thumbnails, descriptions, verification status)
- Human-readable formatting for view counts and durations
- Batch processing (up to 50 results)
- Residential proxy support for reliability
- Channel verification status detection
- Published time formatting
- Error handling with detailed error messages
- Automatic dataset integration
- Full Apify Actor integration
π§βπ» Support & Feedback
- Issues & Ideas: Open a ticket on the Apify Actor issue tracker
- Contributions: Pull requests are welcome via the GitHub repository
- Documentation: Visit Apify Docs for comprehensive platform guides
- Community: Join the Apify community forum for discussions and support
- Bug Reports: Submit detailed bug reports through the issue tracker
- Feature Requests: Suggest new features to improve the scraper
π° Pricing
- Free for basic usage on Apify platform
- Paid plans available for higher limits and priority support
- Proxy credits consumed based on residential proxy usage
π Get Started Today
Begin scraping YouTube search results now!
Use YouTube Scraper for:
- π Keyword Research
- π SEO Analysis
- π― Trend Analysis
- π‘ Content Strategy
- π Competitive Analysis
Perfect for:
- Content Creators
- SEO Specialists
- Researchers
- Marketing Professionals
- Analysts
Last Updated: February 2025
Status: Active Development
Support: 24/7 Customer Support Available
Platform: Apify
π Related Tools
For comprehensive YouTube analysis and research, explore our full suite of tools:
- YouTube Comment Scraper
- YouTube Video Analytics Scraper
- YouTube Advanced Metadata Scraper
- All-in-One Media Downloader
- Ultimate Video Info Fetcher