---
title: "Social Blade API: YouTube channel stats, Twitch as JSON"
description: "Social Blade API for YouTube channel stats and Twitch, Instagram and TikTok account stats, with grades, ranks and daily history. 1 credit per successful call."
url: https://perceptlayer.com/apis/social-blade
---

[APIs](https://perceptlayer.com/apis) / [Social media](https://perceptlayer.com/verticals/social) / Social Blade

1 credit per call 2 endpoints 5 datapoints 

# Social Blade API

Social Blade API for YouTube channel stats and Twitch, Instagram and TikTok account stats, with grades, ranks and daily history. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Social Blade

GET /v1/social-blade/youtube-channel?channel=%40mrbeast 

```
{
  "success": true,
  "data": {
    "id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
    "handle": "@mrbeast",
    "username": "mrbeast6000",
    "display_name": "MrBeast",
    "description": "SUBSCRIBE FOR A COOKIE!\nNew MrBeast or MrBeast Gaming video every single Saturday at noon eastern time!\nAccomplishments:\n- Raised $20,000,000 To Plant 20,000,000 Trees\n- Removed 30,000,000 pounds of trash from the ocean\n- Helped 2,000 peopl…",
    "country": "US",
    "category": "entertainment",
    "created_at": "2012-02-20T00:00:00.000Z",
    "made_for_kids": false,
    "stats_hidden": false,
    "subscribers": 529000000,
    "views": 148991853881,
    "videos": 1019,
    "grade": "A++",
    "ranks": {
      "socialblade": 4,
      "subscribers": 1,
      "views": 6,
      "country": 1,
      "category": 1
    },
    "avatar": "https://yt3.ggpht.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s88-c-k-c0x00ffffff-no-rj",
    "banner": "https://yt3.googleusercontent.com/mHMO_eEMp0dPvh0ADwXhPXNYb_GnjSVsLI8biqF1CpxT8OPl7izhNQsDPD3JHhd5y5Mg9GrP=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
    "links": [
      "https://instagram.com/mrbeast",
      "https://twitter.com/MrBeast"
    ],
    "history": [
      {
        "date": "2026-11-18",
        "subscribers": 527000000,
        "views": 147303219007,
        "videos": 1014,
        "change": {}
      },
      {
        "date": "2026-11-19",
        "subscribers": 527000000,
        "views": 147409962155,
        "videos": 1014,
        "change": {
          "subscribers": 0,
          "views": 106743148,
          "videos": 0
        }
      },
      {
        "date": "2026-11-20",
        "subscribers": 527000000,
        "views": 147532195655,
        "videos": 1015,
        "change": {
          "subscribers": 0,
          "views": 122233500,
          "videos": 1
        }
      }
    ],
    "youtube_url": "https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA",
    "url": "https://socialblade.com/youtube/channel/UCX6OQ3DkcsbYNE6H8uQQuVA"
  },
  "meta": {
    "request_id": "req_eee9abbc33a04cbda544bf9cbbf6e9f2",
    "credits_charged": 1,
    "credits_remaining": 169
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `youtube-channel`: the fields and shapes you will get, shortened to 3 items.

| # | date string | subscribers integer | views integer | videos integer | change object |
| --- | --- | --- | --- | --- | --- |
| 1 | 2026-11-18 | 527000000 | 147303219007 | 1014 | {0 fields} |
| 2 | 2026-11-19 | 527000000 | 147409962155 | 1014 | {3 fields} |
| 3 | 2026-11-20 | 527000000 | 147532195655 | 1015 | {3 fields} |

Recorded from our API · 3 items shown · 5 datapoints per item GET /v1/social-blade/youtube-channel?channel=%40mrbeast

5 datapoints

### Other

-   date string
-   subscribers integer
-   views integer
-   videos integer
-   change object

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/social-blade/youtube-channel?channel=%40mrbeast" \
  -H "X-API-Key: $API_KEY"
```

Social Blade · 2 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/social-blade/profile`](https://perceptlayer.com/apis/social-blade/profile) | `platform` `username` | `platform` `id` `username` `display_name` `verified` `created_at` +7 more | 1 credit |
| [GET `/v1/social-blade/youtube-channel`](https://perceptlayer.com/apis/social-blade/youtube-channel) | none +2 optional | `id` `handle` `username` `display_name` `description` `country` +15 more | 1 credit |

Overview

## About the Social Blade API

## What you can get

The Social Blade API returns Social Blade creator statistics as JSON through 2 endpoints.

-   **YouTube:** `youtube-channel` takes a `channel` (a handle such as `@mrbeast` or a channel id starting with UC) or a `url` (a YouTube channel link or the Social Blade page).
-   **Twitch, Instagram and TikTok:** `profile` takes a `platform` (twitch, instagram or tiktok) and a `username`, for example `shroud`, `natgeo` or `khaby.lame`.

The recorded `youtube-channel` for `@mrbeast` returns `id`, `handle`, `username`, `display_name`, `description`, `country`, `category`, `created_at`, `made_for_kids`, `subscribers`, `views`, `videos`, `grade`, `ranks` (Social Blade, subscribers, views, country and category), `avatar`, `banner`, `links`, `youtube_url` and `history`: the last 15 days of daily totals, each with the `change` from the day before. That channel had 529,000,000 subscribers, 148,991,853,881 views and 1,019 videos, with grade `A++` and rank 1 by subscribers. The recorded `profile` for `shroud` on Twitch returned 11,286,329 `followers`, grade `C-`, rank 12 by followers and a daily `history` of followers. Instagram accounts add `following`, `posts`, `engagement_rate`, `average_likes`, `average_comments` and `website`; TikTok accounts add `following`, `likes` and `posts`.

## How a call works

`GET /v1/social-blade/youtube-channel?channel=@mrbeast` with your key in the `X-API-Key` header returns a channel; for other platforms, call `GET /v1/social-blade/profile?platform=twitch&username=shroud`. Answers come from a cache for up to an hour, so counts can be up to an hour old. Every successful call costs 1 credit; failed calls cost nothing.

Social media JSON REST MCP

### More social media APIs

[Behance](https://perceptlayer.com/apis/behance) [Bilibili](https://perceptlayer.com/apis/bilibili) [Bluesky](https://perceptlayer.com/apis/bluesky) [Dailymotion](https://perceptlayer.com/apis/dailymotion) [DeviantArt](https://perceptlayer.com/apis/deviantart) [DISBOARD](https://perceptlayer.com/apis/disboard) [Dribbble](https://perceptlayer.com/apis/dribbble) [Facebook](https://perceptlayer.com/apis/facebook) [Facebook Ad Library](https://perceptlayer.com/apis/facebook-ad-library) [Flickr](https://perceptlayer.com/apis/flickr) [Hacker News](https://perceptlayer.com/apis/hacker-news) [Imgur](https://perceptlayer.com/apis/imgur)

Use cases

### Vet creators for a sponsorship by subscribers, views, grade and rank

`Use the Social Blade API to vet creators for a sponsorship by subscribers, views, grade and rank` 

### Track a channel's daily subscriber and view gains over the last 15 days

`Use the Social Blade API to track a channel's daily subscriber and view gains over the last 15 days` 

### Compare Instagram accounts by engagement rate and average likes

`Use the Social Blade API to compare Instagram accounts by engagement rate and average likes` 

### Rank Twitch streamers by followers for a campaign shortlist

`Use the Social Blade API to rank Twitch streamers by followers for a campaign shortlist` 

FAQ

## Questions

**How much does the Social Blade API cost?**

Each successful call costs one credit, for a YouTube channel or an account on another platform. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Why are some fields null?**

Instagram \`history\` is null, so there are no daily totals for Instagram accounts. For TikTok, \`likes\` and the video count in \`posts\` are null, because Social Blade's own figures for them are broken; we return null rather than a wrong number.

**What are \`grade\` and \`ranks\`?**

\`grade\` is Social Blade's letter grade for an account, from \`A++\` down. \`ranks\` are its positions among the accounts Social Blade tracks: overall (\`socialblade\`), by subscribers or followers, and on YouTube also by views, country and category.

**Do I need a Social Blade account?**

No. You call this Social Blade API with your Perceptlayer key in the \`X-API-Key\` header, with no Social Blade login or subscription.

**Is this the official Social Blade API?**

No. Perceptlayer is an independent service and is not affiliated with Social Blade. It returns Social Blade data as JSON with a Perceptlayer key, so there is no Social Blade developer account, app review or partner approval to get first. It only reads data: if Social Blade has an official API and you need to act on your own Social Blade account, such as posting, managing orders or reading private data, use that one.

**Should I build a Social Blade scraper instead?**

You can, but a Social Blade scraper is code you maintain: page changes break it, requests get blocked, and Social Blade's terms govern how you collect data. The Social Blade API gives you 2 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Social Blade API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
