# Social Blade Creator Analytics Scraper (`fanndev/socialblade-creator-analytics-scraper`) Actor

Extract creator statistics from Social Blade for YouTube, TikTok, Twitch and Instagram -- subscribers/followers, views, video counts, country and category, Social Blade ranks, and 15 days of daily history. Plus the YouTube top-creator leaderboard. No account or API key needed.

- **URL**: https://apify.com/fanndev/socialblade-creator-analytics-scraper.md
- **Developed by:** [Faisal Ahdan naufal](https://apify.com/fanndev) (community)
- **Categories:** Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Social Blade Creator Analytics Scraper

Extract creator statistics from **Social Blade** for YouTube, TikTok, Twitch and Instagram — audience size, ranks, and 15 days of daily history. No account, login, or API key needed.

### Why use this actor

- **Four platforms, one output shape** — YouTube, TikTok, Twitch and Instagram creators through the same input
- **Daily history, not just a snapshot** — up to 15 days of subscriber/follower, view, like and video counts per creator, so you can chart growth without waiting to accumulate it yourself
- **Every Social Blade rank** — overall rank plus per-metric ranks (subscribers, views, country, category on YouTube; followers, likes, videos on TikTok; engagement rate on Instagram)
- **Creator context** — account creation date, country, content category, channel description, and the creator's links to their other platforms
- **YouTube leaderboard** in one call — the top creators with subscribers, views and country
- **Exact-address handling** — a Social Blade address is fetched exactly as given, because `/user/x`, `/c/x` and `/@x` are *different* YouTube channels; guessing between them silently returns the wrong creator
- Stable JSON output with automatic retries — no scrapers or browsers to babysit

### How it works

Pick a `mode`:

1. **`profile`** — statistics, ranks and daily history for one or more handles on the platform you choose (or full Social Blade addresses, which carry their own platform).
2. **`top`** — the YouTube top-creator leaderboard.

### Input

**One creator:**

```json
{
  "mode": "profile",
  "platform": "youtube",
  "handle": "pewdiepie",
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
```

**A batch across platforms** (addresses override the default platform):

```json
{
  "mode": "profile",
  "platform": "tiktok",
  "handles": [
    "charlidamelio",
    "https://socialblade.com/youtube/@MrBeast",
    "https://socialblade.com/twitch/user/ninja"
  ],
  "maxConcurrency": 4
}
```

**Leaderboard:**

```json
{ "mode": "top", "topSize": 100, "maxItems": 100 }
```

| Field | Type | Description |
|---|---|---|
| `mode` | string | `profile` or `top`. |
| `platform` | string | `youtube`, `tiktok`, `twitch`, or `instagram`. |
| `handle` / `handles` | string / array | Creator handle(s) or full Social Blade addresses. |
| `topSize` | integer | `top` mode: `100` or `500` (both return 100 rows). |
| `maxItems` | integer | `top` mode: rows to keep (max 100). |
| `maxConcurrency` | integer | Creators fetched in parallel (default 4). |
| `proxyConfiguration` | object | Apify Proxy settings; Residential on by default. |

### Output

**`profile` mode, YouTube** — real output, arrays truncated:

```json
{
  "_input": "pewdiepie",
  "_source": "S1-ssr",
  "_scrapedAt": "2026-09-08T07:10:00Z",
  "recordType": "CREATOR_PROFILE",
  "platform": "youtube",
  "id": "UC-lHJZR3Gqxm24_Vd_AJ5Yw",
  "displayName": "PewDiePie",
  "createdAt": "2010-04-29T00:00:00.000Z",
  "country": "JP",
  "channelType": "entertainment",
  "subscribers": 109000000,
  "views": "29519305767",
  "videos": 4665,
  "ranks": { "sb": 124024, "subscribers": 16, "views": 179, "country": 1, "category": 7 },
  "socials": [{ "url": "https://instagram.com/pewdiepie", "title": "IG" }, "… 2 more"],
  "history": [
    { "date": "2026-08-25T00:00:00.000Z", "subscribers": 110000000, "views": 29514832850, "videos": 4665 },
    "… 14 more"
  ],
  "historyDays": 15
}
```

**`profile` mode, TikTok** — the metric set follows the platform:

```json
{
  "platform": "tiktok",
  "displayName": "charli d’amelio",
  "videos": 3242,
  "ranks": { "sb": 9965, "followers": 2, "likes": 2, "videos": 7206 },
  "history": [{ "date": "2026-08-25T00:00:00.000Z", "followers": 159200000, "following": 1439, "likes": 12300000000, "videos": 3229 }],
  "historyDays": 15
}
```

**`top` mode:**

```json
{ "recordType": "TOP_CREATOR", "listRank": 1, "displayName": "MrBeast", "subscribers": 516000000, "country": "US" }
```

| Field | Type | Description |
|---|---|---|
| `recordType` | string | `CREATOR_PROFILE` or `TOP_CREATOR`. |
| `platform` | string | Which platform the record is from. |
| `id` / `displayName` | string | Native platform ID and creator name. |
| `createdAt` / `country` / `channelType` | string | Account age, country, content category. |
| `subscribers` / `views` / `videos` | integer / string | Audience and output counts (present per platform). |
| `ranks` | object | Overall Social Blade rank plus per-metric ranks. |
| `socials` | array | The creator's links to other platforms. |
| `history` / `historyDays` | array / integer | Up to 15 daily rows. |
| `listRank` | integer | `top` mode position. |
| `_error` / `_errorDetail` | string | Present only when a creator could not be fetched. |

### Notes & limits

- **Metrics differ by platform, deliberately.** YouTube gives subscribers/views/videos, TikTok gives followers/likes/videos, Twitch gives followers, Instagram gives followers and engagement rate. Fields are passed through as published rather than forced into one shape.
- **Instagram profiles carry no daily history** in the public page — the account record comes through, `history` is empty.
- **Facebook is not supported**: those profile addresses return 404 upstream, so it is left out rather than shipped as a mode that always fails.
- **Audience counts are rounded** by the source (109,000,000 rather than an exact figure); the daily history rows are the finer-grained series.
- **The leaderboard returns 100 rows per run.** `topSize: 500` is accepted upstream but still serves 100 creators per request.
- Counts are point-in-time; schedule the actor if you want a longer series than the 15 days each run carries.

# Actor input Schema

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

"profile" fetches creator statistics, ranks and daily history for one or more handles. "top" fetches the YouTube top-creator leaderboard.

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

"profile" mode: which platform the handles belong to. A full Social Blade address overrides this per item. Facebook is not offered because its profile pages return 404 upstream.

## `handle` (type: `string`):

"profile" mode: a creator handle (e.g. "pewdiepie", or "@MrBeast") or a full Social Blade address. Addresses are fetched exactly as given -- on YouTube, /user/x, /c/x and /@x are different channels.

## `handles` (type: `array`):

"profile" mode: several creators to fetch in one run.

## `topSize` (type: `integer`):

"top" mode: which YouTube leaderboard page to read. Only 100 and 500 are accepted upstream (50 and 250 return an error); both return 100 creators per request. Any other value is rejected by the actor before a request is made.

## `maxItems` (type: `integer`):

"top" mode: how many leaderboard rows to keep (upstream serves at most 100 per request).

## `maxConcurrency` (type: `integer`):

"profile" mode: how many creators to fetch in parallel.

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

Apify Proxy configuration. Residential is on by default and recommended for larger batches.

## Actor input object example

```json
{
  "mode": "profile",
  "platform": "youtube",
  "handle": "pewdiepie",
  "topSize": 100,
  "maxItems": 100,
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

All creator / leaderboard records produced by this run.

# 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 = {
    "mode": "profile",
    "platform": "youtube",
    "handle": "pewdiepie",
    "topSize": 100,
    "maxItems": 100,
    "maxConcurrency": 4,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fanndev/socialblade-creator-analytics-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 = {
    "mode": "profile",
    "platform": "youtube",
    "handle": "pewdiepie",
    "topSize": 100,
    "maxItems": 100,
    "maxConcurrency": 4,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("fanndev/socialblade-creator-analytics-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 '{
  "mode": "profile",
  "platform": "youtube",
  "handle": "pewdiepie",
  "topSize": 100,
  "maxItems": 100,
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call fanndev/socialblade-creator-analytics-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fanndev/socialblade-creator-analytics-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/ni9dY4IrT9Qkbu9Tf/builds/RpWPUs4P2qLWvHD0e/openapi.json
