Call it
curl https://api.peume.com/v1/call/tiktok-comment-replies-by-comment-id \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"comment_id": "7623828115408274207",
"url": "https://www.tiktok.com/@stoolpresidente/video/7623818255903329566",
"cursor": 3
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-comment-replies-by-comment-id", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"comment_id": "7623828115408274207",
"url": "https://www.tiktok.com/@stoolpresidente/video/7623818255903329566",
"cursor": 3
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-comment-replies-by-comment-id",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"comment_id": "7623828115408274207",
"url": "https://www.tiktok.com/@stoolpresidente/video/7623818255903329566",
"cursor": 3
}
},
)
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-comment-replies-by-comment-id.
Parameters
comment_idRequiredstringTikTok comment ID. This is the cid from the comments endpoint.
Example: 7623828115408274207
urlRequiredstringTikTok video URL. This is the url from the comments endpoint.
Example: https://www.tiktok.com/@stoolpresidente/video/7623818255903329566
cursornumberCursor to get more replies. Get 'cursor' from previous response.
Example: 3
Other ways to do it
Same job, other sources, cheapest first.
List replies to a commentBest sourceList replies to a comment. Checks the cheapest source first and moves to the next one until it finds an answer.TikTok comment replies by video and comment idGet comment replies data of specified videoTikTok comment replies by post and comment idRetrieves replies to a specific comment on a TikTok post with cursor pagination.
