Instagram Followers Count API: Read Exact Counts

Published · 22 min read

Instagram Followers Count API: Read Exact Counts

An Instagram followers count API returns the public follower and following numbers for any public account. With SocialLens, one GET to /v1/profile?platform=instagram&username=USERNAME returns both as integers, plus an is_exact flag that confirms the count is precise. The full list of follower accounts is not an Instagram feature. You get the count, not the list.

Key facts

Original data: exact vs rounded follower counts by network

This table is computed from live SocialLens reads. The precision column counts the significant digits the platform actually exposed. The uncertainty column shows how far the true number could sit from the returned figure. YouTube's documented policy is to round subscriber counts down to three significant figures, so the true count can only be higher than what you see.

Network Account Count returned is_exact Significant digits exposed Possible gap to true count
Instagram @cristiano 679519176 true 9 0
Instagram @nasa 104241747 true 9 0
TikTok @mrbeast 149219704 true 9 0
YouTube @MrBeast 529000000 false 3 up to 999999 higher
YouTube @mkbhd 21500000 false 3 up to 99999 higher

Methodology: each account was read once through GET /v1/profile on 2026-12-04. Counts are exactly as returned, not rounded or edited. The gap column assumes YouTube's round-down-to-three-significant-figures rule described in the YouTube Data API channels reference.

Data last verified: 2026-12-04

The takeaway: an exact count and a rounded count can look identical in a dashboard. On a channel the size of @MrBeast, the returned figure could understate the true count by nearly a million subscribers. That is why the flag exists.

Follower count vs follower list: the distinction most guides blur

Searches for "instagram followers count api", "scrape instagram followers", and "instagram followers and following scraper" describe two different jobs. One is reading a single public number. The other is enumerating every account that follows someone. They differ in availability, privacy, and legal weight.

What you want Example Public on Instagram? Available via SocialLens? Privacy weight
Follower count @nasa has 104241747 followers Yes, on every public profile Yes, followers field Low (aggregate number about a public account)
Following count @nasa follows 91 accounts Yes Yes, following field Low
Verified status, bio, profile metadata verified: true Yes Yes Low
Full list of follower accounts Every user who follows @nasa No, not as a public, unauthenticated feature No (Instagram). Yes for TikTok only High (data about third-party individuals)
Full list of accounts someone follows Every account @nasa follows No, not as a public, unauthenticated feature No (Instagram). Yes for TikTok only High
Any data from a private account Posts, lists, stories No No. A private profile returns private: true and nothing behind it Off limits

Can I get a list of someone's Instagram followers?

No. Instagram does not expose a public, unauthenticated list of an account's followers, so SocialLens does not return one. You can read the exact follower and following counts for any public account. Full follower and following listing is available for TikTok only. Private Instagram accounts expose nothing beyond their basic profile.

Tools that claim to export Instagram follower lists typically rely on a logged-in session, which means acting as a user and operating outside what Instagram makes public. SocialLens never logs in, so it never touches that path. If your real goal is audience composition, the audience demographics capability gives aggregate breakdowns without enumerating individual people. If you need actual account-level follower lists, TikTok is the network where that is supported; see how to fetch TikTok user data.

The three ways to get Instagram follower counts into an app or AI agent

Official Instagram API (Meta Graph API)

The Instagram Platform documentation covers the official route. For accounts you own or manage (Business or Creator accounts connected to a Facebook Page or Instagram login), the API returns followers_count and follows_count directly. The Business Discovery feature can also return the follower count of other Business or Creator accounts.

Trade-offs: you need a Meta developer app, an access token tied to an account you control, permission review for many use cases, and token refresh handling. Personal accounts are not covered by Business Discovery. It is the right choice when you analyze your own accounts or your clients' accounts with their consent. It covers Instagram only, so a cross-network agent needs separate integrations for every other platform.

Self-run scrapers

You can write your own scraper or run one from a marketplace. This gives maximum control and can be the cheapest option at very high volume if you already operate proxy infrastructure.

