# YouTube Comment Monitor: Only New Each Day

**Use case:** 

Attach a daily schedule and get only the comments this task has not delivered before, so a monitor never bills a comment twice.

## Input

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=E7la7-dtfVM"
  ],
  "channelUrl": "https://www.youtube.com/@fireship",
  "videosLimit": 3,
  "searchVideoLimit": 10,
  "maxCommentsPerVideo": 50,
  "maxPagesPerVideo": 1,
  "maxRepliesPerComment": 0,
  "sortBy": "newest",
  "includeReplies": true,
  "maxDepth": 1,
  "minLikes": 0,
  "includeTerms": [],
  "excludeTerms": [],
  "onlyQuestions": false,
  "excludeCreatorReplies": false,
  "onlyNewSinceLastRun": true,
  "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 Comment Monitor: Only New Each Day". [Sign up or log in](https://console.apify.com/create-task-from-example/U6WS0UMclEyZ6Lble) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "YouTube Comment Monitor: Only New Each Day" 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, channel, and more, to match your specific use case.

### 3. Receive the "YouTube Comment Monitor: Only New Each Day" 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 Comment Monitor: Only New Each Day" task via API](https://apify.com/ai-lead-gen-tools/youtube-comments.md).

## FAQ

### Does only new work when I run the actor directly?

No, and the log says so. The delivered set is stored per task, so this task is what you run or schedule. A direct actor run keeps the set in memory and starts from scratch.

### What is the state key for?

It names the bucket of delivered comment ids. Two schedules that must not mix histories use two state keys, and one schedule keeps one key forever.

### Why is the second run of the day empty?

Nothing new arrived since the previous run. An empty dataset is the correct answer for a change feed, and it costs no comment events.

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