How to get an Instagram API key (2026)
How to get an Instagram API key from Meta step by step, what that key can and cannot read, and the faster key for public profiles, posts and comments.
The short answer
- From Meta: create a Meta developer app, add the Instagram product, connect a professional account and generate an access token.
- What it reads: the accounts that log in to your app, plus limited public data on other business and creator accounts.
- For any public account: a third-party key works in minutes, with no app, no App Review and no account to connect.
Read this as
Developer
Meta's token is tied to a user who logged in, and it expires unless you exchange it for a long-lived one. A third-party key is a bearer key tied to your account, and it does not expire on its own.
Example The last 50 posts from each of 20 public profiles is 1,000 rows: $0.50.
Marketer
If you only need your own account's numbers, Instagram's own Insights tab is enough. A key is for when you want other accounts: competitors, creators, hashtags.
Example Profiles of 200 creators on a shortlist cost $0.10.
Agency
Meta's route means every client connects their account to your app. To report on competitors or prospects who will never log in, use a key that reads public data.
Example Comments on 10 posts for each of 5 clients, 300 each, is 15,000 rows: $7.50.
Researcher
Meta's key will not read personal accounts at all, and only reads business and creator accounts by exact username. Plan your sample around that, or use a public-data key.
Example Posts under 3 hashtags, 2,000 each, is 6,000 rows: $3.
There are two kinds of Instagram API key. Meta's key comes from a developer app and reads accounts that have logged in to that app. A third-party key reads what anyone can see on a public profile, with no login from the account owner.
How do I get an Instagram API key from Meta?
- 1. Make a Meta developer account
- Sign up at developers.facebook.com with a Facebook account and verify it.
- 2. Create an app
- Choose the business app type and add the Instagram product to it.
- 3. Connect a professional account
- The Instagram account must be a Business or Creator account. A personal account cannot be used with the current API.
- 4. Generate an access token
- The token is what you send with each call. The first one is short-lived; exchange it for a long-lived token and refresh it before it runs out.
- 5. Pass App Review for anything beyond testing
- In development mode the app only works for people with a role on it. To serve other accounts you need Advanced Access, which means App Review and, for most permissions, business verification.
What can Meta's Instagram API key read?
| Data | With Meta's key? |
|---|---|
| Your own account's posts, comments and Insights | Yes. This is what the API is built for. |
| Another business or creator account's public posts | Partly, through Business Discovery, by exact username only. |
| A personal account's profile or posts | No. Personal accounts are not readable through the API. |
| Posts under a hashtag | Yes, up to 30 unique hashtags in any 7 days, recent and top posts only. |
| Keyword search for people or posts | No. There is no keyword search endpoint. |
| Comments on someone else's post | No. Comments are readable on media your app manages. |
Is the Basic Display API still an option?
No. Meta switched off the Instagram Basic Display API on 4 December 2024. Tutorials that tell you to create a Basic Display app and copy a user token from it no longer work. Any app that showed a personal account's own photos had to move to the Instagram API with a professional account.
How do I get a key for public Instagram data?
Sign up, add credit from $9, and create a key on the API keys page. There is no app to build, no account to connect and no App Review. You send the key as a bearer token and name the public account, post, hashtag or place you want. New accounts get 1,000 free results, so you can try the key before you top up.
Competitor comment check
The comments only. The 300 posts themselves add 300 more rows. A run that returns nothing costs nothing.
Which Instagram endpoints does the key unlock?
Public endpoints: 11
| Endpoint | What it returns | Takes |
|---|---|---|
| profile | Profile details — bio, follower counts, verification. | username |
| posts | A profile's post feed. | username |
| reels | Reels from a profile's Reels tab. | username |
| post | Details of one post — caption, counts, media, dimensions. | shortcode |
| comments | Comments on one post. | shortcode |
| tagged | Posts where this profile was tagged by someone else. | username |
| hashtag | Posts under a hashtag. | tag |
| location | Posts tagged at a place. Name the place; use `limit` to say how many you want. | place |
| creators | Creators ranked from a keyword search. Put the niche and the place in one query — "finance kolkata". One page load, so it is fast, and because a feed row carries no follower count the ranking is engagement totalled across each account's posts in the results rather than an engagement rate. Instagram shows results based on where the search is made, and our searches run from India. Put the place in the query ("toscana italy") for creators elsewhere; `country` alone may still return Indian creators. | query |
| highlights | A profile's highlight albums — title, cover and item count. | username |
| highlight | The stories saved inside one highlight. | highlight_id |
11 public Instagram endpoints, all on one key and one rate. The full list, with parameters and sample responses, is in the developer docs.
Which key should I use?
| Job | Key |
|---|---|
| Show a user's own feed in your app | Meta's. The user logs in and you read their account. |
| Post or reply on behalf of an account | Meta's. Publishing needs the account's permission. |
| Track competitors or creators | A public-data key. They will never log in to your app. |
| Pull comments for research | A public-data key, unless the posts are your own. |
| Both of the above | Both keys. Keep Meta's scope small so App Review stays short. |
What SocialHolmes costs
$0.50 per 1,000 results on every Instagram endpoint. No subscription, no monthly minimum, and no charge for a run that returns nothing. The `limit` you set on a run is the most it can bill.
Questions people ask
Is an Instagram API key free?
Meta's key is free to create and has no per-call fee. The cost is the time to build an app, verify a business and pass App Review. A public-data key is paid per result, with 1,000 free results to start.
Can I get an Instagram API key without a business account?
Not from Meta. Its API needs a Business or Creator account since the Basic Display API was switched off in December 2024. A public-data key needs no Instagram account at all.
How long does an Instagram access token last?
Meta's short-lived token lasts about an hour. A long-lived token lasts about 60 days and can be refreshed before it expires.
Can an Instagram API key read any public profile?
Meta's key cannot read personal accounts, and reads other business or creator accounts only by exact username. A public-data key reads any public profile by username.
Do I need App Review to use the Instagram API?
For Meta's API, yes, as soon as accounts outside your own team use the app. A public-data key has no review step.
Posts are published in English only. The rest of the site reads in ten languages; these do not, because a translated archive is one nobody keeps current.
Try it on your own targets
The only comparison that settles anything is your own. A new account gets 1,000 credits, needs no card, and runs on the same endpoints and rate as a paying one.