# Scrape YouTube Comments for Audience & Market Research

**Use case:** 

This actor turns a YouTube video's comment section into an audience-research dataset. Provide the video URL and it returns each comment with comment_user, comment_content, comment_like_count, and comment_time, plus nested replies. Use it for social listening, brand-mention tracking, product feedback, and audience-reaction analysis. Set max_comments to control how many comments you collect.

## Input

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=JGwWNGJdvx8"
  ],
  "max_comments": 300,
  "max_replies": 10
}
```

## Output

```json
{
  "video_url": {
    "label": "Video Link",
    "format": "Link"
  },
  "post_like_count": {
    "label": "Post Like Count",
    "format": "text"
  },
  "post_comment_count": {
    "label": "Post Comment Count",
    "format": "text"
  },
  "comment_user": {
    "label": "Comment User",
    "format": "text"
  },
  "comment_content": {
    "label": "Comment Content",
    "format": "text"
  },
  "comment_time": {
    "label": "Comment Time",
    "format": "text"
  },
  "comment_like_count": {
    "label": "Comment Like Count",
    "format": "text"
  },
  "comment_reply_count": {
    "label": "Comment Reply Count",
    "format": "text"
  },
  "reply_user": {
    "label": "Reply User",
    "format": "text"
  },
  "reply_content": {
    "label": "Reply Content",
    "format": "text"
  },
  "reply_time": {
    "label": "Reply Time",
    "format": "text"
  },
  "reply_like_count": {
    "label": "Reply Like Count",
    "format": "text"
  },
  "crawl_time": {
    "label": "Crawl Time",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Comments & Replies Scraper](https://apify.com/delicious_zebu/youtube-comments-replies-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/delicious_zebu/youtube-comments-replies-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/delicious_zebu/youtube-comments-replies-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
