Youtube Comments [$0.4πŸ’°] Scraper [with replies] avatar

Youtube Comments [$0.4πŸ’°] Scraper [with replies]

Pricing

from $0.40 / 1,000 results

Go to Apify Store
Youtube Comments [$0.4πŸ’°] Scraper [with replies]

Youtube Comments [$0.4πŸ’°] Scraper [with replies]

πŸ’° $0.4 per 1,000 comments – No limits, no quotas, unlimited extraction. Extract YouTube comments from any video with full comment text, reply threads, author details, vote counts, posting dates, and video metadata. Download in JSON, CSV, and Excel.

Pricing

from $0.40 / 1,000 results

Rating

5.0

(12)

Developer

Muhamed Didovic

Muhamed Didovic

Maintained by Community

Actor stats

7

Bookmarked

119

Total users

22

Monthly active users

0.78 hours

Issues response

8 days ago

Last modified

Categories

Share

YouTube Comments Scraper

Overview

Dive deep into audience engagement and sentiment analysis with our YouTube Comments Scraper! Extract valuable insights from video comments, including user reactions, discussions, and feedback. Perfect for content creators, marketers, and researchers looking to understand their audience better.

Explore More Scrapers

If you found this YouTube Comments Scraper useful, be sure to check out our other powerful scrapers and actors at memo23's Apify profile. We offer a wide range of tools to enhance your web scraping and automation needs across various platforms and use cases.

How it works

This actor allows you to scrape comments from YouTube videos, extracting important details such as the comment text, author information, engagement metrics, and more. It provides valuable insights into audience reactions and discussions around specific videos or channels.

Features

  • Single or Multiple Video Scraping: Supports scraping comments from one or multiple YouTube video URLs.
  • Detailed Comment Information: Extracts comprehensive data about each comment, including unique identifiers, author details, and engagement metrics.
  • Reply Tracking: Identifies and links reply comments to their parent comments.
  • Engagement Metrics: Captures vote counts and reply counts for each comment.
  • Author Information: Retrieves non-sensitive author details like username and channel ownership status.
  • Customizable: Flexible configuration options to suit various scraping needs.

How to Use

  1. Set Up: Ensure you have an Apify account and access to the Apify platform.
  2. Configure Input: Set the YouTube video URL(s) you want to scrape comments from (see Input Data section).
  3. (Optional) Set Max Items to limit the number of comments to scrape.
  4. (Optional) Configure proxy settings for enhanced reliability and to avoid potential IP blocks.
  5. Run the Scraper: Execute the scraper on the Apify platform.
  6. Data Collection: The scraper will output data in your chosen format, which can include JSON, CSV, or others as supported by Apify.

Input Configuration

Here's an example of how to set up the input for the YouTube Comments Scraper:

{
"startUrls": [
{
"url": "https://www.youtube.com/watch?v=o72NpKj0nxw"
}
],
"maxItems": 1000,
"maxConcurrency": 10,
"minConcurrency": 1,
"maxRequestRetries": 10,
"proxyConfiguration": {
"useApifyProxy": true
}
}

Output Structure

The output data typically includes:

{
"comment": "0l9",
"cid": "Ugy9D_h58HxTs5o0z1Z4AaABAg",
"author": "@jenadkins",
"videoId": "",
"pageUrl": "https://www.youtube.com/watch?v=undefined",
"commentsCount": 0,
"replyCount": 0,
"voteCount": 0,
"authorIsChannelOwner": false,
"hasCreatorHeart": false,
"type": "comment",
"replyToCid": null,
"publishedTime": "1 year ago"
}

Output Fields Explanation

  • comment: The text content of the comment.
  • cid: Unique identifier for the comment.
  • author: The username of the comment author.
  • videoId: The ID of the YouTube video (if available).
  • pageUrl: The URL of the video page.
  • commentsCount: Total number of comments on the video (if available).
  • replyCount: Number of replies to this comment.
  • voteCount: Number of votes (likes) on the comment.
  • authorIsChannelOwner: Boolean indicating if the comment author is the channel owner.
  • hasCreatorHeart: Boolean indicating if the comment has been hearted by the creator.
  • type: Type of the item (e.g., "comment" or "reply").
  • replyToCid: The CID of the parent comment if this is a reply.
  • publishedTime: When the comment was published (in relative time).

Support

Additional Services

πŸ€– For AI Agents & LLM Apps

Compact reference for AI agents calling this actor via the Apify MCP server or the Apify API (actor: memo23/youtube-comments-scraper).

Purpose: extract all comments and replies from one or more YouTube videos into flat JSON rows, with author, engagement metrics, and reply-to-parent threading.

Minimal input:

{ "startUrls": [{ "url": "https://www.youtube.com/watch?v=o72NpKj0nxw" }], "maxItems": 50 }

Output: one dataset row per comment or reply β€” comment (text), cid (unique comment id), author, videoId, pageUrl, commentsCount, replyCount, voteCount, authorIsChannelOwner, hasCreatorHeart, type (comment | reply), replyToCid (parent comment's cid for replies), and publishedTime (relative, e.g. "1 year ago").

Behaviors an agent should know:

  • startUrls is required β€” each entry is a { "url": "…" } object pointing at a YouTube watch URL; pass several to scrape multiple videos in one run.
  • Always set maxItems (default 100) β€” popular videos can carry hundreds of thousands of comments.
  • Replies come back as their own rows with type: "reply" and replyToCid pointing at the parent comment's cid; top-level rows have type: "comment".
  • maxConcurrency (default 10), minConcurrency (default 1), and maxRequestRetries (default 3) tune throughput and retry resilience.
  • Built-in residential proxy is on by default; set proxy only to route through your own. Public comment data only β€” no login, and no age-restricted or private content.
  • Pay-per-event billing β€” see the Pricing tab on the actor page.

⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by YouTube or Google LLC. All trademarks mentioned are the property of their respective owners.

The scraper accesses only publicly available YouTube comment data that any visitor can view β€” no authenticated endpoints, no age-restricted or private content, and nothing behind the YouTube login. Users are responsible for ensuring their use complies with YouTube's Terms of Service, applicable data-protection law (GDPR, CCPA, etc.), and any contractual obligations of their own organization.

SEO Keywords

YouTube comments scraper, scrape YouTube comments, YouTube comment scraper, YouTube comments API, youtube.com scraper, Apify YouTube, YouTube reply scraper, video comments scraper, comment extractor, youtube engagement data, audience sentiment analysis, comment sentiment data, youtube audience insights, social media comments scraper, youtube data export, content creator analytics, video engagement metrics, youtube comment export, social listening data, youtube marketing research