# Scrape Recent YouTube Comments by Date Range

**Use case:** 

Collect recent comments from YouTube videos within a specified date range. Get structured JSON data for analysis, including video details.

## Input

```json
{
  "directUrls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "includeVideoDetails": true,
  "includeChannelInfo": false,
  "maxComments": 100,
  "includeReplies": true,
  "replyLevel": "1",
  "maxRepliesPerLevel": 2,
  "commentsSortBy": "newest",
  "commentsDateRangeDate": "1 month"
}
```

## Output

```json
{
  "inputUrl": {
    "label": "Input url"
  },
  "normalizedUrl": {
    "label": "Normalized url"
  },
  "videoId": {
    "label": "Video id"
  },
  "contentType": {
    "label": "Content type"
  },
  "status": {
    "label": "Status"
  },
  "collectedAt": {
    "label": "Collected at"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Comments Scraper](https://apify.com/calm_builder/youtube-comments-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/calm_builder/youtube-comments-scraper) to learn more, explore other use cases, and run it yourself.