
YouTube Comments Scraper
hipersoft/youtube-comments-scraper
Scrape all comments from any YouTube video: comment text, author, channel, likes, reply count, published time and verified badge. Sort by top or newest. One clean row per comment as JSON, CSV or Excel.
Total users
2Monthly users
1Total runs
44Per comment scraped
$0.001Last rebuilt
Oct 26, 2026Overview
Extract comments from any YouTube video at scale. Paste one or more video links (or IDs), pick top or newest, and get one clean row per comment — the comment text, author, channel, like count, reply count, published time and verified badge. Export to JSON, CSV or Excel, or pull straight from the API.
Perfect for audience research, sentiment analysis, creator and competitor monitoring, moderation, market research, and building comment datasets for LLMs.
What you get
One flat, ready-to-use record per comment:
| Field | Description |
|---|---|
videoId / videoTitle / videoUrl |
The source video |
commentId |
Unique comment ID |
text |
Full comment text |
author |
Commenter's display name |
authorChannelId |
Commenter's channel ID |
authorIsVerified |
Whether the author is verified |
authorAvatar |
Author avatar image URL |
likeCount |
Number of likes |
replyCount |
Number of replies |
publishedTime |
When it was posted (e.g. "3 weeks ago") |
collectedAt |
When the row was scraped |
How to use
1. Add videos
Paste watch URLs, youtu.be links, Shorts URLs, or bare video IDs:
{
"videoUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://youtu.be/9bZkp7q19f0"
],
"sort": "top",
"maxItems": 500
}
2. Choose sort & limit
- Sort comments by — Top comments (most relevant / liked) or Newest first.
- Max comments — cap the total across all videos (0 = no limit; the scraper pages through the entire comment section).
Example output
{
"videoId": "dQw4w9WgXcQ",
"videoTitle": "Rick Astley - Never Gonna Give You Up",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"commentId": "UgxKREW…",
"text": "can confirm: he never gave us up",
"author": "@YouTube",
"authorIsVerified": true,
"likeCount": 317000,
"replyCount": 962,
"publishedTime": "1 year ago",
"collectedAt": "2026-09-20T04:20:00.000Z"
}
Common use cases
- Audience & sentiment analysis — understand how viewers react to a video or channel.
- Creator & competitor monitoring — track engagement and feedback across videos.
- Market research — mine opinions, questions and pain points at scale.
- Moderation & brand safety — pull comments for review and filtering.
- Datasets — build clean, labelled comment corpora for analysis or model training.
Frequently asked questions
Do I need any login, account or key? No. Just paste video links and run.
How many comments can I get? Set Max comments to whatever you need (0 = no limit) — the scraper pages through the full comment section, top or newest.
Can I scrape several videos at once? Yes — list multiple videos and they're all scraped in one run.
Do you get replies too? The main comment thread is returned per video; reply threads can be added on request.
What format is the data? A flat table you can export as JSON, CSV or Excel, or fetch from the Apify API.
Related scrapers
Building a YouTube toolkit? Pair this with our YouTube video downloader and other social media scrapers on Apify Store — all with the same clean, one-row-per-item output.
Input
| Field | Type | Description |
|---|---|---|
videoUrlsYouTube videos | array | One or more YouTube videos to scrape comments from. Paste watch URLs (https://www.youtube.com/watch?v=…), youtu.be links, Shorts URLs, or bare 11-character video IDs. |
sortSort comments by | string · top, newest | Top comments (most relevant/liked) or newest first. Default: "top" |
maxItemsMax comments | integer | Maximum number of comments to collect across all videos (0 = no limit; collect everything). Default: 100 |
API
curl -X POST "https://api.apify.com/v2/acts/hipersoft~youtube-comments-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"videoUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
]
}'from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("hipersoft/youtube-comments-scraper").call(run_input={
"videoUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
]
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('hipersoft/youtube-comments-scraper').call({
"videoUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);Pricing
| Event | Price | Paid plans from |
|---|---|---|
| Comment scraped Charged for each YouTube comment returned. | $0.001 | $0.0005 |
You pay only for what the run returns. Set a maximum cost per run and it stops cleanly at that limit.
Related scrapers
Website Contact Scraper
Extract business emails, phone numbers and social media profiles from any list of websites. De-obfuscates emails, reads Organization schema, and optionally crawls contact/about pages. Bulk-ready.
1,576 runs · 69 users · $0.0024 / website scrapedThreads Downloader
Download Threads photos, videos and carousel posts by URL. Paste threads.net or threads.com links and get ready-to-use download links plus direct media URLs, a thumbnail, media type and count — one row per URL as JSON, CSV or Excel. Cheap, bulk, built for creators and n8n.
799 runs · 4 users · $0.003 / post downloadedTikTok Video Downloader
Download TikTok videos without watermark in bulk. Paste video or photo-slideshow URLs and get a clean HD MP4 download link plus full metadata: caption, author, play/like/comment/share counts, sound and cover — one row per post as JSON, CSV or Excel. For creators, research and n8n.
678 runs · 9 users · $0.0035 / video downloadedReddit Scraper
Scrape Reddit posts and comments by subreddit, keyword, author or thread URL. Get titles, self-text, scores, upvote ratio, comment counts, comment trees and permalinks — one clean row per post or comment. Export as JSON, CSV or Excel.
568 runs · 15 users · $0.0034 / post scrapedSpotify Scraper
Search Spotify and scrape public metadata for tracks, artists, albums and playlists: names, artists, popularity, followers, genres, release dates, duration, ISRC, preview URL and more. No Spotify login or API key required. For music research, catalogs and analytics.
478 runs · 9 users · $0.0034 / item scrapedReddit Video, Image & GIF Downloader
Download Reddit videos, images and GIFs by post URL. Paste reddit.com or redd.it links and get ready-to-use download links — videos as a single playable MP4 with audio, images and galleries as direct links — one row per URL as JSON, CSV or Excel. Cheap, bulk, built for creators and n8n.
453 runs · 16 users · $0.003 / item scrapedSend the site and the fields. We build it and you get it first.