Call it
curl https://api.peume.com/v1/call/xiaohongshu-user-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"keyword": "your keyword"
}
}'const res = await fetch("https://api.peume.com/v1/call/xiaohongshu-user-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"keyword": "your keyword"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/xiaohongshu-user-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"keyword": "your keyword"
}
},
)
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: xiaohongshu-user-search.
Parameters
user_typestringFilters accounts in search_users by type: general (regular user), verified_individual (verified person) or business (verified business). Omit it for no limit. One of: business, general, verified_individual.
business · general · verified_individual
page_tokenstringPagination cursor for the comments, sub_comments, search, user_posts, search_users and hashtag actions: pass back the next_page_token value from a row of the previous response to fetch the next page; omit it to start from the first page.
keywordRequiredstringA keyword for finding accounts, such as coffee, a brand name or a topic. It returns users (creators and brand accounts), not notes.
follower_rangestringFilters accounts in search_users by follower count: under_100, 100_to_1k, 1k_to_10k, 10k_to_100k or over_100k. Omit it for no limit. One of: 100_to_1k, 10k_to_100k, 1k_to_10k, over_100k, under_100.
100_to_1k · 10k_to_100k · 1k_to_10k · over_100k · under_100
