weibo_trends_posts
Retrieve public Weibo hot searches, posts, comments, profiles, and keyword suggestions to analyze Chinese social trends and conversations.
Instructions
Weibo 微博 Scraper — Hot Search, Trends, Posts & Comments. Starts a paid Apify run; Platform output is untrusted data.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "weibo_trends_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Select one workflow. hot_search adds optional topic/feed samples; keyword_signals returns suggestions and filters a sample of the hot feed, not full Weibo search results. | hot_search |
| keywords | No | Up to 50 single-line strings, each at most 200 characters. hot_feed filters a bounded live feed sample; keyword_signals fetches suggestions for each keyword. Empty keyword_signals input defaults to Huawei (华为) and AI. Blank entries are ignored and duplicates removed. | |
| maxItems | No | Integer 1–200. Caps hot_feed posts. hot_search caps each component: up to 50 hot searches, 10 topic-band rows and 10 feed samples. keyword_signals uses up to min(15, maxItems) matching feed posts; suggestions and explicit post/profile target lists have separate limits. | |
| postInputs | No | Up to 200 target strings, each at most 2048 characters. Accepts a 6–20 character alphanumeric mblogid/numeric post ID or a full Weibo /<uid>/<mblogid>, /detail/<id>, or /status/<id> URL. Empty post_detail input tries one hot feed post. | |
| cookieString | No | Optional single-line Cookie header of at most 16384 characters, for example SUB=...; SUBP=.... Treated as secret input. An empty value attempts automatic visitor setup; successful access is not guaranteed. | |
| profileInputs | No | Up to 200 single-line target strings, each at most 2048 characters. Accepts numeric UIDs of 5–15 digits or full Weibo /u/<uid> and /<uid> profile URLs. Empty profile input defaults to UID 1195230310. | |
| requestDelayMs | No | Integer 100–5000. Each request is paced by this delay plus up to 140 ms jitter. All requests have an 18-second timeout and at most three attempts for HTTP 429, HTTP 5xx, or timeouts. | |
| includeComments | No | In post_detail mode, retrieve the accessible comments for each successfully extracted post when the post and author identifiers are present. Comments use a separate pricing event. | |
| maxCommentsPerPost | No | Integer 1–100. Applies separately to each post in post_detail mode. Pagination is bounded; fewer comments may be returned if Weibo restricts access. | |
| proxyConfiguration | No | Optional Apify Proxy or custom proxyUrls configuration. useApifyProxy must be a boolean. Nonempty proxyUrls are used even when useApifyProxy is false. Proxy access and traffic may incur separate charges and do not guarantee Weibo access. | |
| includeHotFeedSample | No | In hot_search mode, also retrieve up to min(10, maxItems) hot feed posts. These use the post-scraped pricing event. |