# YouTube Comments by Video: Text, Likes, Replies

**Use case:** 

Read the comments of one or more videos with author, likes, reply count and timestamps, replies followed to a depth you set.

## Input

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=zo7i8VTpfNM"
  ],
  "videosLimit": 10,
  "searchVideoLimit": 10,
  "maxCommentsPerVideo": 100,
  "maxPagesPerVideo": 1,
  "maxRepliesPerComment": 3,
  "sortBy": "top",
  "includeReplies": true,
  "maxDepth": 1,
  "minLikes": 1,
  "includeTerms": [],
  "excludeTerms": [],
  "onlyQuestions": false,
  "excludeCreatorReplies": false,
  "onlyNewSinceLastRun": false,
  "maxResults": 0,
  "maxConcurrency": 4,
  "sameDomainDelaySecs": 0.5,
  "requestTimeoutSecs": 30,
  "runBudgetSecs": 60,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "videoTitle": {
    "label": "Video",
    "format": "string"
  },
  "authorName": {
    "label": "Author",
    "format": "string"
  },
  "text": {
    "label": "Comment",
    "format": "string"
  },
  "likeCount": {
    "label": "Likes",
    "format": "integer"
  },
  "replyCount": {
    "label": "Replies",
    "format": "integer"
  },
  "publishedText": {
    "label": "Age",
    "format": "string"
  },
  "isQuestion": {
    "label": "Question",
    "format": "boolean"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "reason": {
    "label": "Reason",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The YouTube Comments Scraper - Replies, Likes, Keyword Filters Actor is ready to run with the inputs already set for "YouTube Comments by Video: Text, Likes, Replies". [Sign up or log in](https://console.apify.com/create-task-from-example/YlYA9uP81cNcplkFe) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "YouTube Comments by Video: Text, Likes, Replies" task

The YouTube Comments Scraper - Replies, Likes, Keyword Filters Actor will start running based on the input automatically. You can also change all the input fields, like video links or ids, videos per channel, and more, to match your specific use case.

### 3. Receive the "YouTube Comments by Video: Text, Likes, Replies" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as video, author, comment, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "YouTube Comments by Video: Text, Likes, Replies" task via API](https://apify.com/ai-lead-gen-tools/youtube-comments.md).

## FAQ

### Which video links are accepted?

Watch links, youtu.be links, Shorts links, live links and bare eleven character video ids. Up to five hundred values in one run.

### What does Max replies per comment do?

It caps how many replies are read under one top comment. Zero means top level comments only, three gives the first three replies of each.

### Does one video produce one row or many?

One row per comment, plus one row if a video returned nothing and the reason is worth reporting. The video title and channel name are repeated on each comment row.

## About this Actor

This example demonstrates how to use [YouTube Comments Scraper - Replies, Likes, Keyword Filters](https://apify.com/ai-lead-gen-tools/youtube-comments.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ai-lead-gen-tools/youtube-comments.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/ai-lead-gen-tools/youtube-comments.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`).
