APIs / Social media / Social Blade

1 credit per call2 endpoints5 datapointsChecked working 6 Dec 2026

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.

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 OKJSONX-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.

#datestringsubscribersintegerviewsintegervideosintegerchangeobject
12026-11-185270000001473032190071014{0 fields}
22026-11-195270000001474099621551014{3 fields}
32026-11-205270000001475321956551015{3 fields}

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

5 datapoints

Other

  • datestring
  • subscribersinteger
  • viewsinteger
  • videosinteger
  • changeobject

Playground

Run this API

cURLshell
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.

EndpointRequired parametersReturnsCost
GET/v1/social-blade/profile
platformusername
platformidusernamedisplay_nameverifiedcreated_at+7 more
1 credit
GET/v1/social-blade/youtube-channel
none+2 optional
idhandleusernamedisplay_namedescriptioncountry+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 mediaJSONRESTMCP

More social media APIs

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.