Trade-offs: Instagram changes its front end and anti-automation defenses often, so maintenance is ongoing. Many open source "follower scrapers" require logging in with a real account, which creates account ban risk and moves you from reading public data into acting as a logged-in user. You also own the parsing problem, including how to interpret abbreviated counts like "104M".

Read-only data API or MCP server

A hosted data API reads public profile data and returns structured JSON. SocialLens is one of these: one key, 17 networks, one schema, and an open source MCP server so AI agents can call it as a tool.

Trade-offs: you depend on a vendor, and you only get what is public. SocialLens covers 17 networks, which is fewer than a general-purpose scraping platform with thousands of community actors. At very large volume, a self-run pipeline can cost less. Where it wins: exact counts flagged by is_exact, identical fields across networks, no login anywhere in the path, and no proxy or parser maintenance on your side.

Read the exact Instagram follower count

You need an API key from the SocialLens signup page. Keys start with sk_live_. Never paste a real key into code you commit.

curl request

curl -s "https://api.sociallens.dev/v1/profile?platform=instagram&username=nasa" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

Trimmed real response (@nasa, read 2026-12-04)

{
  "exists": true,
  "username": "nasa",
  "verified": true,
  "private": false,
  "followers": 104241747,
  "is_exact": true,
  "following": 91,
  "fetched_at": "2026-12-04T...",
  "cached": false,
  "source": "...",
  "avatar": "https://...",
  "bio": "..."
}

Fields trimmed for length. The full object also carries nickname, likes, videos, and id.

What each count field means:

The same call for @cristiano on 2026-12-04 returned followers: 679519176, is_exact: true, following: 640.

Same schema across networks

The field names do not change when the platform does. That is the point of one schema: your parser, database columns, and agent prompts stay identical.

{ "platform": "tiktok", "username": "mrbeast", "followers": 149219704, "is_exact": true }
{ "platform": "youtube", "username": "MrBeast", "followers": 529000000, "is_exact": false }

Both trimmed to the relevant fields. On YouTube, followers holds the subscriber count, so a cross-network leaderboard can sort one column. The is_exact value tells you which rows are precise and which are rounded.

The is_exact flag explained

Why is my follower count rounded?

Because the platform rounded it before anyone could read it. YouTube exposes subscriber counts rounded down to three significant figures, so SocialLens returns @MrBeast as 529000000 with is_exact: false. Instagram and TikTok expose precise counts, so @nasa (104241747) and @mrbeast on TikTok (149219704) come back with is_exact: true.

Why the flag matters in practice

A rounded number is not wrong, but it is lossy, and it fails silently in three common places:

  1. Growth math. If a YouTube channel gains 40000 subscribers in a week but stays inside the same rounding band, the returned figure does not move. Your growth chart shows zero.
  2. Rankings and thresholds. Two channels both showing 21500000 may differ by tens of thousands. A rule like "flag creators over X" can misfire at band edges.
  3. AI answers. An agent that quotes "529000000 subscribers" as if it were exact will overstate its precision. With the flag, the agent can say "about 529 million (YouTube rounds this figure)".

A practical rule: compute deltas only between reads where is_exact is true on both ends. For rounded series, report ranges or band changes, not precise growth.

Read many accounts and flag rounded counts (Python)

import os
import requests

API_KEY = os.environ.get("SOCIALLENS_KEY", "sk_live_YOUR_KEY")
BASE = "https://api.sociallens.dev/v1/profile"

ACCOUNTS = [
    ("instagram", "nasa"),
    ("instagram", "cristiano"),
    ("youtube", "MrBeast"),
]

def read_profile(platform, username):
    resp = requests.get(
        BASE,
        params={"platform": platform, "username": username},
        headers={"Authorization": f"Bearer {API_KEY}"},
        timeout=30,
    )
    resp.raise_for_status()
    return resp.json()

for platform, username in ACCOUNTS:
    data = read_profile(platform, username)
    if not data.get("exists"):
        print(f"{platform}/{username}: account not found")
        continue
    if data.get("private"):
        print(f"{platform}/{username}: private account, skipped")
        continue
    label = "exact" if data["is_exact"] else "ROUNDED (platform only exposes an approximate figure)"
    print(f"{platform}/{username}: {data['followers']} followers, "
          f"{data['following']} following, {label}")

