Call it
curl https://api.peume.com/v1/call/kuaishou-hashtag-feed-by-tag-id-or-name \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"general_tag_id": "清纯甜美少女",
"tab": "hot",
"tag_type": 1,
"tag_source": 2
}
}'const res = await fetch("https://api.peume.com/v1/call/kuaishou-hashtag-feed-by-tag-id-or-name", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"general_tag_id": "清纯甜美少女",
"tab": "hot",
"tag_type": 1,
"tag_source": 2
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/kuaishou-hashtag-feed-by-tag-id-or-name",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"general_tag_id": "清纯甜美少女",
"tab": "hot",
"tag_type": 1,
"tag_source": 2
}
},
)
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: kuaishou-hashtag-feed-by-tag-id-or-name.
Parameters
general_tag_idRequiredstring话题标签传标签名或 search_tag 的数字 id;声音标签传编码串
Example: 清纯甜美少女
tabstringhot(最热门) / latest(最新发布) / image(图片) / live(直播)
hot · latest · image · live
Example: hot
tag_namestring话题标签建议传,等于标签名
tag_typeinteger1=话题标签,29=声音/音乐标签
Example: 1
tag_sourceinteger2=搜索进入话题页,3=作品页声音标签
Example: 2
from_photo_idstring进入标签页的源作品 photoId(可选)
pcursorstring首次留空,翻页传上一页响应的 pcursor
