YouTube Comments Scraper (Fast & Unlimited)
Pricing
from $0.60 / 1,000 scraped youtube comments
YouTube Comments Scraper (Fast & Unlimited)
Scrape YouTube comments and Shorts replies in bulk without login or API keys. Extract full comment text, author channels, likes, timestamps, and creator hearts. Fast, reliable export to JSON, CSV, and Excel for sentiment analysis and brand research.
Pricing
from $0.60 / 1,000 scraped youtube comments
Rating
0.0
(0)
Developer
Scrape Pilot
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
16 hours ago
Last modified
Categories
Features
Share
YouTube Comments Scraper
Extract comments, nested replies, author profiles, timestamps, vote counts, and creator interactions from YouTube videos and Shorts in real time. The YouTube Comments Scraper gathers structured public feedback directly from YouTube without requiring browser extensions, Google API keys, or account logins.
Built for market researchers, sentiment analysts, content creators, brand managers, and data engineers, this scraper delivers clean, deduplicated datasets exported instantly to JSON, CSV, Excel, XML, or HTML table format. Whether analyzing thousands of viewer responses on product reviews or auditing community sentiment on trending Shorts, the scraper runs reliably at scale.
| Feature | Details |
|---|---|
| Input | Direct YouTube video URLs, Shorts URLs, embed links, or raw video IDs |
| Supported URLs/Queries | youtube.com/watch?v=..., youtu.be/..., youtube.com/shorts/..., youtube.com/embed/... |
| Charged | Pay-per-event per valid comment returned (comment-result) |
| Output | Comment text, comment ID, author handle, channel ID, author URL, avatar URL, like count, reply count, creator heart, pin status, and video title |
| Limits | Configurable from 1 to 50,000+ comments per run with per-video limits |
| Delivery | Apify Dataset, API, Webhooks, Google Sheets, Make, Zapier, n8n |
What does the YouTube Comments Scraper do?
The YouTube Comments Scraper systematically extracts public discussion threads and nested replies from any public YouTube video or YouTube Short. It processes high-volume comment sections and structures the raw community feedback into structured datasets for downstream analysis.
Concrete Business Use Cases
- Sentiment Analysis & Brand Monitoring: Measure community reception, track product perception, and uncover audience sentiment on brand campaigns using raw text in
commentand vote engagement invoteCount. - Competitor Content Research: Analyze audience questions, praise, and complaints on competitors' videos to spot unmet customer needs and product feature requests.
- Influencer Campaign Auditing: Verify audience authenticity on sponsored creator uploads by reviewing commenter handles in
author, verified badges inauthorIsVerified, and creator engagement inhasCreatorHeart. - Community Feedback Extraction: Gather suggestions, bug reports, and tutorial requests directly from your own channel audience without navigating through comment moderation dashboards.
- Trend & Topic Discovery: Track rising slang, viral jokes, and emerging community discussions across viral videos and Shorts in real time.
How do you use the YouTube Comments Scraper?
Running the YouTube Comments Scraper takes less than a minute through the Apify Console:
- Add Target URLs: Provide one or more YouTube video URLs, Shorts links, or 11-character video IDs.
- Set Comment Limits: Define
maxCommentsfor total items andmaxCommentsPerVideofor individual video ceilings. - Choose Sort Order: Select
Topfor featured, high-engagement discussions orNewestfor reverse-chronological feedback. - Click Start: Run the Actor and download your dataset in JSON, CSV, Excel, XML, or HTML.
Sample Input JSON
{"startUrls": [{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],"maxComments": 100,"maxCommentsPerVideo": 50,"commentsSort": "Top","includeReplies": true,"maxRepliesPerComment": 10}
Sample Output JSON
{"comment": "My algebra teacher said that this was a link to the test answers","cid": "UgwPwTibxdgqCHZxktd4AaABAg","author": "@bdr8823","authorChannelId": "UCdi6tGxvFvTRGe-7dAn7m7w","authorChannelUrl": "https://www.youtube.com/@bdr8823","authorThumbnail": "https://yt3.ggpht.com/ytc/AIdro_kcDoQJUNDkDzTrA5kaF5ADVujN-6UcDjMP2Kydtw=s88-c-k-c0x00ffffff-no-rj","authorIsVerified": false,"authorIsChannelOwner": false,"videoId": "dQw4w9WgXcQ","pageUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ","publishedTimeText": "7 years ago","commentsCount": 2462522,"replyCount": 715,"voteCount": 73000,"hasCreatorHeart": true,"isPinned": false,"type": "comment","replyToCid": null,"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)"}
When should you use the YouTube Comments Scraper?
Use it for:
- Scraping public YouTube comments at high speed without official API quota exhaustion.
- Extracting nested replies alongside top-level comments with parent thread mapping via
replyToCid. - Auditing creator responsiveness using
hasCreatorHeartandauthorIsChannelOwner. - Exporting clean CSV and Excel files for sentiment analysis and NLP pipelines.
- Monitoring live community reactions on new product launches or music video premieres.
Use something else for:
- Scraping private, unlisted, or age-gated videos that require user credentials.
- Downloading video streams or audio tracks (use dedicated media downloaders).
- Extracting channel analytics, revenue metrics, or YouTube Studio moderation logs.
Is the YouTube Comments Scraper free to try?
Yes. Users on the Apify Free plan can extract up to 10 free results across their lifetime to evaluate output schema, field accuracy, and data quality.
Once the 10 free results are reached, the run completes cleanly with an informative notification. Upgrading to a paid Apify plan unlocks unlimited extraction, charged transparently per comment returned through Apify's Pay-Per-Event billing.
How is the YouTube Comments Scraper configured?
Configure the YouTube Comments Scraper using the form interface or by providing JSON input:
| Field | Type | Required | Description | Default |
|---|---|---|---|---|
startUrls | Array | Yes | List of YouTube video URLs, Shorts links, or video IDs | [{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}] |
maxComments | Integer | No | Maximum total comments and replies to extract across the run | 100 |
maxCommentsPerVideo | Integer | No | Maximum comments to extract from each individual video URL | 100 |
commentsSort | String | No | Sort order for comments: Top (featured) or Newest (recent) | "Top" |
includeReplies | Boolean | No | Whether to extract nested replies to root comments | true |
maxRepliesPerComment | Integer | No | Maximum number of replies to scrape for each comment thread | 10 |
proxyConfiguration | Object | No | Optional proxy configuration for high-volume jobs | {"useApifyProxy": false} |
How does the YouTube Comments Scraper handle duplicates and limits?
- In-Memory CID Deduplication: The scraper tracks unique comment IDs (
cid) throughout each run. If a comment appears across pagination boundaries or sort orders, it is processed only once, preventing duplicate dataset entries and redundant charges. - Strict Ceiling Enforcement: The scraper checks item limits before pushing each comment. Once
maxCommentsPerVideoor totalmaxCommentsis reached, execution halts immediately. - Spending Limits: The Actor natively honors Apify run spending caps. If a configured spending limit is met, the run exits safely with all extracted comments preserved.
Which fields does the YouTube Comments Scraper return?
Every successful item returned by the YouTube Comments Scraper conforms to the following schema:
| Field | Type | Description |
|---|---|---|
comment | String | The full text content of the comment or reply |
cid | String | Unique YouTube comment identifier (e.g. UgwPwTibxdgqCHZxktd4AaABAg) |
author | String | Commenter display handle (e.g. @bdr8823) |
authorChannelId | String | YouTube Channel ID of the comment author |
authorChannelUrl | String | Direct canonical URL to the author's YouTube channel |
authorThumbnail | String | High-resolution URL of the author's profile avatar |
authorIsVerified | Boolean | true if the author channel has a verified badge |
authorIsChannelOwner | Boolean | true if the comment was posted by the video creator |
videoId | String | 11-character YouTube video ID |
pageUrl | String | Canonical watch URL of the target video |
publishedTimeText | String | Relative timestamp as displayed on YouTube (e.g. 7 years ago) |
commentsCount | Integer | Total comment count of the target video |
replyCount | Integer | Total number of replies attached to this root comment |
voteCount | Integer | Number of likes / upvotes received |
hasCreatorHeart | Boolean | true if the video creator gave this comment a heart |
isPinned | Boolean | true if the comment is pinned at the top of the discussion |
type | String | Either comment for root items or reply for nested items |
replyToCid | String / Null | Parent comment ID for replies, or null for root comments |
title | String | Full title of the YouTube video |
How do you scrape video comments with the YouTube Comments Scraper?
Provide standard YouTube watch URLs to extract top comments and nested discussions:
{"startUrls": [{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],"maxComments": 200,"commentsSort": "Top"}
How do you extract YouTube Shorts comments with the YouTube Comments Scraper?
Paste Shorts URLs directly into startUrls. The scraper automatically identifies the 11-character identifier and retrieves the Shorts comment feed:
{"startUrls": [{"url": "https://www.youtube.com/shorts/bJTjJtRPqYE"}],"maxComments": 150,"includeReplies": true}
How do you scrape nested replies with the YouTube Comments Scraper?
Enable includeReplies and set maxRepliesPerComment to control how deep discussion threads should be scraped:
{"startUrls": [{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],"includeReplies": true,"maxRepliesPerComment": 25,"maxComments": 500}
How do you sort comments by newest or top with the YouTube Comments Scraper?
Switch commentsSort between Top and Newest to prioritize either the most liked comments or the most recent viewer reactions:
{"startUrls": [{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],"commentsSort": "Newest","maxComments": 100}
How does the YouTube Comments Scraper report errors and empty results?
When a target video is deleted, private, age-restricted, or has comments disabled, the scraper pushes an explicit error record to the dataset rather than terminating the entire run:
{"url": "https://www.youtube.com/watch?v=invalid_id","input": "https://www.youtube.com/watch?v=invalid_id","error": "VIDEO_UNAVAILABLE","note": "This video is not available"}
Common Error Codes
VIDEO_UNAVAILABLE: Video is deleted, marked private, or region-restricted.AGE_RESTRICTED: Content requires account authentication to access.NO_COMMENTS: The video has no comments or comments have been disabled by the creator.INVALID_INPUT: The supplied URL does not contain an 11-character video ID.free_limit_exhausted: Free tier quota reached; upgrade to a paid Apify plan for unlimited access.
How do you schedule or integrate the YouTube Comments Scraper?
- Apify Schedules: Automate runs on an hourly, daily, or weekly cadence to continuously monitor audience feedback on key uploads.
- Apify API & SDKs: Trigger runs and fetch datasets programmatically via Python (
apify-client) or Node.js (apify-client). - Webhooks & Workflow Automation: Connect output directly into Slack, Discord, Google Sheets, Airtable, or CRM pipelines using Make, Zapier, or n8n.
- AI Agent Integration: Connect the scraper via Apify's MCP server to feed fresh sentiment data directly into Claude, ChatGPT, or custom LangChain agents.
Which YouTube Comments Scraper questions come up most often?
Do I need a Google API key or YouTube credentials?
No. The YouTube Comments Scraper works entirely without Google Cloud Console setups, OAuth tokens, or YouTube API keys.
Does the scraper extract replies to comments?
Yes. Setting includeReplies to true extracts nested replies mapped to their parent comment via replyToCid.
In what formats can I download YouTube comments?
You can export results in JSON, CSV, Excel (XLSX), XML, or HTML table format directly from the Apify Console or API.
Can I scrape YouTube Shorts comments?
Yes. Both standard YouTube videos and YouTube Shorts are fully supported.
Is scraping YouTube comments compliant with public data policies?
The scraper extracts only publicly available comments and author handles that users have published openly on YouTube. It does not access private messages, unlisted videos, or non-public user data.
Support
If you have feedback, feature requests, or encounter an issue, please report it via the Actor's Issues tab in the Apify Console.