# Channel stats and the latest 30 videos of YouTube channels

**Use case:** 

Full profile of each channel (subscribers, exact total views, video count, join date, country, links) plus its latest 30 long-form videos with views, likes, comments, duration and date. Add your own list of channels by handle or link to benchmark competitors.

## Input

```json
{
  "channels": [
    "@veritasium",
    "@mkbhd"
  ],
  "searchQueries": [
    "home workout",
    "italian cooking"
  ],
  "maxChannelsPerSearch": 10,
  "channelCountries": [
    "US",
    "United Kingdom"
  ],
  "onlyWithEmail": false,
  "maxVideos": 30,
  "maxShorts": 0,
  "maxStreams": 0,
  "videosSort": "newest",
  "includeLatestUploads": false,
  "country": "US",
  "maxConcurrency": 10
}
```

## Output

```json
{
  "avatarUrl": {
    "label": "Avatar",
    "format": "image"
  },
  "name": {
    "label": "Channel",
    "format": "text"
  },
  "url": {
    "label": "Link",
    "format": "link"
  },
  "subscriberCount": {
    "label": "Subscribers",
    "format": "number"
  },
  "videoCount": {
    "label": "Videos",
    "format": "number"
  },
  "viewCount": {
    "label": "Total views",
    "format": "number"
  },
  "country": {
    "label": "Country",
    "format": "text"
  },
  "joinedDate": {
    "label": "Joined",
    "format": "text"
  },
  "lastUploadAt": {
    "label": "Last upload",
    "format": "date"
  },
  "uploadsLast30Days": {
    "label": "Uploads (30 days)",
    "format": "number"
  },
  "recentMedianViews": {
    "label": "Median views (recent)",
    "format": "number"
  },
  "emails": {
    "label": "Emails",
    "format": "array"
  },
  "hasBusinessEmail": {
    "label": "Business email on YouTube",
    "format": "boolean"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "input": {
    "label": "Search / input",
    "format": "text"
  },
  "position": {
    "label": "#",
    "format": "number"
  },
  "type": {
    "label": "Row",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "error": {
    "label": "Message",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Channel Scraper – Stats, Links, Emails & Channel Search](https://apify.com/brii3343/youtube-channel-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/brii3343/youtube-channel-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/brii3343/youtube-channel-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`).
