VOOZH about

URL: https://apify.com/xtracto/youtube-video-comments-scraper

⇱ YouTube Video Comments Scraper Β· Apify


Pricing

from $0.99 / 1,000 results

Go to Apify Store

YouTube Video Comments Scraper

Paginate top-level comments on any public YouTube video. Returns author, channelId, content, publishedTime, likeCount, replyCount.

Pricing

from $0.99 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ Farhan Febrian Nauval

Farhan Febrian Nauval

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Pull top-level comments from any public YouTube video in bulk β€” author name, channel ID, comment text, like count, reply count, publish time, and creator-hearted flag β€” as a clean structured JSON dataset.

Why use this actor

  • No account / no login required β€” just give it a YouTube video ID or URL.
  • No API key needed β€” no YouTube Data API quota, no OAuth, no project setup.
  • Bulk + paginated β€” fetches hundreds or thousands of top-level comments per video in a single run, all the way until the comment list is exhausted or your limit is hit.
  • Flexible input β€” accepts raw video IDs (dQw4w9WgXcQ) or any URL form (watch?v=, youtu.be/, shorts/, embed/).
  • Rich detail per comment β€” author display name, channel ID, verified and creator badges, text content, publish time, like count, reply count, and the creator-hearted flag.
  • Status-aware β€” comments-disabled videos, removed videos, and bad inputs return a structured _error row instead of a silent empty output, so you can triage failures.
  • Stable JSON output suitable for pipelines, spreadsheets, and databases β€” every row carries _input, _videoId, _source, _scrapedAt envelope fields so you can join results back to your input list.

How it works

  1. You provide a list of YouTube video IDs (e.g. dQw4w9WgXcQ) or full URLs.
  2. The actor fetches the video page, locates the comments section, then walks through every page of comments the same way YouTube's web app does.
  3. Each comment is flattened into a structured row and streamed into your dataset, ready to download as JSON, CSV, or Excel.

You do not need to manage scrapers, browsers, or rotating IPs β€” all handled internally.

Input

{
"videos":[
"dQw4w9WgXcQ",
"https://www.youtube.com/watch?v=9bZkp7q19f0"
],
"maxComments":50,
"proxyConfiguration":{
"useApifyProxy":true,
"apifyProxyGroups":["DATACENTER"]
}
}
FieldTypeDescription
videosarrayYouTube video IDs (e.g. dQw4w9WgXcQ) or URLs in any form (watch, youtu.be, shorts, embed). Required.
maxCommentsintegerMax top-level comments to return per video. Default 50. Set to 0 for unlimited.
proxyConfigurationobjectApify Proxy settings. Datacenter works for most runs; switch to residential for very large jobs.

Output

Input: dQw4w9WgXcQ, maxComments: 5

{
"commentId":"Ugzge340dBgB75hWBm54AaABAg",
"author":"@YouTube",
"authorChannelId":"UCBR8-60-B28hp2BmDPdntcQ",
"authorIsVerified":true,
"authorIsCreator":false,
"content":"can confirm: he never gave us up",
"publishedTime":"1 year ago",
"likeCount":"241K",
"replyCount":"960",
"isHearted":true,
"_input":"dQw4w9WgXcQ",
"_videoId":"dQw4w9WgXcQ",
"_source":"S1-primary",
"_scrapedAt":"2026-05-18T10:42:48.845856+00:00"
}
{
"commentId":"UgyEnXfdC-umwvTt8JF4AaABAg",
"author":"@Oatman69",
"authorChannelId":"UCWf34D_s8K_m2vwBISIDWtg",
"authorIsVerified":false,
"authorIsCreator":false,
"content":"Gonna flag this for nudity so I can rick roll the YouTube staff",
"publishedTime":"6 years ago",
"likeCount":"551K",
"replyCount":"589",
"isHearted":true,
"_input":"dQw4w9WgXcQ",
"_videoId":"dQw4w9WgXcQ",
"_source":"S1-primary",
"_scrapedAt":"2026-05-18T10:42:48.845856+00:00"
}
{
"commentId":"UgxIOV-sXAchpKX94cB4AaABAg",
"author":"@ochkalov",
"authorChannelId":"UCtbyFPryy7J4DR4xh5CRCvA",
"authorIsVerified":false,
"authorIsCreator":false,
"content":"1987 : normal song\r\n2026 : national anthem of the universe",
"publishedTime":"6 years ago (edited)",
"likeCount":"128K",
"replyCount":"933",
"isHearted":true,
"_input":"dQw4w9WgXcQ",
"_videoId":"dQw4w9WgXcQ",
"_source":"S1-primary",
"_scrapedAt":"2026-05-18T10:42:48.845856+00:00"
}
// ... 2 more
FieldTypeDescription
commentIdstringYouTube's stable identifier for the comment. Use this to deduplicate across runs or build deep links.
authorstringAuthor's display handle (e.g. @YouTube).
authorChannelIdstringAuthor's channel ID (begins with UC). Stable across handle changes.
authorIsVerifiedbooleantrue if the author's channel carries YouTube's verified checkmark.
authorIsCreatorbooleantrue if the author is the creator of the video being commented on.
contentstringComment text as displayed, with original line breaks preserved.
publishedTimestringRelative timestamp as YouTube shows it (e.g. 1 year ago, 6 years ago (edited)).
likeCountstringLike count as YouTube formats it (e.g. 241K, 1.2M, 403).
replyCountstringNumber of replies under this top-level comment, as a string.
isHeartedbooleantrue if the channel creator hearted the comment.
_inputstringThe video ID or URL exactly as you supplied it. Use this to join results back to your input list.
_videoIdstringNormalized 11-character YouTube video ID extracted from your input.
_sourcestringInternal tag for the path used to fetch the record. S1-primary is the fastest, richest path.
_scrapedAtstringISO-8601 UTC timestamp when the record was scraped.

