Call it
curl https://api.peume.com/v1/call/weibo-real-time-search-by-keyword \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "yu7",
"page": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/weibo-real-time-search-by-keyword", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "yu7",
"page": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/weibo-real-time-search-by-keyword",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "yu7",
"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-real-time-search-by-keyword.
Parameters
queryRequiredstringSearch keyword
Example: yu7
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 advanced search by keyword with filtersWeibo: fetch advanced 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