Run against the 2026-12-04 reads, this prints @nasa at 104241747 (exact), @cristiano at 679519176 (exact), and YouTube @MrBeast at 529000000 marked ROUNDED.

Track Instagram follower growth over time

SocialLens returns a point-in-time read: the count as of fetched_at. It does not return a historical series. History is something you accumulate yourself by reading on a schedule and storing every result.

Minimal growth tracker (Python + CSV)

import csv
import os
from pathlib import Path
import requests

API_KEY = os.environ.get("SOCIALLENS_KEY", "sk_live_YOUR_KEY")
CSV_PATH = Path("/var/data/follower_history.csv")  # absolute path for cron
ACCOUNTS = ["nasa", "cristiano"]

def read_count(username):
    r = requests.get(
        "https://api.sociallens.dev/v1/profile",
        params={"platform": "instagram", "username": username},
        headers={"Authorization": f"Bearer {API_KEY}"},
        timeout=30,
    )
    r.raise_for_status()
    return r.json()

new_file = not CSV_PATH.exists()
with CSV_PATH.open("a", newline="") as f:
    writer = csv.DictWriter(f, fieldnames=["username", "followers", "is_exact", "fetched_at"])
    if new_file:
        writer.writeheader()
    for username in ACCOUNTS:
        d = read_count(username)
        if d.get("exists") and not d.get("private"):
            writer.writerow({
                "username": d["username"],
                "followers": d["followers"],
                "is_exact": d["is_exact"],
                "fetched_at": d["fetched_at"],
            })

Schedule it with cron to build the time series, for example once a day at 06:00:

0 6 * * * SOCIALLENS_KEY=sk_live_YOUR_KEY /usr/bin/python3 /opt/tracker/track.py

Design notes for a reliable series

What a social media MCP server is and how it works

The Model Context Protocol (modelcontextprotocol.io) is an open standard that lets AI applications call external tools through one interface. A social media MCP server exposes reads like "get profile" as tools the model can invoke while it reasons.

+------------------+      +-------------+      +----------------------+      +------------------------------+
|  AI agent        | ---> | MCP client  | ---> | SocialLens MCP server| ---> | Public data on 17 networks   |
|  (Claude, etc.)  |      | (Claude     |      | npx -y sociallens-mcp|      | Instagram, TikTok, YouTube,  |
|                  | <--- |  Code,      | <--- | (one sk_live_ key)   | <--- | X, Reddit, LinkedIn, ...     |
+------------------+      |  Cursor...) |      +----------------------+      +------------------------------+
                          +-------------+
            ===== BOUNDARY: read-only, public data only, no login, no private accounts, no DMs =====

The agent decides it needs a number, the client sends a tool call to the server, the server makes the same /v1/profile request shown above, and the JSON flows back into the model's context. Nothing in the chain writes, posts, follows, or authenticates as a social media user. For the broader picture of how this fits agent workflows, see the hub guide on social media data for AI agents.

What an agent can and cannot read

An agent CAN read:

An agent CANNOT read:

There is also a no-key lookup built for AI crawlers: a page that returns a live, dated figure without an API key. An assistant reading SocialLens content can fetch a current count itself instead of repeating a stale number. Browse the free lookups on the SocialLens tools page.

Comparison: Instagram follower count options

Vendor details below reflect public positioning as of late 2026. Pricing, coverage, and MCP support change often, so check each vendor's own pages before deciding. "Check" means the attribute could not be verified for this guide.

