Instagram Basic Display API alternatives: what to use after the shutdown
Checked on 2026-11-19.
The Instagram Basic Display API stopped working on December 4, 2024, and Meta did not replace it for personal accounts. What you use instead depends on what you used it for: showing your own posts, letting people connect their accounts, or reading public profiles.
What was shut down, and when
Meta announced it on September 4, 2024, in a developer blog post titled Update on Instagram Basic Display API: "Starting on December 4th, 2024, Instagram Basic Display API will no longer be available." The changelog of the Instagram Platform has the matching entry for that day: "The Instagram Basic Display API has been deprecated. All requests to the Instagram Basic Display API will return an error message."
The post also says what the API was for, connecting "Instagram accounts to third-party consumer apps", and what its end means: "there will no longer be a set of Instagram APIs for consumer developer apps". So an error from an old Basic Display integration is not something a new token or a changed setting repairs. The API is gone.
What Meta offers now
What remains is the Instagram Platform, and it is for professional accounts only. Its overview puts it this way: "To use the APIs, your app users must have an Instagram professional account", which "can represent a business or creator". It comes in three setups:
| Unified Login | Instagram Login | Facebook Login | |
|---|---|---|---|
| Meta recommends it for | New integrations | Existing Instagram Login integrations | Existing Page-linked integrations |
| People log in with | Instagram or Facebook credentials | Instagram credentials | Facebook credentials |
| Facebook Page | Not required | Not required | Required |
| API host | graph.facebook.com | graph.instagram.com | graph.facebook.com |
Mind the dates of the tutorials you find. The 2024 announcement pointed developers to the Instagram Login and Facebook Login setups. Meta now calls Unified Login "the recommended setup for new integrations" and adds that "New Instagram API features are released only for this setup". Its migration guide states: "Newly created apps can't set up the Instagram API with Instagram Login." A tutorial that begins with a new app and Instagram Login describes a path that is closed to a new app.
If you showed your own posts on your website
This still works officially, on one condition: the account has to be a professional one, business or creator. After the switch, an app that "only serves your Instagram professional account or an account you manage" needs no review, because for it "Standard Access is all your app needs". Meta's get-started guide has a step for exactly this case: generating an access token "to test with your own Instagram account while your app is in Development mode". With that token, the requests from the guide and the media reference list your posts:
import os
import requests
GRAPH = "https://graph.facebook.com/v27.0"
TOKEN = os.environ["IG_ACCESS_TOKEN"]
accounts = requests.get(
f"{GRAPH}/me/assigned_instagram_accounts",
params={"fields": "id,username", "access_token": TOKEN},
timeout=30,
).json()
account_id = accounts["data"][0]["id"]
media = requests.get(f"{GRAPH}/{account_id}/media", params={"access_token": TOKEN}, timeout=30).json()
for item in media["data"][:6]:
post = requests.get(
f"{GRAPH}/{item['id']}",
params={"fields": "caption,media_type,media_url,permalink,timestamp", "access_token": TOKEN},
timeout=30,
).json()
print(post["timestamp"], post["permalink"], post.get("media_url"))This is the Unified Login form; an app on one of the two older setups uses the host of its column in the table above. Meta tells you to treat media_url as optional: it is left out for videos with licensed audio, for example.
If all you want is one post on a page, you need no app at all. A public post has an Embed button in its menu, and the oEmbed endpoint returns the embed HTML to a program, except for accounts that have disabled embeds; since May 15, 2026 it can be called without an access token, up to 1,000 requests every hour. It is for showing posts and nothing else: Meta prohibits using what it returns "for any purpose other than providing a front-end view", analytics included.
If your app let people connect their accounts
For personal accounts there is no replacement. People with a business or creator account can connect through the Instagram Platform, and an app that serves accounts its developer does not own or manage needs Advanced Access, which "requires App Review and Business Verification". When an account is personal, or was switched back to personal after connecting, Meta's troubleshooting page lists the error the API returns: (#10) Access is denied because the instagram account type is not business or creator.
Reading a public profile you do not own
This is a different job from the one the Basic Display API did, which was about accounts whose owners connected them to an app. Here is what exists for it.
Officially: Business Discovery, a part of the Instagram Platform that "Returns data about another Instagram Business or Creator IG User". Its public fields include the follower count, the number of posts, the bio and the website, and for each post the like and comment counts. You query it with your own professional account, your own app and a token, and it has nothing for personal accounts. The guide on follower counts has the request in Python.
Unofficially: the profile page that anyone can open in a browser. Libraries such as Instaloader read it from your own computer for free; the guide to its 401, 429 and login errors covers what happens when Instagram refuses. An HTTP API does the reading for you. With Pipefetch a profile is one request:
import os
import requests
res = requests.get(
"https://pipefetch.com/v1/instagram/profile",
params={"username": "nasa"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
timeout=90,
)
if res.status_code == 404:
print("No such account") # not charged
else:
res.raise_for_status()
profile = res.json()["data"]
print(profile["fullName"], profile["followerCount"], profile["accountType"])
for post in profile["latestPosts"]:
print(post["publishedAt"], post["url"], post["likeCount"])The same request in JavaScript:
const url = new URL('https://pipefetch.com/v1/instagram/profile');
url.searchParams.set('username', 'nasa');
const res = await fetch(url, { headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY } });
if (res.status === 404) {
console.log('No such account'); // not charged
} else if (res.ok) {
const { data } = await res.json();
console.log(data.fullName, data.followerCount, data.latestPosts.length);
}You get the name, bio, links, exact follower, following and post counts, the account type, and the latest posts and Reels with their captions, likes, comments, plays and media addresses. It costs 2 credits, an account that does not exist costs nothing, and a new account has 100 free credits and needs no card. The reference lists every field.
Where it stops: this is not an official API, and Pipefetch is not affiliated with Instagram or Meta. It uses no login, so it returns only what a logged-out visitor sees: for a private account the counts, name and bio, and no posts. latestPosts is about the 12 latest Reels and the newest grid posts, not the full history, and there are no stories, comments or follower lists. The image and video addresses are Instagram's own signed links and stop working after some hours, so a feed on your website has to download the files it shows. To find business accounts by name there is a search endpoint; it asks the advertiser search of Meta's Ad Library and is not the search of the Instagram app.
Which one should you use?
| You want to | Use |
|---|---|
| Show your own posts on your site | A professional account and the Instagram Platform, or the Embed button for single posts |
| Let people connect their accounts to your app | The Instagram Platform: professional accounts only, after App Review |
| Read numbers of a business or creator account, officially | Business Discovery |
| Read the public profile of any username without a Meta app | An HTTP API such as Pipefetch, or a library on your own computer |
Try it with 100 free credits. No card needed. No login, cookies or proxies. Get an API key or read the docs.
APIs used in this guide
-
2 credits
Instagram Profile API
Exact followers, bio, links, account type and engagement of a public Instagram account, with its latest posts and Reels.
GET /v1/instagram/profile -
1 credit
Instagram Search API
Instagram business and creator accounts named after a keyword, with follower counts, or the hashtags for a word with post counts.
GET /v1/instagram/search
More Instagram guides
- How to get an Instagram follower count in Python
- Instaloader 401 Unauthorized, 429 and "Login required": what to do
- How to calculate an Instagram engagement rate in Python
- How to get an Instagram follower count in Node.js
- How to get Instagram follower counts in Google Sheets
- How to get Instagram Reel views in Python
Guides for other sources
Every source
YouTube
- How to get a YouTube transcript in Python
- How to get a YouTube transcript in Node.js
- YouTube API quota exceeded: what the error means and how to fix it
- How to find a YouTube channel ID from a handle or URL
- How to download YouTube subtitles as SRT or VTT
- youtube-transcript-api RequestBlocked or IpBlocked: why it happens and how to fix it
- How to get YouTube comments in Python
- How to search YouTube from Python
- How to list a YouTube channel's videos in Python
- How to summarize a YouTube video with an LLM in Python
- How to get YouTube transcripts and video stats in Google Sheets
- How to get YouTube video views and likes in Python
- How to get YouTube transcripts in n8n, Make and Zapier
- LangChain YoutubeLoader fails on a server: why, and a loader that works
- How to get a YouTube channel's subscriber count in Python
- How to give Claude or Cursor access to YouTube (MCP server)
- How to get YouTube comments in Node.js
- How to analyze YouTube comments with an LLM in Python
- How to list a YouTube channel's Shorts in Python
- How to search YouTube from JavaScript
Websites
- Clearbit Logo API alternatives: get a company logo from its domain
- How to extract email addresses from a website in Python
- How to turn a web page into Markdown in Python
- How to detect what a website is built with, in Python
- How to get the contact emails and phone numbers of websites in Google Sheets
- How to build a LangChain tool that reads web pages and searches Google
- How to turn a web page into Markdown in JavaScript for RAG
- How to extract social media links from a website in Python
- How to get a website's favicon in Python
- How to check robots.txt in Python before you fetch a page
TikTok
- How to get a TikTok video's views and likes in Python
- How to get the comments of a TikTok video in Python
- How to get a TikTok follower count in Python
- TikTok Research API: who can get access, and what to do if you cannot
- How to get TikTok video views, likes and shares in Node.js
- How to get TikTok views, likes and follower counts in Google Sheets
- How to get a Facebook Page's posts without app review
- Is there a Facebook Marketplace API?
- Facebook Groups API alternatives after its removal in 2024
- How to get a Facebook Page's follower count and contact details in Python
- How to get Google search results in Python
- pytrends 429 TooManyRequestsError: what it means and what to do
- How to get Google Trends data in Python
- Why is Wyoming first in Google Trends?
- How to get Google search results in Node.js
- How to get Google search results into Google Sheets
- How to give an LLM live Google results with tool calling
Threads
- How to get LinkedIn company data in Python
- How to search LinkedIn jobs from Python
- How to get a LinkedIn company page's latest posts in Python