Instagram Comments API
List the comments on an Instagram post or Reel by its shortcode. Each comment includes the text, author, time posted and like count. Page through the comments with `cursor`.
- Endpoint
- POST /instagram/post-comments
- Price
- 1 credit per result
- SDK
- client.instagram.getPostComments()
- MCP tool
- instagram_post_comments
curl -X POST "https://api.bridgly.app/instagram/post-comments" \ -H "Authorization: Bearer $BRIDGLY_KEY" \ -H "Content-Type: application/json" \ -d '{ "shortcode": "C3xKj2LOqZm", "count": 10}'import osimport requestsresponse = requests.post( "https://api.bridgly.app/instagram/post-comments", headers={"Authorization": f"Bearer {os.environ['BRIDGLY_KEY']}"}, json={ "shortcode": "C3xKj2LOqZm", "count": 10, },)data = response.json()const response = await fetch("https://api.bridgly.app/instagram/post-comments", { method: "POST", headers: { Authorization: `Bearer ${process.env.BRIDGLY_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "shortcode": "C3xKj2LOqZm", "count": 10 }),});const data = await response.json();import { Bridgly } from "@bridgly/sdk";const client = new Bridgly({ apiKey: "bgly_YOUR_KEY" });const res = await client.instagram.getPostComments({ shortcode: "C3xKj2LOqZm", count: 10});if (res.type === "success") { console.log(res.data);}What does the Instagram Comments API return?
Instagram comments API: export the comments on any public Instagram post or reel by shortcode, each with text, author, time and like count, as JSON. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.
Request body
shortcodestringrequired- Post shortcode, or the post or Reel link, e.g. "DA1b2C3d4E5" or "https://www.instagram.com/p/DA1b2C3d4E5/"
countinteger · 1–10 · default 10- Number of results to return (1–10). Defaults to 10.
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
Example response
{ "timeMs": 1840, "creditsCost": 1, "data": { "nextCursor": "string", "comments": [ { "id": "string", "text": "string", "created_at": 0, "owner": { "id": "string", "username": "string", "full_name": "string", "profile_pic_url": "string", "is_private": true, "is_verified": true }, "likes_count": 0 } ] }}What can you build with the Instagram Comments API?
Run giveaways
Collect every commenter on a post to pick a winner.
Analyze sentiment
Send comments to a model to see how people received a post.
Answer questions
Find questions in the comments that still need a reply.
Instagram Comments API questions
How do I export comments from an Instagram post?
Send the post’s shortcode, the code after /p/ or /reel/ in its link, and page through with cursor. Each comment has its text, author, time and like count.
Can I pick a giveaway winner from Instagram comments?
Yes. Collect the comments on the giveaway post, remove duplicates by author, and draw from the list.
Can I run sentiment analysis on Instagram comments?
Yes. The comment text comes back as plain JSON, ready to send to a sentiment or topic model.
How do I get all the comments on an Instagram post?
Each response has a nextCursor. Until it is null, send it back as cursor to get the next batch of comments.
How do I use the Instagram Comments API?
Send a POST request to https://api.bridgly.app/instagram/post-comments with shortcode in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.instagram.getPostComments(). AI agents connected to Bridgly over MCP can call the instagram_post_comments tool.
How much does the Instagram Comments API cost?
Costs 1 credit per result returned, with a minimum of 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.00 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.
Try it with a free tool
Look up a public example in your browser before connecting the API. No account needed.
More Instagram endpoints
The same API key works on every endpoint. See all Instagram API endpoints.
- Instagram Posts API→Instagram posts API: list any public account’s posts and reels by username, with caption, likes, comments, views, media URLs and publish time, as JSON.
- Instagram Post API→Instagram post API: get any public Instagram post or reel by its shortcode as JSON, with caption, likes, comments, views, media URLs and publish time.
- Instagram User Search API→Instagram user search API: find Instagram accounts by name or keyword, each with username, bio, follower and post counts and verified and business flags.
- Instagram Profile API→Instagram profile API: get any public Instagram profile by username as JSON, with bio, bio links, follower, following and post counts and verified flag.
Try the Instagram Comments API
100 free credits on business email, no card. Your first call takes a minute.