Instagram API and MCP server for AI agents
easyCoexistence connects an Instagram Business or Creator account to Claude, ChatGPT or your own platform through Meta's official API. Your AI can publish and schedule photos, carousels, Reels and Stories, reply to comments and DMs, turn comments into DMs and read insights, with one MCP connector and the connection watched around the clock.
- Meta's official API only
- Scheduling from our own queue
- US$ 9 to US$ 0.75 per connection, 3 days free
Quick reference
- Account
- Instagram Business or Creator
- Publish
- Photos, carousels of 2 to 10, Reels and Stories
- Scheduling
- Up to 90 days ahead, from our queue
- Comments
- Read, reply in public or by DM, hide
- DMs
- Reply within 24 hours of the last message
- Comment to DM
- Keyword rules, up to 50 per account
- Automations
- On DMs and comments, with AI replies
- Insights
- Account and post metrics
- Volume
- About 100 posts per account every 24 hours
Connect Instagram to your AI in three steps
- 1Connect InstagramIn the dashboard, choose New connection, sign in with Instagram and pick the Business or Creator account.
- 2Add the connector to your AIOne URL for every connection on your account, in Claude, ChatGPT, Claude Code or Cursor.
- 3AskIn plain language. Your AI picks the right tool for each task.
What to ask your AI on Instagram
- “Schedule this carousel for Friday at 9am with this caption”
- “Reply to the new comments on my last Reel”
- “When someone comments PRICE, send them the price list by DM”
- “How did my posts do this week?”
Connect your first channel in two minutes.
No platform reviews to wait for. Connect WhatsApp, Instagram, TikTok or another channel, then ask your AI to post, reply or report, and watch it work.
- 3 days free
- Cancel any time
- Official APIs only
- Monitored 24/7
Everything your AI can do on Instagram
| What | What it does | Rules and limits |
|---|---|---|
| Connect an account | Instagram's own loginDashboard, or the Partner API | A Business or Creator account |
| Publish | A photo, a carousel (2 to 10) or a Reel with its caption, or a StoryMCP publish_instagram_post | Media at a public HTTPS URL, images as JPEG. About 100 posts per account every 24 hours. A video still processing is finished by easyCoexistence on its own |
| Schedule a post | Publishes at the date and time you setMCP publish_instagram_post with scheduled_at | 1 minute to 90 days ahead; Instagram has no scheduling of its own, so the queue is ours |
| List posts | Recent media with their countsMCP list_social_posts | 1 to 100 at a time |
| Read comments | The comments on a postMCP list_social_comments | — |
| Reply to a comment | In public, or in private as a DM to its authorMCP reply_to_comment; automations | One private reply per comment, within 7 days of it |
| Hide a comment | Hides it, or shows it againMCP hide_comment; automations | — |
| Send a DM | An Instagram Direct message to someone who wrote to youMCP send_social_dm; automations | Within 24 hours of their last message. The account must allow access to messages in the app |
| Insights | The account's reach, views, accounts engaged and follows, or a post's reach, likes, comments, saves, shares and viewsMCP get_social_insights | Meta renames metrics between versions |
| Comment to DM | A keyword in a comment sends a DM, and a public reply if you want one, around the clock with no agentMCP create_comment_rule, list_comment_rules, update_comment_rule | On one post or all of them. Up to 50 rules per account. DMs up to 1,000 characters |
| Forward events | Comments, mentions and DMs sent to your endpoint, signed per accountMCP set_social_webhook_destination; the Partner API | Passed on as they arrive, with no copy kept and no retries |
| Automations | Start on a DM (any, a keyword, a first message, outside hours) or a comment (any or a keyword); reply, reply with AI, reply to or hide the comment, call a webhook, wait, stopDashboard, Automations; MCP | One DM per comment. Replying to or hiding a comment only on a comment |
| Anything else | The profile, mentions and the rest of Instagram's APINot covered by a tool | — |
| Keeping access | Renews access before it expires, checks the account every 6 hours and emails you when it needs reconnectingAutomatic | — |
Frequently asked questions
Can Claude or ChatGPT post to Instagram?
Yes. Add the easyCoexistence connector to Claude or ChatGPT, connect the account once, then ask: the assistant publishes a photo, carousel or Reel with its caption, or a Story, now or at the time you set.
Does it use Instagram's official API?
Yes. Every call goes through Meta's Instagram API with Instagram Login, on a Business or Creator account, so nothing depends on a shared password or an unofficial session.
Can it schedule Instagram posts?
Yes. Instagram's API has no scheduling of its own, so easyCoexistence keeps the queue and publishes each post at the date and time you set.
How much does it cost?
An Instagram account is one connection, billed like any other: US$ 9 to US$ 0.75 per connection per month, falling as you add connections, with the first 3 days free.
Getting started
Which accounts connect, how access works, and the rules around it.
- How to get Instagram API access in 2026
- What the Instagram API can do in 2026, and what stays in the app
- Instagram API changes in 2026: what stopped working and what to do
- Instagram API guide for 2026: from your app to your first post
- Is the Instagram API free? Instagram API pricing in 2026
- Instagram API in Python and Node.js: working examples
- Instagram API rate limits: calls per 24 hours and DM throughput
- Instagram Basic Display API shutdown: what ended and how to migrate
- Which Instagram accounts work with the API: business, creator or personal
- How to connect an Instagram account to an API or AI agent
- What is the Instagram Graph API? The Instagram API in 2026
- Instagram Login vs Facebook Login for the Instagram API
- Managing many Instagram accounts through one API
- Meta's Unified Login for Instagram: what it is and what changes for apps in 2026
- Instagram user IDs: IG_ID, IGSID and app-scoped IDs
AI agents and MCP
The network in Claude, ChatGPT and other MCP clients: the tools and how to add them.
Account and access
The account types, logins, permissions and tokens behind a connection.
- Instagram access tokens: long-lived tokens, 60 days and refreshing
- Instagram API permissions: the scopes behind each feature
- Instagram API App Review: Advanced Access, screencasts and rejections
- Instagram automation: what gets accounts restricted, official API vs bots
- Why an Instagram API connection stops working, and how to keep it alive
- Disconnecting an Instagram account from an app
- Instagram login error "Invalid platform app": what to check
Publishing
What can be published through the API, and the rules each post meets.
- Alt text on Instagram posts through the API
- Instagram caption limits: characters, hashtags and @ tags in the API
- Instagram carousel posts through the API
- Instagram collab posts through the API
- Editing or deleting Instagram posts through the API
- Posting a first comment on an Instagram post through the API
- Getting an Instagram account's posts through the API
- Instagram media container status: the codes and the lifecycle
- Embedding Instagram posts on a website with oEmbed
- Instagram API publishing limits: formats, sizes and posts per day
- Publishing Instagram Reels through the API
- Setting a Reel's cover image through the Instagram API
- Adding music to Instagram Reels through the API
- Scheduling Instagram posts through the API
- Publishing Instagram Stories through the API
- Instagram trial reels through the API: trial_params and graduation
- Tagging people and adding a location to an Instagram post through the API
Comments and DMs
Reading and replying to comments and DMs, and the windows they follow.
- Instagram AI auto-reply for DMs and comments
- Instagram comment moderation through the API
- Instagram comment-to-DM automation: send a DM when someone comments a keyword
- Reading Instagram DM history: the conversations API
- Instagram DMs through the API and the 24-hour window
- Instagram mentions through the API: finding and replying to @mentions
- Instagram private replies API: reply to a comment with a DM
Insights
What the API measures for the account and for each post.
- Instagram API deprecated metrics: impressions and plays replaced by views
- The best time to post on Instagram, from the API's own data
- Instagram Business Discovery: reading another account's posts and follower count
- Instagram follower demographics through the API
- Instagram hashtag search API: finding posts by hashtag
- Instagram insights through the API: account and post metrics
- Instagram follower count and profile fields through the API
- Instagram Reels insights through the API
- Instagram Story insights through the API
Webhooks
The events the network sends, and how they reach your endpoint.
- Instagram comments webhook: the payload, field by field
- Instagram webhook events: comments, mentions and DMs
- Instagram webhook fields: the full list
- Instagram live_comments webhook: comments during a Live broadcast
- Instagram DM attachments in the messages webhook
- Instagram message_reactions webhook: the react and unreact payload
- Instagram messages webhook: the DM payload, echoes and fields
- Instagram messaging_postbacks webhook: ice breakers and buttons
- Instagram messaging_referral webhook: ig.me links and ad referrals
- Instagram story mentions and story replies in the webhook
- Instagram webhook verification: hub.challenge and X-Hub-Signature-256
Error codes
The errors a connection meets, what each means and what to do.
- Instagram API errors: what the common codes mean
100invalid parameter and media not found190access token expired or invalid2207009image aspect ratio not supported2207010caption too long2207026unsupported video format2207027media not ready to publish2207042maximum number of posts reached2207050account restricted or inactive2207051publishing blocked as suspected spam2207052media could not be fetched from the URL2534022DM sent outside the messaging window