Instagram Graph API vs SocialLens: Which to Use (2026)

Published · 10 min read

Last updated and prices verified: .

Use the Instagram Graph API when your app works for an Instagram account that authorized it: publishing, comments, messages and private insights. Use a public data read when you need the public numbers of an account that never authorized you, personal accounts included, without a Meta app, OAuth or App Review. SocialLens (sociallens.dev) is the second kind: one GET request and one API key return the follower count, the recent posts and their counters for any public profile. It cannot publish, it cannot read private insights and it has no hashtag search. Many products need both.

We run SocialLens (sociallens.dev), so read this as a vendor's comparison. Every statement about Meta's API comes from Meta's own documentation, linked below and read on November 29, 2026. We did not run the official requests, because they need an approved Meta app.

A note on names: Meta's documentation now calls it the Instagram API, part of the Instagram Platform. This page says Graph API because that is the name most developers still search for.

Official API or public read: at a glance

Instagram Graph API SocialLens (sociallens.dev)
Built for Working on behalf of an account that authorized your app Reading the public numbers of any public account
Who has to agree The account owner logs in and grants permissions Nobody. The data is the public profile
Setup before the first call A Meta developer app, an Instagram professional account, a login flow and access tokens One API key
Review App Review and Business Verification to serve accounts you do not own or manage None
Follower count of another account Professional accounts, through Business Discovery Any public account
Personal accounts Not covered Covered when public
Private insights, such as reach and audience Yes, for accounts that authorized you No
Publishing, comment moderation, messages Yes No
Hashtag search Yes, with a feature that requires App Review No
Credentials A token valid for 1 hour, exchanged for one valid for 60 days that you refresh A key that does not expire
Rate limit 4,800 calls per 24 hours multiplied by the account's impressions 60 requests per minute per key
Other networks Instagram only The same request on 8 more networks
Price Free $1.66 to $2.38 per 1,000 reads, 250 free

What the Graph API needs before the first call

From Meta's Instagram Platform overview and its App Review page:

None of this is a flaw. It is what an API that can publish and read private data has to ask for. It is a lot, though, when all you want is a follower count.

Business Discovery: what the official API reads about other accounts

The official way to read an account that did not authorize you is Business Discovery. It returns basic metadata and metrics of other Instagram professional accounts: followers_count, media_count and the media with like_count, comments_count and view_count. The request goes through your own professional account:

curl -G "https://graph.facebook.com/v27.0/YOUR_IG_USER_ID" \
  --data-urlencode "fields=business_discovery.username(bluebottle){followers_count,media_count}" \
  --data-urlencode "access_token=YOUR_ACCESS_TOKEN"

That is the request shape from Meta's documentation, with placeholders. What it asks for, according to the endpoint reference:

Personal accounts have had no official route since December 4, 2024, when Meta shut down the Basic Display API, as announced on its developer blog.

The public read: the same question with one key

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

Real response, read on November 29, 2026, with the avatar, the cache flags, the fields that came back empty and the credits block left out:

{
  "exists": true,
  "username": "bluebottle",
  "platform": "instagram",
  "nickname": "Blue Bottle Coffee",
  "verified": true,
  "private": false,
  "followers": 519431,
  "is_exact": true,
  "following": 805,
  "videos": 2605,
  "bio": "Experience the best of what coffee has to offer.",
  "id": "354032059",
  "external_link": "https://bluebottlecoffee.com/us/eng/shop/holiday-collection",
  "category": "Coffee shop",
  "fetched_at": "2026-11-29T03:51:57Z"
}

@bluebottle is the account Meta uses in its Business Discovery examples. The sample response in the documentation shows 267,793 followers and 1,205 media, numbers frozen when the page was written. The live read above returned 519,431 followers and 2,605 posts, in the followers and videos fields.

Python: the Business Discovery fields from public reads

If your code already expects the official field names, two public reads can fill them. This helps when the target is a personal account, or when you do not have a token yet.

import json
import os

import requests

API = "https://api.sociallens.dev/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['SOCIALLENS_KEY']}"}


def read(endpoint, **params):
    r = requests.get(f"{API}/{endpoint}", params=params, headers=HEADERS, timeout=90)
    r.raise_for_status()
    return r.json()


def business_discovery_shape(username, media_limit=3):
    """Public reads, returned with the field names Business Discovery uses."""
    p = read("profile", platform="instagram", username=username)
    if not p["exists"] or p["private"]:
        return None
    feed = read("profile-posts", platform="instagram", username=username, limit=media_limit)
    return {
        "username": p["username"],
        "followers_count": p["followers"],
        "follows_count": p["following"],
        "media_count": p["videos"],
        "media": {"data": [
            {"id": x["id"], "permalink": x["url"], "timestamp": x["published_at"],
             "like_count": x["likes"], "comments_count": x["comments"], "view_count": x["views"]}
            for x in feed["posts"]
        ]},
    }


