Call it
curl https://api.peume.com/v1/call/search-kuaishou-across-all-content-by-keyword \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"keyword": "汽车之家",
"sort_type": "all",
"publish_time": "all",
"duration": "all"
}
}'const res = await fetch("https://api.peume.com/v1/call/search-kuaishou-across-all-content-by-keyword", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"keyword": "汽车之家",
"sort_type": "all",
"publish_time": "all",
"duration": "all"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-kuaishou-across-all-content-by-keyword",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"keyword": "汽车之家",
"sort_type": "all",
"publish_time": "all",
"duration": "all"
}
},
)
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: search-kuaishou-across-all-content-by-keyword.
Parameters
keywordRequiredstringExample: 汽车之家
pcursorstringsort_typestring可选值: all(综合排序), newest(最新发布), most_likes(最多点赞)
all · newest · most_likes
Example: all
publish_timestring可选值: all(全部), one_day(近一日), one_week(近一周), one_month(近一月)
all · one_day · one_week · one_month
Example: all
durationstring可选值: all(全部), under_1_min(1分钟以内), 1_to_5_min(1-5分钟), over_5_min(5分钟以上)
all · under_1_min · 1_to_5_min · over_5_min
Example: all
