The Instagram API built for developers
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.
What you can do with Instagram.
Comments
Read, reply, hide, unhide, like, unlike, and delete comments on any post.
Direct Messages
List conversations, read message threads, and send replies via the Instagram Messaging API.
Mentions
Retrieve posts and stories where your account is mentioned or tagged.
Publishing
Create and schedule photos, videos, carousels, stories, and reels with full media upload support.
Webhooks
Receive real-time events for new comments, messages, and mentions via Meta webhook subscriptions.
See it in action.
List comments on an Instagram post
1curl -s https://api.social-api.ai/v1/inbox/comments/<post-id> \
2 -H "Authorization: Bearer <your-api-key>" | jq
3
4# Response
5{
6 "data": [
7 {
8 "id": "<comment-id>",
9 "platform": "instagram",
10 "author": { "username": "designfan", "profile_url": "..." },
11 "text": "Love this design! Where can I get one?",
12 "like_count": 12,
13 "created_at": "2026-03-20T14:32:00Z"
14 }
15 ],
16 "pagination": { "next_cursor": "<cursor>" }
17}
Fetch all comments for a specific post with a single API call. Pagination, rate-limit retries, and token refresh are handled automatically.
Why developers love Instagram on SocialAPI.ai
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.
Frequently asked questions.
Get started today
Ready to unify your social interactions?
Free tier available · No credit card required · Ships with MCP server