Call it
curl https://api.peume.com/v1/call/instagram-post-or-reel-comments-by-url \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://www.instagram.com/reel/DOq6eV6iIgD"
}
}'const res = await fetch("https://api.peume.com/v1/call/instagram-post-or-reel-comments-by-url", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "https://www.instagram.com/reel/DOq6eV6iIgD"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/instagram-post-or-reel-comments-by-url",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"url": "https://www.instagram.com/reel/DOq6eV6iIgD"
}
},
)
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-post-or-reel-comments-by-url.
Parameters
urlRequiredstringThe URL of the post or reel to get comments from
Example: https://www.instagram.com/reel/DOq6eV6iIgD
cursorstringThe cursor to get more comments. Get 'cursor' from previous response.
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.List a post's commentsBest sourceList a post's comments. Checks the cheapest source first and moves to the next one until it finds an answer.Instagram Post CommentsList the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).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.