print(json.dumps(business_discovery_shape("bluebottle"), indent=2))

The real output:

{
  "username": "bluebottle",
  "followers_count": 519432,
  "follows_count": 805,
  "media_count": 2605,
  "media": {
    "data": [
      {
        "id": "DfSmLOzvPCz",
        "permalink": "https://www.instagram.com/p/DfSmLOzvPCz/",
        "timestamp": "2026-11-03T19:07:55Z",
        "like_count": 432,
        "comments_count": 8,
        "view_count": null
      },
      {
        "id": "DfSmEVSvZPj",
        "permalink": "https://www.instagram.com/p/DfSmEVSvZPj/",
        "timestamp": "2026-11-03T19:07:26Z",
        "like_count": 322,
        "comments_count": 2,
        "view_count": 17256
      },
      {
        "id": "DfSl7ekP_Xj",
        "permalink": "https://www.instagram.com/p/DfSl7ekP_Xj/",
        "timestamp": "2026-11-03T19:05:48Z",
        "like_count": 595,
        "comments_count": 4,
        "view_count": null
      }
    ]
  }
}

Three differences from the official response to keep in mind:

Node: the three answers a public read gives

// Usage: node followers.mjs bluebottle
const username = process.argv[2];
const url = new URL("https://api.sociallens.dev/v1/profile");
url.search = new URLSearchParams({ platform: "instagram", username });

const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.SOCIALLENS_KEY}` } });
const body = await res.json();

if (res.status !== 200) {
  console.log(`HTTP ${res.status} ${body.error}: not charged`);
} else if (!body.exists) {
  console.log(`@${username} does not exist`);
} else if (body.private) {
  console.log(`@${body.username} is private, followers: ${body.followers}`);
} else {
  console.log(`@${body.username}: ${body.followers} followers, ${body.videos} posts, verified: ${body.verified}`);
}

Real output for an account that exists and for a handle that does not:

$ node followers.mjs bluebottle
@bluebottle: 519431 followers, 2605 posts, verified: true

$ node followers.mjs no.such.handle.2911
@no.such.handle.2911 does not exist

A private account comes back as a 200 with private: true. A handle that does not exist comes back as a 200 with exists: false. Both are answers and cost one read. Error statuses cost nothing.

What only the Graph API can do

What a public read does that Business Discovery does not

Which one to use

Use the Graph API if:

Use a public data read if:

Use both if your users connect their own account for insights and publishing, and you also show public numbers for accounts that are not connected. That is a common design: the Graph API for the connected side, a public read for everyone else.

Cost per 1,000 Instagram follower counts

Prices were read on each vendor's own page on November 29, 2026.

Route Accounts it reads What you set up Cost per 1,000 follower counts
Instagram Graph API, Business Discovery Professional accounts A Meta app, a professional account and tokens. App Review to serve other businesses $0 in API fees
SocialLens (sociallens.dev) Any public account, by handle One API key $2.38 (Starter, $19 for 8,000), $1.98 (Pro, $79 for 40,000), $1.66 (Scale, $299 for 180,000). 250 free reads
Apify Instagram Profile Scraper Any public account An Apify token and a run $2.60 on the Free plan, down to $1.60 on Business
SociaVault Any public account One API key $4.83 at the Starter rate, $2.00 on the $399 pack, with most endpoints at 1 credit
EnsembleData Any public account, by numeric user ID A monthly subscription $4.44 on the $100 plan when every daily unit is used. Its documentation prices the follower count by user ID at 2 units
Data365 Public accounts A contact form and a monthly plan 5.40 euros on Basic, where a profile is 9 credits, with a floor of 300 euros a month
Phyllo Accounts whose owner connects them An SDK integration and a contract No public prices

How to read this table:

Frequently asked questions

Do I need App Review to read another account's follower count?

With the official API it depends on who the app serves. Meta's App Review page says an app that only serves a business you own or manage runs on Standard Access with no review. An app that serves other businesses needs Advanced Access, which requires App Review. With a public data API such as SocialLens (sociallens.dev) there is no review, because there is no Meta app.

Can the Instagram Graph API read personal accounts?

No. It works with professional accounts, and Business Discovery reads other professional accounts only. The Basic Display API, which served personal accounts, was shut down on December 4, 2024.

Is the public follower count the same number the Graph API returns?

Both report the follower count Instagram shows for the account. Small differences come from the moment of each read, since the count changes all the time.

Can a public data API return reach or audience demographics?

No. Those are private to the account owner and come only through the official API after the owner authorizes your app.

Is SocialLens (sociallens.dev) an official Instagram API?

No. It is an independent service that reads public profile data, and it is not affiliated with Meta. It reads only what the public profile shows. Whether that fits your use case and your obligations is for you to check.

Can I use both in the same product?

Yes. Use the Graph API for accounts that connect to your app and a public read for accounts that do not. The Python function on this page returns the Business Discovery field names so the two sides can share code.

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