YouTube Comments Scraper avatar
YouTube Comments Scraper

Pricing

from $5.00 / 1,000 results

Go to Apify Store
YouTube Comments Scraper

YouTube Comments Scraper

Extract and scrape YouTube video comments with advanced filtering. Get comment text, author details, likes, replies, timestamps, and verified badges. Supports pagination, sorting by newest/top, and bulk extraction from multiple videos.

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

Sachin Kumar Yadav

Sachin Kumar Yadav

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

9 days ago

Last modified

Share

๐Ÿ’ฌ YouTube Comment Scraper - Extract Comments with Metadata

๐Ÿš€ Extract and scrape YouTube video comments with advanced filtering and metadata. Get comment text, author details, likes, replies, timestamps, verified badges, and more. Perfect for sentiment analysis, market research, and content insights!


๐Ÿ“‹ Table of Contents


โœจ Features

๐Ÿ’ฌ Comment Extraction Capabilities

  • โœ… Bulk Comment Scraping - Extract thousands of comments from multiple videos
  • โœ… Pagination Support - Automatically fetch all comments with continuation tokens
  • โœ… Sort Options - Get top comments or newest comments first
  • โœ… YouTube Shorts Support - Full compatibility with YouTube Shorts videos
  • โœ… Batch Processing - Process multiple videos in a single run
  • โœ… Custom Limits - Control how many comments to extract per video

๐ŸŽฏ Use Cases

Use CaseDescriptionKey Benefits
๐Ÿ“Š Sentiment AnalysisAnalyze audience reactions and opinionsUnderstand viewer sentiment, identify trends, gauge reception
๐Ÿ” Market ResearchStudy competitor videos and audience feedbackCompetitive intelligence, customer insights, product feedback
๐Ÿค– AI Training DataCollect comments for machine learning modelsLarge-scale datasets, diverse opinions, real user content
๐Ÿ“ˆ Engagement AnalyticsTrack comment patterns and engagement ratesMeasure video performance, identify viral content, track growth
๐ŸŽ“ Academic ResearchStudy social media behavior and communicationResearch data, behavioral patterns, linguistic analysis
๐Ÿ›ก๏ธ Content ModerationMonitor comments for brand safetyIdentify spam, detect harmful content, protect brand reputation
๐Ÿ’ผ Influencer AnalysisEvaluate influencer audience engagementVerify authenticity, measure influence, assess partnerships
๐Ÿ“ฑ Social ListeningMonitor brand mentions and customer feedbackReal-time feedback, crisis management, customer service

โšก Quick Start

1๏ธโƒฃ Basic Usage - Extract Top Comments

{
"video_urls": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw"
],
"sort_by": "top",
"max_comments": 100
}

2๏ธโƒฃ Extract Newest Comments

{
"video_urls": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw"
],
"sort_by": "newest",
"max_comments": 500
}

3๏ธโƒฃ Bulk Extraction from Multiple Videos

{
"video_urls": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw",
"https://youtu.be/dQw4w9WgXcQ",
"jNQXAC9IVRw"
],
"geo": "US",
"lang": "en",
"sort_by": "top",
"max_comments": 200
}

4๏ธโƒฃ Extract All Available Comments

{
"video_urls": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw"
],
"sort_by": "top"
}

Note: Leave max_comments empty to extract all available comments


๐Ÿ“Š Input Parameters

ParameterTypeRequiredDescriptionDefaultExample
video_urlsArrayโœ… YesYouTube video URLs or video IDs-["https://youtube.com/watch?v=..."]
geoStringโŒ NoISO 3166-2 country code"US""US", "IN", "GB"
langStringโŒ NoLanguage/locale code"en""en", "es", "hi"
sort_byStringโŒ NoSort order: top or newest"top""top", "newest"
max_commentsIntegerโŒ NoMax comments per videoAll100, 500, 1000

