How-To Guide
How do I post to Instagram through the API?
Meta's posting API is two calls inside an account gate, a review queue and two separate limits. Here is the flow, what breaks, and when to skip the build.
Create a media container from a media URL the public internet can reach, read its status_code until it reports FINISHED, then publish the container with its creation ID. Meta's Instagram Platform publishes only to professional accounts, and an app serving an account you own or manage needs Standard Access alone. Serving other people's accounts needs Advanced Access, App Review and Business Verification. No call costs money; the work sits in the account gate, the token refresh and two limits that count different things.
- Four calls cover the job end to end: create container, read status, publish, then read the quota.
- Standard Access is enough for your own account or one you manage; review starts when other people connect theirs.
- The publishing cap is 100 posts per 24-hour moving period with carousels counting once, and the same page also prints 50.
- Feed images must be JPEG, and the flow is never a single upload.
What the Instagram posting API actually does
The Instagram posting API is one product inside Meta's larger Instagram Platform, and it never accepts an upload. You hand Meta a URL, Meta fetches the file itself, and a second call tells Meta to publish what it fetched. That indirection explains most day-one failures: a local file has no URL, and a URL the public internet cannot reach fails before anyone reads your caption.
Two calls are required and two more keep you out of trouble. A media object needs a container before it can be published, and the publish endpoint takes that container's ID. Video adds a poll because transcoding is asynchronous, which is why a Reel takes three calls. The fourth call reports the account's own usage against its publishing limit, and it is the only reading that describes your account today.
| Step | Call | What it gives you |
|---|---|---|
| Create container | POST /<IG_ID>/media | A container ID; the media must sit at a public URL |
| Read status | GET /<IG_CONTAINER_ID>?fields=status_code | FINISHED, IN_PROGRESS or ERROR before you publish |
| Publish | POST /<IG_ID>/media_publish | A media ID; the publishing cap is enforced here |
| Read quota | GET /<IG_ID>/content_publishing_limit | Current usage against the account's cap |
Variants reuse that shape. A carousel creates one container per item, up to 20 images or videos or a mix, then a parent container that lists them, and the parent is what you publish. The host follows your login path: Facebook Login integrations call graph.facebook.com, while Business Login for Instagram calls graph.instagram.com. Meta also added an alt_text field for image posts in March 2025, the sort of change that arrives as a new field on an old endpoint.
Four calls around one post. Original diagram drawn from Meta's Content Publishing guide and Platform overview, with the Reel call count from Phyllo's guide; read on November 14, 2026.
Have your AI do this for your brand.
7 days free, then $29 a month.
The account and access gate that decides your timeline
Before any call, the account has to be the right kind. Publishing works on Instagram professional accounts, business or creator. A personal account has no compliant route at all: the Basic Display API, which once touched personal accounts, was shut down on 4 December 2024 and every endpoint returns an error.
The setup then decides how much approval work sits in front of you. Unified Login is the one Meta recommends for new integrations, and it needs no Facebook Page. Instagram Login also runs without a Page, at the price of hashtag search, product tagging and partnership ads. Facebook Login requires the account to be linked to a Page and keeps the full feature set.
| Setup | Facebook Page | What it changes |
|---|---|---|
| Unified Login | Not required | Recommended for new integrations |
| Instagram Login | Not required | No hashtag search, product tagging or partnership ads |
| Facebook Login | Required | Full feature set |
Access level matters more than setup once a launch date is involved. Standard Access is the default for all apps, and Meta states plainly that an app serving only your own professional account or one you manage needs nothing higher. Advanced Access applies when the app serves accounts you do not own or manage, and it requires App Review plus Business Verification. A solo build can publish from development mode by adding the account as an Instagram Tester, which skips the review queue entirely.
Tokens run on their own clock. The authorization code lasts an hour, the short-lived token it buys lasts an hour, and the long-lived token lasts 60 days and can be refreshed. Read that twice and the operational point still arrives late: refresh is a scheduled job you own, and when it breaks you lose one account at a time with no alert from Meta.
Who connects decides the work. Original diagram from Meta's access-level and authentication documentation, read on November 14, 2026.
The limits you meet after it works
Two systems interrupt publishing, and they count different things. The publishing quota counts posts against a moving window. The call budget counts requests against a formula that follows the account's audience. A limiter built for one does nothing for the other, and most guides describe only the first.
Meta's content publishing guide gives the posting limit as 100 API-published posts within a 24-hour moving period, carousels counting as a single post. Further down the same page, its carousel section says accounts are limited to 50 within a 24-hour period. Both sentences are live today, so the trustworthy number is the one content_publishing_limit reports for your account. A moving window has a second consequence: a burst at 9am still occupies the quota at 8:59 the next morning.
The call budget is the other ceiling. Phyllo puts the formula at 4,800 multiplied by the account's impressions over a rolling 24 hours, which is not the flat 200 calls per hour older tutorials quote. A small account reaches it early, and the ceiling is the number to watch whenever your app polls beyond publishing.
Format validation fails containers, not requests. Feed images must be JPEG, and Meta's limitations list also rules out shopping tags and filters. Captions cap at 2,200 characters with 30 hashtags and 20 mentions, and feed images have to land between 4:5 and 1.91:1. Separately these are small rules. Together they mean the integration needs an image pipeline, which is precisely the part a hosted layer sells you.
Two ceilings, counted differently. Original diagram from Meta's Content Publishing guide and Phyllo's rate-limit explanation; the caption figure is the one to query per account, not memorise.
Where API posts lose reach, and what is not the API's fault
Builders ask whether an API post reaches fewer people. The honest answer is narrower than either side of that argument. Blotato read the ranking documentation for five platforms and found that none of them names posting source as a ranking signal. That is an absence across every list, not a platform denial, and it is the strongest true version available.
The reach that does disappear comes from choices inside the workflow: a visible watermark or a lightly edited repost, a queue flushed faster than a person would post, and publishing into hours when the audience is asleep. Each of those is documented or plain arithmetic, and each is fixable without touching the transport. An unattended agent has no instinct for pacing, so the pacing belongs in the scheduler.
Treat this as an open question. Nobody in the pages read for this guide publishes a parity claim, and none of them should. When API posts underperform, check the watermark, the duplicates and the posting times before blaming the endpoint.
Build it, rent it, or hand the posting off
Build the integration yourself when Instagram sits inside the product. That fits an app posting only to accounts you own or manage, where Standard Access and development mode remove the review queue, and it fits products that need what a wrapper does not expose: hashtag search, product tagging, partnership ads, deeper insights. The cost is maintenance you keep for as long as the product lives.
Rent a publishing layer when publishing is the whole job. A wrapper carries the approved app, the token refresh, the media conversion and the container flow. Blotato and Ayrshare both sell exactly that, and both describe the work they remove, so read their claims as claims from sellers.
Hand the calendar off when the gap is content. Superdirector (ours) is not an API product. On Growth, $199 a month runs one AI-run operated account; the $29 Starter is MCP access with hands-on creation you drive from ChatGPT, Claude or Claude Code. Publishing runs on account-level standing permission: you turn posting on once for an account, after a warning that names the account, the public effect and the cost, and its eligible Instagram carousels and single X text posts go out under that grant. The scope is deliberately narrow. Carousels on Instagram and text posts on X, with no reels, stories, DMs or single images, and finished AI video still upcoming.
The decision is not about the API's price, because there isn't one. It is about who owns the maintenance. A team building a product should own it. A brand that needs posts on a calendar should not have to, and the four calls above are the recurring bill if it does.
Frequently asked questions
How do I post to Instagram through the API?
Do I need a Facebook Page to post through the Instagram API?
Do I need App Review to post to my own Instagram account?
How many posts can I publish per day through the API?
Can the API publish Reels, Stories and carousels?
Why does the API reject my image?
Should a brand build its own Instagram posting integration?
Have your AI do this for your brand.
7 days free, then $29 a month.