Answers / Weibo
How can I read Weibo trending topics and hot searches with an API?
Call GET /v1/weibo/trending with your Bearer API key or call get_trending with platform=weibo in an MCP client. The response returns the current hot search topics, ranks, discussion volume and sample posts with links. You can then pass a topic or post ID to /v1/weibo/comments to inspect audience reactions.
Weibo · trending · $0.003 a call · one verified website trial · updated 2026-11-13
Run it live
Calls run only when you press Run. Opening this page does not spend credit.
Loading…
Profiles require a numeric UID. Search returns realtime results; top ordering is unavailable.
Your results will appear here. Choose a platform and action, then press Run.
Real API calls require verification for one trial, or a signed-in account with prepaid credit.
From code
curl "https://posttodata.com/v1/weibo/trending?limit=5" -H "Authorization: Bearer YOUR_API_KEY"import requests
r = requests.get(
"https://posttodata.com/v1/weibo/trending",
headers={"Authorization": "Bearer YOUR_API_KEY"},
params={"limit": 5},
)
for item in r.json()["data"]["items"]:
print(item["url"], item.get("text") or item.get("title"))const url = new URL("https://posttodata.com/v1/weibo/trending");
url.searchParams.set("limit", "5");
const res = await fetch(url, {
headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await res.json();
console.log(data.data.items);req, _ := http.NewRequest("GET", "https://posttodata.com/v1/weibo/trending?limit=5", nil)
req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)From your AI
Claude and ChatGPT clients that support OAuth can sign in without pasting a key. Follow the client setup guide. The command below is the API-key option for Claude Code.
claude mcp add --transport http posttodata https://posttodata.com/mcp --header "Authorization: Bearer YOUR_API_KEY"Then ask
“Check Weibo trending topics using PostToData, pick the top discussion about technology, and summarize public sentiment with sources.”
The model calls get_trending with platform weibo.
Response Schema & Data Sample
Normalized JSON output structure returned by PostToData. All fields are strongly typed; missing upstream metrics return null rather than being omitted.
{
"meta": {
"platform": "weibo",
"action": "trending",
"total_items": 1,
"currency": "USD",
"price_usd": "0.003"
},
"data": {
"items": [
{
"id": "item_101",
"type": "post",
"url": "https://weibo.com/example_id",
"published_at": "2026-11-15T12:00:00Z",
"title": "weibo insights & discussion",
"text": "Structured body content retrieved from the public social post, ready for AI indexing or sentiment analysis.",
"author": {
"id": "creator_01",
"username": "creator_name",
"name": "Creator",
"url": null
},
"metrics": {
"likes": 215,
"comments": 34,
"shares": 12,
"views": 5400,
"score": null
}
}
]
}
}Good to know
- Weibo trending lists at $0.003 per successful call.
- Returns real-time trending topics and rank metadata.
- Compatible with Claude, ChatGPT, Cursor and standalone Node/Python workflows.
- No Weibo login cookie (SUB) or SMS verification required.
Full reference in the docs. All Weibo endpoints are on the Weibo API page.
More answers