SocialAPI.ai

The Instagram API built for developers

Manage Instagram comments, DMs, and mentions through one API.

  • Free tier, no credit card
  • Instant API key
  • MCP server included
On Instagram
Comments
  • maya.r2h

    Do these come in black?

    ledge.skate1m

    Yes, black with a gum sole, sizes 36 to 46.

  • jin.k5h

    Skated mine all weekend, the grip is unreal.

  • View hidden comments (1)
POST/v1/inbox/comments/{postId}200 OK

Capabilities: What you can build on Instagram

Every capability is one endpoint, the same one you call on every other platform.The screens show where each call lands.

  • Direct Messages

    List conversations, read message threads, and send replies via the Instagram Messaging API.

    • GET/v1/inbox/conversations
    • POST/v1/inbox/conversations/{id}/messages

    Jin K.

    jin.k

    Sat 6:42 PM

    Is grip tape free?

    Free with any deck.

    Today 9:12 AM

    โค๏ธ

    Broke it on the 5-stair. Got an 8.25?

    You replied to jin.k

    Three in 8.25. Want it gripped?

    Seen

    Grip itI'll do it
  • Publishing

    Create and schedule photos, videos, carousels, stories, and reels with full media upload support.

    • POST/v1/posts
    ledge.skate

    Liked by priya.s and others

    ledge.skate New white lows just landed. In store Saturday, all sizes.

    October 6

  • Comments

    Read, reply, hide, unhide, like, unlike, and delete comments on any post.

    • GET/v1/inbox/comments/{postId}
    • POST/v1/inbox/comments/{postId}
    • read
    • reply
    • hide
    • unhide
    • like
    • delete
  • Mentions

    Retrieve posts and stories where your account is mentioned or tagged.

    • GET/v1/accounts/{id}/mentions
    • posts
    • stories
    • tags
  • Webhooks

    Receive real-time events for new comments, messages, and mentions via Meta webhook subscriptions.

    Webhook events

    • comment.received
    • dm.received
    • mention.received

On every platform

  • Agent-ready

    Every Instagram capability is a typed tool on the SocialAPI.ai MCP server.

    • social_api_list_post_comments
    • social_api_send_dm
    • social_api_validate_post
  • One API key

    The key that calls Instagram calls all 13 platforms.

    Authorization: Bearer sapi_key_โ€ฆ
  • Predictable errors

    The same status codes everywhere, whatever the platform behind them.

    • 401expired token
    • 429rate limited
    • 501not on this platform

Call the Instagram API

List comments on an Instagram post

Fetch all comments for a specific post with a single API call. Pagination, rate-limit retries, and token refresh are handled automatically.

cURL
curl -s "https://api.social-api.ai/v1/inbox/comments/<post-id>?account_id=<account-id>" \
  -H "Authorization: Bearer <your-api-key>" | jq

# Response
{
  "data": [
    {
      "id": "<comment-id>",
      "platform": "instagram",
      "author_username": "designfan",
      "author_profile_url": "...",
      "text": "Love this design! Where can I get one?",
      "like_count": 12,
      "created_at": "2026-03-20T14:32:00Z"
    }
  ],
  "pagination": { "has_more": true, "next_cursor": "<cursor>" }
}

In depth: How the Instagram API works on SocialAPI.ai

Read and reply to comments, manage DMs, track mentions, and publish photos, videos, carousels, stories, and reels through a single REST endpoint. SocialAPI.ai handles Meta Graph API pagination, rate limits, and token refresh so you can ship features instead of reading platform docs.

Unified comment management

Read every comment across all your Instagram posts through one paginated endpoint. Reply, hide, like, or delete comments without switching between Graph API versions or managing cursor-based pagination yourself. SocialAPI.ai normalizes comment data into a consistent schema regardless of whether the comment is on a photo, reel, or carousel.

Instagram DM inbox

Access Instagram Direct conversations and messages through the same API you use for comments. List open conversations, read full message threads, and send text replies. SocialAPI.ai manages the Instagram Messaging API scopes and 24-hour messaging windows behind a simple POST endpoint.

Multi-format publishing

Publish photos, videos, carousels, stories, and reels through a single endpoint. Upload media via presigned URLs, attach captions and alt text, then publish immediately or schedule for later. SocialAPI.ai handles the two-step container creation flow that the Instagram Content Publishing API requires.

Real-time webhook events

Receive instant notifications when someone comments on your posts, sends you a DM, or mentions your account. SocialAPI.ai verifies Meta webhook signatures, deduplicates events, and forwards them to your configured webhook endpoints with exponential-backoff retries.

Mention and tag tracking

Monitor when other accounts mention or tag your Instagram profile. The mentions endpoint returns the post content, author details, and media URLs so you can build brand monitoring, UGC collection, or automated response workflows.

Simple, honest pricing.

Reading comments, DMs, and mentions is free and unlimited on every plan. Paid plans start at $29/mo with unlimited posts and interactions. The free tier needs no credit card.

Frequently asked questions

What developers ask before they ship Instagram.

Do I need a Facebook Page to use the Instagram API?

No. SocialAPI.ai uses the Instagram API with Instagram Login flow (launched by Meta in July 2024), which lets you connect any Instagram Business or Creator account directly via OAuth, without linking a Facebook Page. You only need a personal Facebook account if you are registering your own Meta developer app.

Can I send DMs to users who haven't messaged me first?

No. Instagram only allows replies within existing conversations. You can respond to users who have messaged your account, but you cannot initiate new DM threads. This is an Instagram platform policy.

How does SocialAPI.ai handle Instagram rate limits?

SocialAPI.ai tracks Meta Graph API rate-limit headers on every request and automatically queues retries with appropriate backoff. If a rate limit is hit, the API returns a 429 status with a Retry-After header so your application can handle it gracefully.

Can I publish Instagram Reels through the API?

Yes. Upload your video via the media upload endpoint, then create a post with the type set to reel. SocialAPI.ai handles the container creation, status polling, and final publish step that the Instagram Content Publishing API requires.

What Instagram account types are supported?

SocialAPI.ai works with Instagram Business and Creator accounts. Personal accounts are not supported by the Instagram API. You can convert a personal account to a professional account in the Instagram app settings.

Every other platform, one API: Every other platform, one API

Same key, same shapes, same webhook.

Ready to unify your social interactions?

Free tier available. No credit card required. Ships with the MCP server.