Instagram API integration in 2026: both auth paths, the real rate limit formula, app review, token refresh and the demographics gap. Every claim sourced.
- Instagram API integration in 2026 runs on two login paths, because Meta shut the Basic Display API down on 4 December 2024.
- Instagram Login removes the Facebook Page requirement, while Facebook Login keeps Business Discovery and hashtag search.
- The rate limit is 4800 × impressions over a rolling 24 hours, not 200 calls per hour, so small accounts get a tiny budget.
- Meta deprecated the impressions metric on 21 April 2025, so insights calls should request views instead.
- Short-lived tokens last 1 hour and long-lived tokens 60 days, and audience demographics are only available to the account owner.
Last updated: 29 October 2026. Verified against Meta's Instagram Platform documentation and Graph API rate limiting reference.
Start here
Instagram API integration in 2026 is a different job than it was two years ago. Basic Display is gone, app review is mandatory, there are now two separate login paths, and the rate limit everyone quotes is not the one Meta actually enforces.
The good news is that none of this is hard once you know it. The bad news is that most guides, including an earlier version of this one, get at least one of those four things wrong, and you usually find out in production.
This page covers the whole integration: which auth path to pick, how to set it up, the scopes that matter, what you can and cannot access, the real limits, how to survive app review, and where the genuine data gaps are. Every technical claim traces to Meta's documentation.
Three corrections we owe you
An earlier version of this guide carried three errors. Two of them would cost you a debugging session, and one would cost you an architecture decision.
The rate limit was wrong. We said 200 API calls per user per hour, and added that 1,000 users means 200,000 calls per hour. The real formula for Instagram Platform endpoints is 4800 × impressions over a rolling 24 hours. The two numbers behave completely differently: the real one scales with your users' reach, which means a brand-new creator account gives you almost no call budget at all. Our own Instagram API guide has this right, and the two pages contradicted each other. This one was wrong.
The insights example used a deprecated metric. We showed metric=impressions,reach,profile_views. Meta removed impressions in v22.0 and deprecated it across all versions on 21 April 2025. That call now fails or returns nothing useful. The replacement is views, with follower_type and media_product_type breakdowns.
We left out Instagram Login entirely. The old guide walked through creating a Business app, linking a Facebook Page and requesting pages_show_list, which is the Facebook Login path, and then gave example calls against graph.instagram.com, which belongs to Instagram Login. Those are two different products. Worse, we spent a whole section complaining that the Facebook Page requirement creates onboarding friction without mentioning the Meta product that removes it. Both paths are covered properly below.
One more thing worth knowing. Meta's own Instagram APIs product page still advertises the Basic Display API as available, describing it as being for "owners of Instagram Personal, Business, and Creator accounts," nearly two years after shutting it down. That stale marketing page is a large part of why so many tutorials still point developers at a dead API. If you land there, check the documentation and changelog rather than the product page.
Why creator economy companies need this
Instagram passed 3 billion monthly active users in September 2025, when Mark Zuckerberg announced the milestone, and it remains the primary platform for influencer marketing. A creator's identity, audience and engagement data all live inside Instagram, and the walls are high by design.
Without API access you have three bad options: manual collection, which does not scale; scraping, which breaks Meta's terms and produces unreliable data; or third-party estimates, which are approximations with no first-party accuracy guarantee.
What different teams need from the integration:
Influencer marketing platforms verify creator identity, pull engagement metrics, access audience demographics and monitor brand mentions across thousands of creators.
Creator tools such as media kit builders and analytics dashboards need authenticated access to a creator's own private metrics, the reach, saves and story views that are invisible publicly.
Background verification platforms access a candidate's public content history for social screening.
Fintech and creator lending verify audience authenticity before extending advances or insurance.
Brand safety tools scan an influencer's historical content across posts, Reels and Stories before campaign sign-off.
Which Instagram API path should you use?
This is the decision that shapes everything downstream, and it comes first.
| Instagram API with Instagram Login | Instagram API with Facebook Login | |
|---|---|---|
| Host | graph.instagram.com | graph.facebook.com |
| Login product | Business Login for Instagram | Facebook Login for Business |
| Facebook Page required? | No | Yes |
| Credentials | Separate Instagram App ID and Secret | Facebook App ID and Secret |
| Scope prefix | instagram_business_* | instagram_* plus pages_* |
| Business Discovery | Not available | Available |
| Hashtag search | Not available | Available |
| Ads and tagging | Not available | Available |
| Best for | Creator tools, dashboards, DM products | Anything needing competitor data or ads |
The practical rule: pick Instagram Login unless you need a capability only the Facebook path has. The Facebook Page requirement is the single biggest drop-off point in creator onboarding, and Instagram Login eliminates it. If you need Business Discovery to read other creators' public follower counts, or hashtag search for UGC discovery, you need Facebook Login and you keep the Page requirement.
You cannot mix them. The host, the credentials and the scope names all differ.
How to get Instagram data: three methods compared
1. Scraping
The most common approach among agencies and the worst for production. It reaches only publicly visible data, misses private metrics entirely, breaks Instagram's terms, and produces quality that varies wildly between providers. Instagram actively detects and blocks it, and Meta has pursued legal action. Do not build a product on it.
2. Third-party aggregators
Platforms that resell Instagram data collected from mixed sources. Audience profiles are approximations rather than platform-verified figures, refresh frequencies are low, private metrics are unavailable, and there is no audit trail for provenance, which is a compliance problem waiting to happen.
3. Official API integration
The only compliant and reliable method. You get first-party, creator-consented data in real time, the same numbers the creator sees in their own dashboard, including private metrics and audience demographics that no other method can reach.
The trade-off is engineering effort, app review, ongoing maintenance and a rate limit strategy. The rest of this guide covers each of those.
Setting up: step by step
Step 1: Create a Meta Developer account
Go to developers.facebook.com and sign in. This becomes your developer identity for all Meta work.
Step 2: Create an app
My Apps, then Create App. Choose the use case that matches what you are building. Enter your app name, contact email and link a Business Manager account if you have one.
Step 3: Add the right Instagram product
This is where the two paths diverge.
For Instagram Login: add Instagram and configure Business Login for Instagram. Note that this generates a separate Instagram App ID and Instagram App Secret, displayed separately from your Facebook app credentials. Mixing these up is one of the most common setup failures.
For Facebook Login: add Instagram and configure Facebook Login for Business. You use your Facebook App ID and Secret.
Step 4: Prepare the Instagram account
Any account connecting to your app must be Business or Creator. Personal accounts have had no API path since December 2024.
If you went the Facebook Login route, the account must also be connected to a Facebook Page. If you went Instagram Login, it does not.
Step 5: Configure OAuth and pick your scopes
Add your redirect URIs, absolute HTTPS, registered exactly. Store your App Secret server-side and never in client code.
Instagram Login scopes:
| Scope | What it enables |
|---|---|
instagram_business_basic | Profile data and media |
instagram_business_content_publish | Publish posts, Reels, Stories |
instagram_business_manage_comments | Read and respond to comments |
instagram_business_manage_insights | Impressions, reach, engagement, demographics |
instagram_business_manage_messages | Read and send DMs, requires additional approval |
Facebook Login scopes:
| Scope | What it enables |
|---|---|
instagram_basic | Profile data and media |
instagram_content_publish | Publish on behalf of the user |
instagram_manage_comments | Comment moderation |
instagram_manage_insights | Insights and audience demographics |
instagram_manage_messages | DMs, requires additional approval |
pages_show_list | List connected Facebook Pages |
pages_read_engagement | Read Page engagement |
Request only what you ship. Over-requesting is the most common reason app review stalls or gets rejected, and reviewers do ask why you want a permission your demo never uses.
Step 6: Implement the OAuth flow
Standard authorization code flow, with one Instagram-specific wrinkle that catches people.
- Redirect the user to Meta's authorization URL with your App ID, redirect URI and scopes
- The user logs in and approves
- Meta redirects back with a temporary authorization code
- Exchange the code for a short-lived token, valid 1 hour
- Exchange the short-lived token for a long-lived token, valid 60 days
- Store the long-lived token and build refresh logic
Build token refresh before you build anything else. The most common production failure in Instagram integrations is an expired token nobody handled. Nothing dramatic happens. Scheduled jobs quietly stop returning data, and your customers notice before your monitoring does.
Refresh a long-lived token once it is at least 24 hours old and before it expires. A practical rule: refresh when fewer than 7 days remain, on a daily scheduled job that checks expiry across all connected accounts.
One more trap: requesting a scope you were not previously granted invalidates existing tokens. Shipping a feature that adds a scope can log out your entire user base at once, with no error in your logs, just a wave of 401s.
Step 7: Make your first calls
Instagram Login:
curl -X GET "https://graph.instagram.com/v26.0/me?fields=user_id,username,account_type,followers_count,media_count&access_token=ACCESS_TOKEN"
Facebook Login:
curl -X GET "https://graph.facebook.com/v26.0/IG_USER_ID?fields=username,followers_count,follows_count,media_count&access_token=ACCESS_TOKEN"
Recent media:
curl -X GET "https://graph.instagram.com/v26.0/me/media?fields=id,caption,media_type,media_url,thumbnail_url,permalink,timestamp,like_count,comments_count&access_token=ACCESS_TOKEN"
Account insights, with the current metric names:
curl -X GET "https://graph.facebook.com/v26.0/IG_USER_ID/insights?metric=views,reach,profile_views&period=day&metric_type=total_value&access_token=ACCESS_TOKEN"
Note views rather than impressions. If you copy an insights example from a guide written before April 2025, it will contain a metric Meta no longer serves.
Pin your API version. v26.0 is current at time of writing. Versions sunset on a schedule, and omitting the version is not a safe default.
Step 8: Submit for app review
Before real users can use your integration you must:
- Complete Business Verification in Meta Business Manager, which requires official business documents
- Submit each permission scope with a video screencast showing exactly how your app uses that data
- Provide a privacy policy URL and data deletion instructions
- Switch from Development to Live mode after approval
In Development mode only manually added testers can use your app, which is fine for building and useless for launching.
Timeline: 2 to 4 weeks for standard permissions, longer for messaging permissions or anything that looks like it could be used for data resale. Reviewers can request revisions, which resets the clock.
Start review before your product is feature-complete. Budget 6 to 8 weeks into your go-to-market plan, and have your verification documents and privacy policy ready before you start building.
The rate limits, properly explained
This is the section most guides get wrong, and it changes your architecture.
Instagram does not run one rate limiter. It runs two, and they apply to different endpoints.
Business Use Case limits: the formula that matters
For Instagram Platform endpoints, media, insights, comments, mentions and content publishing:
Calls within 24 hours = 4800 × Number of Impressions
Impressions here means the number of times the account's content appeared on screen in the last 24 hours.
Read what that implies, because it is counterintuitive. Your call budget scales with your users' reach. An account with strong recent reach gives you an enormous allowance. A brand-new creator account with almost no impressions gives you almost nothing, which means your onboarding flow for small creators can hit a wall that your onboarding flow for large creators never touches.
This is the opposite of the "200 calls per user per hour" rule of thumb that circulates widely, including in our own previous version. That flat number implies every account has an equal budget. They do not.
Platform rate limits
A separate limiter, roughly 200 × number of users per hour at the app level, applies to Business Discovery and Hashtag Search.
Publishing quota
Separately again, content publishing is capped per account over a rolling 24 hours. Meta's content publishing guide and its content_publishing_limit reference currently disagree on the number, so do not hard-code either. Call the endpoint:
curl -X GET "https://graph.facebook.com/v26.0/IG_USER_ID/content_publishing_limit?fields=quota_usage,config&access_token=ACCESS_TOKEN"
quota_usage is what the account has already published in the window. config.quota_total and config.quota_duration give you the live ceiling. A carousel counts as one post.
Read the header
Every response carries X-Business-Use-Case-Usage, with call_count, total_cputime and total_time as percentages, plus estimated_time_to_regain_access in minutes when you are throttled.
Log that header. It tells you to back off before the API tells you with an error. Most teams discover it after their first throttling incident rather than before.
What to do about it
Cache aggressively, because profile data changes far more slowly than your refresh loop assumes. Use webhooks instead of polling where Meta supports them, since webhooks eliminate the calls that return nothing. Implement exponential backoff with jitter, because fixed retry intervals make every worker retry in sync and hit the same wall together. And throttle per account rather than globally, since the budget is per account.
The real challenges
1. App review is slow and opaque
Meta's review is manual. You submit, provide video walkthroughs of every permission, and wait. Applications that look like they could enable scraping, competitive intelligence or data resale get rejected without detailed explanation.
What to do: be specific in your use case description. "Creator analytics dashboard displaying a connected creator's own performance data" reviews faster than "social media integration." Record your screencast against a working flow, not a mockup.
2. OAuth at scale is real engineering
Every creator authenticates individually. You manage token expiry, re-authentication prompts, revoked tokens and partial scope grants across your whole user base. A creator who does not use your platform for 60 days comes back to an expired token and needs a smooth re-auth path, not an error screen.
What to do: store the account linkage, the scope snapshot, expiry metadata and audit fields, not just a token string. Validate scopes at connect time and again before sensitive operations, so you can gate features in the UI instead of discovering a missing permission through a failed call.
3. Account requirements create onboarding friction
Every creator needs a Business or Creator account. On the Facebook Login path, they also need a linked Facebook Page.
Many nano and micro-influencers run personal accounts. Converting them, and linking a Page, is friction you cannot remove from your funnel.
What to do: first, consider whether Instagram Login removes half this problem for you, since it drops the Page requirement entirely. Second, build clear in-app guidance for the conversion steps. Drop-off at the account connection step is the most underestimated metric in creator platform onboarding.
4. Audience demographics are owner-only
This is the most significant gap for influencer marketing platforms, and it is not a permissions problem you can solve by asking nicely.
The insights endpoint returns audience demographics, the age, gender and location breakdown, only for the authenticated account owner. There is no endpoint that returns demographics for a creator who has not connected to your app. It is not a matter of having the right scope. The endpoint does not exist.
So if you want to show a brand the audience demographics of 500 creators, all 500 must individually authenticate with your app.
Two more limits on the data when you do have access: demographic breakdowns return only the top 45 values per category, and they are not returned at all for accounts with fewer than 100 followers. Your UI needs to explain both, rather than showing an empty chart.
We cover the implications in Instagram audience demographics for influencer marketing platforms and the practical retrieval in how to use the Instagram Graph API for audience insights.
5. Stories expire in 24 hours
Stories disappear after 24 hours and the API reflects that. Once a story expires, its metrics are gone.
Meta does provide webhooks for some Instagram events, including comments and mentions, which you should use rather than polling. But for Stories specifically, any integration that needs historical story metrics must fetch and store them before expiry, which means a background job running against every connected account throughout the day.
What to do: design the Stories pipeline as a scheduled job from the start, with its own storage, rather than discovering the requirement after a customer asks why last week's story data is missing.
6. Meta keeps changing the API
Meta deprecates versions, changes endpoint behaviour, updates rate limit policy and shifts permission requirements, usually with three to six months of notice and occasionally less. The Basic Display shutdown is the largest recent example. The impressions deprecation is a smaller one that broke a lot of dashboards quietly.
What to do: subscribe to the Instagram Platform changelog and treat version migration as scheduled maintenance rather than an emergency. If you integrate Instagram alongside TikTok, YouTube and LinkedIn, the maintenance burden compounds with every platform, and it compounds faster than most roadmaps account for.
Instagram Graph API vs Phyllo
| Instagram direct | Phyllo | |
|---|---|---|
| App review | Required, 2 to 4 weeks | Handled |
| Business account for creators | Required | Required, but guided by Connect SDK |
| Facebook Page requirement | Only on the Facebook Login path | Handled in the connection flow |
| Audience demographics | Own connected accounts only | Creator-consented, across connected accounts |
| Stories data | Scheduled polling before expiry | Managed with webhooks |
| OAuth per creator | Every creator individually | Single connection via SDK |
| Token refresh | Build and maintain | Managed |
| Rate limit handling | Build, against a formula that moves | Managed |
| Cross-platform | Instagram only | 10+ platforms, one integration |
| Time to first data | 2 to 6 weeks including review | Days |
| Ongoing maintenance | Yours, forever | Managed |
Build direct if Instagram data is your core product and you have the engineering bandwidth. It is free, you own every behaviour, and nothing sits between you and Meta. For an Instagram-first product, that ownership is the job.
Use a layer if Instagram is one of several platforms. Six OAuth flows, six review processes, six token lifecycles and six version cadences is the actual recurring bill, and it is larger than the first integration suggests.
If you only need one creator's data and that creator is you, build direct. It is free and it is an afternoon.
What you can build with it
Influencer marketing platforms verify creator identity, pull authentic follower counts and engagement rates, access demographics and monitor mentions. See how to vet a social media influencer and building an influencer discovery tool.
Media kits and portfolio tools show creators' real metrics rather than screenshots, which brands can actually trust.
Analytics dashboards display historical post performance, audience growth, format breakdowns and engagement trajectories. Covered in using the Instagram Analytics API and Reels analytics via API.
Background verification accesses public content history for brand safety and HR screening.
Fintech and creator lending verify that claimed following and engagement are authentic before extending products.
Brand fit tools analyse what categories a creator's audience engages with to find partnership opportunities.
More context in Instagram data for the creator economy and the Instagram API product overview.
Sources
| Claim | Source |
|---|---|
| Basic Display shutdown, 4 December 2024 | Meta announcement, September 2024, and the Instagram Platform changelog |
| Two login paths, hosts and scope prefixes | Instagram Platform documentation and Instagram Business Login |
followers_count and IG User fields | IG User reference |
| BUC formula, 4800 × impressions | Graph API rate limiting reference |
X-Business-Use-Case-Usage header fields | Same rate limiting reference |
impressions deprecated for v22.0+ and all versions from 21 April 2025 | Instagram Account Insights reference and the Platform changelog |
| 100-follower floor and top-45 truncation on demographics | Instagram Account Insights reference |
| Content publishing quota, and the docs disagreement | Content publishing guide and the content_publishing_limit reference |
| Token lifetimes, 1 hour and 60 days | Instagram Platform authentication documentation |
| Basic Display still listed on Meta's product page | Instagram APIs product page, observed October 2026 |
| 3 billion monthly active users | Meta, September 2025 |
App review timelines are observed ranges rather than Meta commitments. Meta publishes no guaranteed turnaround.
What is Instagram API integration?
Connecting your app to Meta's Instagram Platform to access profiles, media, metrics and insights. It needs OAuth 2.0, a Meta developer app, a professional account and app review.
Is the Instagram Basic Display API still available?
No. Meta shut it down on 4 December 2024, even though Meta's own product page still lists it. Integrations now use Instagram Login or Facebook Login with a professional account.
Should I use Instagram Login or Facebook Login?
Instagram Login if creators should connect without a linked Facebook Page. Facebook Login if you need Business Discovery, hashtag search or ads. You cannot mix the two.
What are the Instagram API rate limits?
Platform endpoints allow 4800 × impressions over a rolling 24 hours, so budgets scale with reach. Business Discovery and Hashtag Search have a separate limit of about 200 calls per user per hour.
Can I access audience demographics for third-party creators?
No. The insights endpoint returns demographics only for the authenticated account owner, at any scope or tier. Every creator must individually authenticate with your app.
Why is my demographics call returning nothing?
Demographics are not returned for accounts under 100 followers and cover only the top 45 values per breakdown. The API also returns an empty set rather than zero when data is missing.
How long does Instagram app review take?
Typically 2 to 4 weeks for standard permissions, longer for messaging. Revisions reset the clock, so submit a complete application with a clear screencast the first time.
How do I stop tokens expiring in production?
Run a daily job that refreshes long-lived tokens with fewer than 7 days left, and treat re-authentication as a normal flow. Adding a new scope invalidates existing tokens.
How do I collect Stories metrics before they expire?
Stories and their metrics vanish after 24 hours, so run a scheduled job that fetches and stores story data for every connected account throughout the day.
Why did my insights call stop working?
Check whether you request impressions. Meta removed it in v22.0 and deprecated it in all versions on 21 April 2025. Use views, with follower_type and media_product_type breakdowns.
Is the Instagram API free?
Yes, with no licence or per-call fee. The real costs are app review, business verification, OAuth and token engineering, webhook and Stories infrastructure, and version upkeep.
Can I use the Instagram API with a personal account?
No. Personal accounts have had no API path since December 2024. Convert to Business or Creator, and on the Facebook Login path, link the account to a Facebook Page.




