# YouTube comments: 10-comment audience research sample

**Use case:** 

Explore audience feedback on an n8n tutorial with 10 top-level comments and up to 5 replies per comment. Tested September 20, 2026 on build 0.0.2: 12 comment/reply rows, 0 failed videos, 8 seconds. Export text, numeric likes and thread links. Change the public video URL for your own research. Results vary; replies can increase the total above 10.

## Input

```json
{
  "videos": [
    "https://youtu.be/UIf-SlmMays"
  ],
  "maxCommentsPerVideo": 10,
  "sortBy": "newest",
  "includeReplies": true,
  "maxRepliesPerComment": 5,
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "authorAvatarUrl": {
    "label": "Avatar",
    "format": "image"
  },
  "authorName": {
    "label": "Author",
    "format": "text"
  },
  "text": {
    "label": "Comment",
    "format": "text"
  },
  "likeCount": {
    "label": "Likes",
    "format": "number"
  },
  "replyCount": {
    "label": "Replies",
    "format": "number"
  },
  "publishedDateApprox": {
    "label": "Published (approx.)",
    "format": "date"
  },
  "isPinned": {
    "label": "Pinned",
    "format": "boolean"
  },
  "isHeartedByCreator": {
    "label": "Hearted",
    "format": "boolean"
  },
  "parentCommentId": {
    "label": "Reply to",
    "format": "text"
  },
  "videoTitle": {
    "label": "Video",
    "format": "text"
  },
  "videoUrl": {
    "label": "Video URL",
    "format": "link"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Comments Scraper + Replies](https://apify.com/engineertsaistudio/youtube-comments-scraper-replies.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/engineertsaistudio/youtube-comments-scraper-replies.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/engineertsaistudio/youtube-comments-scraper-replies.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`).
