Youtube Comment Scraper avatar
Youtube Comment Scraper

Pricing

$5.00/month + usage

Go to Apify Store
Youtube Comment Scraper

Youtube Comment Scraper

Extract YouTube comments from one or more videos without API limits. Get full comment text, date, author, video title, and video ID. Download results in JSON, CSV, or Excel.

Pricing

$5.00/month + usage

Rating

5.0

(4)

Developer

ScrapeAI

ScrapeAI

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

5 days ago

Last modified

Share

🧠 YouTube Comment Scraper

This Apify actor automatically scrapes comments from YouTube videos. It extracts structured comment data such as author, text, timestamps, likes, and more — perfect for social media analysis, sentiment research, and community engagement studies.

✅ Use Cases

📊 Analyze audience sentiment and feedback

💬 Monitor community discussions and trends

🏷️ Perform content analysis and engagement studies

🧭 Conduct competitive analysis on video performance

📥 Input Configuration

You can customize the actor using the following input fields:

{
"videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
"maxComments": 100
}

🧾 Fields Explained Field Type Description videoUrls array List of YouTube video URLs to scrape comments from maxComments number Maximum number of comments to extract from each video 📤 Output

The actor returns a dataset containing an array of video objects with their comments. Each record includes video details and an array of extracted comments.

🧩 Sample Output

[
{
"videoId": "dQw4w9WgXcQ",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Music Video)",
"channelName": "Rick Astley",
"channelUrl": "https://www.youtube.com/@RickAstley",
"publishedDate": "2009-10-25",
"views": 1234567890,
"likes": 15000000,
"commentCount": 100,
"duration": "3:33",
"description": "The official video for "Never Gonna Give You Up" by Rick Astley.",
"comments": [
{
"commentId": "Ugx1aBcD2efGhiJkl",
"author": "John Doe",
"authorChannelUrl": "https://www.youtube.com/@JohnDoe",
"commentText": "Still a classic! ❤️",
"publishedTime": "1 day ago",
"likeCount": 420,
"replyCount": 2
},
{
"commentId": "Ugx2bCdE3fGhIjKlM",
"author": "MusicLover123",
"authorChannelUrl": "https://www.youtube.com/@MusicLover123",
"commentText": "I came here again in 2025. Still legendary!",
"publishedTime": "3 hours ago",
"likeCount": 128,
"replyCount": 0
}
]
}
]

🔒 Proxy Configuration

This actor uses Apify Proxy automatically to:

Avoid IP-based rate limiting or bans

Ensure stable scraping at scale

Default proxy settings use:

{
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}

🚀 How to Use

Open the actor in Apify Console

Click "Try actor" or create a new task

Enter your YouTube video URLs and max comments

Run the actor

Download your comment data in JSON, CSV, or Excel format

⚙️ Advanced Input Example

{
"videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
"maxComments": 100,
"headless": true,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
},
"maxConcurrency": 5,
"minDelayBetweenRequestsMs": 1000,
"maxRequestRetries": 3,
"requestHandlerTimeoutSecs": 60
}

🛠️ Tech Stack

🧩 Apify SDK — for actor and data handling

🕷️ Crawlee — for robust crawling and scraping

🌐 Puppeteer — for browser automation and rendering dynamic content

⚙️ Node.js — fast, scalable backend environment