Call it
curl https://api.peume.com/v1/call/tiktok-post-comments-by-post-id \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"awemeId": "7666214645006421278",
"cursor": "0"
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-post-comments-by-post-id", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"awemeId": "7666214645006421278",
"cursor": "0"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-post-comments-by-post-id",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"awemeId": "7666214645006421278",
"cursor": "0"
}
},
)
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: tiktok-post-comments-by-post-id.
Parameters
awemeIdRequiredstringthe post id (same numeric id as the video URL)
Example: 7666214645006421278
cursorstringstart at '0'
Example: 0
Other ways to do it
Same job, other sources, cheapest first.
List a video's commentsBest sourceList a video's comments. Checks the cheapest source first and moves to the next one until it finds an answer.Comments of a TikTok postList the top-level comments of one public TikTok post, most relevant first, with text, time, likes and reply count.TikTok video comments by video idComments on a TikTok videoTikTok video comments by video idGet single video comments dataTikTok video comments by URL — replies, engagementFetches comments on a TikTok video by URL — useful for reading audience reactions, replies, and engagement.TikTok Video CommentsList the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
