Call it
curl https://api.peume.com/v1/call/youtube-community-post-comment-replies-by-token \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"continuation_token": "your continuation token",
"language_code": "zh-CN",
"country_code": "US",
"need_format": true
}
}'const res = await fetch("https://api.peume.com/v1/call/youtube-community-post-comment-replies-by-token", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"continuation_token": "your continuation token",
"language_code": "zh-CN",
"country_code": "US",
"need_format": true
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/youtube-community-post-comment-replies-by-token",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"continuation_token": "your continuation token",
"language_code": "zh-CN",
"country_code": "US",
"need_format": True
}
},
)
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: youtube-community-post-comment-replies-by-token.
Parameters
continuation_tokenRequiredstringReply continuation token from post comment
language_codestringLanguage code
Example: zh-CN
country_codestringCountry code
Example: US
need_formatbooleanWhether to clean and format the data
Example: true