Error envelope

Videos with comments disabled, removed videos, or invalid IDs return a structured error row instead of crashing the run:

{
"_input":"https://www.youtube.com/watch?v=disabled-example",
"_videoId":"disabled-exa",
"_error":"comments_disabled_or_not_found",
"_source":"S1-primary",
"_scrapedAt":"2026-05-18T10:43:11.001234+00:00"
}

Possible _error values:

ValueMeaning
invalid_inputThe input string could not be parsed as a YouTube video ID or URL.
fetch_failedThe video page could not be fetched (network / blocked / removed). See _errorDetail.
comments_disabled_or_not_foundThe video exists but has no comments section (disabled by creator, or age-restricted).

Filter on _error to triage failed rows.

Pricing

This actor is billed per result: $3.50 per 1,000 comments (Tier 3). Each comment row in the dataset counts as one result β€” so the unit is 1,000 comments, not 1,000 videos. Error envelope rows are not billed.

Other Sosmed Actors

PlatformActorBest for
YouTubeYouTube Video Detail ScraperTitle, description, views, likes, channel for any video
YouTubeYouTube Channel ScraperChannel profile + uploaded video listing
RedditReddit Post Detail ScraperPost body + comment thread for any subreddit post
BlueskyBluesky Post Detail ScraperPost text + reply chain on atproto
InstagramInstagram Post Detail ScraperCaption, media, like and comment counters for any post
FacebookFacebook Post Detail ScraperPost body + reactions + top comments

Browse the full catalog at apify.com/xtracto.

Notes

  • Top-level comments only. Replies to comments are not expanded into separate rows β€” use the replyCount field to gauge thread depth. A dedicated replies actor is on the roadmap.
  • replyCount is the count, not the comments. A row with replyCount: 960 means 960 replies exist under that comment; those replies are not included in the dataset.
  • Comments-disabled videos return a single {"_error": "comments_disabled_or_not_found"} row. This also covers age-restricted videos that hide their comments without a sign-in.
  • maxComments: 0 means unlimited β€” be mindful for viral videos with millions of comments, as billing is per result.
  • Counts are formatted strings ("241K", "1.2M") because that is how YouTube exposes them in the comments view. Convert in your downstream pipeline if you need integers.
  • Default ordering is YouTube's "Top comments" ranking (relevance). Chronological / newest-first sorting is on the roadmap.
  • Live-stream chats are NOT covered β€” live chat replays use a different data feed.

You might also like

πŸ”₯YouTube Video & Comment Scraper (SEO, Titles) - ALMOST FREE

nourishing_courier/youtube-scraper

Scrape YouTube videos, titles, descriptions, views, likes, comments, and channel data. Ideal for YouTube SEO research, competitor analysis, trend discovery, and automation workflows. Free plan available – no credit card required.

πŸ‘ User avatar

Ani BjΓΆrkstrΓΆm

36

YouTube Video Comments scraper

powerai/youtube-video-comment-scraper

Extract comprehensive comments from any YouTube video with detailed metadata including author information, engagement metrics, and timestamps. Perfect for sentiment analysis, community engagement tracking, and content feedback analysis.

YouTube Video Comments Scraper

donjuan_mime/youtubeComments

Scrape public comments from any YouTube video. Fast, lightweight, and compliant with YouTube's public data policies.

Youtube Video Comments Scraper

bhansalisoft/youtube-video-comments-scraper

Youtube Comments Scraper : Scrap all comments with user detail and video information from any youtube video url

Youtube Video Comments Scraper

alpha-scraper/youtube-video-comments-scraper

[ Lowest Price πŸ’Ž ] Lightning Fast - Extract CID, type, published time, comments & authors Grab page URLs instantly Collect extensive data in seconds Boost productivity & streamline your workflow

8

5.0

(1)

YouTube Video Comments Scraper

beautifulscrape/youtube-comments

Extract YouTube video comments without API limits or quotas. Scrape comment text, author, vote count, reply count, creator hearts, and video metadata from one or multiple YouTube videos. Filter by date, sort by newest or top comments, and download results in JSON, CSV, or Excel.

πŸ‘ User avatar

Beautiful Scrape

2

YouTube Video & Comments Scraper + AI

lizzyyy2/youtube-video-comments-scraper-ai

Scrape YouTube video data, comments and transcripts via URLs, search terms or channels (no API key, no quota), then optionally turn comments into AI insights: sentiment, themes, viewer questions, content ideas and video summaries.

YouTube Comment Scraper | Extract YT Video Comments Data

code-node-tools/youtube-comments-scraper

Scrape YouTube comments effortlessly with our YT comments scraper. Extract comments from videos, channels & playlists with sentiment analysis, advanced filters & export options. This YouTube video comment scraper bypasses API limits. Ideal for researchers, marketers & data analysts. Start scraping!

47

4.2

(2)

YouTube Transcript Short Scraper πŸ“ (⚑ Fast & πŸ’Έ Cheap)

scrapestorm/youtube-transcript-short-scraper-fast-cheap

Looking for a powerful tool to grab transcripts from YouTube Shorts ? πŸ” Your search ends here! 😎 With YouTube-Transcript-Scraper, you'll get accurate transcripts plus extra useful details. πŸ’‘πŸ’¬ It’s fast, efficient, and ready to help you scrap away! πŸ•΅οΈβ€β™‚οΈβœ¨

99

5.0

(2)