Call it
curl https://api.peume.com/v1/call/search-weibo-across-all-content-by-keyword \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "NVIDIA",
"page": 1,
"search_type": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/search-weibo-across-all-content-by-keyword", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "NVIDIA",
"page": 1,
"search_type": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-weibo-across-all-content-by-keyword",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "NVIDIA",
"page": 1,
"search_type": 1
}
},
)
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-weibo-across-all-content-by-keyword.
Parameters
queryRequiredstring搜索关键词
Example: NVIDIA
pageinteger页码
Example: 1
search_typeinteger搜索类型: 1=综合, 61=实时, 3=用户, 64=视频, 63=图片, 62=关注, 60=热门, 21=全网, 38=话题, 98=超话, 92=地点, 97=商品
Example: 1
Other ways to do it
Same job, other sources, cheapest first.
Weibo advanced search by keyword with filtersWeibo: fetch advanced search (web_v2)Weibo real-time search by keywordWeibo: fetch realtime search (web_v2)Search Weibo posts by keyword and time rangeSearches Weibo posts by keyword within a required day-and-hour time range, with page-based pagination, hot or time sorting, and filters for pictures, video, music, or links.Search Weibo posts by keywordSearch Weibo posts by keyword or #topic# with no login — relevance (top, up to ~2,000 posts per keyword) or newest-first (latest, walks back in time without a depth ceiling), optio
