YouTube Comments Scraper - Replies, Newest First, Shorts
Pricing
from $0.50 / 1,000 results
YouTube Comments Scraper - Replies, Newest First, Shorts
Public comments of any YouTube video or Short: top or newest first, replies optional, likes, reply counts, author handle and channel, exact total comment count. No login. $0.50 per 1,000 comments.
Pricing
from $0.50 / 1,000 results
Rating
0.0
(0)
Developer
mochi
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
14 days ago
Last modified
Categories
Features
Share
YouTube Comments Scraper - comments, replies and Shorts, newest first, no login
Get the public comments of any YouTube video or Short as structured rows: author handle and channel, text, likes, reply count, how old the comment is, and the exact total comment count of the video. Logged out, no API key, no cookies.
- Top or newest first. Pull YouTube's Top comments, or the newest comments with a day cut-off (
newerThanDays) for daily brand and creator monitoring: the run stops at the first comment older than the cut-off. - Replies optional. Switch
includeReplieson and each comment's replies follow it, with a per-comment limit. Every common link form is accepted:watch?v=,youtu.be/,/shorts/,/live/,/embed/,m.youtube.com, or the bare 11-character video ID. - Honest output. Videos with comments turned off or no longer available are named in the run summary and cost nothing. E-mail addresses and the phone-number formats the redactor recognises are replaced in comment text (see Privacy).
Pricing
Pay per result, at the rate shown in the pricing panel of this page, plus a very small per-run start fee. You are charged only for the results delivered.
What you get
One row per comment (replies included). A top-level comment:
{"videoId":"dQw4w9WgXcQ","videoUrl":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","videoTitle":"Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)","channelName":"Rick Astley","channelId":"UCuAXFkgsw1L7xaCfnd5JJOw","totalCommentsOnVideo":2460855,"sortBy":"top","position":1,"replyPosition":null,"commentId":"UgwPwTibxdgqCHZxktd4AaABAg","parentCommentId":null,"isReply":false,"text":"My algebra teacher said that this was a link to the test answers","publishedTimeText":"7 years ago","isEdited":false,"authorHandle":"@bdr8823","authorChannelId":"UCdi6tGxvFvTRGe-7dAn7m7w","authorChannelUrl":"https://www.youtube.com/channel/UCdi6tGxvFvTRGe-7dAn7m7w","authorIsVerified":false,"authorIsChannelOwner":false,"likeCount":70000,"likeCountIsApproximate":true,"replyCount":649,"isHearted":false,"scrapedAt":"2026-10-28T14:34:37.097Z"}
and a reply to it:
{"videoId":"dQw4w9WgXcQ","videoUrl":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","videoTitle":"Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)","channelName":"Rick Astley","channelId":"UCuAXFkgsw1L7xaCfnd5JJOw","totalCommentsOnVideo":2460855,"sortBy":"top","position":null,"replyPosition":1,"commentId":"UgwPwTibxdgqCHZxktd4AaABAg.8z9UZMV20LP8zH9Ebkoohj","parentCommentId":"UgwPwTibxdgqCHZxktd4AaABAg","isReply":true,"text":"Nice troll 👌","publishedTimeText":"7 years ago","isEdited":false,"authorHandle":"@daikerio6830","authorChannelId":"UCuyLyWFcsnyZF77-W7WFnFg","authorChannelUrl":"https://www.youtube.com/channel/UCuyLyWFcsnyZF77-W7WFnFg","authorIsVerified":false,"authorIsChannelOwner":false,"likeCount":3200,"likeCountIsApproximate":true,"replyCount":0,"isHearted":false,"scrapedAt":"2026-10-28T14:34:37.304Z"}
| Field | What it is |
|---|---|
videoId, videoUrl, videoTitle, channelName, channelId | The video and its channel. |
totalCommentsOnVideo | The video's exact comment count (2460855, not 2.4M) when you sort by Top. Empty with Newest first: the actor reads Newest through YouTube's comments-panel link, whose answer carries no count. The count includes replies. |
sortBy | top or newest, as you asked. |
position | Place of the comment in YouTube's list for this video, from 1. Empty for replies. |
replyPosition, parentCommentId | For a reply: its place under the parent comment (from 1) and the parent's commentId. Empty for top-level comments. |
commentId, isReply | Comment id (a reply's id starts with its parent's id) and whether it is a reply. |
text | The comment text. It can be empty (a comment that is only a sticker). |
publishedTimeText, isEdited | How old the comment is, in YouTube's words (7 years ago, 3 days ago, 5 hours ago); a calendar date is not available. isEdited is true when YouTube marks it "(edited)". |
authorHandle, authorChannelId, authorChannelUrl | The commenter's handle (@name) and channel. |
authorIsVerified, authorIsChannelOwner | Verified badge; the comment was written by the video's own channel. |
likeCount, likeCountIsApproximate | Likes. Below 1,000 the number is exact. From 1,000 up YouTube shows a rounded figure (70K, 1.2M), which is what you get, with likeCountIsApproximate true. |
replyCount | Number of replies YouTube reports under the comment. |
isHearted | The video's creator gave the comment a heart. |
scrapedAt | When the row was written. |
Input
| Field | Default | What it does |
|---|---|---|
videoUrls | one example video | Video or Shorts links, or bare video IDs, one per line. Up to 500 per run; the same video twice is read once; anything that is not a YouTube video link or ID is listed in the run summary and costs nothing. |
maxCommentsPerVideo | 100 (max 100000) | Rows per video, replies included. |
sortBy | top | top (YouTube's default ranking) or newest. |
includeReplies | false | Also return the replies under each comment. Replies count towards the per-video maximum. |
maxRepliesPerComment | 10 (max 1000) | Replies read per comment when replies are on. |
newerThanDays | off | Only with newest: stop each video at the first comment older than this many days. YouTube gives the age as text, so the cut-off is approximate (a month counts as 30 days, a year as 365). Ignored with top, and the run summary says so. |
proxyConfiguration | Apify datacenter proxy | Proxy used for all requests. |
Rows come in YouTube's order, a page of comments first and then the replies of those comments (when replies are on). Videos are read three at a time, so rows of different videos are mixed in the dataset; within one video they are in order (sort by videoId and position if you want them apart).
How deep YouTube lets you go
- Top comments end after about 1,000 to 1,200 per video, however many comments the video has. In our runs the Top list of three videos with millions of comments ended at 1,216, 1,002 and 1,219 comments. The video then ends with
stopReasonlast_page;totalCommentsOnVideostill shows the full count. - Newest first goes much deeper. A run of 3,000 newest comments of a video with 4.4 million comments finished in 53 seconds with 3,000 rows.
- The creator's pinned comment comes first in both orders. With
newerThanDays, an old pinned comment is skipped instead of ending the scan; a pinned comment that is inside the time window is delivered at position 1. - Likes, reply counts and the exact total are as YouTube shows them at the moment of the run and move while you read.
Measured behaviour
Platform runs on 2026-10-28, default datacenter proxy, 512 MB:
- A video, a Short, a video with comments turned off and an ID that does not exist, 150 comments per video with replies (5 per comment): 300 rows in 11 seconds (150 + 150, of which 200 were replies).
commentId,authorHandle,authorChannelIdandpublishedTimeTextwere filled in 300 of 300 rows,textin 299 of 300. No comment id appeared twice, and every reply came after the page of comments it belongs to. The comments-off video and the unknown ID were named in the run summary (commentsDisabled,videoUnavailable) and produced no rows. - Newest first with
newerThanDays1 on a video with 2.4 million comments: 242 rows in 9 seconds, every one aged 1 day or less, ended withstopReasonnewer_than_days. - Nothing was blocked on the default proxy: the runs logged 701 requests in 10 runs, none blocked, none retried, none answered empty. Peak memory was 45 to 114 MB.
Stopping early, blocks and the run summary
- The run keeps a time budget. A very large run (hundreds of videos, replies on) may stop early: it starts no new request, writes what it has and ends as succeeded. We checked it with 20 videos at 100,000 comments each and a 45-second timeout: it ended after 36 seconds with 4,823 rows. The
RUN_SUMMARYrecord in the key-value store says how it ended:complete,terminationReason(finished,max_results,charge_limit,time_budget,blocked,request_failed),rowsPushed, one entry per video (state,rows,stopReason),invalidInputs,skippedOverLimitandwarnings. - A video's
stateisok,commentsDisabled,videoUnavailable,noCommentsSection,emptyFirstPage(no comments yet),noNewestTokenornotFetched(the run stopped before it got there). ItsstopReasonismax_results,last_page,newer_than_days,time_budget,blocked,request_failedorcharge_limit. - If YouTube answers with HTTP 403, a consent page or a sign-in page, the actor stops at once with
YouTube blocked the request (HTTP <status>); stopping.and keeps the rows already written. It never retries a block. Run again later. - Temporary errors (HTTP 429, 5xx, network, and the empty answers YouTube now and then gives) are retried three times (2, 4, 8 seconds); a page that still fails ends only that video and the summary says
request_failed. - If Apify moves a long run to another server, the run continues where it was and does not write a comment twice. We restarted a run on purpose while it was reading three videos: 3,429 rows, no duplicate.
- Rows are billed per result; if you set a maximum charge per run the run stops there.
Privacy
Only public, logged-out YouTube pages are read: no login, no cookies. Comments are public posts by the people named in the authorHandle; use them in line with the rules that apply to you. E-mail addresses inside comment text, video titles and channel names, and phone numbers inside comment text, are replaced with [email redacted] and [phone redacted]. This is best effort on the formats it recognises: international + numbers, US and Canadian numbers and numbers that start with 0 are replaced; a bare 10-digit number, some national formats and phone numbers in video titles or channel names are not, and a long run of digits can be mistaken for a phone number (1 comment in about 4,300 sampled by the builder, 1 in 14,438 in QA).
Keywords
youtube comments scraper, youtube comment extractor, export youtube comments, youtube shorts comments, youtube comment replies, youtube comments csv, youtube sentiment analysis