Call it
curl https://api.peume.com/v1/call/zhihu-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 20,
"keyword": "your keyword"
}
}'const res = await fetch("https://api.peume.com/v1/call/zhihu-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 20,
"keyword": "your keyword"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/zhihu-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 20,
"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: zhihu-search.
Parameters
content_typestringFilters the content type for the search action. Allowed values are all (default), answer, article, and video. This parameter narrows matching content and does not change the response schema. One of: all, answer, article, video.
all · answer · article · video
page_tokenstringPage token for the paged Zhihu lists. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, keeping the other parameters unchanged. Each page is one call.
limitintegerMaximum number of results, 1 to 100 (default 20). For some actions it counts pages or items per parent rather than final rows.
Example: 20
sortstringOrders search results. Allowed values are general (default), upvote_count_descending for most-upvoted, and time_descending for newest publish. One of: general, time_descending, upvote_count_descending.
general · time_descending · upvote_count_descending
keywordRequiredstringThe content search term for the Zhihu search action. Do not pass content URLs, author handles, or profile links to this parameter.