๐Ÿ”— Supported URL Formats

  • โœ… https://www.youtube.com/watch?v=VIDEO_ID
  • โœ… https://youtu.be/VIDEO_ID
  • โœ… https://www.youtube.com/shorts/VIDEO_ID
  • โœ… https://www.youtube.com/embed/VIDEO_ID
  • โœ… https://m.youtube.com/watch?v=VIDEO_ID
  • โœ… Direct video ID: VIDEO_ID (e.g., jNQXAC9IVRw)

๐Ÿ“ค Output Format

๐Ÿ’ฌ Comment Data Structure

{
"source": "youtube",
"input_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"video_id": "jNQXAC9IVRw",
"comment_id": "UgzuC3zzpRZkjc5Qzsd4AaABAg",
"author_name": "@SanDiegoZoo",
"author_channel_id": "UCC5NfQ6Mf0dq_eEwv4P_hWA",
"author_thumbnail": "https://yt3.ggpht.com/...",
"text": "We're so honored that the first ever YouTube video was filmed here!",
"published_time_text": "5 years ago",
"publish_date": "2020-11-07",
"published_at": "2020-11-07T00:00:00Z",
"likes_count": "4.3M",
"reply_count": 985,
"is_verified": true,
"is_artist": false,
"is_creator": false,
"is_channel_owner": false,
"reply_token": "Eg0SC2pOUVhBQzlJVlJ3GAYy..."
}

๐Ÿ“‹ Output Fields Explained

FieldTypeDescription
sourceStringAlways "youtube"
input_urlStringOriginal input URL
video_idStringYouTube video ID
comment_idStringUnique comment identifier
author_nameStringComment author's username
author_channel_idStringAuthor's YouTube channel ID
author_thumbnailStringAuthor's profile picture URL
textStringComment text content
published_time_textStringHuman-readable publish time
publish_dateStringISO date (YYYY-MM-DD)
published_atStringISO 8601 timestamp
likes_countStringNumber of likes (formatted)
reply_countIntegerNumber of replies
is_verifiedBooleanHas verified badge
is_artistBooleanHas artist badge
is_creatorBooleanHas creator badge
is_channel_ownerBooleanIs video uploader
reply_tokenStringToken to fetch replies

๐Ÿ”ง Configuration Options

๐ŸŒ Supported Countries (Geo Codes)

RegionCodeRegionCodeRegionCode
๐Ÿ‡บ๐Ÿ‡ธ United StatesUS๐Ÿ‡ฎ๐Ÿ‡ณ IndiaIN๐Ÿ‡ฌ๐Ÿ‡ง United KingdomGB
๐Ÿ‡ฉ๐Ÿ‡ช GermanyDE๐Ÿ‡ฏ๐Ÿ‡ต JapanJP๐Ÿ‡ง๐Ÿ‡ท BrazilBR
๐Ÿ‡จ๐Ÿ‡ฆ CanadaCA๐Ÿ‡ซ๐Ÿ‡ท FranceFR๐Ÿ‡ช๐Ÿ‡ธ SpainES
๐Ÿ‡ท๐Ÿ‡บ RussiaRU๐Ÿ‡ฆ๐Ÿ‡บ AustraliaAU๐Ÿ‡ฎ๐Ÿ‡น ItalyIT
๐Ÿ‡ณ๐Ÿ‡ฑ NetherlandsNL๐Ÿ‡น๐Ÿ‡ท TรผrkiyeTR๐Ÿ‡ฎ๐Ÿ‡ฉ IndonesiaID
๐Ÿ‡ฒ๐Ÿ‡ฝ MexicoMX๐Ÿ‡ฐ๐Ÿ‡ท South KoreaKR๐Ÿ‡ธ๐Ÿ‡ฆ Saudi ArabiaSA
๐Ÿ‡ฆ๐Ÿ‡ช UAEAE๐Ÿ‡ต๐Ÿ‡ฐ PakistanPK๐Ÿ‡ง๐Ÿ‡ฉ BangladeshBD
๐Ÿ‡ณ๐Ÿ‡ฌ NigeriaNG๐Ÿ‡ต๐Ÿ‡ญ PhilippinesPH๐Ÿ‡ป๐Ÿ‡ณ VietnamVN
๐Ÿ‡น๐Ÿ‡ญ ThailandTH๐Ÿ‡ช๐Ÿ‡ฌ EgyptEG๐Ÿ‡ฟ๐Ÿ‡ฆ South AfricaZA

