Instagram API for Posts, Hashtags, Mentions and Stories

Connect your Instagram account, hashtags and mentions to EmbedSocial once. Then pull the posts and Stories into your own app, site or dashboard with one API key.

The API is part of Premium (€99 a month). 7-day free trial.

What is the Instagram API?

The Instagram API is Meta's official way for apps to read Instagram content. EmbedSocial connects to it for you: add your Instagram business account, hashtags or mentions as sources, then call EmbedSocial endpoints with one API key to get posts, search results and Stories as JSON. You get captions, media, links, dates, hashtags and engagement counts. API access is part of the Premium plan, and it does not publish to Instagram.

Your posts, hashtag posts and mentions in one call

Put any mix of Instagram sources in a widget, then read everything it holds with its widget reference. Page through up to 200 posts at a time, narrow by date, or filter by keyword.

  • GET /v2/api/social-feed/hashtag-album/media
  • album_ref, page, per_page (up to 200), begin_time, end_time, filter_keyword
  • GET /v2/api/social-feed/media/{mediaId} returns one post

Search every Instagram post you have imported

Query across all your sources instead of one widget. Filter by source, keyword, date, tag, rating, AI score or rights status, and page with a cursor.

  • POST /v2/api/social-feed/items/query
  • 10 results by default, up to 100 a page
  • Covers the last 7 days unless you set a date range

Instagram Stories have their own endpoint

Stories disappear from Instagram after 24 hours. Connect them as a source and they stay in EmbedSocial, so your app can keep showing them.

  • GET /v2/api/stories/stories
  • source_id, begin and end dates, per_page up to 200
  • Needs an Instagram business account. A personal account will not return Stories

What Instagram lets us pull

The API can only return what EmbedSocial could pull from Instagram in the first place. These limits come from Instagram's own API.

New sources start with 50 posts

A new source is seeded with its latest 50 posts, then new posts sync from there. Ask us if you need more backfilled.

Hashtags cover the last 24 hours

A hashtag feed pulls 20 Top Posts and 20 Most Recent posts from the last 24 hours. It needs an Instagram business account connected to a Facebook page.

Mentions need the Facebook account

Mention posts need the Facebook account that manages the connected Instagram account, for Instagram API privacy reasons.

Some music Reels are missing

Instagram does not share some Reels that contain copyrighted music through its official API, so those cannot be pulled.

Need account insights? Use InvisibleAPI

Account insights for Instagram come from a separate product: InvisibleAPI, the social media API built by the EmbedSocial team. It has its own sign-up and pricing.

  • Account overview, trends, breakdowns and audience demographics
  • Also publishes to Instagram and X

How to get your EmbedSocial API key

API access comes with the Premium and Enterprise plans. Start with a 7-day free trial, connect your Instagram sources, then open Integrations in Settings. Send the key as Authorization: Bearer {apiKey}. Step by step: Do you offer API Key and API documentation?

  • Connect your Instagram business account, hashtags, mentions or Stories as sources
  • Open Integrations and find the EmbedSocial API Key section
  • Copy the API key, with the API documentation next to it
The EmbedSocial Integrations settings with the EmbedSocial API Key row and its API documentation and API key buttons

More ways to use Instagram data

Social Media API

The same API for Facebook, TikTok, YouTube, LinkedIn, X and more.

Learn more

Instagram social listening

Track hashtags and mentions inside EmbedSocial, no code needed.

Learn more

Instagram widget

Show your Instagram feed on your website without writing code.

Learn more

Pricing

Compare what each plan includes, and where the API starts.

Learn more

Instagram API FAQ

How much does the Instagram API cost?
Meta does not charge to call the Instagram API, but you build and maintain the integration yourself. With EmbedSocial, API access is part of the Premium plan at €99 a month, which also covers widgets and social listening. See pricing.
What is the Instagram Graph API?
It is Meta's API for Instagram professional accounts (business and creator). EmbedSocial pulls your posts, hashtags, mentions and Stories through Instagram's official API, so you call our endpoints instead of Meta's.
Is the Instagram Basic Display API still available?
No. Meta retired the Basic Display API on December 4, 2024. To pull posts now, connect an Instagram business account. EmbedSocial connects with Instagram login or with Facebook, and Facebook gives more reliable auto-sync.
Can I get Instagram hashtag posts through the API?
Yes. Add a hashtag source, put it in a widget, and read it with the posts endpoint. A hashtag feed pulls 20 Top Posts and 20 Most Recent posts from the last 24 hours, and needs an Instagram business account connected to a Facebook page.
Can I get Instagram Stories through the API?
Yes, from their own endpoint, GET /v2/api/stories/stories. Stories come from a connected Instagram business account and stay in EmbedSocial after they expire on Instagram.
Where do I find my API key?
In your EmbedSocial account under Integrations, in the EmbedSocial API Key section. API access is part of the Premium and Enterprise plans.
Can I publish to Instagram with the EmbedSocial API?
No. The EmbedSocial API does not publish to social networks. If you need to publish or schedule posts programmatically, use InvisibleAPI, the social media publishing API built by the EmbedSocial team. Instagram and X are live today, with more platforms on the way.
What happens when Instagram changes its API?
Every platform changes its API frequently. Our API shields you from those changes, keeping your integrations stable without extra engineering work. You keep calling the same EmbedSocial endpoints.

Build on Instagram data, skip the Instagram plumbing

Connect your sources, then call one API for posts, hashtags, mentions and Stories.

API access is on Premium and Enterprise. 7-day free trial.