YouTube Comments Scraper

YouTube Comments Scraper

by igview-owner

Extract and scrape YouTube video comments with advanced filtering. Get comment text, author details, likes, replies, timestamps, and verified badges. ...

31 runs
3 users
Try This Actor

Opens on Apify.com

About YouTube Comments Scraper

Extract and scrape YouTube video comments with advanced filtering. Get comment text, author details, likes, replies, timestamps, and verified badges. Supports pagination, sorting by newest/top, and bulk extraction from multiple videos.

What does this actor do?

YouTube Comments 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

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

💬 YouTube Comment Scraper - Extract Comments with Metadata 🚀 Extract and scrape YouTube video comments with advanced filtering and metadata. Get comment text, author details, likes, replies, timestamps, verified badges, and more. Perfect for sentiment analysis, market research, and content insights! --- ## 📋 Table of Contents - ✨ Features - 🎯 Use Cases - ⚡ Quick Start - 📊 Input Parameters - 📤 Output Format - 🔧 Configuration Options - ❓ FAQ --- ## ✨ Features ### 💬 Comment Extraction Capabilities - ✅ Bulk Comment Scraping - Extract thousands of comments from multiple videos - ✅ Pagination Support - Automatically fetch all comments with continuation tokens - ✅ Sort Options - Get top comments or newest comments first - ✅ YouTube Shorts Support - Full compatibility with YouTube Shorts videos - ✅ Batch Processing - Process multiple videos in a single run - ✅ Custom Limits - Control how many comments to extract per video --- ## 🎯 Use Cases | Use Case | Description | Key Benefits | |----------|-------------|--------------| | 📊 Sentiment Analysis | Analyze audience reactions and opinions | Understand viewer sentiment, identify trends, gauge reception | | 🔍 Market Research | Study competitor videos and audience feedback | Competitive intelligence, customer insights, product feedback | | 🤖 AI Training Data | Collect comments for machine learning models | Large-scale datasets, diverse opinions, real user content | | 📈 Engagement Analytics | Track comment patterns and engagement rates | Measure video performance, identify viral content, track growth | | 🎓 Academic Research | Study social media behavior and communication | Research data, behavioral patterns, linguistic analysis | | 🛡️ Content Moderation | Monitor comments for brand safety | Identify spam, detect harmful content, protect brand reputation | | 💼 Influencer Analysis | Evaluate influencer audience engagement | Verify authenticity, measure influence, assess partnerships | | 📱 Social Listening | Monitor brand mentions and customer feedback | Real-time feedback, crisis management, customer service | --- ## ⚡ Quick Start ### 1️⃣ Basic Usage - Extract Top Comments json { "video_urls": [ "https://www.youtube.com/watch?v=jNQXAC9IVRw" ], "sort_by": "top", "max_comments": 100 } ### 2️⃣ Extract Newest Comments json { "video_urls": [ "https://www.youtube.com/watch?v=jNQXAC9IVRw" ], "sort_by": "newest", "max_comments": 500 } ### 3️⃣ Bulk Extraction from Multiple Videos json { "video_urls": [ "https://www.youtube.com/watch?v=jNQXAC9IVRw", "https://youtu.be/dQw4w9WgXcQ", "jNQXAC9IVRw" ], "geo": "US", "lang": "en", "sort_by": "top", "max_comments": 200 } ### 4️⃣ Extract All Available Comments json { "video_urls": [ "https://www.youtube.com/watch?v=jNQXAC9IVRw" ], "sort_by": "top" } Note: Leave max_comments empty to extract all available comments --- ## 📊 Input Parameters | Parameter | Type | Required | Description | Default | Example | |-----------|------|----------|-------------|---------|---------| | video_urls | Array | ✅ Yes | YouTube video URLs or video IDs | - | ["https://youtube.com/watch?v=..."] | | geo | String | ❌ No | ISO 3166-2 country code | "US" | "US", "IN", "GB" | | lang | String | ❌ No | Language/locale code | "en" | "en", "es", "hi" | | sort_by | String | ❌ No | Sort order: top or newest | "top" | "top", "newest" | | max_comments | Integer | ❌ No | Max comments per video | All | 100, 500, 1000 | ### 🔗 Supported URL Formats - ✅ https://www.youtube.com/watch?v=VIDEO_ID - ✅ https://youtu.be/VIDEO_ID - ✅ https://www.youtube.com/shorts/VIDEO_ID - ✅ https://www.youtube.com/embed/VIDEO_ID - ✅ https://m.youtube.com/watch?v=VIDEO_ID - ✅ Direct video ID: VIDEO_ID (e.g., jNQXAC9IVRw) --- ## 📤 Output Format ### 💬 Comment Data Structure json { "source": "youtube", "input_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw", "video_id": "jNQXAC9IVRw", "comment_id": "UgzuC3zzpRZkjc5Qzsd4AaABAg", "author_name": "@SanDiegoZoo", "author_channel_id": "UCC5NfQ6Mf0dq_eEwv4P_hWA", "author_thumbnail": "https://yt3.ggpht.com/...", "text": "We're so honored that the first ever YouTube video was filmed here!", "published_time_text": "5 years ago", "publish_date": "2020-11-07", "published_at": "2020-11-07T00:00:00Z", "likes_count": "4.3M", "reply_count": 985, "is_verified": true, "is_artist": false, "is_creator": false, "is_channel_owner": false, "reply_token": "Eg0SC2pOUVhBQzlJVlJ3GAYy..." } ### 📋 Output Fields Explained | Field | Type | Description | |-------|------|-------------| | source | String | Always "youtube" | | input_url | String | Original input URL | | video_id | String | YouTube video ID | | comment_id | String | Unique comment identifier | | author_name | String | Comment author's username | | author_channel_id | String | Author's YouTube channel ID | | author_thumbnail | String | Author's profile picture URL | | text | String | Comment text content | | published_time_text | String | Human-readable publish time | | publish_date | String | ISO date (YYYY-MM-DD) | | published_at | String | ISO 8601 timestamp | | likes_count | String | Number of likes (formatted) | | reply_count | Integer | Number of replies | | is_verified | Boolean | Has verified badge | | is_artist | Boolean | Has artist badge | | is_creator | Boolean | Has creator badge | | is_channel_owner | Boolean | Is video uploader | | reply_token | String | Token to fetch replies | --- ## 🔧 Configuration Options ### 🌍 Supported Countries (Geo Codes) | Region | Code | Region | Code | Region | Code | |--------|------|--------|------|--------|------| | 🇺🇸 United States | US | 🇮🇳 India | IN | 🇬🇧 United Kingdom | GB | | 🇩🇪 Germany | DE | 🇯🇵 Japan | JP | 🇧🇷 Brazil | BR | | 🇨🇦 Canada | CA | 🇫🇷 France | FR | 🇪🇸 Spain | ES | | 🇷🇺 Russia | RU | 🇦🇺 Australia | AU | 🇮🇹 Italy | IT | | 🇳🇱 Netherlands | NL | 🇹🇷 Türkiye | TR | 🇮🇩 Indonesia | ID | | 🇲🇽 Mexico | MX | 🇰🇷 South Korea | KR | 🇸🇦 Saudi Arabia | SA | | 🇦🇪 UAE | AE | 🇵🇰 Pakistan | PK | 🇧🇩 Bangladesh | BD | | 🇳🇬 Nigeria | NG | 🇵🇭 Philippines | PH | 🇻🇳 Vietnam | VN | | 🇹🇭 Thailand | TH | 🇪🇬 Egypt | EG | 🇿🇦 South Africa | ZA | ### 🗣️ Supported Languages | Language | Code | Language | Code | Language | Code | |----------|------|----------|------|----------|------| | English | en | Spanish | es | French | fr | | German | de | Hindi | hi | Japanese | ja | | Korean | ko | Portuguese | pt | Russian | ru | | Arabic | ar | Italian | it | Indonesian | id | | Turkish | tr | Vietnamese | vi | Thai | th | | Chinese | zh | Polish | pl | Dutch | nl | | Swedish | sv | Norwegian | no | - | - | ### 📊 Sort Options | Option | Description | Best For | |--------|-------------|----------| | top | Most popular comments first | Finding highly-engaged comments, viral content | | newest | Most recent comments first | Real-time monitoring, latest feedback | --- ## ❓ FAQ ### Q: How many comments can I extract? A: You can extract unlimited comments! Set max_comments to control the limit per video, or leave it empty to extract all available comments. Most videos have 100-10,000 comments, but viral videos can have millions. ### Q: Does this work with YouTube Shorts? A: Yes! The actor fully supports YouTube Shorts. Just provide the Shorts URL or video ID. ### Q: Can I extract comment replies? A: The actor extracts top-level comments and provides reply_token for each comment. You can use this token to fetch nested replies in a separate request. ### Q: What's the difference between 'top' and 'newest' sorting? A: - Top: Comments sorted by popularity (most likes first) - Best for sentiment analysis - Newest: Comments sorted by recency (latest first) - Best for real-time monitoring ### Q: How do I handle videos with millions of comments? A: Set a reasonable max_comments limit (e.g., 1000-5000) to avoid long runtimes. For most use cases, the top comments provide sufficient insights. ### Q: Can I extract comments from private or deleted videos? A: No, the actor can only extract comments from publicly available videos. ### Q: What happens if a video has comments disabled? A: The actor will return an empty dataset for that video and log a warning message. ### Q: Are there any rate limits? A: The actor includes built-in rate limiting and retry logic to handle API throttling automatically. ### Q: How accurate are the like counts? A: Like counts are provided as-is from YouTube's API. They may be abbreviated (e.g., "4.3M" instead of exact numbers). ### Q: Can I extract comments in specific languages only? A: The lang parameter sets the locale for the request, but YouTube returns all comments regardless of language. You'll need to filter by language in post-processing. --- ## Get Started Now Ready to extract YouTube comments data? 1. Enter the YouTube video URL or video ID 2. Set maxComments (0 for unlimited) 3. Select your preferred sorting, region, and language 4. Click "Start" to run the actor 5. View results in clean table views 6. Export data in your preferred format 7. Click "Try for free" to test the actor If this actor helps your workflow, please give it a star! ### 📊 Related Actors Looking for more YouTube data? Check out these complementary actors: - YouTube Video Downloader - YouTube Comment Scraper - YouTube Search Scraper - YouTube Video Scraper - YouTube Subtitles Scraper - YouTube Transcript Scraper - YouTube Channel Videos Scraper - YouTube Shorts Scraper --- ## 🏷️ Find Me youtube comment scraper, youtube comment extractor, youtube comments api, extract youtube comments, youtube comment finder, youtube comment history, youtube sentiment analysis, youtube comment data, youtube scraper, youtube api, comment extraction, youtube analytics, social media scraper, youtube engagement, comment analysis, youtube data mining, youtube research tool, youtube comment search, apify actor, youtube automation, bulk comment extraction, youtube comment downloader, youtube feedback analysis, youtube market research, youtube nlp, youtube text mining, youtube opinion mining, youtube comment parser, youtube data extraction, youtube web scraping, youtube comment collector, youtube insights, youtube audience analysis, youtube engagement metrics, youtube comment export, youtube csv export, youtube json data, youtube batch processing, youtube shorts comments, youtube video comments, youtube comment replies, verified comments, youtube creator comments, youtube top comments, newest youtube comments, youtube comment bot Built with ❤️ by Sachin Kumar Yadav using Apify Platform

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 Comments Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
igview-owner
Pricing
Paid
Total Runs
31
Active Users
3
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support