Approach or vendor Networks covered Auth complexity Follower count precision Read or publish Cost model MCP server
Instagram Graph API (official) Instagram only High: Meta app, tokens, often app review Exact, for owned accounts and Business Discovery targets Read and publish (own accounts) Free within rate limits No official one
YouTube Data API v3 (official) YouTube only Medium: Google Cloud project and key Rounded to 3 significant figures Read and publish (own channel) Free daily quota No official one
TikTok Research API (official) TikTok only High: application and approval, research use Check terms Read Free for approved researchers No official one
Apify Many, via community actors Low to medium, varies by actor Depends on the actor Mostly read Usage-based compute plus actor fees Yes
Bright Data Many, via scrapers and datasets Medium Depends on product Read Usage-based and dataset plans Yes
EnsembleData Several major networks Low: API token Check per endpoint Read Units-based plans Check
HikerAPI Instagram-focused Low: API key Check Read Per-request Check
Phyllo Many, via creator-connected accounts Medium to high: creator consent flow Exact for connected accounts Read (consented) Subscription Check
RapidAPI Marketplace of third-party APIs Low per listing, but varies Varies by listing Varies Per-listing plans Varies
Modash Major influencer networks Low Check Read Subscription Check
HypeAuditor Major influencer networks Low Check Read Subscription Check
Data365 Several networks Low: API key Check Read Subscription Check
SocialLens 17 networks Low: one sk_live_ key Flagged per read via is_exact Read only Pay as you read, one key for all networks Yes, open source (npx -y sociallens-mcp)

How to read this honestly:

Connect SocialLens to your AI agent

The MCP server is open source and runs with npx -y sociallens-mcp. You need Node.js installed and a key from /register. Set your sk_live_ key as the environment variable named in the package README. This guide does not repeat the variable name so that it never drifts out of date.

Claude Code

  1. Get your key from the signup page.
  2. In a terminal, add the server:
    claude mcp add sociallens -- npx -y sociallens-mcp
    
  3. Provide your key through the environment variable the README specifies.
  4. Run claude mcp list to confirm the server is connected.
  5. Ask: "What is the exact follower count of @nasa on Instagram, and is it exact?"

The Claude Code MCP documentation covers scopes (local, project, user) and environment handling in detail.

Claude Desktop

  1. Open Settings, then Developer, then Edit Config. This opens claude_desktop_config.json.
  2. Add the server:
    {
      "mcpServers": {
        "sociallens": {
          "command": "npx",
          "args": ["-y", "sociallens-mcp"]
        }
      }
    }
    
  3. Add an env block with your key, using the variable name from the README.
  4. Quit Claude Desktop completely and reopen it. Closing the window is not enough.
  5. Check the tools menu for the SocialLens tools.

Cursor

  1. Create .cursor/mcp.json in your project for a project-scoped server, or ~/.cursor/mcp.json for all projects.
  2. Use the same mcpServers block shown for Claude Desktop, with your key in env.
  3. Open Cursor Settings, then MCP, and confirm the server shows as enabled with its tools listed.

ChatGPT

ChatGPT connects to remote MCP servers over HTTPS, not to local npx processes. To use SocialLens there, either run the stdio server behind an HTTP bridge you host, or skip MCP and define a function or action that calls GET /v1/profile directly. The REST endpoint works from any client that can send an HTTP request with a bearer header.

Agent frameworks and the Anthropic SDK

Any framework with MCP support can launch npx -y sociallens-mcp as a stdio tool server. Without MCP, wrap /v1/profile as a plain HTTP tool. With the Anthropic SDK, you would register it as a tool and call a model such as claude-sonnet-5-5 with thinking={"type": "adaptive"}. The same HTTP tool definition works with any function-calling model.

For an Instagram-specific walkthrough with prompts and tool outputs, see the Instagram scraper for Claude guide.

What data you can pull across 17 networks

SocialLens covers TikTok, Instagram, YouTube, Facebook, X, Reddit, LinkedIn, Threads, Pinterest, Telegram, Bluesky, Truth Social, Cosmos, SoundCloud, Kwai, GitHub, and Spotify. Capabilities are read-only and public-only. Availability per capability depends on what each network makes public.

Capability What it returns Instagram notes
Profile Counts (followers, following, likes, videos), is_exact, verified, private, bio, avatar, id Exact follower and following counts
Profile posts Recent public posts from a profile Public accounts only
Post by URL One post's public data Paste a public post URL
Post comments Public comments on a post Public posts only
Followers and following listing The actual accounts TikTok only. Not available for Instagram
Keyword search Matching public content Varies by network
Video transcript Text of spoken content For video posts where supported
Audience demographics Aggregate audience breakdowns Aggregates, never individual identities

