YouTube Comments Scraper

YouTube Comments Scraper

by scrapier

Extract YouTube comments—usernames, text, timestamps, likes, and replies—for sentiment analysis and audience research. Get structured data from any video fast.

19 runs
3 users
Try This Actor

Opens on Apify.com

About YouTube Comments Scraper

Need to pull real, unfiltered opinions from YouTube? This scraper is what I use to grab comments from any video or channel. It reliably extracts the full comment text, usernames, when they were posted, like counts, and even threads of replies. I've set it up for everything from a single viral video to an entire channel's catalog. The data comes out clean and structured, usually as JSON or CSV, so you can immediately load it into your analysis tools or a spreadsheet. It's perfect for getting the raw material for sentiment analysis, spotting emerging trends in your niche, or just doing deep audience research to see what people are actually saying. You can customize the run to handle specific sorting or pagination needs. It just works, saves you a ton of manual copying, and gives you a dataset you can actually use.

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, bypassing the official API's rate limits and data restrictions. It's useful for gathering engagement data like author info, timestamps, likes, and replies for analysis, lead generation, or community research.

Key Features

  • Rich Data Extraction: Pulls comment text, author names, channel info, timestamps, likes, reply counts, and pinned/hearted status.
  • Sorting: Collect comments sorted by "Top" (most liked/relevant) or "Newest First".
  • Bulk Operations: Scrape comments from multiple video URLs or entire playlists in a single run.
  • Flexible Export: Download results in CSV, JSON, Excel, or XML. Integrate directly with Google Sheets, Make, Zapier, or Slack.
  • Scalability: Handles scraping from a single video to large-scale projects with hundreds of links.

How to Use

  1. Log in: Sign in to your Apify account.
  2. Find the Actor: Search for "apify youtube comment scraper" in the Apify Store and open it.
  3. Configure Input: Paste YouTube video URLs into the Start URLs field. You can also upload a CSV or Google Sheet containing links.
  4. Set Options: Choose sort order, limit the maximum number of comments, and configure whether to include replies or detect hearted/pinned comments.
  5. Run: Click Start. Monitor progress in the run console.
  6. Get Results: Once complete, download your dataset in your preferred format or send it to a connected app.

Input/Output

Input Configuration (example):

{
  "startUrls": ["https://www.youtube.com/watch?v=VIDEO_ID"],
  "sortBy": "top", // or "newest"
  "maxComments": 1000,
  "includeReplies": true
}

Output Data:
The actor outputs a structured dataset. Each item typically contains:
* text: The full comment text.
* author: Commenter's display name and channel info.
* date: Timestamp when the comment was posted.
* likes: Number of likes on the comment.
* replyCount: Number of replies to the comment.
* isPinned / isHearted: Boolean flags if the creator pinned or "hearted" the comment.

Results are available for download in the Apify console in formats like JSON, CSV, or Excel.

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
scrapier
Pricing
Paid
Total Runs
19
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