YouTube Comments Scraper: Top & Newest, Incremental

Pass YouTube video URLs, Shorts, IDs, or channels to extract top or newest comments with likes, replies, author IDs, creator hearts, and timestamps. Enable includeReplies for reply rows, oldestCommentDate, or onlyNewItems. Status rows are free. Unofficial tool, not affiliated with YouTube.

USD 0.20 / 1,000 commentsView on Apify Store
27 output fields Last verified: 2026-11-17 Social media · Videos · AI
  • Later runs return only the rows your previous run did not deliver.
  • 10,000 comments cost USD 2.00 at the Free-tier price; the Starter, Scale and Business plans are cheaper.

What it does

InputWhat it returns
channels (@handle, /channel/..., /c/..., /user/, or UC... ID)Reads up to maxVideosPerChannel recent videos of each channel and extracts their comments
sortBy ("top" or "newest")"top" (default) returns top comments; "newest" returns newest comments first
includeReplies: trueAlso extracts comment replies as separate comment rows with parentCommentId set
oldestCommentDate (ISO date or "7 days")Skips comments older than the cutoff date
onlyNewItems: trueRemembers delivered commentIds per input for 90 days and returns only unseen comments

Inputs

InputTypeRequiredDefaultDescription
Video URLs or IDs (videoUrls)arrayNo[]Up to 100 YouTube watch URLs, youtu.be links, Shorts URLs, or 11-character video IDs. Leave both videoUrls and channels empty ({}) to read 1 sample video.
Channels (optional) (channels)arrayNo[]Up to 20 YouTube channels (@handle, /channel/, /c/, /user/, or UC... ID). Fetches comments from each channel’s recent videos (up to maxVideosPerChannel).
Sort comments by (sortBy)stringNotop“top” (default) returns top-liked comments as YouTube orders them. “newest” returns newest comments first (recommended with onlyNewItems or oldestCommentDate).
Max comments per video (maxCommentsPerVideo)integerNo100Maximum comments (including replies when includeReplies is true) to extract per video (1 to 2,000, default 100). Bounded by maxItems across the whole run.
Max videos per channel (maxVideosPerChannel)integerNo5Recent videos to read per channel when channels are provided (1 to 15, default 5). Ignored when only videoUrls are set.
Include comment replies (includeReplies)booleanNofalsefalse (default) extracts top-level comments with replyCount only. true also extracts replies as separate comment rows with parentCommentId set.
Oldest comment date (optional) (oldestCommentDate)stringNoSkip comments older than this cutoff. Accepts an ISO date (e.g. 2026-11-01) or a relative age (e.g. 7 days, 24 hours). Leave empty for no date limit.
Only new comments (onlyNewItems)booleanNofalsetrue skips comments already returned by prior runs with the same input (90-day state); false (default) returns all comments. Status rows retry on the next run.
Maximum rows (maxItems)integerNo20Maximum rows written per run (1 to 5,000, default 20). Comment and free status rows share this cap; only comment rows are charged.
Save a diagnostic page snapshot (debugSnapshot)booleanNofalsefalse (default). true saves a diagnostic snapshot in the key-value store when a video’s comments fail to parse; snapshots are not in the dataset and not charged.

Advanced: proxyConfiguration is available for proxy settings and is not required.

Output

