YouTube Comments Scraper - Replies, Likes, Keyword Filters avatar

YouTube Comments Scraper - Replies, Likes, Keyword Filters

Pricing

from $0.10 / 1,000 comment scrapeds

Go to Apify Store
YouTube Comments Scraper - Replies, Likes, Keyword Filters

YouTube Comments Scraper - Replies, Likes, Keyword Filters

[💰$0.10/1K] Scrape YouTube comments from videos, channels or a keyword search. Each row has text, likes, reply count, author, channel link, pin and heart flags and a bounded date interval, not a fake timestamp. Filter by likes, keywords and dates. A daily run emits only new comments. No login.

Pricing

from $0.10 / 1,000 comment scrapeds

Rating

0.0

(0)

Developer

Vladimir Che

Vladimir Che

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

Scrape comments from YouTube videos, a whole channel or a search query. No login, no YouTube API key, no proxy.

The source is YouTube's own comment panel read as a logged-out visitor. Replies are read from the same thread, in the same page loads.

What you get

One row per comment. Every row carries the same field set, so the column layout is stable between runs.

GroupFields
IdentitycommentId, parentCommentId, videoId, isReply, depth
VideovideoTitle, videoChannelName, commentsTotalText
Texttext, isQuestion, isEdited
EngagementlikeCount, likeCountText, replyCount, replyCountText
AuthorauthorName, authorChannelId, authorChannelHandle, authorChannelUrl, authorAvatarUrl
FlagsisPinned, isHearted, isCreator, isNew
DatepublishedText, publishedAtFrom, publishedAtTo, publishedPrecision, publishedGranularity, publishedAmount
Metastatus, filterReason, scrapedAt

A real row, taken from test/output-sample.json and produced by a real run:

{
"commentId": "UgzpbEHkXtllIXxR-dZ4AaABAg",
"parentCommentId": null,
"videoId": "E7la7-dtfVM",
"videoTitle": "This new startup can query anywhere you've been...",
"videoChannelName": "@Fireship",
"commentsTotalText": "1.3K",
"text": "The irony of Flock suing the guy for keeping track of their camera's locations...",
"publishedText": "2 months ago",
"publishedAtFrom": "2026-08-11T01:13:23.365Z",
"publishedAtTo": "2026-09-10T11:46:59.365Z",
"publishedPrecision": "text-interval",
"publishedGranularity": "month",
"publishedAmount": 2,
"isEdited": false,
"likeCount": 5900,
"likeCountText": "5.9K",
"replyCount": 33,
"replyCountText": "33 replies",
"authorName": "@eleos5",
"authorChannelId": "UCkTjIYUTgOEMAC6CVmpnPkw",
"authorChannelHandle": "/@eleos5",
"authorChannelUrl": "https://www.youtube.com/@eleos5",
"authorAvatarUrl": "https://yt3.ggpht.com/oBAYumw6PjWMBOeJ4fCz9uDcK8iXMvQM4R-RpEPlwnrdYA8r_kbNtfIWjUZwePmd21LZBIS8=s176-...",
"isPinned": false,
"isHearted": false,
"isCreator": false,
"isReply": false,
"depth": 0,
"isQuestion": false,
"isNew": null,
"filterReason": null,
"status": "ok",
"scrapedAt": "2026-11-10T08:54:11.365Z"
}

Long fields are truncated with ... in this sample. Output is available as JSON, CSV or Excel from the dataset tab.

How to use it

  1. Open this actor in the Apify Console.
  2. Say what to read with one of three inputs: Video URLs, Channel URL or Search query. They combine.
  3. Set the caps: maxCommentsPerVideo and maxPagesPerVideo.
  4. Click Start, then export the dataset as CSV, Excel or JSON, or read it through the Apify API.

Three ways to say what to read:

  • videoUrls - watch links, youtu.be links, Shorts, live links or bare video ids, up to 500.
  • channelUrl - a channel link, an @handle or a UC id; the latest videosLimit videos are read.
  • searchQuery - a keyword; the first searchVideoLimit videos of the result page are read.

A daily incremental run over a channel:

{
"channelUrl": "@fireship",
"videosLimit": 10,
"maxCommentsPerVideo": 500,
"sortBy": "newest",
"onlyNewSinceLastRun": true,
"stateName": "fireship-daily"
}

Parameters, one to one with the input schema.

InputDefaultNotes
videoUrls[]links, Shorts, live links or bare ids, up to 500
channelUrlemptychannel link, @handle or UC id
videosLimit10videos read from channelUrl
searchQueryemptykeyword, reads the videos it returns
searchVideoLimit10videos taken from the search result page
maxCommentsPerVideo200cap on comments saved per video, replies included
maxPagesPerVideo20comment pages read, 20 comments per page
maxRepliesPerComment0replies per parent, 0 turns them off
sortBytoptop relevance order or newest first
includeRepliestruewhether replies are saved at all
maxDepth1reply depth kept, 1 means one level below the parent
minLikes / maxLikes0 / nonefilter on likeCount
commentsSince / commentsUntilnonefilter on the publishedAtFrom to publishedAtTo interval
includeTerms[]keep only comments containing at least one of these
excludeTerms[]drop comments containing any of these
onlyQuestionsfalsekeep only comments detected as questions
excludeCreatorRepliesfalsedrop comments written by the channel owner
onlyNewSinceLastRunfalseremember pushed ids and emit only unseen comments
stateNameemptybucket for the memory, share it across runs of one schedule
maxResults0cap on paid rows for the whole run, 0 means no cap
maxConcurrency4videos read in parallel
sameDomainDelaySecs0.5minimum gap between two requests to youtube.com
requestTimeoutSecs30per-request timeout before a retry
runBudgetSecsthe run timeoutleave it empty and the run uses the whole timeout you set
proxyConfigurationno proxynot required, worth enabling on large runs

