# 🔥 Unlimited SocialBlade YouTube API (`wantweg/socialblade-youtube-api`) Actor

Easily get daily, weekly, or monthly historical subscriber, view and video counts for YouTube channels. Combined with comprehensive channel metadata, including social media (Instagram, TikTok, X (Twitter)) usernames, ranking, content category and country. Blazing fast and unlimited API!

- **URL**: https://apify.com/wantweg/socialblade-youtube-api.md
- **Developed by:** [wantweg](https://apify.com/wantweg) (community)
- **Categories:** Social media, Videos, Lead generation
- **Stats:** 42 total users, 0 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

### 🚀 What is Unlimited SocialBlade YouTube API?

**Unlimited SocialBlade YouTube API** scrapes statistics, analytics and metadata on YouTube channels from [SocialBlade](https://socialblade.com/). Access historical **subscriber count**, **view count**, **video count**, and many more metrics.
Additionally, access various metadata, such as a creator's **social media usernames**, including **Instagram**, **TikTok**, **Twitch** and **X (Twitter)**.

### ✨ What data does it scrape?

- Channel metadata:
  - Channel ID
  - **Creation Date**
  - Display name
  - Profile and banner picture
  - Country
  - **Channel category** (Travel, Gaming, ...)
  - **Social media accounts** (Instagram, TikTok, Twitch, X (Twitter), ...)
  - Subscribers, Views, Videos
  - **Ranks** (by views, country, category)
- **Daily subscriber, view and video history**
- **Growth summary**
- **Monthly growth** (subscribers, views)
- **Weekly growth** (subscribers, views)
- And more!

### 🛠️ Input parameters

The input of this scraper should be JSON containing the list of channels on YouTube. Check the input tab for detailed info.

#### 🔢 Input example

Here, we scrape the PewDiePie and MrBeast channels, for example. But the scraper **works with any YouTube channel**!

```json
{
  "identifiers": ["pewdiepie", "mrbeast"],
  "identifier_type": "channel_username",
  "daily_history_days": 10,
  "weekly_growth_years": 1
}
```

The `daily_history_days` and `weekly_growth_years` parameters are optional. `identifier_type` is set to `"channel_username"`, so we list just the usernames under `identifiers`. Alternatively, you may use `"channel_id"` or `"channel_url"`. The latter makes things especially easy for you, just input any channel url you find!

#### 📊 Output example data

The results for the above example are:

```json
[
  {
    "identifier": "pewdiepie",
    "identifier_type": "channel_username",
    "data": {
      "channel_info": {
        "id": "UC-lHJZR3Gqxm24_Vd_AJ5Yw",
        "created_at": "2010-04-29T00:00:00.000Z",
        "display_name": "PewDiePie",
        "avatar": "https://yt3.ggpht.com/vik8mAiwHQbXiFyKfZ3__p55_VBdGvwxPpuPJBBwdbF0PjJxikXhrP-C3nLQAMAxGNd_-xQCIg=s88-c-k-c0x00ffffff-no-rj",
        "banner": "https://yt3.googleusercontent.com/vg_f9mYBpTkhj44RPlyu4ZN_qUwpSGhQ5zwXLCwZpZUJ12EtQlMf-HwI6MtB1Nv6h8oN9W3emA=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
        "disabled": null,
        "country": "JP",
        "channel_type": "entertainment",
        "socials": [
          {
            "url": "https://instagram.com/pewdiepie",
            "title": "IG",
            "favicon": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn:ANd9GcSFSQsKHXrO5erkzaT2KvuVhN0LpXbPxo4ITKyKnQPSmHOLBkDR8KE0mdsMnLBztoNFQ0MGg9k6cUXhtZ_NY0Y06Mf1ywHug6oQEJlqr2uEyy6xlMLBVA"
          },
          {
            "url": "https://tiktok.com/@pewdiepie",
            "title": "TikTok",
            "favicon": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn:ANd9GcT5aYj7VdDmDIFMFxhRzxy_S7SguI8_rqskdTqoNV4aJs32DCET_r4aHvy8xn0jDKDWoalwDy-_1-4EIKlF2QdvYqWyDfNTfC0nyF02ZhLIVM1vVQ"
          },
          {
            "url": "https://twitch.tv/pewdiepie",
            "title": "Twitch",
            "favicon": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn:ANd9GcS8VOobcqiJc-fuvFQqPbzJJ7PTmTkEcDahkubH0qzPY_UH6Txkuy_VzhDXmhX4OSX7v0t2UobvKZPvYWQBTlYAFT5cPe3YRoxinWK3TGeGR6ut"
          }
        ],
        "made_for_kids": false,
        "subscribers": 110000000,
        "views": "29513805690",
        "videos": 4812,
        "ranks": {
          "sb": 37911,
          "subscribers": 12,
          "views": 101,
          "country": 1,
          "category": 6
        },
        "identifiers": [
          {
            "creator_id": "UC-lHJZR3Gqxm24_Vd_AJ5Yw",
            "identifier": "pewdiepie",
            "type": "handle"
          },
          {
            "creator_id": "UC-lHJZR3Gqxm24_Vd_AJ5Yw",
            "identifier": "pewdiepie",
            "type": "username"
          }
        ],
        "has_authed": false,
        "stats": {
          "subscribers": 110000000,
          "views": "29513805690",
          "videos": 4812
        },
        "grade": "B+",
        "identifier": {
          "creator_id": "UC-lHJZR3Gqxm24_Vd_AJ5Yw",
          "identifier": "pewdiepie",
          "type": "handle"
        },
        "stats_hidden": null
      },
      "daily_history": [
        {
          "date": "2025-03-23T00:00:00.000Z",
          "subscribers": 110000000,
          "views": "29510097109",
          "videos": 4811
        },
        {
          "date": "2025-03-24T00:00:00.000Z",
          "subscribers": 110000000,
          "views": "29510498056",
          "videos": 4811
        },
        {
          "date": "2025-03-25T00:00:00.000Z",
          "subscribers": 110000000,
          "views": "29510862653",
          "videos": 4811
        },
        {
          "date": "2025-03-26T00:00:00.000Z",
          "subscribers": 110000000,
          "views": "29511219178",
          "videos": 4811
        },
        {
          "date": "2025-03-27T00:00:00.000Z",
          "subscribers": 110000000,
          "views": "29511542596",
          "videos": 4811
        },
        {
          "date": "2025-03-28T00:00:00.000Z",
          "subscribers": 110000000,
          "views": "29511905383",
          "videos": 4811
        },
        {
          "date": "2025-03-29T00:00:00.000Z",
          "subscribers": 110000000,
          "views": "29512375877",
          "videos": 4811
        },
        {
          "date": "2025-03-30T00:00:00.000Z",
          "subscribers": 110000000,
          "views": "29512721096",
          "videos": 4811
        },
        {
          "date": "2025-03-31T00:00:00.000Z",
          "subscribers": 110000000,
          "views": "29513053293",
          "videos": 4812
        },
        {
          "date": "2025-04-01T00:00:00.000Z",
          "subscribers": 110000000,
          "views": "29513805690",
          "videos": 4812
        }
      ],
      "growth_summary": {
        "subscribers_3": 0,
        "subscribers_7": 0,
        "subscribers_14": 0,
        "subscribers_30": 0,
        "subscribers_60": 0,
        "subscribers_90": 0,
        "subscribers_180": -1000000,
        "subscribers_365": -1000000,
        "views_3": 976762,
        "views_7": 2384089,
        "views_14": 5653457,
        "views_30": 15342128,
        "views_60": 33350208,
        "views_90": 49127139,
        "views_180": 107687574,
        "views_365": 249477290,
        "videos_3": 0,
        "videos_7": 0,
        "videos_14": 0,
        "videos_30": 1,
        "videos_60": 4,
        "videos_90": 4,
        "videos_180": 4,
        "videos_365": 4
      },
      "monthly_growth": [
        {
          "date": "2022-04-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 0
        },
        {
          "date": "2022-04-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 0
        },
        {
          "date": "2022-05-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 69936192
        },
        {
          "date": "2022-06-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 59537322
        },
        {
          "date": "2022-07-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 55689639
        },
        {
          "date": "2022-08-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 39110189
        },
        {
          "date": "2022-09-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 29778671
        },
        {
          "date": "2022-10-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 33157703
        },
        {
          "date": "2022-11-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 207070552
        },
        {
          "date": "2022-12-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 46761135
        },
        {
          "date": "2023-01-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 57602215
        },
        {
          "date": "2023-02-28T00:00:00.000Z",
          "subscribers": 0,
          "views": 52403773
        },
        {
          "date": "2023-03-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 37255127
        },
        {
          "date": "2023-04-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 12660478
        },
        {
          "date": "2023-05-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 26958525
        },
        {
          "date": "2023-06-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 36852015
        },
        {
          "date": "2023-07-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 27732022
        },
        {
          "date": "2023-08-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 34215465
        },
        {
          "date": "2023-09-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 24385177
        },
        {
          "date": "2023-10-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 23252076
        },
        {
          "date": "2023-11-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 24142945
        },
        {
          "date": "2023-12-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 21243771
        },
        {
          "date": "2024-01-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 16998021
        },
        {
          "date": "2024-02-29T00:00:00.000Z",
          "subscribers": 0,
          "views": 23694003
        },
        {
          "date": "2024-03-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 22468328
        },
        {
          "date": "2024-04-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 20455845
        },
        {
          "date": "2024-05-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 20503638
        },
        {
          "date": "2024-06-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 30767268
        },
        {
          "date": "2024-07-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 29716344
        },
        {
          "date": "2024-08-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 20090907
        },
        {
          "date": "2024-09-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 18415080
        },
        {
          "date": "2024-10-31T00:00:00.000Z",
          "subscribers": -1000000,
          "views": 25545472
        },
        {
          "date": "2024-11-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 17951852
        },
        {
          "date": "2024-12-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 16903745
        },
        {
          "date": "2025-01-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 16964301
        },
        {
          "date": "2025-02-28T00:00:00.000Z",
          "subscribers": 0,
          "views": 16305668
        },
        {
          "date": "2025-03-31T00:00:00.000Z",
          "subscribers": 0,
          "views": 16028318
        }
      ],
      "weekly_growth": [
        {
          "date": "2024-04-08T00:00:00.000Z",
          "subscribers": 0,
          "views": "5061412",
          "videos": 0
        },
        {
          "date": "2024-04-15T00:00:00.000Z",
          "subscribers": 0,
          "views": "3962903",
          "videos": 0
        },
        {
          "date": "2024-04-22T00:00:00.000Z",
          "subscribers": 0,
          "views": "4973834",
          "videos": 0
        },
        {
          "date": "2024-04-29T00:00:00.000Z",
          "subscribers": 0,
          "views": "4837811",
          "videos": 0
        },
        {
          "date": "2024-05-06T00:00:00.000Z",
          "subscribers": 0,
          "views": "4429316",
          "videos": 0
        },
        {
          "date": "2024-05-13T00:00:00.000Z",
          "subscribers": 0,
          "views": "3180817",
          "videos": 0
        },
        {
          "date": "2024-05-20T00:00:00.000Z",
          "subscribers": 0,
          "views": "5579851",
          "videos": 0
        },
        {
          "date": "2024-05-27T00:00:00.000Z",
          "subscribers": 0,
          "views": "4746152",
          "videos": 0
        },
        {
          "date": "2024-06-03T00:00:00.000Z",
          "subscribers": 0,
          "views": "3735425",
          "videos": 0
        },
        {
          "date": "2024-06-10T00:00:00.000Z",
          "subscribers": 0,
          "views": "6339942",
          "videos": 0
        },
        {
          "date": "2024-06-17T00:00:00.000Z",
          "subscribers": 0,
          "views": "4873746",
          "videos": 0
        },
        {
          "date": "2024-06-24T00:00:00.000Z",
          "subscribers": 0,
          "views": "9699920",
          "videos": 0
        },
        {
          "date": "2024-07-01T00:00:00.000Z",
          "subscribers": 0,
          "views": "8685737",
          "videos": 0
        },
        {
          "date": "2024-07-08T00:00:00.000Z",
          "subscribers": 0,
          "views": "6276732",
          "videos": 0
        },
        {
          "date": "2024-07-15T00:00:00.000Z",
          "subscribers": 0,
          "views": "10835890",
          "videos": 0
        },
        {
          "date": "2024-07-22T00:00:00.000Z",
          "subscribers": 0,
          "views": "4956160",
          "videos": 0
        },
        {
          "date": "2024-07-29T00:00:00.000Z",
          "subscribers": 0,
          "views": "6408516",
          "videos": 0
        },
        {
          "date": "2024-08-05T00:00:00.000Z",
          "subscribers": 0,
          "views": "3391178",
          "videos": 0
        },
        {
          "date": "2024-08-12T00:00:00.000Z",
          "subscribers": 0,
          "views": "4786896",
          "videos": 0
        },
        {
          "date": "2024-08-19T00:00:00.000Z",
          "subscribers": 0,
          "views": "4010299",
          "videos": 0
        },
        {
          "date": "2024-08-26T00:00:00.000Z",
          "subscribers": 0,
          "views": "5505310",
          "videos": 0
        },
        {
          "date": "2024-09-02T00:00:00.000Z",
          "subscribers": 0,
          "views": "5678200",
          "videos": 0
        },
        {
          "date": "2024-09-09T00:00:00.000Z",
          "subscribers": 0,
          "views": "3339581",
          "videos": 0
        },
        {
          "date": "2024-09-16T00:00:00.000Z",
          "subscribers": 0,
          "views": "4426508",
          "videos": 0
        },
        {
          "date": "2024-09-23T00:00:00.000Z",
          "subscribers": 0,
          "views": "4780733",
          "videos": 0
        },
        {
          "date": "2024-09-30T00:00:00.000Z",
          "subscribers": 0,
          "views": "3826328",
          "videos": 0
        },
        {
          "date": "2024-10-07T00:00:00.000Z",
          "subscribers": 0,
          "views": "5935419",
          "videos": 0
        },
        {
          "date": "2024-10-14T00:00:00.000Z",
          "subscribers": 0,
          "views": "3559076",
          "videos": 0
        },
        {
          "date": "2024-10-21T00:00:00.000Z",
          "subscribers": 0,
          "views": "6200749",
          "videos": 0
        },
        {
          "date": "2024-10-28T00:00:00.000Z",
          "subscribers": -1000000,
          "views": "5937430",
          "videos": 0
        },
        {
          "date": "2024-11-04T00:00:00.000Z",
          "subscribers": 0,
          "views": "5738287",
          "videos": 0
        },
        {
          "date": "2024-11-11T00:00:00.000Z",
          "subscribers": 0,
          "views": "4065709",
          "videos": 0
        },
        {
          "date": "2024-11-18T00:00:00.000Z",
          "subscribers": 0,
          "views": "4355014",
          "videos": 0
        },
        {
          "date": "2024-11-25T00:00:00.000Z",
          "subscribers": 0,
          "views": "4336604",
          "videos": 0
        },
        {
          "date": "2024-12-02T00:00:00.000Z",
          "subscribers": 0,
          "views": "4863428",
          "videos": 0
        },
        {
          "date": "2024-12-09T00:00:00.000Z",
          "subscribers": 0,
          "views": "3276724",
          "videos": 0
        },
        {
          "date": "2024-12-16T00:00:00.000Z",
          "subscribers": 0,
          "views": "4170844",
          "videos": 0
        },
        {
          "date": "2024-12-23T00:00:00.000Z",
          "subscribers": 0,
          "views": "3292580",
          "videos": 0
        },
        {
          "date": "2024-12-30T00:00:00.000Z",
          "subscribers": 0,
          "views": "4207191",
          "videos": 0
        },
        {
          "date": "2025-01-06T00:00:00.000Z",
          "subscribers": 0,
          "views": "3533472",
          "videos": 0
        },
        {
          "date": "2025-01-13T00:00:00.000Z",
          "subscribers": 0,
          "views": "5217707",
          "videos": 0
        },
        {
          "date": "2025-01-20T00:00:00.000Z",
          "subscribers": 0,
          "views": "3132524",
          "videos": 0
        },
        {
          "date": "2025-01-27T00:00:00.000Z",
          "subscribers": 0,
          "views": "3200473",
          "videos": 0
        },
        {
          "date": "2025-02-03T00:00:00.000Z",
          "subscribers": 0,
          "views": "3564458",
          "videos": 0
        },
        {
          "date": "2025-02-10T00:00:00.000Z",
          "subscribers": 0,
          "views": "2823081",
          "videos": 0
        },
        {
          "date": "2025-02-17T00:00:00.000Z",
          "subscribers": 0,
          "views": "3416940",
          "videos": 0
        },
        {
          "date": "2025-02-24T00:00:00.000Z",
          "subscribers": 0,
          "views": "5863393",
          "videos": 0
        },
        {
          "date": "2025-03-03T00:00:00.000Z",
          "subscribers": 0,
          "views": "4966248",
          "videos": 0
        },
        {
          "date": "2025-03-10T00:00:00.000Z",
          "subscribers": 0,
          "views": "992377",
          "videos": 0
        },
        {
          "date": "2025-03-17T00:00:00.000Z",
          "subscribers": 0,
          "views": "7225023",
          "videos": 0
        },
        {
          "date": "2025-03-24T00:00:00.000Z",
          "subscribers": 0,
          "views": "3269368",
          "videos": 0
        },
        {
          "date": "2025-03-31T00:00:00.000Z",
          "subscribers": 0,
          "views": "2555237",
          "videos": 0
        }
      ],
      "channel_ranks": {
        "metadata": {
          "country": "JP",
          "category": "entertainment"
        },
        "position": {
          "sb": 37911,
          "subscribers": 12,
          "views": 101,
          "country": 1,
          "category": 6
        },
        "shared": {
          "subscribers": 0,
          "views": 0,
          "country": 0,
          "category": 0,
          "sb": 2
        },
        "ahead": {
          "subscribers": 11,
          "views": 100,
          "country": 0,
          "category": 0,
          "sb": 113845
        }
      }
    }
  },
  {
    "identifier": "mrbeast",
    "identifier_type": "channel_username",
    "data": {
      "channel_info": {
        "id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
        "created_at": "2012-02-20T00:00:00.000Z",
        "display_name": "MrBeast",
        "avatar": "https://yt3.ggpht.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s88-c-k-c0x00ffffff-no-rj",
        "banner": "https://yt3.googleusercontent.com/5KWiriZZ_KEoEdSMFTJKj2M6vR_XSiRZeQ-ix0cvG3TGZuGoi8sfAjrSiZAP0GzXBkmF8ZGytw=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
        "disabled": null,
        "country": "US",
        "channel_type": "entertainment",
        "socials": [
          {
            "url": "https://instagram.com/mrbeast",
            "title": "Follow",
            "favicon": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn:ANd9GcSFSQsKHXrO5erkzaT2KvuVhN0LpXbPxo4ITKyKnQPSmHOLBkDR8KE0mdsMnLBztoNFQ0MGg9k6cUXhtZ_NY0Y06Mf1ywHug6oQEJlqr2uEyy6xlMLBVA"
          },
          {
            "url": "https://twitter.com/MrBeast",
            "title": "Twitter",
            "favicon": "https://encrypted-tbn0.gstatic.com/favicon-tbn?q=tbn:ANd9GcQ5BAMfEEdZKXdGfKwvY9KK8qk5T3YCOYT6HG8jKzDhDCHwfUUKF4GZ5VPsSwDMrHJPLqBavxsbjklmTvObe0SlbNjU6wNoppJlzl2MnEWiyQ"
          }
        ],
        "made_for_kids": false,
        "subscribers": 380000000,
        "views": "77096359634",
        "videos": 858,
        "ranks": {
          "sb": 8,
          "subscribers": 1,
          "views": 12,
          "country": 1,
          "category": 1
        },
        "identifiers": [
          {
            "creator_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
            "identifier": "mrbeast",
            "type": "handle"
          },
          {
            "creator_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
            "identifier": "mrbeast6000",
            "type": "username"
          }
        ],
        "has_authed": false,
        "stats": {
          "subscribers": 380000000,
          "views": "77096359634",
          "videos": 858
        },
        "grade": "A++",
        "identifier": {
          "creator_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
          "identifier": "mrbeast",
          "type": "handle"
        },
        "stats_hidden": null
      },
      "daily_history": [
        {
          "date": "2025-03-23T00:00:00.000Z",
          "subscribers": 377000000,
          "views": "75915726695",
          "videos": 856
        },
        {
          "date": "2025-03-24T00:00:00.000Z",
          "subscribers": 377000000,
          "views": "76174589020",
          "videos": 856
        },
        {
          "date": "2025-03-25T00:00:00.000Z",
          "subscribers": 377000000,
          "views": "76174589020",
          "videos": 857
        },
        {
          "date": "2025-03-26T00:00:00.000Z",
          "subscribers": 378000000,
          "views": "76274353932",
          "videos": 857
        },
        {
          "date": "2025-03-27T00:00:00.000Z",
          "subscribers": 378000000,
          "views": "76379052441",
          "videos": 858
        },
        {
          "date": "2025-03-28T00:00:00.000Z",
          "subscribers": 379000000,
          "views": "76504725605",
          "videos": 858
        },
        {
          "date": "2025-03-29T00:00:00.000Z",
          "subscribers": 379000000,
          "views": "76690395483",
          "videos": 858
        },
        {
          "date": "2025-03-30T00:00:00.000Z",
          "subscribers": 380000000,
          "views": "76822227236",
          "videos": 858
        },
        {
          "date": "2025-03-31T00:00:00.000Z",
          "subscribers": 380000000,
          "views": "76925669541",
          "videos": 858
        },
        {
          "date": "2025-04-01T00:00:00.000Z",
          "subscribers": 380000000,
          "views": "77096359634",
          "videos": 858
        }
      ],
      "growth_summary": {
        "subscribers_3": 1000000,
        "subscribers_7": 3000000,
        "subscribers_14": 6000000,
        "subscribers_30": 12000000,
        "subscribers_60": 27000000,
        "subscribers_90": 40000000,
        "subscribers_180": 62000000,
        "subscribers_365": 132000000,
        "views_3": 420943936,
        "views_7": 751080521,
        "views_14": 1472070021,
        "views_30": 2911596733,
        "views_60": 5590956306,
        "views_90": 8491309903,
        "views_180": 16968345797,
        "views_365": 31169628606,
        "videos_3": 0,
        "videos_7": 2,
        "videos_14": 5,
        "videos_30": 8,
        "videos_60": 13,
        "videos_90": 13,
        "videos_180": 13,
        "videos_365": 13
      },
      "monthly_growth": [
        {
          "date": "2022-04-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 0
        },
        {
          "date": "2022-04-30T00:00:00.000Z",
          "subscribers": 0,
          "views": 0
        },
        {
          "date": "2022-05-31T00:00:00.000Z",
          "subscribers": 1400000,
          "views": 261321910
        },
        {
          "date": "2022-06-30T00:00:00.000Z",
          "subscribers": 1700000,
          "views": 375092717
        },
        {
          "date": "2022-07-31T00:00:00.000Z",
          "subscribers": 2300000,
          "views": 468441605
        },
        {
          "date": "2022-08-31T00:00:00.000Z",
          "subscribers": 3000000,
          "views": 521180192
        },
        {
          "date": "2022-09-30T00:00:00.000Z",
          "subscribers": 2000000,
          "views": 291765081
        },
        {
          "date": "2022-10-31T00:00:00.000Z",
          "subscribers": 3000000,
          "views": 600673906
        },
        {
          "date": "2022-11-30T00:00:00.000Z",
          "subscribers": 6000000,
          "views": 992110647
        },
        {
          "date": "2022-12-31T00:00:00.000Z",
          "subscribers": 11000000,
          "views": 1777434390
        },
        {
          "date": "2023-01-31T00:00:00.000Z",
          "subscribers": 6000000,
          "views": 1262058878
        },
        {
          "date": "2023-02-28T00:00:00.000Z",
          "subscribers": 5000000,
          "views": 984641079
        },
        {
          "date": "2023-03-31T00:00:00.000Z",
          "subscribers": 3000000,
          "views": 946065986
        },
        {
          "date": "2023-04-30T00:00:00.000Z",
          "subscribers": 10000000,
          "views": 1310628869
        },
        {
          "date": "2023-05-31T00:00:00.000Z",
          "subscribers": 7000000,
          "views": 1195160745
        },
        {
          "date": "2023-06-30T00:00:00.000Z",
          "subscribers": 8000000,
          "views": 1352095432
        },
        {
          "date": "2023-07-31T00:00:00.000Z",
          "subscribers": 8000000,
          "views": 1493267755
        },
        {
          "date": "2023-08-31T00:00:00.000Z",
          "subscribers": 8000000,
          "views": 1921155650
        },
        {
          "date": "2023-09-30T00:00:00.000Z",
          "subscribers": 7000000,
          "views": 2047810310
        },
        {
          "date": "2023-10-31T00:00:00.000Z",
          "subscribers": 19000000,
          "views": 2565462700
        },
        {
          "date": "2023-11-30T00:00:00.000Z",
          "subscribers": 9000000,
          "views": 2043438348
        },
        {
          "date": "2023-12-31T00:00:00.000Z",
          "subscribers": 9000000,
          "views": 2038199589
        },
        {
          "date": "2024-01-31T00:00:00.000Z",
          "subscribers": 12000000,
          "views": 2369543291
        },
        {
          "date": "2024-02-29T00:00:00.000Z",
          "subscribers": 5000000,
          "views": 1475333373
        },
        {
          "date": "2024-03-31T00:00:00.000Z",
          "subscribers": 7000000,
          "views": 1924186611
        },
        {
          "date": "2024-04-30T00:00:00.000Z",
          "subscribers": 7000000,
          "views": 1989535779
        },
        {
          "date": "2024-05-31T00:00:00.000Z",
          "subscribers": 10000000,
          "views": 2401979923
        },
        {
          "date": "2024-06-30T00:00:00.000Z",
          "subscribers": 28000000,
          "views": 3186558099
        },
        {
          "date": "2024-07-31T00:00:00.000Z",
          "subscribers": 14000000,
          "views": 2465554388
        },
        {
          "date": "2024-08-31T00:00:00.000Z",
          "subscribers": 6000000,
          "views": 1931392039
        },
        {
          "date": "2024-09-30T00:00:00.000Z",
          "subscribers": 5000000,
          "views": 2152771880
        },
        {
          "date": "2024-10-31T00:00:00.000Z",
          "subscribers": 7000000,
          "views": 2345384195
        },
        {
          "date": "2024-11-30T00:00:00.000Z",
          "subscribers": 8000000,
          "views": 3138815740
        },
        {
          "date": "2024-12-31T00:00:00.000Z",
          "subscribers": 7000000,
          "views": 3066326660
        },
        {
          "date": "2025-01-31T00:00:00.000Z",
          "subscribers": 13000000,
          "views": 2900353597
        },
        {
          "date": "2025-02-28T00:00:00.000Z",
          "subscribers": 15000000,
          "views": 2606933435
        },
        {
          "date": "2025-03-31T00:00:00.000Z",
          "subscribers": 12000000,
          "views": 2984022871
        }
      ],
      "weekly_growth": [
        {
          "date": "2024-04-08T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "467557899",
          "videos": 0
        },
        {
          "date": "2024-04-15T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "448494958",
          "videos": 0
        },
        {
          "date": "2024-04-22T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "372559743",
          "videos": 0
        },
        {
          "date": "2024-04-29T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "529997193",
          "videos": 0
        },
        {
          "date": "2024-05-06T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "441526335",
          "videos": 0
        },
        {
          "date": "2024-05-13T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "387767509",
          "videos": 0
        },
        {
          "date": "2024-05-20T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "577963205",
          "videos": 0
        },
        {
          "date": "2024-05-27T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "659148619",
          "videos": 0
        },
        {
          "date": "2024-06-03T00:00:00.000Z",
          "subscribers": 9000000,
          "views": "558881586",
          "videos": 0
        },
        {
          "date": "2024-06-10T00:00:00.000Z",
          "subscribers": 8000000,
          "views": "1335624432",
          "videos": 0
        },
        {
          "date": "2024-06-17T00:00:00.000Z",
          "subscribers": 6000000,
          "views": "696410489",
          "videos": 0
        },
        {
          "date": "2024-06-24T00:00:00.000Z",
          "subscribers": 4000000,
          "views": "450064916",
          "videos": 0
        },
        {
          "date": "2024-07-01T00:00:00.000Z",
          "subscribers": 6000000,
          "views": "481150931",
          "videos": 0
        },
        {
          "date": "2024-07-08T00:00:00.000Z",
          "subscribers": 5000000,
          "views": "448503435",
          "videos": 0
        },
        {
          "date": "2024-07-15T00:00:00.000Z",
          "subscribers": 4000000,
          "views": "564097844",
          "videos": 0
        },
        {
          "date": "2024-07-22T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "644255943",
          "videos": 0
        },
        {
          "date": "2024-07-29T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "693152608",
          "videos": 0
        },
        {
          "date": "2024-08-05T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "427423492",
          "videos": 0
        },
        {
          "date": "2024-08-12T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "412054912",
          "videos": 0
        },
        {
          "date": "2024-08-19T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "459821700",
          "videos": 0
        },
        {
          "date": "2024-08-26T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "428647024",
          "videos": 0
        },
        {
          "date": "2024-09-02T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "443382310",
          "videos": 0
        },
        {
          "date": "2024-09-09T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "405549906",
          "videos": 0
        },
        {
          "date": "2024-09-16T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "585439184",
          "videos": 0
        },
        {
          "date": "2024-09-23T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "427721652",
          "videos": 0
        },
        {
          "date": "2024-09-30T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "609668297",
          "videos": 0
        },
        {
          "date": "2024-10-07T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "440144989",
          "videos": 0
        },
        {
          "date": "2024-10-14T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "592272245",
          "videos": 0
        },
        {
          "date": "2024-10-21T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "516269475",
          "videos": 0
        },
        {
          "date": "2024-10-28T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "510714093",
          "videos": 0
        },
        {
          "date": "2024-11-04T00:00:00.000Z",
          "subscribers": 3000000,
          "views": "595488498",
          "videos": 0
        },
        {
          "date": "2024-11-11T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "553744854",
          "videos": 0
        },
        {
          "date": "2024-11-18T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "1474581490",
          "videos": 0
        },
        {
          "date": "2024-11-25T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "542647692",
          "videos": 0
        },
        {
          "date": "2024-12-02T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "631583952",
          "videos": 0
        },
        {
          "date": "2024-12-09T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "693664961",
          "videos": 0
        },
        {
          "date": "2024-12-16T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "545491179",
          "videos": 0
        },
        {
          "date": "2024-12-23T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "529264173",
          "videos": 0
        },
        {
          "date": "2024-12-30T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "830899435",
          "videos": 0
        },
        {
          "date": "2025-01-06T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "612558398",
          "videos": 0
        },
        {
          "date": "2025-01-13T00:00:00.000Z",
          "subscribers": 1000000,
          "views": "611274147",
          "videos": 0
        },
        {
          "date": "2025-01-20T00:00:00.000Z",
          "subscribers": 3000000,
          "views": "677138611",
          "videos": 0
        },
        {
          "date": "2025-01-27T00:00:00.000Z",
          "subscribers": 5000000,
          "views": "709257887",
          "videos": 0
        },
        {
          "date": "2025-02-03T00:00:00.000Z",
          "subscribers": 4000000,
          "views": "674330868",
          "videos": 0
        },
        {
          "date": "2025-02-10T00:00:00.000Z",
          "subscribers": 5000000,
          "views": "625239671",
          "videos": 0
        },
        {
          "date": "2025-02-17T00:00:00.000Z",
          "subscribers": 3000000,
          "views": "333527811",
          "videos": 0
        },
        {
          "date": "2025-02-24T00:00:00.000Z",
          "subscribers": 3000000,
          "views": "1041820249",
          "videos": 0
        },
        {
          "date": "2025-03-03T00:00:00.000Z",
          "subscribers": 3000000,
          "views": "559472823",
          "videos": 0
        },
        {
          "date": "2025-03-10T00:00:00.000Z",
          "subscribers": 3000000,
          "views": "201267921",
          "videos": 0
        },
        {
          "date": "2025-03-17T00:00:00.000Z",
          "subscribers": 2000000,
          "views": "1067111055",
          "videos": 0
        },
        {
          "date": "2025-03-24T00:00:00.000Z",
          "subscribers": 3000000,
          "views": "720989500",
          "videos": 0
        },
        {
          "date": "2025-03-31T00:00:00.000Z",
          "subscribers": 3000000,
          "views": "751080521",
          "videos": 0
        }
      ],
      "channel_ranks": {
        "metadata": {
          "country": "US",
          "category": "entertainment"
        },
        "position": {
          "sb": 7,
          "subscribers": 1,
          "views": 12,
          "country": 1,
          "category": 1
        },
        "shared": {
          "subscribers": 0,
          "views": 0,
          "country": 0,
          "category": 0,
          "sb": 2
        },
        "ahead": {
          "subscribers": 0,
          "views": 11,
          "country": 0,
          "category": 0,
          "sb": 18
        }
      }
    }
  }
]
```

### 🙋 FAQ

Feel free to ask us questions at any time!

#### Should I use multiple identifiers per request?

Yes, we recommend it for performance reasons! Unlimited SocialBlade YouTube API is very fast, so the startup time of the Apify container would be a bottleneck. For this reason, you will get better performance by scraping multiple channels in one batch.

#### Is there a limit to the amount of identifiers per request?

There is no limit to the amount of `identifiers`. You can scrape as many channels as you want in one go!

# Actor input Schema

## `identifier_type` (type: `string`):

The type of account identifiers you will pass in the `identifiers` field

## `identifiers` (type: `array`):

Account identifiers of type identifier_type. Use the channel username or channel id from the URL of a channel link. Alternatively you may also use the full channel URL

## `daily_history_days` (type: `integer`):

The amount of days to include in the `daily_history` field, which will include daily absolute subscriber, view and video counts

## `weekly_growth_years` (type: `integer`):

The amount of years to include in the `weekly_growth`, which will contain weekly relative growth of subscribers, views and videos for those years.

## Actor input object example

```json
{
  "identifier_type": "channel_username",
  "identifiers": [
    "pewdiepie",
    "mrbeast"
  ],
  "daily_history_days": 2,
  "weekly_growth_years": 1
}
```

# 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 = {
    "identifiers": [
        "pewdiepie",
        "mrbeast"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("wantweg/socialblade-youtube-api").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 = { "identifiers": [
        "pewdiepie",
        "mrbeast",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("wantweg/socialblade-youtube-api").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 '{
  "identifiers": [
    "pewdiepie",
    "mrbeast"
  ]
}' |
apify call wantweg/socialblade-youtube-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wantweg/socialblade-youtube-api"
        }
    }
}
```

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/rzZfrUFCqRsYeNqeP/builds/i01W6qE8ysKNdbOag/openapi.json
