VOOZH about

URL: https://apify.com/alpha-scraper/youtube-video-comments-scraper

⇱ Youtube Video Comments Scraper · Apify


👁 Youtube Video Comments Scraper avatar

Youtube Video Comments Scraper

Pricing

$6.99/month + usage

Go to Apify Store

Youtube Video Comments Scraper

[ Lowest Price 💎 ] Lightning Fast - Extract CID, type, published time, comments & authors Grab page URLs instantly Collect extensive data in seconds Boost productivity & streamline your workflow

Pricing

$6.99/month + usage

Rating

5.0

(1)

Developer

👁 Alpha Scraper

Alpha Scraper

Maintained by Community

Actor stats

0

Bookmarked

8

Total users

0

Monthly active users

3 months ago

Last modified

Share

🎥 YouTube Comments Scraper

Quickly extract structured comment data from one or more YouTube videos — including comment text, author info, timestamps, votes, and raw fields.

Built to run as an Apify actor. This README shows a summary, inputs, outputs, examples, troubleshooting tips and proxy recommendations. 🔧


✨ Summary

This actor scrapes comments from YouTube video URLs and returns structured JSON objects per video, including:

  • 💬 Comments (text, id, author, replies, likes/votes, timestamps)
  • 👤 Author info (author name, author id, author url, avatar if available)
  • 🧾 Video metadata (video id, video url, title, best-effort commentsCount)
  • 📦 Raw payload — the original raw comment object is preserved for every comment so you don’t lose any fields.

Key points:

  • Input: one or more YouTube video URLs (startUrls).
  • Optional: maxComments to limit how many comments per video are scraped.
  • Optional: getAllComments to ignore maxComments and fetch all available comments.
  • Optional: sortBytop (highest votes first) or newest (most recent first).

🚀 Highlights

  • ⚡ Fast, structured output — one JSON object per video run.
  • 🧩 Preserves full raw comment object for custom fields.
  • 🎯 Exact maxComments support (when getAllComments is false) and getAllComments toggle.
  • 🌐 Proxy-aware (Apify Proxy recommended for stability) — use RESIDENTIAL for best results.
  • 🔁 Supports sorting by top or newest.

🛠️ Example Input

{
"startUrls":[
"https://www.youtube.com/watch?v=8iSL6sAnqiI",
"https://www.youtube.com/watch?v=wT4HcYAeV5U"
],
"maxComments":100,
"getAllComments":false,
"sortBy":"top",
}

📤 Output

For every video the actor writes results both to the Apify dataset and to container files:

  • output_<videoId>.json — full JSON object for the video (including comments array).
  • comments_<videoId>.jsonl — newline-delimited JSON with one comment per line (good for streaming).
  • Apify dataset entry for each video — downloadable from the Apify Console. ☁️

Example output (one video object)

{
"videoUrl":"https://www.youtube.com/watch?v=wT4HcYAeV5U",
"videoId":"wT4HcYAeV5U",
"title":"YouTube",
"commentsCount":null,
"comments":[
{
"cid":"Ugwih9FXnfMBhU7Puq14AaABAg",
"type":"comment",
"publishedTimeText":"2 weeks ago",
"publishedTimeTs":1758540810.930094,
"comment":"সব মানুষ মনে হয় খাবার সময় গোপাল ভার দেখে 🙂",
"author":"@pg.riyaj.3",
"replyCount":51,
"voteCount":215,
"videoId":"k_dYs8ovmnk",
"pageUrl":"https://www.youtube.com/watch?v=k_dYs8ovmnk"
},
{
"cid":"UgyY2cgaCo9xXJVBpJV4AaABAg",
"type":"comment",
"publishedTimeText":"2 weeks ago",
"publishedTimeTs":1758540806.842928,
"comment":"কে কে 12 থেকে 35 বছরের আছো ❤❤",
"author":"@SoniyaSoniya-e7q",
"replyCount":70,
"voteCount":104,
"videoId":"k_dYs8ovmnk",
"pageUrl":"https://www.youtube.com/watch?v=k_dYs8ovmnk"
},
{
"cid":"UgyxgyZT6ZGWUnTSwQt4AaABAg",
"type":"comment",
"publishedTimeText":"2 weeks ago",
"publishedTimeTs":1758540809.373403,
"comment":"বাংলাদেশ থেকে কেউ আছেন নাকি আজ..😊😊",
"author":"@SAMIYAAKTER1",
"replyCount":35,
"voteCount":44,
"videoId":"k_dYs8ovmnk",
"pageUrl":"https://www.youtube.com/watch?v=k_dYs8ovmnk"
},
{
"cid":"UgwqTDVlG00_21d_93F4AaABAg",
"type":"comment",
"publishedTimeText":"11 days ago",
"publishedTimeTs":1758800003.511669,
"comment":"লা ইলাহা ইল্লাল্লাহু মুহাম্মাদুর রাসুলুল্লাহ সা.",
"author":"@NabilHasan2010",
"replyCount":5,
"voteCount":27,
"videoId":"k_dYs8ovmnk",
"pageUrl":"https://www.youtube.com/watch?v=k_dYs8ovmnk"
},
{
"cid":"Ugwih9FXnfMBhU7Puq14AaABAg.AN5M7ZphVN-AN5OkYWivB4",
"type":"comment",
"publishedTimeText":"2 weeks ago",
"publishedTimeTs":1758540811.106132,
"comment":"না সবাইকে কি আপনার মত অভদ্র ভাবেন",
"author":"@Sumaiyaislamasif",
"replyCount":0,
"voteCount":22,
"videoId":"k_dYs8ovmnk",
"pageUrl":"https://www.youtube.com/watch?v=k_dYs8ovmnk"
},
{
"cid":"UgwAoDMlvcljdsJsyqB4AaABAg",
"type":"comment",
"publishedTimeText":"11 days ago",
"publishedTimeTs":1758800003.512453,
"comment":"কে কে খাবার সময় গোপাল ভার দেখো",
"author":"@MrsHabibaakther",
"replyCount":10,
"voteCount":21,
"videoId":"k_dYs8ovmnk",
"pageUrl":"https://www.youtube.com/watch?v=k_dYs8ovmnk"
},
{
"cid":"Ugycz2giiskNOWCIRHx4AaABAg",
"type":"comment",
"publishedTimeText":"2 weeks ago",
"publishedTimeTs":1758540806.850238,
"comment":"আমার মতো খেতে খেতে গোপাল ভাঁড় কে কে দেখছো???",
"author":"@ask7724",
"replyCount":3,
"voteCount":21,
"videoId":"k_dYs8ovmnk",
"pageUrl":"https://www.youtube.com/watch?v=k_dYs8ovmnk"
},
{
"cid":"UgxeZDYvH4bS1Skx2Xt4AaABAg",
"type":"comment",
"publishedTimeText":"2 weeks ago",
"publishedTimeTs":1758540808.419253,
"comment":"আমি সকালে উঠে দেখি আর ভাত খাওয়ার সময় দেখি❤❤❤",
"author":"@Ridoyray96",
"replyCount":1,
"voteCount":19,
"videoId":"k_dYs8ovmnk",
"pageUrl":"https://www.youtube.com/watch?v=k_dYs8ovmnk"
},
{
"cid":"UgzWnhCZ19Z6fLWnm2B4AaABAg",
"type":"comment",
"publishedTimeText":"2 weeks ago",
"publishedTimeTs":1758540808.424829,
"comment":"Dinner with gopal bhar ❤❤",
"author":"@SukdebGoswami-d7x",
"replyCount":0,
"voteCount":19,
"videoId":"k_dYs8ovmnk",
"pageUrl":"https://www.youtube.com/watch?v=k_dYs8ovmnk"
},
{
"cid":"UgyWpeRYmNHJS6O35AF4AaABAg",
"type":"comment",
"publishedTimeText":"2 weeks ago",
"publishedTimeTs":1758540810.933044,
"comment":"খাচ্ছি আর দেখছি",
"author":"@ČŔĂŹŶĹŐVĔŔ-x1t",
"replyCount":3,
"voteCount":18,
"videoId":"k_dYs8ovmnk",
"pageUrl":"https://www.youtube.com/watch?v=k_dYs8ovmnk"
},
]
"scrapedCount":1
}

