YouTube Comments Scraper
Pricing
from $5.00 / 1,000 results
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.
Pricing
from $5.00 / 1,000 results
Rating
0.0
(0)
Developer

Sachin Kumar Yadav
Actor stats
0
Bookmarked
3
Total users
1
Monthly active users
9 days ago
Last modified
Categories
Share
๐ฌ 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
{"video_urls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"],"sort_by": "top","max_comments": 100}
2๏ธโฃ Extract Newest Comments
{"video_urls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"],"sort_by": "newest","max_comments": 500}
3๏ธโฃ Bulk Extraction from Multiple Videos
{"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
{"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
{"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?
- Enter the YouTube video URL or video ID
- Set maxComments (0 for unlimited)
- Select your preferred sorting, region, and language
- Click "Start" to run the actor
- View results in clean table views
- Export data in your preferred format
- 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