# Compare AI lab YouTube channels and recent video stats

**Use case:** 

Reads the public YouTube channels of Google DeepMind and OpenAI in videos mode and returns channel About summaries (subscribers, total views, video count, country and join date) plus the 10 newest videos per channel with view counts, likes, comment counts, durationSeconds, Shorts flags and hashtags.

## Input

```json
{
  "channels": [
    "https://www.youtube.com/@GoogleDeepMind",
    "https://www.youtube.com/@OpenAI"
  ],
  "videos": [],
  "mode": "videos",
  "onlyNewItems": false,
  "maxItems": 30,
  "includeChannelInfo": true,
  "maxVideosPerChannel": 10,
  "includeVideoStats": true,
  "maxCommentsPerVideo": 20,
  "maxCommentPages": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "debugSnapshot": false
}
```

## Output

```json
{
  "title": {
    "label": "Video",
    "format": "string"
  },
  "channelId": {
    "label": "Channel ID",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published",
    "format": "string"
  },
  "views": {
    "label": "Views",
    "format": "integer"
  },
  "likeCount": {
    "label": "Likes",
    "format": "integer"
  },
  "commentCount": {
    "label": "Comments",
    "format": "integer"
  },
  "durationSeconds": {
    "label": "Length (s)",
    "format": "integer"
  },
  "isShort": {
    "label": "Short",
    "format": "boolean"
  },
  "hashtags": {
    "label": "Hashtags",
    "format": "array"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "isNew": {
    "label": "New",
    "format": "boolean"
  }
}
```

## How it works

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

The YouTube Channel Scraper & Monitor: New Videos, Stats & Comments Actor is ready to run with the inputs already set for "Compare AI lab YouTube channels and recent video stats". [Sign up or log in](https://console.apify.com/create-task-from-example/VsGcYzUjfPsk2iqbd) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Compare AI lab YouTube channels and recent video stats" task

The YouTube Channel Scraper & Monitor: New Videos, Stats & Comments Actor will start running based on the input automatically. You can also change all the input fields, like channels, videos, and more, to match your specific use case.

### 3. Receive the "Compare AI lab YouTube channels and recent video stats" 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, channel id, published, 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 "Compare AI lab YouTube channels and recent video stats" task via API](https://apify.com/kizukidata/youtube-channel-monitor.md).

## FAQ

### What does the AI labs YouTube channels video stats task return?

The AI labs YouTube channels video stats task returns channel rows and up to 10 recent video rows per channel with views, likeCount, commentCount, durationSeconds, isShort, hashtags, publishedAt and thumbnailUrl.

### Can I speed up the run for a larger channel list?

Turn off Add likes, length, hashtags and the comment count to video rows in the AI labs YouTube channels video stats task to fetch titles, dates and views without opening each video page.

### How many recent videos can be read per channel?

Videos per channel in the AI labs YouTube channels video stats task accepts 1 to 15 recent videos per channel (up to 20 channels per run), bounded by Maximum rows.

### Does the task need a Google account or API quota?

The AI labs YouTube channels video stats task needs no Google account, sign-in or YouTube Data API key, and it is not affiliated with YouTube, Google DeepMind or OpenAI.

## About this Actor

This example demonstrates how to use [YouTube Channel Scraper & Monitor: New Videos, Stats & Comments](https://apify.com/kizukidata/youtube-channel-monitor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kizukidata/youtube-channel-monitor.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/kizukidata/youtube-channel-monitor.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`).
