Social Blade API Alternative: Build Your Own History (2026)

Published · 7 min read

Last updated and prices verified: .

If you want follower growth history through an API without Social Blade, build it: read each account once a day and store the number. SocialLens (sociallens.dev) returns the current follower count of an account on Instagram, TikTok, YouTube, X, Facebook, Threads and Pinterest with one GET request and one API key. It does not store history for you and it has no history endpoint. The history is the table you fill, and it starts on the day your job starts. A new account includes 250 free reads and no card.

That is the trade, stated plainly. Social Blade has years of history for the accounts it tracks, and no public read can go back in time. What you get by building your own is the data in your database, for the accounts you choose, on the schedule you choose. This page has the read, a Python job with SQLite, the growth query, a Node version, the cost and the cases where Social Blade is the better choice.

Social Blade or your own history

Social Blade Your own history with a public data API
History from before today Yes. Its paid plans list from 60 days up to 3+ years of table data No. Your history starts at your first read
Rankings, top lists and report cards Yes No
Which accounts The ones it tracks Any public account you put on your list
How often Daily Whatever your schedule does: daily, or hourly for a launch
Where the data lives On Social Blade, read through its site or its Business API In your own database
How you pay A yearly plan for the site, prepaid credits for the API Prepaid reads that never expire

The read: the number you will store

curl -G "https://api.sociallens.dev/v1/profile" \
  --data-urlencode "platform=tiktok" \
  --data-urlencode "username=nasa" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

Real response, read on November 29, 2026, with the avatar, the bio and the credits block left out:

{
  "exists": true,
  "username": "nasa",
  "platform": "tiktok",
  "nickname": "NASA",
  "verified": true,
  "private": false,
  "followers": 2255221,
  "followers_rounded": 2300000,
  "is_exact": true,
  "following": 23,
  "likes": 12063427,
  "videos": 70,
  "fetched_at": "2026-11-29T03:04:27Z"
}

followers is the exact count and followers_rounded is the number TikTok prints on the profile. For a growth chart, store the exact one. A daily change of a few thousand on an account of 2.2 million disappears inside "2.3M".

Python: one snapshot per account per day

import os
import sqlite3
from datetime import datetime, timezone

import requests

HEADERS = {"Authorization": f"Bearer {os.environ['SOCIALLENS_KEY']}"}
ACCOUNTS = [("instagram", "nasa"), ("tiktok", "nasa"), ("youtube", "mkbhd")]

db = sqlite3.connect("history.db")
db.execute("""CREATE TABLE IF NOT EXISTS snapshots (
    platform TEXT, username TEXT, day TEXT,
    followers INTEGER, following INTEGER, posts INTEGER, is_exact INTEGER,
    PRIMARY KEY (platform, username, day))""")

today = datetime.now(timezone.utc).date().isoformat()
for platform, username in ACCOUNTS:
    r = requests.get("https://api.sociallens.dev/v1/profile",
                     params={"platform": platform, "username": username},
                     headers=HEADERS, timeout=90)
    if r.status_code != 200:
        continue  # no row today, the next run fills the next day
    p = r.json()
    if not p["exists"]:
        continue
    db.execute("INSERT OR REPLACE INTO snapshots VALUES (?, ?, ?, ?, ?, ?, ?)",
               (platform, username, today, p["followers"], p["following"], p["videos"], int(p["is_exact"])))
    print(today, platform, username, p["followers"])

db.commit()

The real output of the first run:

2026-11-29 instagram nasa 104247626
2026-11-29 tiktok nasa 2255297
2026-11-29 youtube mkbhd 21500000

The primary key is the account plus the day, so running the job twice in a day replaces the row instead of duplicating it. Schedule it at the same hour every day:

15 5 * * * cd /srv/history && SOCIALLENS_KEY=sk_live_YOUR_KEY python3 snapshot.py

The growth report

Once the table has more than one day, growth is a self join: the latest row of each account against its oldest row inside the last 30 days.

import sqlite3

db = sqlite3.connect("history.db")
rows = db.execute("""
    SELECT a.platform, a.username, a.followers,
           a.followers - b.followers AS gained,
           ROUND(100.0 * (a.followers - b.followers) / b.followers, 2) AS pct,
           b.day AS since
    FROM snapshots a
    JOIN snapshots b ON b.platform = a.platform AND b.username = a.username
    WHERE a.day = (SELECT MAX(day) FROM snapshots)
      AND b.day = (SELECT MIN(day) FROM snapshots s
                   WHERE s.platform = a.platform AND s.username = a.username
                     AND s.day >= DATE(a.day, '-30 days'))
    ORDER BY gained DESC""").fetchall()

