Youtube Comments Scraper
by simpleapi
Extract YouTube comments, including usernames, text, likes, and replies, for sentiment analysis and audience research. Automate your data collection from any public video.
Opens on Apify.com
About Youtube Comments Scraper
Need to pull comments from YouTube videos for a project? I've used this scraper to grab everything from usernames and comment text to timestamps, likes, and even reply threads. It neatly packages each comment with its unique ID, so you can easily structure the data for analysis or feed it directly into your own systems. I find it most useful for getting a real sense of audience sentiment, researching what people are actually saying about a topic, or keeping an eye on emerging discussions in a niche. Instead of manually copying and pasting, you can set this up to collect thousands of comments on autopilot, saving hours of tedious work. It's straightforward to point it at any public YouTube video URL and get back clean, organized data in a format like JSON or CSV that's ready to 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
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
YouTube Comments Scraper
Overview
This actor automatically extracts comments and metadata from YouTube videos. It bypasses the limitations of the official API, providing richer data like author details, replies, likes, and timestamps. It's designed for automation, lead generation, and social media analysis.
Key Features
- Data Extraction: Collects 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 Processing: Scrape comments from multiple video URLs or entire playlists in a single run.
- Export Formats: Download results as CSV, Excel, JSON, or XML for easy integration.
- Scalability: Handles projects ranging from a single video to hundreds of links.
- Integration: Connect scraped data to AI/NLP models for sentiment analysis, trend detection, or keyword clustering.
How to Use
- Log in to your Apify account.
- Select the Actor from the Apify Store.
- Enter Input: Paste one or more YouTube video URLs into the
Start URLsfield. You can also upload a CSV or Google Sheet containing links. - Configure Options: Set the sort order, maximum number of comments, and choose whether to include replies or detect pinned/hearted comments.
- Run: Click Start. The scraper will collect comments and display progress in the console.
- Download Results: Export your dataset in your preferred format (JSON, CSV, Excel, XML) or send it directly to tools like Google Sheets, Make, Zapier, or Slack.
Input/Output
Input Configuration (example):
{
"startUrls": ["https://www.youtube.com/watch?v=VIDEO_ID"],
"sortOrder": "top", // or "newest"
"maxComments": 1000,
"includeReplies": true
}
Output Data:
The actor outputs a structured dataset. Each item typically includes:
* text: The full comment text.
* author: Commenter's display name and channel ID.
* timestamp: When the comment was posted.
* likes: Number of likes on the comment.
* replyCount: Number of replies.
* isPinned / isHearted: Boolean flags for creator interactions.
Results are ready for direct analysis in spreadsheets, BI tools, or custom data pipelines.
Categories
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 TrialActor Information
- Developer
- simpleapi
- Pricing
- Paid
- Total Runs
- 15
- Active Users
- 2
Related Actors
Video Transcript Scraper: Youtube, X, Facebook, Tiktok, etc.
by invideoiq
Linkedin Profile Details Scraper + EMAIL (No Cookies Required)
by apimaestro
Twitter (X.com) Scraper Unlimited: No Limits
by apidojo
Content Checker
by jakubbalada
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support