Instagram API
Posts, comments, accounts.
The Instagram API lets you search accounts and read post details, comments, account profiles and an account's posts, with no Instagram account or login. Calls cost 2 to 3 credits each (from $0.004); failed calls are free. Instagram does not give the author's follower count with a post, so that field is returned as null. Use it over HTTP with an API key, or through MCP from your AI client. Last tested 2026-11-19.
Last tested: Last updated:
/v1/search200 OK3 creditsplatform: "instagram" · query: "nike" · type: "user"null followersnull followingnull postsbiofollowersfollowingposts_count5 actions.
Plus 1 only Instagram has.
Open a row to see its request. Its full parameters and response fields are on its own page.
SearchFind accounts by keyword: name./v1/search3 credits≈ $0.01$0.20 per 1,000 (up to 50 a page)
platformquerycurl https://socialtoai.app/v1/search \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "instagram", "query": "nike", "type": "user" }'POST /v1/searchYour key goes in the Authorization headerDetailOne post by ID or link: text, author, likes, comment count, views and publish time./v1/detail2 credits≈ $0.0067
platformid or urlinclude=transcriptthe transcript of the video2 creditscurl https://socialtoai.app/v1/detail \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "instagram", "id": "DeCPVhERA8e" }'POST /v1/detailYour key goes in the Authorization headerCommentsThe comments under one post: text, likes and time./v1/comments2 credits≈ $0.0067$0.45 per 1,000 (up to 15 a page)
platformid or urlreply_ofthe replies under one comment2 creditscurl https://socialtoai.app/v1/comments \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "instagram", "id": "DeCPVhERA8e" }'POST /v1/commentsYour key goes in the Authorization headerUser ProfileOne account: name, bio, followers and following./v1/user_profile2 credits≈ $0.0067
platformusernamecurl https://socialtoai.app/v1/user_profile \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "instagram", "username": "nasa" }'POST /v1/user_profileYour key goes in the Authorization headerUser PostsThe recent posts of one account./v1/user_posts2 credits≈ $0.0067$0.56 per 1,000 (up to 12 a page)
platformusername+1 optionalcurl https://socialtoai.app/v1/user_posts \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "instagram", "username": "nasa" }'POST /v1/user_postsYour key goes in the Authorization headerNot offered on Instagram: trending.
Compared with TikTok: Instagram posts also give images but do not give author followers, shares or saves; its accounts do not give posts.
Hashtag postsGet a page of the newest Instagram posts under a hashtag, by its name, about 33 a page.instagram.hashtag_posts2 credits≈ $0.0067$0.19 per 1,000 (up to 35 a page)
Get a page of the newest Instagram posts under a hashtag, by its name, about 33 a page: caption, author's ID, like and comment counts, time posted, image.
idcurl https://socialtoai.app/v1/call/instagram.hashtag_posts \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "id": "nasa" }'POST /v1/call/instagram.hashtag_postsYour key goes in the Authorization headerWhat a whole job costs.
| The job | How it adds up | Credits | About |
|---|---|---|---|
| Read 1,000 Instagram comments | usually 15 a page, 67 pages | 134 credits | about $0.45 |
| Backfill one Instagram account: a list of 200 posts and 20 in full | 17 list pages + 20 full reads | 74 credits | about $0.25 |
| Watch 1 Instagram account daily, at most a month | 12 credits × 31 days | 372 credits | about $1.24 |
Priced at the $10 pack; larger purchases bring it down. A watch runs only while it is on, and you can pause it at any time. There is no subscription.
Or skip the parameters.
Just ask.
Connect SocialToAI once over MCP. Your AI picks the calls, and you see what each one cost.
Read the comments on this Instagram post and tell me what people complain about.
- detailthe post you pasted2 credits
- commentsfirst 3 pages6 credits
Find five Instagram accounts that post about camping coffee and show me what they posted lately.
- searchaccounts · “camping coffee”3 credits
- user_posts5 accounts10 credits
How big is this Instagram account, and what has it posted lately?
- user_profilethe account you named2 credits
- user_postsits latest page2 credits
Same shape on every platform.
Learn it once.
A Instagram post and a Xiaohongshu note come back with the same field names. What a platform cannot give comes back as null.
{ "platform": "instagram", "id": "…", "ref": "…", "approx": [], "extra": {}, "type": "content", "url": "https://example.com/…", "format": "video", "title": null, "text": "…", "published_at": "2026-10-03T14:10:18.000Z", "author": { "id": "…", "username": "…", "name": "…", "verified": true, "followers": null }, "metrics": { "likes": 221586, "comments": 2299, "shares": null, "collects": null, "views": 5610912, "reposts": null }, "images": ["https://example.com/…"], "hashtags": [], "is_pinned": null}titleauthor.followersmetrics.sharesmetrics.collectsmetrics.repostsis_pinned{ "platform": "xiaohongshu", "id": "…", "ref": "…", "approx": [], "extra": {}, "type": "content", "url": "https://example.com/…", "format": "image", "title": "…", "text": "…", "published_at": "2026-10-09T01:00:34.000Z", "author": { "id": "…", "username": "…", "name": "…", "verified": null, "followers": null }, "metrics": { "likes": 927, "comments": 122, "shares": 256, "collects": 59, "views": null, "reposts": null }, "images": ["https://example.com/…", "https://example.com/…"], "hashtags": ["…", "…"], "is_pinned": false}author.verifiedauthor.followersmetrics.viewsmetrics.reposts6 tools read Instagram.
All toolsDoes Instagram have an official API?
Instagram's official API works through Business or Creator accounts. Besides an account's own data, it can read basic metadata and media of other professional accounts and search hashtags; serving accounts you don't manage needs App Review and Business Verification, and hashtag search needs App Review.
Source: Instagram's developer documentation, checked 2026-10-17.
| Who can use it | Cost | Limits | Source | |
|---|---|---|---|---|
| Instagram Platform API | Apps working through Business or Creator accounts. | The overview states no price. | Reads the account's own data, basic metadata and media of other professional accounts; serving accounts you don't manage needs App Review and Business Verification. | developers.facebook.com, checked 2026-10-17 |
| Hashtag search | Apps approved in App Review for Instagram Public Content Access. | The page states no price. | At most 30 unique hashtags per account in a rolling 7 days; returns top or recent media for a hashtag. | developers.facebook.com, checked 2026-10-29 |
| SocialToAI | Anyone with a key; no Instagram account of yours and no review. | From 2 credits a call (≈$0.0067); failed calls are free. | Publicly visible content only; up to 50 items a call. | Pricing |
1,000 posts here: about 84 instagram.user_posts calls (typically 12 a page), 168 credits, $0.56 at the first pack. Estimate your cost
- Instagram transcript APIWhat is said in a public reel or video post, by link.
- Comments API, every platformWhich platforms give comments, how many a page, at what price.
- Transcript API, every platformWhich platforms give a transcript, timed or not.
- How to get the numbers for hundreds of post links at oncethe numbers of hundreds of links in one job: prices per platform, what the free credits run, and what it stops for
- Monitor competitors' accounts every daycompetitors' accounts, daily: what is new and what beat their usual, from 9 credits an account
- Monitor brand mentions every day, with the posts behind thema brand, daily, across platforms: attitudes and the posts behind them, from 16 credits a run
- Instagram MCP serverLet your AI read Instagram.