YouTube Comments Scraper: Comments, Replies & Likes avatar

YouTube Comments Scraper: Comments, Replies & Likes

Pricing

from $0.32 / 1,000 comments

Go to Apify Store
YouTube Comments Scraper: Comments, Replies & Likes

YouTube Comments Scraper: Comments, Replies & Likes

Scrape YouTube comments and replies from videos, Shorts, channels, playlists or searches: text, author, likes, reply count, creator heart, date and video details. Top or newest order, comment monitoring. Pay per comment, no API key.

Pricing

from $0.32 / 1,000 comments

Rating

0.0

(0)

Developer

Fernando Guiraud

Fernando Guiraud

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Features

Limited permissions

Share

What does YouTube Comments Scraper do?

YouTube Comments Scraper extracts comments and replies from YouTube videos and Shorts: the comment text, author handle and channel, likes, number of replies, whether the creator hearted it, when it was posted, and the video's title and channel. Give it video links, channels or playlists (their newest videos) or search keywords (the top videos), choose Top comments or Newest first, and download thousands of comments in minutes. No API key and no YouTube Data API quota.

With onlyNew it becomes a comment monitor: a schedule returns, and charges, only the comments posted since the last run.

It runs on the Apify platform, so you also get an API, scheduling, integrations (Google Sheets, Make, Zapier, n8n, Slack) and access for AI agents through the Apify MCP server. Export to Excel, CSV or JSON.

Why use it?

  • 💬 Audience research and sentiment: what viewers say about a product, a brand, a competitor or a topic, ready for an LLM or a spreadsheet.
  • 🔁 Replies too: includeReplies adds the replies of each comment, linked by parentCommentId.
  • 📺 Whole channels and searches: the newest videos of a channel or playlist, or the top videos for a keyword, in one run.
  • 🔔 Comment monitoring: schedule it with sortBy: "newest" and onlyNew: true to get only new comments on your videos or a competitor's.
  • 💸 Pay per comment, $0.40 per 1,000; videos with comments turned off are free.

Typical uses: brand and product feedback, creator analytics, community management, market research, training and evaluation data for AI, and AI agents that answer "what do people complain about in the comments of this video".

How to scrape YouTube comments

  1. Click Try for free.
  2. Paste one or more video links (or a channel such as @TED), or type a search keyword.
  3. Choose how many comments per video, the order, and whether to include replies.
  4. Click Start. 1,000 comments take about a minute and a half.
  5. Download the comments as Excel, CSV or JSON, or connect them to Google Sheets.

Input

FieldDescriptionDefault
videosVideo links or IDs (watch, youtu.be, Shorts, live), channels (@handle, channel link) or playlists—
searchQueriesKeywords: the comments of the top videos for each one—
maxCommentsPerVideoTop-level comments per video (replies are counted apart)100
sortBytop (Top comments) or newest (Newest first)top
includeReplies / maxRepliesPerCommentAlso the replies of each comment, up to this manyfalse / 20
maxVideosPerChannel / maxVideosPerSearchNewest videos of each channel or playlist / top videos of each search10 / 10
maxItemsComments and replies in the whole run (the cost cap)1,000
onlyNewMonitoring: skip (and do not charge) comments delivered by earlier runs for the same videofalse
{
"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ", "@TED"],
"maxCommentsPerVideo": 200,
"sortBy": "top",
"includeReplies": true,
"maxRepliesPerComment": 5
}

Output

One row per comment or reply. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Real rows from runs on 2026-11-11:

{
"commentId": "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, ...",
"author": "@grustache4569",
"authorChannelId": "UCKrzgYonJnMd0Dk7zQXjYXw",
"authorChannelUrl": "https://www.youtube.com/channel/UCKrzgYonJnMd0Dk7zQXjYXw",
"authorIsChannelOwner": false,
"authorIsVerified": false,
"likes": 108000,
"likesText": "108K",
"replyCount": 692,
"heartedByCreator": false,
"publishedTime": "6 years ago",
"publishedApprox": "2020-11-11",
"edited": true,
"isReply": false,
"parentCommentId": null,
"videoId": "dQw4w9WgXcQ",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"commentUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ&lc=UgzKYksqeQ5gA3t0g0F4AaABAg",
"videoTitle": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"channelName": "Rick Astley",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"status": "ok"
}
{"commentId": "UgzKYksqeQ5gA3t0g0F4AaABAg.91a9XW7osVT952pvnnAzll", "text": "The biggest comrade ever", "author": "@egdog_tm", "likes": 6900, "likesText": "6.9K", "isReply": true, "parentCommentId": "UgzKYksqeQ5gA3t0g0F4AaABAg", "videoId": "dQw4w9WgXcQ"}
{"commentId": "UgzuC3zzpRZkjc5Qzsd4AaABAg", "text": "We're so honored that the first ever YouTube video was filmed here!", "author": "@SanDiegoZoo", "authorIsVerified": true, "likes": 4800000, "likesText": "4.8M", "replyCount": 986, "heartedByCreator": true, "videoTitle": "Me at the zoo"}

What the runs returned: 1,000 comments from "Me at the zoo" in 85 seconds; 40 comments with up to 3 replies each, 135 rows; the newest comments of 3 TED videos (posted minutes to hours before the run); the comments of the top 3 videos for "python tutorial". A second onlyNew run on the same video returned only the 2 comments posted in between.

Data fields

FieldDescription
commentId, text, commentUrlComment id, text and direct link
author, authorChannelId, authorChannelUrlAuthor handle and channel
authorIsChannelOwner, authorIsVerifiedWritten by the video's channel; verified author
likes, likesTextLikes as a number (from YouTube's rounded count) and as shown
replyCount, heartedByCreator, editedReplies, creator heart, edited
publishedTime, publishedApproxRelative time as shown (6 years ago) and the approximate date
isReply, parentCommentIdReplies and the comment they answer
videoId, videoUrl, videoTitle, channelName, channelId, videoCommentCountThe video
source, searchQuery, searchRankChannel, playlist or search that found the video
statusok; no-comments, error and sample rows are not billed

How much does it cost to scrape YouTube comments?

EventPrice
Run start (per GB of memory, default 256 MB)$0.00005
Comment or reply$0.0004 (about $0.40 per 1,000)

Higher Apify plans pay less per comment (SILVER −10%, GOLD −20%). 1,000 comments cost about $0.40. Videos with comments off, comments skipped by onlyNew and failed requests are never charged. Use maxItems or Max cost per run to cap a run.

Tips

  • Monitoring: schedule daily with sortBy: "newest" and onlyNew: true; each video keeps its own memory. Connect the run to Slack or Google Sheets in Integrations.
  • Exact dates: YouTube shows only relative times ("6 years ago"); publishedApprox converts them, so it is precise to the day for recent comments and to the year for old ones.
  • Likes come rounded by YouTube (108K, 4.8M).
  • Big videos: popular videos have millions of comments; set maxCommentsPerVideo to what you need.

Run it from Python or the API

from apify_client import ApifyClient # pip install apify-client (3.x)
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("fguiraud/youtube-comments-scraper").call(run_input={
"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
"maxCommentsPerVideo": 500,
"sortBy": "top",
})
for c in client.dataset(run.default_dataset_id).iterate_items():
print(c["likes"], c["author"], c["text"][:80])

Use it with AI agents (MCP)

Add https://mcp.apify.com/?tools=fguiraud/youtube-comments-scraper to Claude, ChatGPT, Cursor or any MCP client, and ask "summarize what viewers say in the comments of this video". Agent-friendly input: common field names such as url, urls, query, limit or maxComments are accepted, and an empty input runs a small sample.

FAQ

  • Where does the data come from? From YouTube's public watch pages, the same comments any visitor sees. No account, no API key.
  • Does it collect private data? No: only public comments and the public handle and channel of their authors. Use the data according to the laws that apply to you (for example GDPR for EU users).
  • Why is videoCommentCount rounded for some videos? YouTube sometimes shows only a rounded count (10M).
  • Found a problem or need a feature? Open an issue on the Issues tab. Replies within 24 hours.
  • Did it save you time? A short review on the Reviews tab helps other people find this Actor.