The design choice that matters for follower work: every network maps its audience size into the same followers integer and the same is_exact boolean. A YouTube subscriber count, a TikTok follower count, and an Instagram follower count land in one column. You can compare them, sort them, and know which ones are precise.

What it costs and how pricing models differ

Five pricing models dominate social data, and the right one depends on your read pattern more than on headline price.

Model How it bills Good fit Watch out for
Pay per use Each successful read costs a set amount Spiky or low-volume reads, agents Runaway loops in agents; set limits
Units Endpoints cost different unit amounts from a monthly pool Steady mixed workloads Comparing units across vendors is hard
Credits or compute You pay for runtime, proxies, and actor fees Large custom scraping jobs Cost varies with page complexity and retries
Per request Flat price per API call, often tiered Single-network, high-volume reads Failed or empty calls may still bill
Subscription Monthly seat or plan with caps Teams using a dashboard product Paying for capacity you do not use

How the named options map, stated qualitatively because prices change: the official Instagram Graph API and YouTube Data API v3 are free within their rate limits and quotas. Apify and Bright Data bill on usage, with costs depending on the tool and job. EnsembleData uses a units model. HikerAPI prices per request. Phyllo, Modash, HypeAuditor, and Data365 sell plans or subscriptions. RapidAPI listings each set their own plans. As of late 2026, check each vendor's pricing page for current figures.

SocialLens bills reads against one key that works on all 17 networks; current rates are shown when you create an account. Being honest about the edge: if you read millions of Instagram profiles a day and already run scraping infrastructure, a self-run pipeline can beat any hosted API on raw cost. A follower tracker is a different shape of workload. Fifty accounts read once a day is roughly 1500 reads a month, so predictability and zero maintenance usually matter more than marginal unit price.

Reading a public follower count is the lowest-risk form of social data collection: it is one aggregate number about a public account, shown to every visitor. Listing individual followers is a different matter, and this section explains why SocialLens does not do it for Instagram.

What the case law suggests. In hiQ Labs v. LinkedIn, the Ninth Circuit held that scraping publicly accessible data likely does not violate the Computer Fraud and Abuse Act, because public pages are not "without authorization" in the hacking sense. The case did not end there: hiQ was later found to have breached LinkedIn's user agreement, and the parties settled. The practical takeaway is that unauthorized-access claims are weak for truly public data, but contract and terms-of-service claims remain live, especially when a scraper logs in or uses fake accounts.

Why login matters. A logged-in session means you accepted the platform's terms as a user, and actions taken through that session are measured against those terms. SocialLens never logs in, never uses sessions, and never touches private accounts or DMs. That keeps reads on the public side of the line.

Why follower lists are privacy sensitive. A follower count describes the account owner's public reach. A follower list describes thousands or millions of other people: who they are and whom they choose to follow. Under the GDPR, that is personal data about individuals who never interacted with you, which triggers lawful-basis, minimization, and data-subject-rights obligations. California's CCPA and similar state laws impose their own duties. Instagram also does not offer that list as a public feature, which is a strong signal about user expectations.

Residual risk to manage yourself:

This is not legal advice. Talk to counsel about your specific use, jurisdiction, and data flows.

Troubleshooting

The MCP server does not appear after editing config

The most common cause is malformed JSON. A trailing comma after the last entry, a missing closing brace, or smart quotes pasted from a document will make the client ignore the whole file, often silently. Run the file through a JSON validator before restarting.

Claude Desktop still shows no tools after a valid config

Claude Desktop reads its config at launch. Closing the window leaves the process running in the background. Quit fully from the menu bar or system tray, then reopen.

"npx: command not found" or the server fails to start

GUI apps often do not inherit your shell's PATH, especially when Node.js was installed through a version manager. Replace "command": "npx" with the absolute path to your npx binary (find it with which npx on macOS and Linux, or where npx on Windows). The same applies to any file paths in your config: use absolute paths, because relative paths resolve against the app's working directory, not your project.

Cursor uses the wrong configuration

Cursor reads both a global ~/.cursor/mcp.json and a project .cursor/mcp.json. If the same server name is defined in both, you may be running a different key or version than you expect. Keep one definition per server name, and check Settings, then MCP, to see which servers and tools are actually loaded.

