Skip to content
APIWings home
  • How it works
  • Networks
  • Pricing
  • FAQ
  • Blog
  • Docs
  • ENEnglish
  • ESEspañol
Join the beta
  • Overview
  • Quickstart
  • Bluesky
  • LinkedIn
  • Instagram
  • Facebook
  • Threads
  • TikTok
  • YouTube
  • X

Instagram API: photos, carousels and Reels with APIWings

Last updated: 23 November 2026 · Also as Markdown

Status: coming soon. The APIWings integration with Instagram is in review: it opens to beta teams once the network approves it. This page describes how it works.

Accounts

Instagram professional accounts (Business or Creator) that are linked to a Facebook Page. Personal Instagram accounts cannot publish through the API; switching an account to Creator is free in the Instagram app.

Connecting

POST /v1/profiles/{id}/connect/instagram returns a connect_url. The user signs in with Facebook (Facebook Login for Business), as someone who manages the Page, and chooses which Pages and Instagram accounts to share. APIWings connects one account per Instagram account linked to a shared Page; account_ids in the redirect lists them all.

If none of the shared Pages has a linked Instagram professional account, the connection fails with a message that explains how to link one.

The connection does not expire by itself. The user must reconnect if they remove APIWings from their Facebook business integrations, stop managing the Page or change their Facebook password; you then get account.disconnected.

Supported content

Rule
Media required At least one image or video: Instagram has no text-only posts.
Post type One image = feed post. One video = Reel. Two or more items = carousel (images and videos can be mixed).
Carousel size Instagram allows up to 20 items; through APIWings, up to 10 (the per-post media limit).
Caption content, up to 2,200 characters, at most 30 hashtags and 20 @mentions.
Images JPEG only, up to 8 MB. Aspect ratio between 4:5 and 1.91:1 (checked by Instagram).
Videos MP4 or MOV, up to 300 MB, between 3 seconds and 15 minutes (duration checked by Instagram).

Instagram downloads each file from APIWings, processes it and only then publishes. APIWings waits up to 60 seconds for images and 5 minutes for videos; if Instagram is still processing, the attempt ends with platform_down and is retried (nothing was published yet).

Options

Instagram takes no options today.

Result and visibility

  • visibility: always public. Professional accounts, the only ones the API can publish to, are public.
  • url: the post's permalink on instagram.com.

Limits

Instagram allows 100 posts per account in a moving 24-hour window through the API (a carousel counts as one). GET /v1/accounts/{id}/limits returns the live limit and remaining from Instagram.

Errors

When Code
No media, more than 10 items, caption over 2,200 characters, more than 30 hashtags or 20 mentions validation_failed (when creating the post)
An image that is not JPEG or over 8 MB; a video that is not MP4/MOV or over 300 MB media_invalid (when creating the post)
Instagram could not process a file (for example the aspect ratio or the duration) media_invalid
The media container expired before publishing platform_rejected
The 24-hour publishing limit was reached rate_limited
Token revoked, password changed or a permission removed auth_expired, then account.disconnected
Meta unavailable, or still processing the media platform_down (retried)

APIWings

One API for every social network. Built for SaaS and AI agents.

Product

  • How it works
  • Networks
  • Pricing
  • FAQ
  • Docs
  • Changelog
  • Blog

Legal

  • Privacy
  • Terms
  • Data deletion
  • Legal notice

Contact

  • hello@apiwings.com

APIWings is a product of LV Tech Labs, S.L. (NIF B05934708), Carrer de Modolell 36, 2, 08021 Barcelona, Spain. Not affiliated with Meta, TikTok, Google, LinkedIn, X or Bluesky. Network names and logos are trademarks of their respective owners.