# Bulk Scrape Comments from Multiple YouTube Videos

**Use case:** 

This actor scrapes comments and replies from many YouTube videos in one run. Add every video URL to the urls list and it processes them in turn, returning the same 13 fields for each — comment_content, comment_user, comment_time, comment_like_count, reply_content, and post_comment_count. Use max_comments to cap how many comments to pull per video and keep large batches under control.

## Input

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=9bZkp7q19f0",
    "https://www.youtube.com/watch?v=OPf0YbXqDm0",
    "https://www.youtube.com/watch?v=RgKAFK5djSk"
  ],
  "max_comments": 100,
  "max_replies": 3
}
```

## 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`).