FieldTypeDescription
idstringStable row ID: “comment:<commentId>” or “video-comments:<videoId>” for a status row.
typestringRow kind: “comment” on delivered comments, or “status” on uncharged error rows.
sourcestringAlways “youtube-comments”.
urlstring | nullComment permalink (watch URL with lc=<commentId>) or video watch URL on status rows.
commentIdstring | nullYouTube comment ID (null on status rows).
parentCommentIdstring | nullParent comment ID on reply rows when includeReplies is true; null on top-level comments and status rows.
videoIdstring11-character YouTube video ID.
videoTitlestring | nullTitle of the video the comment belongs to.
videoUrlstringCanonical YouTube watch URL (https://www.youtube.com/watch?v=<videoId>).
channelIdstring | nullYouTube channel ID (UC...) of the video.
totalCommentsCountinteger | nullTotal comment count reported by the comments header when present; null when the response omits the header.
authorstring | nullComment author display name or @handle.
authorChannelIdstring | nullPublic YouTube channel ID (UC...) of the comment author.
authorChannelUrlstring | nullPublic YouTube channel URL of the comment author.
textstring | nullClean comment text (up to 5,000 characters; invisible formatting characters removed).
likeCountinteger | nullNumeric like count parsed from YouTube’s count label (e.g. “1.2K likes” -> 1200).
replyCountinteger | nullNumber of replies to this comment. Set includeReplies to true to also extract reply rows.
publishedTextstring | nullRelative publication label as shown by YouTube (e.g. “2 days ago” or “6 years ago (edited)”).
publishedAtstring | nullEstimated ISO 8601 UTC timestamp derived from publishedText.
publishedAtIsEstimatebooleanTrue when publishedAt was computed from a relative label (within one time unit of publishedText).
isEditedbooleanTrue when YouTube marks the comment as edited.
isPinnedbooleanTrue when the channel owner pinned the comment.
isOwnerbooleanTrue when the comment was posted by the channel owner.
hasCreatorHeartbooleanTrue when the video creator hearted this comment.
sortstring | nullSort order used when reading the comments: “top” or “newest” (null on status rows).
errorobject | nullnull on comment rows; {type, message} on uncharged status rows (comments-disabled, bot-check, consent, comments-unavailable, video-unavailable).
isNewbooleanPresent when onlyNewItems is true: true when this comment was not returned by earlier runs with the same input.

Sources and limits

Limitations

  • Replies are optional: set includeReplies: true to fetch reply rows with parentCommentId; by default only top-level comments and replyCount are returned.
  • Estimated timestamps: YouTube shows relative comment ages ("2 days ago"), so publishedAt is computed from the run timestamp and flagged with publishedAtIsEstimate: true. Use sortBy: "newest" when pairing with oldestCommentDate to stop scanning older pages automatically.
  • No login or private videos: only publicly visible comments on public videos and Shorts are extracted; no API key is required.
  • Status rows: if a video has comments turned off or cannot be read, a status row with error.type is written to the dataset and is not charged.

Read the data-source note.

Staging run

Staging run — 2026-11-17; input {} (the sample videos); 20 results returned. This is a staging run on Kizuki’s own account, not a customer result and not a testimonial.

20 items read · 0 filtered out.

Default staging run: 20 comments in 18.9 s.

Sample output

The first 3 results of a run, cut to 10 of the 27 output fields; long text is shortened. Download the same rows as JSON or CSV.

{
  "id": "comment:Ugwh3LxXUWinFcvKEvd4AaABAg",
  "type": "comment",
  "videoTitle": "COSTA RICA IN 4K 60fps HDR (ULTRA HD)",
  "author": "@lolmom6839",
  "text": "Let’s be honest, we are here for testing our screens",
  "likeCount": 106000,
  "replyCount": 944,
  "publishedAt": "2021-11-18T05:29:52.841Z",
  "publishedAtIsEstimate": true,
  "sort": "top"
}

The output schema above lists every field. These rows come from a staging run, not from a customer.

Pricing

USD 0.20 per 1,000 comments on Free; USD 0.16 on Starter, USD 0.14 on Scale, USD 0.12 on Business

Apify charges per result; the Store page is the commercial reference. Rows that only record a failure are not charged. Every run also carries a start fee of USD 0.00005 per GB of memory (USD 0.00005 at the default 0.25 GB), even a run that returns no results.

View on Apify Store

Verification

The facts on this page come from the Actor’s own documentation and input and output schemas, and the staging run recorded above. No customer testimonials, ratings, or uptime numbers are shown.

The Store page is the commercial reference.