# Analyze YouTube Channel Stats and Rankings

**Use case:** 

Collect current public YouTube channel audience, content totals, rankings, grades and growth metrics from Social Blade for structured channel analysis.

## Input

```json
{
  "profiles": [
    "https://socialblade.com/youtube/handle/mrbeast",
    "https://socialblade.com/youtube/channel/UCBJycsmduvYEL83R_U4JriQ"
  ],
  "defaultPlatform": "youtube",
  "includeDailyHistory": false,
  "historyDays": 31,
  "includeWeeklyHistory": false,
  "includeMonthlyHistory": false,
  "includeGrowthMetrics": true,
  "includeEarningsEstimates": false,
  "maxProfiles": 0
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "platform": {
    "label": "Platform",
    "format": "string"
  },
  "username": {
    "label": "Username",
    "format": "string"
  },
  "creatorId": {
    "label": "Creator ID",
    "format": "string"
  },
  "displayName": {
    "label": "Display name",
    "format": "string"
  },
  "date": {
    "label": "Date",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "grade": {
    "label": "Social Blade grade",
    "format": "string"
  },
  "verified": {
    "label": "Verified",
    "format": "boolean"
  },
  "primaryAudience": {
    "label": "Primary audience",
    "format": "integer"
  },
  "primaryAudienceMetric": {
    "label": "Primary audience metric",
    "format": "string"
  },
  "mediaCount": {
    "label": "Media count",
    "format": "integer"
  },
  "engagementRate": {
    "label": "Engagement rate",
    "format": "number"
  },
  "averageLikes": {
    "label": "Average likes",
    "format": "number"
  },
  "averageComments": {
    "label": "Average comments",
    "format": "number"
  },
  "subscribers": {
    "label": "Subscribers",
    "format": "integer"
  },
  "followers": {
    "label": "Followers",
    "format": "integer"
  },
  "following": {
    "label": "Following",
    "format": "integer"
  },
  "likes": {
    "label": "Likes",
    "format": "integer"
  },
  "views": {
    "label": "Views",
    "format": "integer"
  },
  "uploads": {
    "label": "Uploads",
    "format": "integer"
  },
  "talkingAbout": {
    "label": "Talking about",
    "format": "integer"
  },
  "globalRank": {
    "label": "Global rank",
    "format": "integer"
  },
  "audienceRank": {
    "label": "Audience rank",
    "format": "integer"
  },
  "viewsRank": {
    "label": "Views rank",
    "format": "integer"
  },
  "countryRank": {
    "label": "Country rank",
    "format": "integer"
  },
  "categoryRank": {
    "label": "Category rank",
    "format": "integer"
  },
  "responseTimeMs": {
    "label": "Response time (ms)",
    "format": "integer"
  },
  "httpRequests": {
    "label": "HTTP requests",
    "format": "integer"
  },
  "url": {
    "label": "Profile URL",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "object"
  }
}
```

## About this Actor

This example demonstrates how to use [Social Blade Multi-Platform Analytics Scraper](https://apify.com/datascraperes/socialblade-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/datascraperes/socialblade-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/datascraperes/socialblade-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`).
