# YouTube Comment Monitoring | Newest Public Comments

**Use case:** 

Collect newest public YouTube comments from a known video list on scheduled repeat runs. Each run returns a fresh sample without alerts or tracking.

## Input

```json
{
  "startUrls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "maxCommentsPerVideo": 100,
  "commentSortMode": "newest",
  "includeReplies": false,
  "maxRepliesPerComment": 20
}
```

## Output

```json
{
  "inputIndex": {
    "label": "Input Position",
    "format": "integer"
  },
  "inputUrl": {
    "label": "Original Input",
    "format": "string"
  },
  "platform": {
    "label": "Platform",
    "format": "string"
  },
  "videoUrl": {
    "label": "Canonical Video URL",
    "format": "string"
  },
  "videoId": {
    "label": "Video ID",
    "format": "string"
  },
  "commentId": {
    "label": "Comment ID",
    "format": "string"
  },
  "parentCommentId": {
    "label": "Parent Comment ID",
    "format": "string"
  },
  "isReply": {
    "label": "Reply",
    "format": "boolean"
  },
  "replyDepth": {
    "label": "Reply Depth",
    "format": "integer"
  },
  "commentIndex": {
    "label": "Collected Comment Position",
    "format": "integer"
  },
  "replyIndex": {
    "label": "Collected Reply Position",
    "format": "integer"
  },
  "sortMode": {
    "label": "Comment Order",
    "format": "string"
  },
  "text": {
    "label": "Comment Text",
    "format": "string"
  },
  "publishedTimeText": {
    "label": "Published Time (Display)",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published At",
    "format": "string"
  },
  "updatedAt": {
    "label": "Updated At",
    "format": "string"
  },
  "likesCount": {
    "label": "Likes",
    "format": "integer"
  },
  "likesCountText": {
    "label": "Likes (Display)",
    "format": "string"
  },
  "likesCountPrecision": {
    "label": "Likes Precision",
    "format": "string"
  },
  "replyCount": {
    "label": "Public Reply Count",
    "format": "integer"
  },
  "authorChannelId": {
    "label": "Author Channel ID",
    "format": "string"
  },
  "authorHandle": {
    "label": "Author Handle",
    "format": "string"
  },
  "authorDisplayName": {
    "label": "Author",
    "format": "string"
  },
  "authorUrl": {
    "label": "Author URL",
    "format": "string"
  },
  "authorThumbnailUrl": {
    "label": "Author Thumbnail",
    "format": "string"
  },
  "isEdited": {
    "label": "Edited",
    "format": "boolean"
  },
  "isPinned": {
    "label": "Pinned",
    "format": "boolean"
  },
  "isHeartedByCreator": {
    "label": "Creator Heart",
    "format": "boolean"
  },
  "isChannelOwner": {
    "label": "By Video Creator",
    "format": "boolean"
  },
  "status": {
    "label": "Row Status",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Collected At",
    "format": "string"
  }
}
```

## How it works

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

The YouTube Comments Scraper — Replies & Authors Actor is ready to run with the inputs already set for "YouTube Comment Monitoring | Newest Public Comments". [Sign up or log in](https://console.apify.com/create-task-from-example/wX2qQsgHBkf69R0jR) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "YouTube Comment Monitoring | Newest Public Comments" task

The YouTube Comments Scraper — Replies & Authors Actor will start running based on the input automatically. You can also change all the input fields, like youtube video urls or ids, max top-level comments per video, and more, to match your specific use case.

### 3. Receive the "YouTube Comment Monitoring | Newest Public Comments" 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 input position, original input, platform, 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 Comment Monitoring | Newest Public Comments" task via API](https://apify.com/chronometrica/youtube-comments-scraper.md).

## About this Actor

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