# Social Blade Scraper - YouTube, TikTok, Instagram, Twitch Stats (`get_anything/social-blade-scraper`) Actor

Social Blade scraper (Socialblade stats): YouTube, TikTok, Instagram and Twitch creators - subscribers, followers, views, likes, engagement, SB grade and ranks, daily history, 7/14-day growth and estimated YouTube earnings in one row. Plus Top 100 lists by country and category.

- **URL**: https://apify.com/get_anything/social-blade-scraper.md
- **Developed by:** [Get Anything](https://apify.com/get_anything) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.20 / 1,000 creators

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Social Blade Scraper - YouTube, TikTok, Instagram, Twitch Stats

**Social Blade scraper** for creator analytics on **YouTube, TikTok, Instagram and Twitch**. Give handles or profile URLs and get one row per creator with everything Social Blade shows:

- 📊 **Subscribers / followers, views, likes, uploads, following** - Instagram also gets **engagement rate, average likes and average comments**.
- 🏅 **Social Blade grade** (A++ ... D) and **ranks** - SB rank, subscriber rank, view rank, country rank, category rank.
- 📈 **Daily history** (about 2 weeks) and **7- and 14-day growth**: subscribers/followers gained, views gained, videos uploaded.
- 💰 **Estimated YouTube earnings** per month (low-high, Social Blade's $0.25-$4 per 1,000 views method) and average daily views.
- 🌍 **Country, category, channel creation date, description, social links and all handles** of a YouTube channel.
- 🏆 **Top lists:** the top 10-100 creators by subscribers, views, videos, followers or likes - YouTube lists filter by **category** (Gaming, Music, Tech...) and **country** (US, IN, GB, AE...).

History, growth and earnings come **in the same row at no extra cost** - one request per creator. Mix platforms in one run by pasting profile URLs. No login, no Social Blade account, no API key.

### What you can do with it

- **Influencer marketing:** vet creators before a deal - real growth, engagement and grade, not just follower count.
- **Talent and agency reporting:** track a roster's subscribers, views and growth every week on a schedule.
- **Competitor tracking:** monitor rival channels' upload pace and view growth.
- **Lead lists:** pull the top 100 gaming channels in the US, or the top tech creators globally, then enrich them.
- **Research and journalism:** creator economy datasets with consistent Socialblade numbers.
- **AI agents:** ask an assistant to compare two creators and it calls this Actor for live stats.

### Input

| Field | Description |
|---|---|
| `mode` | `profiles` (creator lookup, default) or `topList`. |
| `platform` | `youtube`, `tiktok`, `instagram` or `twitch` - used for plain handles and Top lists. URLs are detected automatically. |
| `creators` | Handles (`@mkbhd`, `khaby.lame`), YouTube channel IDs (`UC...`) or profile URLs (youtube.com, tiktok.com, instagram.com, twitch.tv, socialblade.com). |
| `includeHistory` | Add the daily history array (default on). |
| `topListField` | Top list: `subscribers`, `views`, `videos` (YouTube), `followers` (all), `likes` (TikTok). |
| `topListLimit` | Top list: 10-100. |
| `youtubeCategory`, `youtubeCountry` | Top list filters for YouTube (e.g. `games`, `US`). |

```json
{
  "creators": ["mkbhd", "https://www.tiktok.com/@khaby.lame", "https://www.instagram.com/cristiano/", "https://www.twitch.tv/kaicenat"],
  "includeHistory": true
}
```

### Output

YouTube creator (history trimmed):

```json
{
  "resultType": "creator",
  "platform": "youtube",
  "id": "UCBJycsmduvYEL83R_U4JriQ",
  "username": "mkbhd",
  "displayName": "Marques Brownlee",
  "grade": "B+",
  "country": "US",
  "category": "tech",
  "createdAt": "2008-03-21T00:00:00.000Z",
  "subscribers": 21400000,
  "views": 5860083118,
  "videos": 1863,
  "sbRank": 4658,
  "ranks": { "sb": 4658, "subscribers": 322, "views": 3221, "country": 141, "category": 11 },
  "handles": ["marquesbrownlee", "mkbhd"],
  "viewsGained7d": 28160825,
  "viewsGained14d": 59732680,
  "videosUploaded14d": 4,
  "avgDailyViews": 4266620,
  "estMonthlyEarningsLowUsd": 32000,
  "estMonthlyEarningsHighUsd": 511994,
  "history": [{ "date": "2026-10-20", "subscribers": 21400000, "views": 5800350438, "videos": 1859 }]
}
```

Instagram rows add `engagementRate`, `averageLikes`, `averageComments`, `mediaCount` and `website`; TikTok rows add `likes`, `likesGained14d` and `following`; Twitch rows have `followers` and `followersGained7d/14d`. Top list rows have `resultType: "topListEntry"` and `listRank`.

### Use it from ChatGPT, Claude & AI agents

This Actor works as a tool for AI assistants through the **Apify MCP server**:

- **Claude, ChatGPT, Cursor, VS Code, Windsurf:** add this MCP server URL as a connector and sign in with your Apify account:

  ```
  https://mcp.apify.com/?tools=get_anything/social-blade-scraper
  ```

- **Claude Desktop / Cursor config:**

  ```json
  { "mcpServers": { "apify": { "url": "https://mcp.apify.com/?tools=get_anything/social-blade-scraper" } } }
  ```

- **REST / GPT Actions / LangChain:** `POST https://api.apify.com/v2/acts/get_anything~social-blade-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN`

Then ask, for example: *"Compare MKBHD, Linus Tech Tips and Unbox Therapy on Social Blade: grade, views gained in the last 14 days and estimated monthly earnings."*

### How much will it cost?

Pay per result, no subscription:

| Event | Price |
|---|---|
| Creator (stats + ranks + history + growth + earnings) | $6.00 per 1,000 creators |
| Top list entry | $2.00 per 1,000 entries |
| Actor start | $0.001 per run |

History, growth and earnings are included - no add-on charges. Creators that aren't found are free. 100 creators cost about **$0.60**; a Top 100 list about **$0.20**. Higher Apify plans get up to 30% off.

### FAQ

**Why is "subscribers gained" 0 for big YouTube channels?** YouTube rounds public subscriber counts (21.4M stays 21.4M until it reaches 21.5M), so Social Blade sees no change day to day. Views gained is exact.

**How are earnings estimated?** Average daily views over the last two weeks × 30 × $0.25-$4.00 per 1,000 views - the same wide range Social Blade shows. Real revenue depends on niche, audience country and sponsorships.

**Why is Instagram history empty?** Social Blade doesn't publish daily Instagram history for free; follower count, engagement rate and averages are still returned.

**Can I use a YouTube URL like youtube.com/@name?** Yes - youtube.com/@handle, /channel/UC..., tiktok.com/@user, instagram.com/user, twitch.tv/user and socialblade.com URLs all work.

### Changelog

- **0.1** - First release: YouTube, TikTok, Instagram, Twitch creators with grade, ranks, history, growth and earnings; Top lists with YouTube category and country filters.

### Support

Missing a field or a creator that won't load? Open an issue on the Issues tab and it will be looked at quickly.

# Actor input Schema

## `mode` (type: `string`):

Look up specific creators, or pull a Social Blade Top list.

## `platform` (type: `string`):

Platform for plain handles and for Top lists. Profile URLs (youtube.com/@x, tiktok.com/@x, instagram.com/x, twitch.tv/x, socialblade.com/...) are detected automatically, so one run can mix platforms.

## `creators` (type: `array`):

Handles ('@mkbhd', 'khaby.lame'), YouTube channel IDs (UC...) or profile URLs, one per line. Used in Creator lookup mode.

## `includeHistory` (type: `boolean`):

Add about two weeks of daily subscriber/follower, view, like and upload counts to each creator row. Growth and earnings columns are computed either way.

## `topListField` (type: `string`):

Top list mode only. If the field doesn't exist for the platform, its main field is used (subscribers for YouTube, followers elsewhere).

## `topListLimit` (type: `integer`):

Top list mode only: 10-100 creators.

## `youtubeCategory` (type: `string`):

Top list mode, YouTube only.

## `youtubeCountry` (type: `string`):

Top list mode, YouTube only: two-letter country code (US, GB, IN, AE, BR...). Empty = global.

## `proxyConfiguration` (type: `object`):

Optional. Social Blade works without a proxy; turn on Apify Proxy if pages stop loading on very large runs.

## Actor input object example

```json
{
  "mode": "profiles",
  "platform": "youtube",
  "creators": [
    "mkbhd",
    "https://www.tiktok.com/@khaby.lame",
    "https://www.twitch.tv/kaicenat"
  ],
  "includeHistory": true,
  "topListLimit": 25,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

One row per creator (or Top list entry).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "platform": "youtube",
    "creators": [
        "mkbhd",
        "https://www.tiktok.com/@khaby.lame",
        "https://www.twitch.tv/kaicenat"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("get_anything/social-blade-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "platform": "youtube",
    "creators": [
        "mkbhd",
        "https://www.tiktok.com/@khaby.lame",
        "https://www.twitch.tv/kaicenat",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("get_anything/social-blade-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "platform": "youtube",
  "creators": [
    "mkbhd",
    "https://www.tiktok.com/@khaby.lame",
    "https://www.twitch.tv/kaicenat"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call get_anything/social-blade-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,get_anything/social-blade-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/yIVTNKpxPbdoMcYpl/builds/eGJdfTtTRgQy0uFDv/openapi.json