Ready-made tasks

Four saved inputs, one per question this actor answers. Each one shows only the fields it needs, and each returns data on its first run.

TaskInputQuestion it answers
YouTube Comments by Video: Text, Likes, RepliesvideoUrls, maxCommentsPerVideo, sortBywhat viewers say under one video, with likes and replies
YouTube Channel Comments: Latest Videos TogetherchannelUrl, videosLimitthe comment volume across the latest videos of one channel
YouTube Question Finder: Comments That AsksearchQuery, onlyQuestionsthe comments that ask something, so unanswered questions surface
YouTube Comment Monitor: Only New Each DaychannelUrl, onlyNewSinceLastRunonly the comments this task has not delivered yet, for a daily schedule

Modes

The three inputs are not exclusive modes, they stack: a run can read a channel and a keyword at once.

InputWhat is requestedRows
videoUrlsone comment panel per listed videocomments of those videos only
channelUrlthe channel Videos page, then the newest videosLimit videoscomments of the newest videos
searchQuerythe search result page, then the first searchVideoLimit videoscomments of the videos that rank for the keyword

A video that yields no comments still leaves one row carrying the video level status and reason, so a silent video is visible in the dataset.

Use cases

  • Audience research. Export the top comments of a competitor's last ten videos and read the objections customers write in their own words.
  • Product feedback mining. Run a keyword, keep only onlyQuestions: true rows, and get a list of unanswered questions about a topic.
  • Community moderation and lead triage. Filter by minLikes to surface the comments that the audience already endorsed, then hand a shortlist to a moderator.
  • Creator outreach. Collect the authorChannelUrl of commenters on niche videos to find small channels active in a topic.

Cost

The price is $0.10 per 1 000 comments, which is $0.0001 per comment. The Store adds its 20 % margin, so a buyer pays $0.12 per 1 000. One apify-actor-start charge of $0.00005 applies per run.

You pay for a saved comment row with status: ok and a commentId. Nothing else is charged:

  • comments-disabled, no-comments, video-not-found, video-unavailable and fetch-failed rows are free;
  • invalid-input rows are free;
  • budget-exhausted rows are free;
  • rows dropped by a filter, and replies skipped by includeReplies or maxRepliesPerComment, are never written and never billed.

With onlyNewSinceLastRun a daily schedule pays only for comments it has not seen, which is what makes a per-comment price workable on a popular video.

Honest limits

  • There is no absolute comment timestamp. YouTube publishes only rendered age text, so publishedAtFrom and publishedAtTo bound the real date and publishedPrecision is always text-interval. commentsSince and commentsUntil work on that interval, and a comment whose age text cannot be parsed is never dropped by a date filter.
  • Like counts are abbreviated on the page. likeCount is exact only below 1 000. 79K becomes 79000.
  • Replies arrive flat. YouTube returns them without a depth marker, so depth is 1 for every reply and the parent is carried from the thread that was opened.
  • depth beyond one level is not reachable. The panel does not expose a reply's own replies as a separate tree.
  • A pinned comment stays first even with sortBy: newest. Do not read the first row as proof of freshness, use the interval.
  • replyCount: null means YouTube rendered no counter, which in practice means zero replies.
  • no-comments does not prove comments are off. A video with the panel on but every comment held for review reads as no-comments.

FAQ

Do I need a YouTube API key? No. The actor reads the public comment panel. There is no key and no quota.

Can I scrape a whole channel? Yes, with channelUrl and videosLimit. It reads the newest videos of that channel, not the entire back catalogue, because cost grows with every video opened.

How do I avoid paying twice for the same comments? Set onlyNewSinceLastRun: true and reuse one stateName across the runs of a schedule. The actor keeps the ids it already pushed and emits only unseen ones.

Why is publishedText the only readable date? Because it is the only date YouTube publishes for a comment. The interval fields are derived from that text, and publishedPrecision says so instead of pretending to a timestamp.

Are replies included in maxCommentsPerVideo? Yes. The cap counts saved rows, replies included, so a thread with many replies needs a higher value.

What does onlyQuestions match? A question mark or a question word in the comment text. It is a heuristic on the text, not a model, so treat it as a filter, not a classifier.

How do I keep a run cheap? Lower maxCommentsPerVideo and maxPagesPerVideo, use sortBy: newest with onlyNewSinceLastRun for schedules, and turn includeReplies off when you only need top level comments.

Why does one video cost one free row? So a video with comments disabled or removed shows up in the dataset instead of vanishing. Those rows have a status other than ok and are not charged.

Other actors in the YouTube group, each with its own dataset and price:

Changelog

  • 2026-11-12: published in the Store, pay per result with a free run start.
  • 2026-11-10: first build on the platform.