Call it
curl https://api.peume.com/v1/call/weibo-advanced-search-by-keyword-with-filters \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"q": "yu7",
"search_type": "hot",
"include_type": "pic",
"timescope": "custom:2025-09-01-0:2025-09-08-23",
"page": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/weibo-advanced-search-by-keyword-with-filters", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"q": "yu7",
"search_type": "hot",
"include_type": "pic",
"timescope": "custom:2025-09-01-0:2025-09-08-23",
"page": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/weibo-advanced-search-by-keyword-with-filters",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"q": "yu7",
"search_type": "hot",
"include_type": "pic",
"timescope": "custom:2025-09-01-0:2025-09-08-23",
"page": 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: weibo-advanced-search-by-keyword-with-filters.
Parameters
qRequiredstringSearch keyword
Example: yu7
search_typestring搜索类型/Search type: all(全部), hot(热门), original(原创), verified(认证用户), media(媒体), viewpoint(观点)
Example: hot
include_typestring包含类型/Include type: all(全部), pic(含图片), video(含视频), music(含音乐), link(含短链)
Example: pic
timescopestringTime scope (custom:start:end)
Example: custom:2025-09-01-0:2025-09-08-23
pageintegerPage number
Example: 1
Other ways to do it
Same job, other sources, cheapest first.
Search Weibo across all content by keywordWeibo: fetch search all (app)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
