YouTube Comments Scraper - Replies, Likes, Keyword Filters
Pricing
from $0.10 / 1,000 comment scrapeds
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 days ago
Last modified
Categories
Features
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.
| Group | Fields |
|---|---|
| Identity | commentId, parentCommentId, videoId, isReply, depth |
| Video | videoTitle, videoChannelName, commentsTotalText |
| Text | text, isQuestion, isEdited |
| Engagement | likeCount, likeCountText, replyCount, replyCountText |
| Author | authorName, authorChannelId, authorChannelHandle, authorChannelUrl, authorAvatarUrl |
| Flags | isPinned, isHearted, isCreator, isNew |
| Date | publishedText, publishedAtFrom, publishedAtTo, publishedPrecision, publishedGranularity, publishedAmount |
| Meta | status, 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
- Open this actor in the Apify Console.
- Say what to read with one of three inputs: Video URLs, Channel URL or Search query. They combine.
- Set the caps:
maxCommentsPerVideoandmaxPagesPerVideo. - 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.belinks, Shorts, live links or bare video ids, up to 500.channelUrl- a channel link, an@handleor aUCid; the latestvideosLimitvideos are read.searchQuery- a keyword; the firstsearchVideoLimitvideos 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.
| Input | Default | Notes |
|---|---|---|
videoUrls | [] | links, Shorts, live links or bare ids, up to 500 |
channelUrl | empty | channel link, @handle or UC id |
videosLimit | 10 | videos read from channelUrl |
searchQuery | empty | keyword, reads the videos it returns |
searchVideoLimit | 10 | videos taken from the search result page |
maxCommentsPerVideo | 200 | cap on comments saved per video, replies included |
maxPagesPerVideo | 20 | comment pages read, 20 comments per page |
maxRepliesPerComment | 0 | replies per parent, 0 turns them off |
sortBy | top | top relevance order or newest first |
includeReplies | true | whether replies are saved at all |
maxDepth | 1 | reply depth kept, 1 means one level below the parent |
minLikes / maxLikes | 0 / none | filter on likeCount |
commentsSince / commentsUntil | none | filter on the publishedAtFrom to publishedAtTo interval |
includeTerms | [] | keep only comments containing at least one of these |
excludeTerms | [] | drop comments containing any of these |
onlyQuestions | false | keep only comments detected as questions |
excludeCreatorReplies | false | drop comments written by the channel owner |
onlyNewSinceLastRun | false | remember pushed ids and emit only unseen comments |
stateName | empty | bucket for the memory, share it across runs of one schedule |
maxResults | 0 | cap on paid rows for the whole run, 0 means no cap |
maxConcurrency | 4 | videos read in parallel |
sameDomainDelaySecs | 0.5 | minimum gap between two requests to youtube.com |
requestTimeoutSecs | 30 | per-request timeout before a retry |
runBudgetSecs | the run timeout | leave it empty and the run uses the whole timeout you set |
proxyConfiguration | no proxy | not 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.
| Task | Input | Question it answers |
|---|---|---|
| YouTube Comments by Video: Text, Likes, Replies | videoUrls, maxCommentsPerVideo, sortBy | what viewers say under one video, with likes and replies |
| YouTube Channel Comments: Latest Videos Together | channelUrl, videosLimit | the comment volume across the latest videos of one channel |
| YouTube Question Finder: Comments That Ask | searchQuery, onlyQuestions | the comments that ask something, so unanswered questions surface |
| YouTube Comment Monitor: Only New Each Day | channelUrl, onlyNewSinceLastRun | only 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.
| Input | What is requested | Rows |
|---|---|---|
videoUrls | one comment panel per listed video | comments of those videos only |
channelUrl | the channel Videos page, then the newest videosLimit videos | comments of the newest videos |
searchQuery | the search result page, then the first searchVideoLimit videos | comments 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: truerows, and get a list of unanswered questions about a topic. - Community moderation and lead triage. Filter by
minLikesto surface the comments that the audience already endorsed, then hand a shortlist to a moderator. - Creator outreach. Collect the
authorChannelUrlof 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-unavailableandfetch-failedrows are free;invalid-inputrows are free;budget-exhaustedrows are free;- rows dropped by a filter, and replies skipped by
includeRepliesormaxRepliesPerComment, 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
publishedAtFromandpublishedAtTobound the real date andpublishedPrecisionis alwaystext-interval.commentsSinceandcommentsUntilwork 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.
likeCountis exact only below 1 000.79Kbecomes79000. - Replies arrive flat. YouTube returns them without a depth marker, so
depthis 1 for every reply and the parent is carried from the thread that was opened. depthbeyond 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: nullmeans YouTube rendered no counter, which in practice means zero replies.no-commentsdoes not prove comments are off. A video with the panel on but every comment held for review reads asno-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.
Related actors
Other actors in the YouTube group, each with its own dataset and price:
- YouTube Search Scraper - videos, Shorts, channels and playlists by keyword, with native filters.
- YouTube Channel Contacts - emails and social profiles of the channels behind the videos.
- YouTube Channel Discovery - find channels by keyword before reading their comments.
- YouTube Similar Channels - channels close to a seed channel, for lookalike prospecting.
Changelog
- 2026-11-12: published in the Store, pay per result with a free run start.
- 2026-11-10: first build on the platform.