{
  "name": "Instagram API publishing rules",
  "version": "2026-11-26",
  "license": "CC BY 4.0 - APIWings (https://apiwings.com/blog/instagram-api-post)",
  "note": "Checked against Meta's official Instagram Platform documentation on 26 November 2026. Sizes use decimal megabytes (1 MB = 1,000,000 bytes), the stricter reading of Meta's 'MB'. Meta can change any of these values; re-check the sources before relying on them.",
  "sources": {
    "media_reference": "https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media",
    "content_publishing": "https://developers.facebook.com/docs/instagram-platform/content-publishing",
    "publishing_limit": "https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/content_publishing_limit",
    "error_codes": "https://developers.facebook.com/documentation/instagram-platform/instagram-graph-api/reference/error-codes"
  },
  "post_types": ["IMAGE", "REELS", "STORIES", "CAROUSEL"],
  "caption": { "max_chars": 2200, "max_hashtags": 30, "max_mentions": 20, "counting": "Unicode code points; Meta does not say how it counts", "source": "media_reference" },
  "alt_text": { "max_chars": 1000, "allowed_on": ["image in IMAGE", "image in CAROUSEL"], "source": "media_reference" },
  "collaborators": { "max": 3, "allowed_on": ["IMAGE", "REELS", "CAROUSEL"], "source": "media_reference" },
  "feed_image": {
    "formats": ["jpeg"],
    "max_bytes": 8000000,
    "min_aspect": 0.8,
    "max_aspect": 1.91,
    "min_width": 320,
    "max_width": 1440,
    "color_space": "srgb",
    "source": "media_reference"
  },
  "story_image": { "formats": ["jpeg"], "max_bytes": 8000000, "source": "media_reference" },
  "video_encoding": {
    "containers": ["mp4", "mov"],
    "video_codecs": ["h264", "hevc"],
    "min_fps": 23,
    "max_fps": 60,
    "max_width": 1920,
    "max_bitrate_mbps": 25,
    "audio_codecs": ["aac"],
    "max_audio_hz": 48000,
    "max_audio_channels": 2,
    "source": "media_reference"
  },
  "reel": { "min_seconds": 3, "max_seconds": 900, "max_bytes": 300000000, "min_aspect": 0.01, "max_aspect": 10, "recommended_aspect": 0.5625, "source": "media_reference" },
  "story_video": { "min_seconds": 3, "max_seconds": 60, "max_bytes": 100000000, "min_aspect": 0.1, "max_aspect": 10, "source": "media_reference" },
  "carousel": {
    "min_items": 2,
    "max_items": 20,
    "safe_max_items": 10,
    "safe_max_reason": "The reference allows 20 items, but error 2207028 still says 'no more than 10 photos/videos'.",
    "source": "content_publishing"
  },
  "account_limits": {
    "published_posts_per_24h_guide": 100,
    "published_posts_per_24h_carousel_section": 50,
    "quota_total_in_endpoint_reference": 50,
    "containers_per_24h": 400,
    "container_lifetime_hours": 24,
    "status_check": "once per minute, for no more than 5 minutes",
    "advice": "Read GET /<IG_ID>/content_publishing_limit before publishing instead of hard-coding a number."
  }
}
