# YouTube Comments & Video Metadata Scraper

**Use case:** 

Research any YouTube video: views, likes, publish date, description, tags and channel stats, plus top comments with author, text and like count. Metadata only, no download. Paste video URLs to start.

## Input

```json
{
  "startUrls": [
    "https://www.youtube.com/watch?v=iG9CE55wbtY"
  ],
  "searchQueries": [
    "TypeScript tutorial 2024",
    "cooking recipe pasta"
  ],
  "quality": "1080p",
  "maxFileSizeMb": 200,
  "downloadVideo": false,
  "downloadThumbnail": false,
  "maxVideos": 1,
  "filenameTemplate": "{channelName}_{title}_{quality}",
  "extractMetadata": true,
  "outputFormat": "default",
  "extractCaptions": false,
  "downloadCaptions": false,
  "captionFormat": "srt",
  "captionLanguage": "en",
  "autoTranslateLanguage": "en",
  "extractComments": true,
  "extractReplies": false,
  "maxComments": 50,
  "extractChannelInfo": true,
  "extractRelatedVideos": false,
  "monitorMode": false,
  "stateStoreName": "my-channel-monitor",
  "webhookUrl": "https://example.com/webhook/youtube-results",
  "maxConcurrency": 4,
  "maxRequestRetries": 3,
  "includeFailedVideos": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "string"
  },
  "comments": {
    "label": "Comments",
    "format": "array"
  },
  "sourceUrl": {
    "label": "Source URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Video Downloader & Scraper - YouTube All-in-One](https://apify.com/jy-labs/youtube-all-in-one-downloader-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/jy-labs/youtube-all-in-one-downloader-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/jy-labs/youtube-all-in-one-downloader-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`).
