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 MCP server

Query the same Instagram data from Claude or ChatGPT with one URL.

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

Simple pricing. Unlimited widgets

All features included on the 7-day free trial. No contracts, no hidden fees.

Start free trial

Loved by 400,000+ brands

Pro

$29/ month

  • Unlimited widgets
  • Auto-sync every 3 hours
  • Dedicated support team
  • Official API integrations
  • GDPR Compliant
  • ISO 27001 Certified

What our users are saying:

  • G24.8/5G2 (207)
  • TrovaTrip increased booking conversion rates by 12% with customer testimonials in just 4 weeks
    Nick Poggi · TrovaTrip
  • The team at Embed Social is so easy to work with. They are very quick to respond to any special requests and fast to implement account changes. Aside from the great customer service, their products are also very easy to use and offer a lot of freedom that you can’t get with other similar products. Definitely recommend.
    Ryan Hazlewood · Developer
  • EmbedSocial allows us to showcase social media content on our web pages in a way that’s both functional and vibrant. Their library of social feed designs integrates seamlessly with our existing components and is easy to use for page editors of all skill levels.
    Zanna Ollove · Boston College
  • The experience with EmbedSocial has been amazing. We’re always looking for ways to leverage our time, so finding a product to keep our reviews fresh automatically was a no-brainer.
    Brooks Hitzfield · Seven Sons
  • What I like best about EmbedSocial is how effortlessly it pulls in and displays social media content in one place. It saves me hours of manual work and keeps my website looking dynamic and fresh.
    Angus Saunders · Product Lead at Emirates · Review on G2
  • Alex and other EmbedSocial staff who have worked with me over this time are always so incredibly responsive and genuinely care about my business.
    John Hogan · Career Counsellor · Review on G2
  • I love how intuitive EmbedSocial has been to use and the support Embed offers to help you utilize the software. I had a proactive Customer Success Manager who offered meetings, a trial extension then fantastic customer service in troubleshooting an additional account I started in error.
    Kylie Wade · Review on G2
  • EmbedSocial has streamlined the review process for us. It’s user-friendly, looks great on our site, and adds instant trust.
    Mitchell Bank · President at Military Cruise Deals · Review on G2
  • It works exceptionally well and offers great customization options and filters. So far, it has proven to be an excellent widget with many useful features. Highly recommended.
    Rumesh Hopkins · International Hiring agent · Review on G2
  • EmbedSocial looks great on our website. Plus it's easy to setup and use. You can customize the widget directly through their platform so no custom coding really necessary.
    Josh Johnson · Review on G2
  • The perfect tool to showcase your customer stories. Helps you in getting the word out in the best and most economical way. The dashboard is easy to use and the support team is always available to offer any kind of help that's required.
    Siraj · Product Marketing Manager, Zoomin · Review on G2
  • One of the standout features of EmbedSocial is its user-friendly interface, which makes it easy for users of all technical levels to navigate and utilize its capabilities. The platform offers a seamless way to aggregate social media content and display it on websites, which is particularly helpful for enhancing engagement and showcasing user-generated content.
    Yisroel Goldman · Frontend Developer · Review on G2
  • Being part of a 100% volunteer run 501(c)(3) you can only imagine the technology help we need... EmbedSocial has made it easy to keep our adoptable pets up to date not only on social media but our website too!
    Anne Marie Werner · Review on G2
  • The most helpful thing about EmbedSocial is the convenience of accessing my social media feeds for my website. I had issues with connecting to my social media sites and EmbedSocial Customer Service was quick to help me figure out the issue and resolve it.
    Dalj Brar · Realtor, Century 21 · Review on G2
  • Antonia was my support person on an issue I was having and she was AMAZING. I use a lot of online tools and she stuck with me the entire time and followed up to make sure everything was good.
    Brenda Sturges · Co-owner · Review on G2

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.