Call it
curl https://api.peume.com/v1/call/get-one-post-s-data-comments-or-transcript \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"platform": "instagram",
"content_type": "data",
"post_id": "3967213292204992434_528817151"
}
}'const res = await fetch("https://api.peume.com/v1/call/get-one-post-s-data-comments-or-transcript", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"platform": "instagram",
"content_type": "data",
"post_id": "3967213292204992434_528817151"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/get-one-post-s-data-comments-or-transcript",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"platform": "instagram",
"content_type": "data",
"post_id": "3967213292204992434_528817151"
}
},
)
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: get-one-post-s-data-comments-or-transcript.
Parameters
platformRequiredstringinstagram | tiktok | youtube
Example: instagram
content_typeRequiredstringdata (metadata + engagement) | comments (paginated) | transcript (spoken text) | audio (Instagram/TikTok only)
Example: data
post_idRequiredstringInstagram: '<pk>_<userid>' as in the posts route; TikTok: the video id; YouTube: the video id
Example: 3967213292204992434_528817151
pagination_tokenstringfor content_type=comments, the cursor for the next page
