Call it
curl https://api.peume.com/v1/call/search-kuaishou-users-by-keyword-and-filters \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"keyword": "人工智能",
"user_relation": "all",
"user_gender": "all",
"fans_sort": "default"
}
}'const res = await fetch("https://api.peume.com/v1/call/search-kuaishou-users-by-keyword-and-filters", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"keyword": "人工智能",
"user_relation": "all",
"user_gender": "all",
"fans_sort": "default"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-kuaishou-users-by-keyword-and-filters",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"keyword": "人工智能",
"user_relation": "all",
"user_gender": "all",
"fans_sort": "default"
}
},
)
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-users-by-keyword-and-filters.
Parameters
keywordRequiredstringExample: 人工智能
pcursorstringEmpty for first page
user_relationstringall / same_city / verified / live / following
all · same_city · verified · live · following
Example: all
user_genderstringall / male / female
all · male · female
Example: all
fans_sortstringdefault / most_to_least / least_to_most
default · most_to_least · least_to_most
Example: default
Other ways to do it
Same job, other sources, cheapest first.
