# YouTube Comments for Product Research

**Use case:** 

Read what buyers say about a product in the comments of its review videos: praise, complaints, questions and the features they want, one row per comment with its likes and replies. Change the product, the number of videos or comments per video. About $0.60 for 300 comments.

## Input

```json
{
  "startUrls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "searchQueries": [
    "iphone 17 review"
  ],
  "maxComments": 100,
  "commentsSort": "top",
  "includeReplies": false,
  "maxResults": 3,
  "sortBy": "relevance",
  "country": "US",
  "minItems": 0
}
```

## Output

```json
{
  "videoTitle": {
    "label": "Video title",
    "format": "string"
  },
  "text": {
    "label": "Comment",
    "format": "string"
  },
  "authorName": {
    "label": "Author",
    "format": "string"
  },
  "likeCount": {
    "label": "Likes",
    "format": "integer"
  },
  "replyCount": {
    "label": "Replies",
    "format": "integer"
  },
  "isReply": {
    "label": "Is a reply",
    "format": "boolean"
  },
  "isPinned": {
    "label": "Pinned",
    "format": "boolean"
  },
  "isHearted": {
    "label": "Hearted",
    "format": "boolean"
  },
  "authorIsCreator": {
    "label": "By the creator",
    "format": "boolean"
  },
  "publishedText": {
    "label": "Published (as shown)",
    "format": "string"
  },
  "publishedAtApprox": {
    "label": "Published (approx.)",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  }
}
```

## How it works

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

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

### 2. Start the "YouTube Comments for Product Research" task

The YouTube Comments Scraper Actor will start running based on the input automatically. You can also change all the input fields, like videos, channels, playlists or links, or search youtube for, and more, to match your specific use case.

### 3. Receive the "YouTube Comments for Product Research" 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 title, comment, author, 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 for Product Research" task via API](https://apify.com/sleepmodesystems/youtube-comments-scraper.md).

## FAQ

### What does the YouTube Comments for Product Research task return?

One row per comment on the review videos YouTube shows for your product: the text, author, likes, number of replies, pinned and hearted flags, and the video it belongs to.

### How do I research another product?

Replace iphone 17 review with your product or a competitor's, or paste the review videos' links instead.

### Can I get every comment?

Yes. Set Comments per video to 0 and the order to newest first: every comment, and every reply with Include replies on.

### How much does the YouTube Comments for Product Research task cost?

$1.99 per 1,000 comments on the FREE tier, $0.89 on GOLD: about $0.60 for the 300 comments of 3 review videos.

## About this Actor

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