Instagram Graph API vs SocialLens: Which to Use (2026)
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:
- A Meta developer app with the Instagram product added.
- A professional account. The people who use your app must have an Instagram professional account, which means business or creator. In the Facebook Login setup the account is also linked to a Facebook Page.
- A login setup. The overview describes three: Unified Login, which Meta recommends for new integrations, Instagram Login and Facebook Login. They differ in host, permissions and features.
- Tokens you keep alive. A short lived token is valid for one hour. You exchange it for a long lived token valid for 60 days and refresh it before it expires.
- The right access level. An app that only serves a business you own or manage runs on Standard Access and needs no review. An app that serves other businesses needs Advanced Access, which requires App Review and Business Verification.
- A rate limit tied to the account. The overview gives the formula: calls within 24 hours equal 4,800 times the number of impressions of the app user's account.
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:
- A user access token with the
instagram_basic,instagram_manage_insightsandpages_read_engagementpermissions, plusads_managementorads_readwhen the Page role was granted through Business Manager. - A target that is a professional account. Personal accounts are outside its scope.
- A target that is not age gated. Meta states that data about age gated professional accounts is not returned.
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:
- The ids are not the same.
idhere is the public shortcode of the post, the one in its URL. The Graph API returns its own numeric media ids. view_countisnullon photos. Only videos and Reels have public views.- The list starts with pinned posts. All three items are from November 3, although the account had posted the day before the read. Sort by
timestampif you need the newest.
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
- Private insights. Reach and audience demographics of an account that authorized you. No public read has them.
- Acting for the account. Publishing posts, answering and moderating comments, and messaging.
- Hashtag search. Available in the Facebook Login and Unified Login setups, through the Instagram Public Content Access feature, which requires App Review.
- Creator discovery inside Meta's marketplace. The Creator Marketplace API filters creators by country and follower range, with its own permission and App Review.
- A first party contract. The data comes from Meta, under Meta's terms, at no charge.
What a public read does that Business Discovery does not
- Personal accounts. Any public profile, whatever its account type.
- No app and no token. There is nothing to review, connect or refresh.
- Explicit answers for missing and private accounts, as shown above.
- Single posts and comments.
/v1/postreads one post by URL and/v1/post-commentsreads its public comments. - Other networks. The same request reads TikTok, YouTube, X, Facebook, Threads, LinkedIn, Pinterest and Reddit, with the same fields.
Which one to use
Use the Graph API if:
- Your product acts for the account: it schedules posts, answers comments or reads private insights.
- The accounts are yours or your customers', and their owners can log in.
- You only need professional accounts and you already run a Meta app. Business Discovery is free.
Use a public data read if:
- The accounts never heard of you: competitors, prospects, applicants, creators on a list.
- Some of them are personal accounts.
- You want a number today and would rather not own an app, a review and a token lifecycle for it.
- You need the same number from other networks.
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:
- The official route is free, and it is the right one when it fits. Professional accounts only, and a setup that takes real time the first time, more when App Review is involved.
- For any public account with no setup, prepaid reads start at $19 and the credits do not expire. A thousand counts cost about $2.
- For Instagram only at high volume, the Apify Actor reaches a similar or lower price per profile. It is a different setup, with runs on Apify.
- Subscriptions make sense at steady daily volume. For a few thousand reads a month they cost far more per read.
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.
Related guides
- How to get an Instagram follower count via API
- Social media APIs compared: official APIs vs one public data API
- Verify social media account ownership without OAuth
- Threads API: exact follower count of any account
- Pinterest API: follower count of any profile and saves of a pin
- How to get likes, views and comments for any post by URL
- TikTok Research API vs a public data API
- Unified Social Media Data API
- EnsembleData alternative: prepaid, no daily cap
- Creator prospecting API: qualify a list by followers
- Best Instagram Data API: Profiles, Posts and Comments