YouTube Comments Scraper
youtube_commentsScrape YouTube comments and replies from videos, Shorts, channels, playlists or searches, capturing text, likes, author, pinned and creator-hearted flags for sentiment analysis and social listening.
Instructions
Scrape YouTube comments and replies fast: comment text, likes, author, pinned and creator-hearted flags, from videos, Shorts, channels, playlists or search. Sort by top or newest. No YouTube API key and no browser. Use this for sentiment analysis, social listening and community research. Van Born Labs. $1.00 per 1,000 comments, billed to your Apify account.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "youtube_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sortBy | No | YouTube's own comment ordering. Options: top = Top comments; newest = Newest first. | top |
| videos | No | Watch, youtu.be, Shorts, live URLs or bare video IDs. Channel/playlist URLs pasted here are expanded too. | |
| channels | No | Channel URLs or @handles (latest videos) and playlist URLs. Comments of their videos are scraped. | |
| maxComments | No | Hard cap on comments + replies scraped (and charged) in this run. Defaults to 10 in this MCP server to keep runs cheap. | |
| searchTerms | No | Scrape comments from the top video results of these YouTube searches. | |
| includeReplies | No | Also scrape replies to each comment (each reply counts as one result). | |
| maxConcurrency | No | Parallel requests. | |
| maxVideosPerSource | No | How many videos to take from each channel, playlist or search term. | |
| proxyConfiguration | No | Apify Proxy (datacenter) is used by default. | |
| maxCommentsPerVideo | No | Stop after this many top-level comments on each video. | |
| residentialFallback | No | Retry blocked requests through residential proxy (no extra cost to you). | |
| maxRepliesPerComment | No | Only used when replies are included. |