Call it
curl https://api.peume.com/v1/call/tiktok-douyin-trending-topics-from-high-follower-accounts \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"page": 10,
"page_size": 10
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-douyin-trending-topics-from-high-follower-accounts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"page": 10,
"page_size": 10
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-douyin-trending-topics-from-high-follower-accounts",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"page": 10,
"page_size": 10
}
},
)
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-douyin-trending-topics-from-high-follower-accounts.
Parameters
pageinteger页码
page_sizeinteger每页数量
date_windowinteger时间窗口,1 按小时 2 按天
keywordstring搜索关键词,对榜单按关键词过滤,空为全部
tagsarray子级垂类标签,空则为全部,多个标签需传入{"value": "{顶级垂类标签id}", "children": [{"value": "{子级垂类标签id}"}, {"value": "{子级垂类标签id}"}]}
