Youtube Scraper avatar

Youtube Scraper

Pricing

$7.00/month + usage

Go to Apify Store
Youtube Scraper

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

Data Pilot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

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:

  1. Query Validation – Parse and validate search query
  2. API Querying – Query YouTube search API via
  3. Result Extraction – Extract video and channel data
  4. Metadata Enrichment – Get thumbnails, descriptions, verification status
  5. Formatting – Convert to human-readable format
  6. Data Compilation – Aggregate results
  7. 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:

FieldTypeDefaultDescription
searchQuerystringrequiredThe search query to scrape YouTube Scraper results for (e.g., "technology news").
maxResultsinteger20Maximum number of YouTube Scraper results to retrieve (1-50).
useApifyProxybooleanfalseEnable residential proxies for YouTube Scraper scraping.
apifyProxyGroupsarray["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:

FieldTypeDescription
querystringThe original search query for YouTube Scraper.
timestampstringTimestamp of the YouTube Scraper scrape.
totalResultsintegerNumber of YouTube Scraper results retrieved.
videoarrayArray of YouTube Scraper video objects.
channelarrayArray of YouTube Scraper channel objects.

Video Object Fields:

FieldTypeDescription
videoIdstringUnique ID of the YouTube Scraper video.
urlstringURL to the YouTube Scraper video.
titlestringTitle of the YouTube Scraper video.
thumbnailstringThumbnail URL for the YouTube Scraper video.
descriptionstringDescription snippet of the YouTube Scraper video.
channelNamestringName of the YouTube Scraper channel.
channelIdstringID of the YouTube Scraper channel.
isChannelVerifiedbooleanVerification status of the YouTube Scraper channel.
publishedTimestringHuman-readable publication time.
viewHstringFormatted view count (e.g., "1.2M views").
viewintegerRaw view count for the YouTube Scraper video.
durationHstringFormatted duration (e.g., "10 minutes").
durationintegerRaw 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

  1. Open in Apify Console – visit the Actor page and click Try for free.
  2. Enter search query – provide a YouTube search query (e.g., "machine learning").
  3. Set result limit – choose between 1-50 results to retrieve.
  4. Enable proxies – optional; enable for more reliable scraping.
  5. Click Start – the Actor will scrape YouTube search results.
  6. View Results – check the dataset for video and channel data.
  7. Analyze Data – use metrics for research and strategy.
  8. 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?

FeatureBenefit
βœ… Comprehensive dataGet videos, channels, and metrics in one call.
βœ… Human-readable formatView counts and durations in easy-to-read format.
βœ… Batch processingGet up to 50 results in a single run.
βœ… Residential proxiesBypass restrictions – reliable access.
βœ… Channel verificationGet channel verification status and info.
βœ… Rich metadataThumbnails, descriptions, timestamps.
βœ… Fast resultsQuick API queries and processing.
βœ… Apify ecosystemSeamless 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


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