📑 Typical fields

FieldDescription
videoUrlInput video URL
videoIdYouTube video ID
titleBest-effort page title (if available)
commentsCountBest-effort comment count (may be null)
commentsArray of comment objects
comments[].cidComment unique id
comments[].commentComment text
comments[].authorAuthor display name
comments[].authorIdAuthor channel id (if available)
comments[].authorUrlAuthor channel URL (if available)
comments[].authorThumbnailAuthor avatar URL (if available)
comments[].publishedTimeTextHuman readable time (e.g. "2 days ago")
comments[].publishedTimeTsParsed timestamp (when parseable)
comments[].replyCountNumber of replies
comments[].voteCountLikes / votes count (if available)
comments[].isHeartedWhether channel owner hearted the comment
comments[].isEditedWhether the commenter edited the comment
comments[].rawFull raw object returned by underlying parser

🧩 Troubleshooting

IssuePossible CauseFix / Tip
Empty datasetWrong video URL or comments disabledVerify URLs and check video has comments; try another video.
Fewer comments than expectedmaxComments limit or generator yielded fewerSet getAllComments=true or increase maxComments
commentsCount is nullNot present in page HTMLUse comments[].raw to inspect raw payload for count
Partial metadataFields hidden or loaded dynamicallyCheck raw field; consider retries with proxy
Rate limiting / 429 errorsToo many requests without proxyUse Apify Proxy RESIDENTIAL or reduce concurrency

Here my another actors :

Youtube Iteams:

Tiktok Iteams:

Snapchat Iteams:

Instagram Iteams:

Facebook Iteams:

Amazon Iteams:


You might also like

YouTube Comments Scraper |

alpha-scraper/youtube-comments-scraper

[ ✨YouTube Comments Scraper ] Fast & Reliable Scraper Extract CID, type, publish time, comments, author & page URL in seconds Streamline workflow, save time & gather structured data Perfect for research, analysis & business insights .

👁 User avatar

Alpha Scraper

10

5.0

YouTube Comments Analyzer

opspilot.cc/youtube-comments-analyzer

Analyze YouTube video comments and engagement metrics. Get real-time data on comments, authors, and engagement.

Youtube Video Comments

mohamedgb00714/youtube-video-comments

Scrapes public comments from any YouTube video.

👁 User avatar

mohamed el hadi msaid

9

Youtube Video Comments Scraper

bhansalisoft/youtube-video-comments-scraper

Youtube Comments Scraper : Scrap all comments with user detail and video information from any youtube video url

👁 User avatar

bhansalisoft

8

Youtube Shorts Scraper

alpha-scraper/youtube-shorts-scraper

🚀 [ Lowest Price ] {MAX Per Channel} YouTube Shorts Scraper ✨ Extract Shorts from any channel – fast & reliable Collect many shorts data in seconds Get clean, structured data for research & analysis Save time, boost productivity & level up your content game

👁 User avatar

Alpha Scraper

10

5.0