๐Ÿ—ฃ๏ธ Supported Languages

LanguageCodeLanguageCodeLanguageCode
EnglishenSpanishesFrenchfr
GermandeHindihiJapaneseja
KoreankoPortugueseptRussianru
ArabicarItalianitIndonesianid
TurkishtrVietnameseviThaith
ChinesezhPolishplDutchnl
SwedishsvNorwegianno--

๐Ÿ“Š Sort Options

OptionDescriptionBest For
topMost popular comments firstFinding highly-engaged comments, viral content
newestMost recent comments firstReal-time monitoring, latest feedback

โ“ FAQ

Q: How many comments can I extract?

A: You can extract unlimited comments! Set max_comments to control the limit per video, or leave it empty to extract all available comments. Most videos have 100-10,000 comments, but viral videos can have millions.

Q: Does this work with YouTube Shorts?

A: Yes! The actor fully supports YouTube Shorts. Just provide the Shorts URL or video ID.

Q: Can I extract comment replies?

A: The actor extracts top-level comments and provides reply_token for each comment. You can use this token to fetch nested replies in a separate request.

Q: What's the difference between 'top' and 'newest' sorting?

A:

  • Top: Comments sorted by popularity (most likes first) - Best for sentiment analysis
  • Newest: Comments sorted by recency (latest first) - Best for real-time monitoring

Q: How do I handle videos with millions of comments?

A: Set a reasonable max_comments limit (e.g., 1000-5000) to avoid long runtimes. For most use cases, the top comments provide sufficient insights.

Q: Can I extract comments from private or deleted videos?

A: No, the actor can only extract comments from publicly available videos.

Q: What happens if a video has comments disabled?

A: The actor will return an empty dataset for that video and log a warning message.

Q: Are there any rate limits?

A: The actor includes built-in rate limiting and retry logic to handle API throttling automatically.

Q: How accurate are the like counts?

A: Like counts are provided as-is from YouTube's API. They may be abbreviated (e.g., "4.3M" instead of exact numbers).

Q: Can I extract comments in specific languages only?

A: The lang parameter sets the locale for the request, but YouTube returns all comments regardless of language. You'll need to filter by language in post-processing.


Get Started Now

Ready to extract YouTube comments data?

  1. Enter the YouTube video URL or video ID
  2. Set maxComments (0 for unlimited)
  3. Select your preferred sorting, region, and language
  4. Click "Start" to run the actor
  5. View results in clean table views
  6. Export data in your preferred format
  7. Click "Try for free" to test the actor

If this actor helps your workflow, please give it a star!

Looking for more YouTube data? Check out these complementary actors:


๐Ÿท๏ธ Find Me

youtube comment scraper, youtube comment extractor, youtube comments api, extract youtube comments, youtube comment finder, youtube comment history, youtube sentiment analysis, youtube comment data, youtube scraper, youtube api, comment extraction, youtube analytics, social media scraper, youtube engagement, comment analysis, youtube data mining, youtube research tool, youtube comment search, apify actor, youtube automation, bulk comment extraction, youtube comment downloader, youtube feedback analysis, youtube market research, youtube nlp, youtube text mining, youtube opinion mining, youtube comment parser, youtube data extraction, youtube web scraping, youtube comment collector, youtube insights, youtube audience analysis, youtube engagement metrics, youtube comment export, youtube csv export, youtube json data, youtube batch processing, youtube shorts comments, youtube video comments, youtube comment replies, verified comments, youtube creator comments, youtube top comments, newest youtube comments, youtube comment bot

Built with โค๏ธ by Sachin Kumar Yadav using Apify Platform