for platform, username, followers, gained, pct, since in rows:
    print(f"{platform:<10} {username:<8} {followers:>12,} {gained:>+10,} {pct:>+6.2f}% since {since}")

On day one, with real data only, it prints zeros, because there is nothing to compare with yet:

instagram  nasa      104,247,626         +0  +0.00% since 2026-11-29
tiktok     nasa        2,255,297         +0  +0.00% since 2026-11-29
youtube    mkbhd      21,500,000         +0  +0.00% since 2026-11-29

To check the query without waiting a month, we copied the database and inserted one made up row per account, dated 30 days back, with 5,000 fewer followers on Instagram and TikTok and 100,000 fewer on YouTube. Those three numbers are invented for the test. The report on that copy:

youtube    mkbhd      21,500,000   +100,000  +0.47% since 2026-10-30
instagram  nasa      104,247,626     +5,000  +0.00% since 2026-10-30
tiktok     nasa        2,255,297     +5,000  +0.22% since 2026-10-30

Node: the same snapshot to a CSV file

import { appendFile } from "node:fs/promises";

const ACCOUNTS = [["instagram", "nasa"], ["tiktok", "nasa"], ["youtube", "mkbhd"]];
const today = new Date().toISOString().slice(0, 10);

for (const [platform, username] of ACCOUNTS) {
  const url = new URL("https://api.sociallens.dev/v1/profile");
  url.search = new URLSearchParams({ platform, username });
  const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.SOCIALLENS_KEY}` } });
  if (res.status !== 200) continue;
  const p = await res.json();
  if (!p.exists) continue;
  const line = [today, platform, username, p.followers, p.is_exact].join(",");
  await appendFile("history.csv", line + "\n");
  console.log(line);
}

Real output:

2026-11-29,instagram,nasa,104247631,true
2026-11-29,tiktok,nasa,2255299,true
2026-11-29,youtube,mkbhd,21500000,false

What to build on top of the table

What to know before you rely on it

Cost to track 100 accounts every day

That is 3,000 reads a month. Prices were read on each vendor's own page on November 29, 2026.

Route What you get Smallest purchase Cost of this workload Free allowance
SocialLens (sociallens.dev) Today's count on 9 networks. You store the history $19 for 8,000 reads, prepaid, never expires $7.13 a month at the Starter rate 250 reads, one time, no card
Social Blade Business API Social Blade's stored statistics Credits: $0.50 each on packs of 100 to 1,000, $0.25 each on 5,000 and 7,500, lower at heavy use Priced per credit, not per daily read. A pack of 100 credits is $50 Paid site plans include 5 to 50 credits a month
SociaVault Today's count. You store the history $29 for 6,000 credits $14.50 a month, at 1 credit per request on most endpoints 50 credits
EnsembleData Today's count on 8 platforms $100 a month for 1,500 units a day $100 a month A free plan with 50 units a day
YouTube Data API Today's count, YouTube only Free $0. A channels.list call costs 1 quota unit 10,000 units a day by default

How to read this table:

Social Blade's site plans are a separate product from its API. Its subscription page lists Gold at $599.99 a year with up to 180 days of table data and Platinum at $1,439.99 a year as the top plan.

When to use Social Blade instead

And when the build is the better choice: you track a fixed list of accounts, on several networks, you want the numbers inside your own product or dashboard, and you would rather pay a few dollars a month than a yearly plan.

Frequently asked questions

Is there an alternative to the Social Blade API?

For current numbers, yes. A public data API such as SocialLens (sociallens.dev) returns the follower count of any public account on 9 networks. For history, the alternative is to store those numbers yourself every day, which this page shows.

Does SocialLens (sociallens.dev) have historical follower data?

No. It returns the count at the moment of the read. History is what you store, and it starts at your first read.

How do I get the follower growth of an account over 30 days?

Read the account once a day, save the number with the date, and subtract the oldest value in the window from the newest. The SQL on this page does it for every account in one query.

How accurate are the daily numbers?

They are the numbers the network shows at the moment of the read. Instagram, TikTok, X, Facebook, Threads and Pinterest counts are exact. YouTube subscriber counts are rounded by YouTube.

Can I track accounts I do not own?

Yes. The reads use public profiles, so there is no login and no permission step. Private data, such as audience demographics, is not available.

What does it cost?

One read is one credit, $0.0024 at the Starter rate. One account tracked daily is about 7 cents a month, and 100 accounts are $7.13. A new account includes 250 free reads.

Run these requests yourself

Every example on this page is a real call to the SocialLens API. A new account starts with 250 free reads, no card needed, and a read that fails is never charged.

Keep reading