YouTube Comments & Replies Scraper
Pricing
from $0.40 / 1,000 results
Go to Apify Store
YouTube Comments & Replies Scraper
Fetch public YouTube video comments and nested replies by video URL or ID. Supports Top or Newest sorting with author channels, like counts, heart badges, and timestamps cleanly.
Pricing
from $0.40 / 1,000 results
Rating
0.0
(0)
Developer
Willy Lengkong
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Limited permissions
Share
Extract public YouTube comments, nested replies, like counts, author channel details, and pinned or creator-hearted badges in a clean, structured dataset. Runs fast and lightweight without a browser, YouTube login, or YouTube API quota limits.
Modes
| Mode | Input | What you get |
|---|---|---|
| Top-Level Comments | videoUrlsOrIds + sortBy ("top" or "newest") | Ordered top-level comments with video metadata, author details, like counts, and badges |
| Comments + Nested Replies | includeReplies: true + maxRepliesPerComment | Top-level comments with up to maxRepliesPerComment replies nested inside each comment's replies array |
Supported Coverage
- Video URL & ID Formats: Standard
youtube.com/watch?v=...,youtu.be/...short links,youtube.com/shorts/...,youtube.com/live/...,youtube.com/embed/..., and bare 11-character video IDs. - Comment & Reply Fields:
commentId,commentUrl,text,publishedTimeText,likeCount(integer) +likeCountText,replyCount,isPinned,isHeartedByCreator,isEdited, andsortBy. - Author & Video Metadata:
authorName,authorChannelId,authorChannelUrl,authorAvatarUrl,isAuthorVerified,isAuthorCreator,isAuthorArtist,videoId,videoTitle,channelName,channelId, andtotalVideoCommentsText.
Output Options & Proxy Tips
- Sorting & Limits: Sort comments by
"top"(default) or"newest"viasortBy. SetmaxCommentsPerVideo(1–50,000, default100) andmaxRepliesPerComment(0–500, default10) to balance speed and depth. - Zero-Null Output: Every field uses concrete typed values (
"",0,false,[]) so downstream CSV exports and pipelines never hit missing-key errors. Videos with comments disabled return zero comment records. - Proxy Recommendations: Direct connections work well for moderate runs. For large multi-video batches or heavy cloud workloads, enable Apify Proxy (
RESIDENTIALis used by default when enabled) viaproxyConfiguration.
Use Cases
- Product & Audience Feedback Research: Analyze viewer questions, feature requests, and pain points on product reviews, tutorials, and launch videos.
- Creator & Competitor Benchmarking: Track engagement patterns, creator-hearted responses, and top-comment sentiment across rival channels.
- AI & NLP Sentiment Datasets: Feed clean comment threads and nested replies into LLM summarization, topic clustering, and toxicity/sentiment models.
- Community Moderation & Q&A Mining: Surface recurring viewer questions from long-form videos, Shorts, and live stream replays.
Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
videoUrlsOrIds | array | ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"] | YouTube watch URLs, Shorts URLs, youtu.be links, live/embed URLs, or 11-character video IDs. |
sortBy | string | "top" | Sort order for top-level comments: "top" (Top comments) or "newest" (Newest first). |
maxCommentsPerVideo | integer | 100 | Maximum number of top-level comments to extract per video (1–50000). |
includeReplies | boolean | true | Fetch replies attached to top-level comments that have replies. |
maxRepliesPerComment | integer | 10 | Maximum number of replies to fetch per top-level comment (0–500). |
language | string | "en" | YouTube interface language code (e.g. "en", "id", "es", "ja"). |
maxConcurrency | integer | 5 | Maximum number of concurrent video and reply requests (1–20). |
proxyConfiguration | object | {"useApifyProxy": false} | Apify Proxy configuration. Enable Apify Proxy (RESIDENTIAL default) for heavy workloads. |
Sample Output
{"commentId": "UgzKYksqeQ5gA3t0g0F4AaABAg","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","totalVideoCommentsText": "2.4M","commentUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ&lc=UgzKYksqeQ5gA3t0g0F4AaABAg","text": "I Rick rolled my entire French class because we had to study a city in France and make a quiz about it as well as a presentation, I decided to make a Kahoot quiz because it’s very easy. I put a link in to this saying it’s the kahoot link. The teacher needless to say got very very mad. As well as my classmates asking who rick rolls in 2019","publishedTimeText": "6 years ago (edited)","likeCount": 108000,"likeCountText": "108K","replyCount": 694,"isPinned": false,"isHeartedByCreator": false,"isEdited": true,"sortBy": "top","authorName": "@grustache4569","authorChannelId": "UCKrzgYonJnMd0Dk7zQXjYXw","authorChannelUrl": "https://www.youtube.com/@grustache4569","authorAvatarUrl": "https://yt3.ggpht.com/ytc/AIdro_kDD-FhIbth2qcBbI9VGxR41dJa0kE3kN9iVlGzNgRU_g=s88-c-k-c0x00ffffff-no-rj","isAuthorVerified": false,"isAuthorCreator": false,"isAuthorArtist": false,"replies": [{"commentId": "UgzKYksqeQ5gA3t0g0F4AaABAg.91a9XW7osVT961rS_2wf3F","parentCommentId": "UgzKYksqeQ5gA3t0g0F4AaABAg","commentUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ&lc=UgzKYksqeQ5gA3t0g0F4AaABAg.91a9XW7osVT961rS_2wf3F","text": "respect","publishedTimeText": "6 years ago","likeCount": 4800,"likeCountText": "4.8K","isEdited": false,"isHeartedByCreator": false,"authorName": "@Kanenfan","authorChannelId": "UC6BLT7n-EQnEILjILxvaJXg","authorChannelUrl": "https://www.youtube.com/@Kanenfan","authorAvatarUrl": "https://yt3.ggpht.com/Q0hjeewb2BhpoOKOEYJ9vBJU-IwUX2aKsnHJhod_RP97N2QQMpcAvikjLpXwQwPoSbWP-9qy=s88-c-k-c0x00ffffff-no-rj","isAuthorVerified": false,"isAuthorCreator": false,"isAuthorArtist": false}],"scrapedAt": "2026-11-12T08:01:05.376656+00:00"}