Call it
curl https://api.peume.com/v1/call/instagram-list-a-post-s-comments \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"shortcode": "your shortcode",
"url": "your url"
}
}'const res = await fetch("https://api.peume.com/v1/call/instagram-list-a-post-s-comments", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"shortcode": "your shortcode",
"url": "your url"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/instagram-list-a-post-s-comments",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"shortcode": "your shortcode",
"url": "your url"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: instagram-list-a-post-s-comments.
Parameters
shortcodestringidentity
urlstringidentity
cursorstringfilter; the next page: the previous answer's output.next_cursor, sent with the same body otherwise. The page comes from the provider that served the first one; null there means no next page
Other ways to do it
Same job, other sources, cheapest first.
Comments of an Instagram postList the top-level comments of one Instagram post or reel with author, text, likes, reply count and time.Instagram Post CommentsList the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).Instagram post or reel comments by URLRetrieves comments on a public Instagram post or reel.Instagram post comments by shortcode or URLInstagram: fetch post comments (v2)Instagram post comments by shortcodeInstagram: get post comments (v3)Instagram post comments by shortcodeRetrieves top-level comments for an Instagram post by shortcode, with cursor pagination and popular or newest sorting.
