Scrape all top comments from a YouTube video
Up to 1,000 top comments with replies.
{
"videoUrls": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw"
],
"maxCommentsPerVideo": 1000,
"sort": "top",
"includeReplies": true
}Run this task →Scrape YouTube comments and replies from single videos, whole channels, playlists or a YouTube search. Each comment comes with likes, creator heart, pinned flag, reply count and commenter channel; sort by newest or top and filter by keyword, likes and date.
text | Comment text |
likes | Like count |
creatorHeart | Whether the creator hearted it |
pinned | Whether it is pinned |
replyCount | Number of replies |
author / authorChannel | Commenter name and channel |
publishedTime | When it was posted |
replies | Reply threads (optional) |
videoStats | Video summary rows (optional) |
$0.50 per 1,000 rows
Pay per event: you pay per comment or reply returned.
Apify gives $5 free credits every month — enough to test this scraper at no cost.
Ready-made inputs. Copy one into the scraper form or send it through the API.
Up to 1,000 top comments with replies.
{
"videoUrls": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw"
],
"maxCommentsPerVideo": 1000,
"sort": "top",
"includeReplies": true
}Run this task →Last 30 days of comments on 10 latest videos.
{
"channelUrls": [
"https://www.youtube.com/@MKBHD"
],
"maxVideosPerSource": 10,
"maxCommentsPerVideo": 200,
"sort": "newest",
"commentsSince": "30 days"
}Run this task →Comments containing “battery” on iPhone 17 review videos.
{
"searchQueries": [
"iphone 17 review"
],
"maxVideosPerSource": 20,
"maxCommentsPerVideo": 100,
"keyword": "battery",
"includeVideoDetails": true
}Run this task →Only comments the creator hearted, across 25 videos.
{
"playlistUrls": [
"https://www.youtube.com/playlist?list=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI"
],
"maxVideosPerSource": 25,
"maxCommentsPerVideo": 50,
"onlyCreatorHearted": true
}Run this task →Yes. Add channel URLs and choose how many videos to take from each one.
Yes, by default. You can set how many replies to collect per comment or turn them off.
Yes: by keyword, minimum likes, date or period (e.g. 7 days), or only comments hearted by the creator.
The scraper collects only publicly visible YouTube data. Whether your use is legal depends on your jurisdiction and purpose: respect local law and the site's terms, and avoid collecting or storing personal data you don't need.
Call it through the Apify API, use the Python or JavaScript client, or connect it to Make, n8n, Zapier or Google Sheets. Results export as JSON, CSV or Excel.