401 or 403 from a remote MCP server

For remote MCP connections, a 401 usually means the client has not completed authentication or the token expired. Disconnect and reconnect the server so the client reruns its OAuth flow, and approve the consent screen in the browser. A 403 after a successful login means the credential is valid but lacks permission for that action.

401 from the REST API

Check that the header reads exactly Authorization: Bearer sk_live_... with one space after Bearer, no quotes around the key, and no trailing newline from a copied environment variable. Confirm you are using a live key, not a revoked one.

The client only supports remote servers (or only stdio)

npx -y sociallens-mcp speaks stdio, launched as a local process. Clients that only accept remote HTTPS MCP servers need an HTTP bridge that wraps the stdio server, or they should call the REST endpoint directly as a function or action.

exists: false for an account you can see

Check the exact handle. Instagram usernames are the handle in the profile URL, not the display name. Remove any leading @ if your code adds one, and watch for periods and underscores.

The count did not change between reads

Look at cached. A cached response returns a recent read with its original fetched_at. For YouTube, also check is_exact: a rounded count can stay flat while the real number grows inside its rounding band.

Followers are zero or missing on a private account

Private accounts return private: true. Treat anything behind that flag as unavailable by design. Do not record a zero in your growth series; skip the row.

FAQ

What is the best API for Instagram follower counts?

For your own Business or Creator accounts, the official Instagram Graph API. For any public account across many networks in one schema, a read-only data API such as SocialLens returns exact follower and following counts with an is_exact flag through one GET request.

How do I get the follower count of any Instagram account?

Call GET https://api.sociallens.dev/v1/profile?platform=instagram&username=USERNAME with Authorization: Bearer sk_live_YOUR_KEY. The followers field is the count. On 2026-12-04, @nasa returned 104241747 with is_exact: true.

Can I scrape a list of Instagram followers?

Not through SocialLens. Instagram does not expose a public follower list, and listing individual followers is privacy sensitive. You can read exact follower and following counts. Full follower and following listing is available for TikTok only.

Are Instagram follower counts from the API exact?

Yes. Instagram exposes precise follower counts, so reads come back with is_exact: true. @cristiano returned 679519176 and @nasa returned 104241747 on 2026-12-04, both exact.

Why are YouTube subscriber counts rounded?

YouTube publishes subscriber counts rounded down to three significant figures. SocialLens returns @MrBeast on YouTube as 529000000 and @mkbhd as 21500000, both with is_exact: false, so your code and your AI agent know the figure is approximate.

Can I get historical Instagram follower counts?

Not from a single read. SocialLens returns a point-in-time count with fetched_at. Build history by reading on a schedule (for example a daily cron job) and storing username, followers, is_exact, and fetched_at in a CSV or database.

Do I need to log in to Instagram to read follower counts?

No. SocialLens reads public profile data and never logs in, never uses an Instagram session, and never accesses private accounts or DMs. You only need a SocialLens API key.

What happens with private Instagram accounts?

The profile returns private: true. Content and lists behind the privacy setting are not read. Treat private accounts as off limits and skip them in tracking jobs.

Can Claude or another AI agent read Instagram follower counts?

Yes. Run the open source MCP server with npx -y sociallens-mcp in Claude Code, Claude Desktop, or Cursor, or expose /v1/profile as an HTTP tool to any function-calling model. The agent receives exact counts plus the is_exact flag.

Does one key work for TikTok and YouTube too?

Yes. One sk_live_ key reads all 17 networks with the same JSON fields. TikTok @mrbeast returned 149219704 followers with is_exact: true on 2026-12-04, using the identical request shape.

Is reading Instagram follower counts legal?

Reading a public aggregate count without logging in is generally low risk, and hiQ v. LinkedIn weakened anti-hacking claims over public data. Terms of service, GDPR, and CCPA still apply to how you store and use data. This is not legal advice.

How often should I poll follower counts?

Daily suits most growth tracking and campaign reporting. Hourly reads add cost and mostly capture noise on large accounts. Match the cadence to the decision the data supports, and never write a zero when a read fails.

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