Youtube Comments Scraper

Youtube Comments Scraper

by scraper-engine

Extract YouTube comments for sentiment analysis and audience research. Get usernames, timestamps, likes, replies, and export clean data to JSON, CSV, or Excel.

80 runs
12 users
Try This Actor

Opens on Apify.com

About Youtube Comments Scraper

Need to know what people are really saying about a YouTube video or channel? I've used this scraper to pull comments for projects, and it saves hours of manual work. You just give it a video or channel URL, and it collects everything—usernames, when they commented, how many likes each got, reply threads, and the full comment text. The data comes out perfectly structured, which is the best part. No more messy copy-pasting; you get clean JSON, CSV, or Excel files ready to analyze. It’s become my go-to for a few key things. Running sentiment analysis to gauge audience reaction is a big one. It’s also perfect for deep audience research to see what topics or questions keep coming up. If you’re optimizing your own content, these comments are a goldmine for figuring out what resonates or what people are confused about. Whether you’re a marketer, researcher, or just data-curious, having this raw, organized feedback changes how you understand viewer engagement. It turns comment sections from a chaotic stream into actionable insights.

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

Overview

This actor extracts comments and metadata from YouTube videos. It bypasses the limitations of the official API, providing richer data like author details, likes, replies, and timestamps. You can use it for sentiment analysis, community research, or competitive analysis by scraping anything from a single video to hundreds of links in one run.

Key Features

  • Data Extraction: Pulls comment text, author name, channel info, timestamp, likes, reply count, and pinned/hearted status.
  • Sorting: Choose between Top Comments (most liked/relevant) or Newest First.
  • Bulk Scraping: Process multiple video URLs or entire playlists in a single job.
  • Export Formats: Download results as CSV, Excel, JSON, or XML for easy integration.
  • Scalability: Handles large-scale projects via cloud execution on Apify.
  • Integration: Connect outputs to data pipelines, BI tools, or NLP models for sentiment analysis and trend detection.

How to Use

  1. Log in: Sign in to your Apify account.
  2. Find Actor: Search for "apify youtube comment scraper" in the Apify Store and open it.
  3. Configure Input: Paste your YouTube video URLs into the Start URLs field. You can also upload a CSV or Google Sheet containing links.
  4. Set Options: Select your preferred sort order, limit the maximum number of comments, and choose whether to include replies or detect pinned/hearted comments.
  5. Run: Click Start. The actor will run and display live progress in the console.
  6. Get Results: Once complete, download your dataset in your chosen format (JSON, CSV, etc.) or push it directly to services like Google Sheets, Make, or Zapier.

Input/Output

Input is provided via the actor's input configuration, typically including:
* startUrls: An array of YouTube video URLs to scrape.
* sort: Sort order (TOP_COMMENTS or NEWEST_FIRST).
* maxComments: Maximum number of comments to extract per video.
* includeReplies: Boolean to include or exclude reply threads.

Output is a structured dataset. Each comment item includes fields such as:
* text
* author
* channelId
* timestamp
* likeCount
* replyCount
* isPinned
* isHearted

The full dataset can be downloaded directly from the Apify run console in your preferred format.

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
scraper-engine
Pricing
Paid
Total Runs
80
Active Users
12
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