YouTube Comments Scraper - Replies, Likes, Dates, $0.36/1K
Pricing
from $0.22 / 1,000 comments
YouTube Comments Scraper - Replies, Likes, Dates, $0.36/1K
YouTube comments scraper and API alternative: extract comments and replies from YouTube videos and Shorts with text, like and reply counts, pinned and hearted flags and date. Sort by top or newest, flat JSON, no API key or login.
Pricing
from $0.22 / 1,000 comments
Rating
0.0
(0)
Developer
CrawlKit
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Scrape the public comments of YouTube videos and Shorts, with optional replies. For each comment you get the text, a pseudonymized author, like and reply counts, pinned and hearted flags, an edited flag, the relative date shown by YouTube and an approximate ISO date. One flat JSON record per comment, no API key and no YouTube account needed.
What it does
- Takes a list of YouTube video URLs or IDs (
videoUrls): watch URLs,youtu.belinks, Shorts, embed and live URLs, or raw 11-character IDs. - Reads the comments the way the YouTube web page loads them (InnerTube
/nextendpoint), sorted by top (as on the video page, pinned comment first) or newest. - Optionally adds the replies of each comment, right after their parent (
isReply: true,parentCommentIdset), with an optional cap per comment. - Returns at most
maxItemsitems per video (comments plus replies), deduplicated bycommentId. - Skips invalid URLs and reports, per video, why nothing was returned: video not found or private, comments turned off, no comments yet, or blocked.
Input
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
videoUrls | array of strings | Yes | - | YouTube video URLs or 11-character video IDs (videos and Shorts). Duplicates are scraped once. |
maxItems | integer | No | 20 | Maximum items (comments + replies) per video, 1 to 10,000. 3 videos x 100 = up to 300 items. |
sortBy | string | No | top | top (most relevant first, as on the video page) or newest (most recent first). |
includeReplies | boolean | No | false | Also return the replies of each comment. Replies count toward maxItems. |
maxRepliesPerComment | integer | No | 0 | With includeReplies: maximum replies per comment (0 = no limit other than maxItems). |
Example:
{"videoUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw","https://www.youtube.com/shorts/5mU6SRS2Bxo"],"maxItems": 100,"sortBy": "top","includeReplies": true,"maxRepliesPerComment": 5}
Output
One dataset item per comment or reply. Real example (first item of the default input):
{"commentId": "UgzuC3zzpRZkjc5Qzsd4AaABAg","videoId": "jNQXAC9IVRw","videoTitle": "Me at the zoo","videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw","commentUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw&lc=UgzuC3zzpRZkjc5Qzsd4AaABAg","text": "We're so honored that the first ever YouTube video was filmed here!","author": "@San***","authorIsChannelOwner": false,"likeCount": 4800000,"replyCount": 986,"isReply": false,"parentCommentId": null,"isPinned": true,"isHearted": true,"isEdited": false,"publishedTimeText": "6 years ago","publishedAt": "2020-10-29T06:37:07+00:00","scrapedAt": "2026-10-28T06:37:07+00:00"}
| Field | Description |
|---|---|
commentId | YouTube comment ID. Replies use <parentId>.<replyId>. |
videoId, videoTitle, videoUrl | The video the comment belongs to. |
commentUrl | Opens the video with this comment highlighted. |
text | Comment text (emoji kept). |
author | Pseudonymized author: handles are masked (@San***), full names shortened to First L.. No channel ID is returned. |
authorIsChannelOwner | true when the comment was posted by the video's channel. |
likeCount, replyCount | Integers. YouTube rounds counts above 1,000 (4.8M becomes 4800000). |
isReply, parentCommentId | Reply flag and parent comment ID (null for top-level comments). |
isPinned, isHearted, isEdited | Pinned by the channel, hearted by the creator, edited by its author. |
publishedTimeText | Relative date as shown by YouTube (6 years ago, 3 hours ago (edited)). |
publishedAt | Approximate ISO 8601 date computed from the relative date at scrape time (month = 30 days, year = 365 days). |
scrapedAt | ISO 8601 time of the scrape. |
Pricing
Pay-per-event, no start fee: $0.36 per 1,000 comments (event COMMENT) on the Apify Free plan, lower on paid plans. You only pay for results pushed to the dataset.
| Apify plan | Price per 1,000 comments |
|---|---|
| Free | $0.36 |
| Starter | $0.31 |
| Scale | $0.27 |
| Business | $0.22 |
Set a maximum cost per run in the run options: the Actor stops cleanly when it is reached.
Limitations
- Only public comments that YouTube shows to a signed-out visitor are returned. Held-for-review and deleted comments are not visible.
- Like and reply counts above 1,000 are rounded by YouTube (
70K,4.8M); exact values are not available. publishedAtis approximate: YouTube only shows a relative date ("7 years ago"), so the precision is the unit shown.- The
toporder is YouTube's own ranking and can change between runs;newestis better for monitoring new comments. - With
includeReplies, replies are collected depth-first: a comment with thousands of replies can use the wholemaxItemsbudget of its video unlessmaxRepliesPerCommentis set. - Videos with comments turned off (for example videos made for kids), private or removed videos return no comments; the run status message says which video was skipped and why.
- Live chat messages and community posts are not covered.
Feedback
Found a bug or need a field? Open an issue on the Issues tab; if the Actor helps you, a review on the Reviews tab helps others find it.
Related Actors
- YouTube Transcript Scraper - Bulk, Any Language, $1.10/1K — Scrape YouTube video transcripts (captions and auto-generated subtitles) with timestamps, video metadata and optional comments.
- YouTube Channel Scraper - Videos, Shorts & Stats, $0.91/1K — YouTube channel scraper and YouTube Data API alternative: list a channel's videos, Shorts or live streams with exact view counts, duration and publish date, plus subscribers, video count, total views and country.
- Reddit Scraper - Posts, Comments & New Posts Monitor, $0.90/1K — Scrape Reddit posts and comments from any subreddit: title, text, date, link and author. Reddit data API alternative for social listening, no login.