Call it
curl https://api.peume.com/v1/call/tiktok-douyin-creator-hot-music-billboard \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"billboard_tag": 0,
"order_key": 1,
"time_filter": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-douyin-creator-hot-music-billboard", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"billboard_tag": 0,
"order_key": 1,
"time_filter": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-douyin-creator-hot-music-billboard",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"billboard_tag": 0,
"order_key": 1,
"time_filter": 1
}
},
)
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-creator-hot-music-billboard.
Parameters
billboard_taginteger榜单标签/Billboard tag (0=全部,具体分类值可通过配置接口获取)
Example: 0
order_keyinteger排序键/Order key (1=播放最高, 2=点赞最多, 4=热度最高, 5=投稿最多)
Example: 1
time_filterinteger时间筛选/Time filter (1=24小时, 2=7天, 3=30天)
Example: 1
Other ways to do it
Same job, other sources, cheapest first.
