YouTube Comments Scraper (Fast & Unlimited) avatar

YouTube Comments Scraper (Fast & Unlimited)

Pricing

from $0.60 / 1,000 scraped youtube comments

Go to Apify Store
YouTube Comments Scraper (Fast & Unlimited)

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

Scrape Pilot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

16 hours ago

Last modified

Categories

Features

Limited permissions

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.

FeatureDetails
InputDirect YouTube video URLs, Shorts URLs, embed links, or raw video IDs
Supported URLs/Queriesyoutube.com/watch?v=..., youtu.be/..., youtube.com/shorts/..., youtube.com/embed/...
ChargedPay-per-event per valid comment returned (comment-result)
OutputComment text, comment ID, author handle, channel ID, author URL, avatar URL, like count, reply count, creator heart, pin status, and video title
LimitsConfigurable from 1 to 50,000+ comments per run with per-video limits
DeliveryApify 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 comment and vote engagement in voteCount.
  • 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 in authorIsVerified, and creator engagement in hasCreatorHeart.
  • 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:

  1. Add Target URLs: Provide one or more YouTube video URLs, Shorts links, or 11-character video IDs.
  2. Set Comment Limits: Define maxComments for total items and maxCommentsPerVideo for individual video ceilings.
  3. Choose Sort Order: Select Top for featured, high-engagement discussions or Newest for reverse-chronological feedback.
  4. 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 hasCreatorHeart and authorIsChannelOwner.
  • 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:

FieldTypeRequiredDescriptionDefault
startUrlsArrayYesList of YouTube video URLs, Shorts links, or video IDs[{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}]
maxCommentsIntegerNoMaximum total comments and replies to extract across the run100
maxCommentsPerVideoIntegerNoMaximum comments to extract from each individual video URL100
commentsSortStringNoSort order for comments: Top (featured) or Newest (recent)"Top"
includeRepliesBooleanNoWhether to extract nested replies to root commentstrue
maxRepliesPerCommentIntegerNoMaximum number of replies to scrape for each comment thread10
proxyConfigurationObjectNoOptional 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 maxCommentsPerVideo or total maxComments is 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:

FieldTypeDescription
commentStringThe full text content of the comment or reply
cidStringUnique YouTube comment identifier (e.g. UgwPwTibxdgqCHZxktd4AaABAg)
authorStringCommenter display handle (e.g. @bdr8823)
authorChannelIdStringYouTube Channel ID of the comment author
authorChannelUrlStringDirect canonical URL to the author's YouTube channel
authorThumbnailStringHigh-resolution URL of the author's profile avatar
authorIsVerifiedBooleantrue if the author channel has a verified badge
authorIsChannelOwnerBooleantrue if the comment was posted by the video creator
videoIdString11-character YouTube video ID
pageUrlStringCanonical watch URL of the target video
publishedTimeTextStringRelative timestamp as displayed on YouTube (e.g. 7 years ago)
commentsCountIntegerTotal comment count of the target video
replyCountIntegerTotal number of replies attached to this root comment
voteCountIntegerNumber of likes / upvotes received
hasCreatorHeartBooleantrue if the video creator gave this comment a heart
isPinnedBooleantrue if the comment is pinned at the top of the discussion
typeStringEither comment for root items or reply for nested items
replyToCidString / NullParent comment ID for replies, or null for root comments
titleStringFull 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.