Weibo Hot Search, Posts, Comments & User Scraper – 微博热搜榜 API
Pricing
Pay per event
Weibo Hot Search, Posts, Comments & User Scraper – 微博热搜榜 API
Weibo scraper API, no login: 微博热搜榜 hot search, Weibo hot posts, trending topics, Weibo posts search 微博搜索 by keyword or #topic# hashtag, Weibo comments 微博评论, replies, reposts 转发, likers, Weibo user profiles 微博用户, user posts, followers 粉丝. Chinese social media JSON for AI agents, MCP. $0.002-0.006/row
Pricing
Pay per event
Rating
0.0
(0)
Developer
AsiaData
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
a month ago
Last modified
Categories
Features
Share
Weibo scraper and Weibo API for the live hot search list (微博热搜榜), posts and comments — flat JSON, no login, no cookies, no API key. One Actor covers every public Sina Weibo (新浪微博) data type: Weibo hot search 热搜榜 (plus 文娱榜, 要闻榜, 生活榜, 社会榜), topic ranking 话题榜, trending posts 热门微博, Weibo posts by keyword or #topic#, post details, Weibo comments and replies, Weibo reposts (转发), who liked a post (likers), Weibo user profiles, user posts, followers / followings (粉丝 / 关注, paged) and account search. You decide what is fetched (operation, include), what comes back (fields, outputMode — including a lean, token-efficient mode for AI agents), what is kept (dateFrom, minLikes, originalOnly, contentType, deltaKey …) and what it may cost (maxItems, maxCostUsd, free dryRun). $0.002 per hot search row or comment, $0.006 per post, $0.004 per profile. A default call ({} = top 20 trends) finishes in about 2 s.
For AI agents
Actor deadc0dex/weibo-scraper · MCP tool deadc0dex--weibo-scraper · all inputs optional · {} = live hot search list · run {"operation":"capabilities"} for a free machine-readable manifest.
Operations
operation | Input | Returns (type) | Price per row |
|---|---|---|---|
keywordResearch (v2) | keywords[] and/or trendingTopics (1-20) | post rows (top maxPosts per keyword) + their comment rows (commentsPerPost, commentSort, replyDepth) + optional first-page reposts (include:["reposts"]) + one free insights row per keyword | $0.006 / $0.002 |
auto (default) | anything | routed per value: post URL/id → postDetails, profile/users → userProfile, text → search, nothing → hotSearch | by row type |
hotSearch | – (hotSearchBoard: realtime / entertainment / news / life / social) | hotSearch: rank, word, heat, category, label | $0.002 |
hotTopics | – | hotTopic: topic, category, summary, readCount, mentionCount | $0.002 |
hotPosts | – | post (trending feed, paginated) | $0.006 |
search | keywords[] | post (5 tabs + deeper result pages: hundreds per keyword, up to ~1000) | $0.006 |
topic | keywords[] (#话题#) or topic URL | post (topic page + more posts of the #topic# from search pages) | $0.006 |
postDetails | urls[] / ids[] | post with full text | $0.006 |
comments | urls[] / ids[] of posts | comment (paginated; include:["replies"] adds replies) | $0.002 |
replies | ids[] = comment ids | comment with isReply: true | $0.002 |
reposts (v1.3) | urls[] / ids[] of posts | post rows of reposts 转发 (reposter, text, time, likes, repostedPost); guests see the first page (~10-20) | $0.006 |
likers (v1.2) | urls[] / ids[] of posts | user rows of accounts that liked the post (up to ~200 per post for guests) | $0.004 |
userProfile | users[] (uid, profile URL, @name) | user: followersCount, followingCount, postsCount, verifiedReason, ipLocation, totalLikes … | $0.004 |
userPosts | users[] | post: newest ~10 (all types), then older photo/video posts | $0.006 |
userSearch | keywords[] | user (20 accounts per page, several pages) | $0.004 |
fans / following | users[] | user rows of followers 粉丝 / followed accounts 关注 with bio and gender, paged (v1.3: far beyond the old first page of ~20) | $0.004 |
capabilities | – | capabilities manifest | free |
Free rows: error (with errorCode + fix), plan (dryRun), capabilities, and the final summary (counts, billed events, costUsd, warnings, nextSteps with ready-made follow-up inputs). Plus $0.00005 per run start.
Fields
Every billable row starts with type, operation, input, queryUsed, id, url, fetchedAt, then:
- post:
rank, searchTab, postId, bid, text, isLongText, textTruncated, createdAt, likesCount, commentsCount, repostsCount, authorName, authorId, authorVerified, topics, region, source, mediaType, isRepost, repostedPost, isPinned+ mediaimageUrls, imageCount, videoUrl, videoCoverUrl, videoDurationSeconds, videoPlayCount, videoTitle - hotSearch:
board, rank, word, heat, category, label, labelEn, isPinned, isAd, onboardAt, note, relatedPostUrl· hotTopic:rank, topic, category, summary, readCount, mentionCount, imageUrl, leadPostId - comment:
rank, commentId, postId, isReply, rootCommentId, replyToCommentId, text, likesCount, replyCount, createdAt, region, floor - user:
rank, userId, screenName, description, verified, verifiedReason, gender, location, ipLocation, followersCount, followingCount, postsCount, totalInteractions, totalLikes, totalComments, totalReposts, accountCreatedAt, avatarUrl
fields: ["text","likesCount","url"] returns only those keys (+ type). outputMode: "full" adds secondary fields, the raw Weibo object and the v0.x keys mode/scrapedAt.
Field notes from the v1.2 verification audit (each field checked on ≥3 live samples against a second Weibo source, see AUDIT_FIELDS_v1.2.md): counts are live and move between requests; videoPlayCount is rounded by Weibo to 万 (10,000) on posts from search/topic/user timelines and exact on trending posts; ipLocation is currently always null (Weibo no longer shows the IP region of profiles to logged-out visitors; the post-level region still works); source (posting client) is null on search/topic rows because Weibo puts the author's tagline there; editedAt is only known for posts from m.weibo.cn. Times are UTC ISO 8601.
Token-efficient mode (lean output for AI agents)
outputMode: "lean" returns the same rows (same billing) with 54-83 % fewer tokens (mean 64 % over 10 row types, measured with tiktoken cl100k_base):
- no keys whose value is null, "", [] or false (a missing key means null / false / empty);
- no per-row envelope:
operation,input,queryUsed,fetchedAtare in the summary row (summary.lean.jobs;inputstays on rows only when the run had several inputs); - no
url: build it fromsummary.lean.urlPatterns(posthttps://m.weibo.cn/detail/{id}, userhttps://weibo.com/u/{id}, trendhttps://s.weibo.com/weibo?q=%23{id}%23); idreplacespostId/commentId/userId/topic/word;- minimal fields per row type (post: id, text, createdAt, likesCount, commentsCount, repostsCount, authorName, authorId, topics, mediaType, isRepost, videoPlayCount) —
fieldsstill overrides; - text cut to
maxTextChars(default 300 in lean) ending with "…" andtruncated: true; dates asYYYY-MM-DDTHH:MMZ(UTC); numbers stay numbers.
leanFormat: "table" additionally returns all rows as one tab-separated table per row type (header line once) in summary.leanTable (if under 20 KB) and in the key-value record LEAN_TABLE — the most compact form for an LLM context. Measured on live runs (tokens per row, compact / lean / table): keyword-search post ~516 / ~209 / ~171, comment ~178 / ~68 / ~50, hot search row ~239 / ~42 / ~29, user profile ~299 / ~104 / –.
Include options (add to the defaults fullText, media)
author (post: authorFollowersCount, authorDescription, authorVerifiedReason, authorAvatarUrl; comment: commenter name + id) · comments (embed up to commentsPerItem hot comments per post as topComments, free) · replies (with comments: reply rows, repliesPerComment each) · raw.
Filters and limits (applied before billing)
dateFrom / dateTo (2026-10-01, ISO, or 24h/7d/1m), minLikes, minComments, minReposts, originalOnly (no reposts), contentType (images / videos / text), authorType (verified / organization = blue V / individual), deltaKey (only rows not returned by earlier runs with the same key — for scheduled monitoring), sortBy (relevance, newest, mostLiked, mostCommented, mostReposted), maxItems (default 20, max 10000, clamped), maxItemsPerInput (0 = split evenly), maxCostUsd (stops before exceeding), dedupe (default true). English keywords are translated with a built-in dictionary when expandQuery is on (default): BYD → 比亚迪, Lei Jun → 雷军; rows show queryUsed.
Cost examples
| Call | Rows | Cost |
|---|---|---|
{} (top 20 trends) | 20 | $0.04 |
{"maxItems":51} (full 热搜榜) | 51 | $0.10 |
{"keywords":["BYD"],"maxItems":20} | 20 posts | $0.12 |
{"operation":"comments","urls":[…],"maxItems":100} | 100 comments | $0.20 |
{"operation":"userProfile","users":[…5 accounts]} | 5 | $0.02 |
Example calls
{"operation": "hotSearch", "maxItems": 10, "fields": ["rank", "word", "heat", "category"]}
{"keywords": ["BYD", "小米汽车"], "maxItemsPerInput": 20, "sortBy": "newest", "dateFrom": "7d", "minLikes": 10, "fields": ["text", "likesCount", "createdAt", "url", "queryUsed"]}
{"operation": "comments", "urls": ["https://weibo.com/2761630725/RmbnfkgUR"], "maxItems": 50, "include": ["replies"], "repliesPerComment": 3, "maxCostUsd": 0.2}
{"keywords": ["华为"], "maxItems": 50, "outputMode": "lean", "leanFormat": "table", "originalOnly": true}
{"operation": "likers", "urls": ["https://weibo.com/2761630725/RmbnfkgUR"], "maxItems": 100}
{"operation": "hotSearch", "maxItems": 51, "deltaKey": "hot-monitor", "outputMode": "lean"}
Copy-paste input per operation
operation | Example input |
|---|---|
keywordResearch | {"operation":"keywordResearch","keywords":["比亚迪"],"maxPosts":5,"commentsPerPost":20,"maxCostUsd":0.3} or {"operation":"keywordResearch","trendingTopics":3} |
hotSearch | {"operation":"hotSearch","maxItems":10} (or {}) |
hotTopics | {"operation":"hotTopics","maxItems":20} |
hotPosts | {"operation":"hotPosts","maxItems":20,"fields":["text","likesCount","authorName","url"]} |
search | {"operation":"search","keywords":["比亚迪"],"maxItems":30,"sortBy":"newest"} |
topic | {"operation":"topic","keywords":["#华为#"],"maxItems":20} |
postDetails | {"operation":"postDetails","urls":["https://weibo.com/2761630725/RmbnfkgUR"]} |
comments | {"operation":"comments","urls":["https://weibo.com/2761630725/RmbnfkgUR"],"maxItems":50} |
replies | {"operation":"replies","ids":["<commentId from a comment row>"],"maxItems":20} |
reposts | {"operation":"reposts","urls":["https://weibo.com/6634214154/RlKGYtlAb"],"maxItems":20} |
likers | {"operation":"likers","urls":["https://weibo.com/2761630725/RmbnfkgUR"],"maxItems":50} |
userProfile | {"operation":"userProfile","users":["1699432410","@人民日报"]} |
userPosts | {"operation":"userPosts","users":["2115259662"],"maxItems":30} |
userSearch | {"operation":"userSearch","keywords":["华为"],"maxItems":20} |
fans | {"operation":"fans","users":["6634214154"],"maxItems":100} |
following | {"operation":"following","users":["6634214154"],"maxItems":50} |
capabilities | {"operation":"capabilities"} (free) |
Not sure? Add "dryRun": true to get the plan (detected operation per input, estimated rows and cost) for free.
Error codes (rows with type: "error", never billed; the run still SUCCEEDS)
errorCode | Meaning | Fix |
|---|---|---|
MISSING_INPUT | The operation needs keywords/urls/users/ids | Pass them, or use {} / capabilities |
INVALID_URL | Not a Weibo post / user / topic URL or id | See the fix text for accepted forms |
INVALID_INPUT | A value is not valid for its field | Use a documented value |
NOT_FOUND | Deleted, private or login-only | Nothing to retry |
NO_RESULTS | Nothing found, or everything removed by your filters | Loosen filters / try the Chinese term |
LOGIN_REQUIRED | Weibo shows this only to logged-in users | Use a public operation instead |
BLOCKED | Rate limit after all retries | Retry; or RESIDENTIAL proxy, country CN |
UPSTREAM_ERROR | Unexpected Weibo error | Retry |
BUDGET_REACHED | maxItems / maxCostUsd / charge limit hit before this input | Raise the limit |
Typical runtime (v1.3, 256 MB, medians of 3 live runs): hot search ~2.3 s, 20 comments ~2.4 s, one profile ~3.2 s, 10 user posts ~3.6 s, 10 topic posts ~4.4 s, 10 search posts ~5 s, 200 followers ~8 s, 200 search posts ~27 s, 300 newest comments ~20 s — a default call fits the MCP 30 s wait. Several keywords/URLs/users are fetched in parallel. Use get-dataset-items with the returned dataset id; the last row is the summary.
Weibo hot search API (微博热搜榜)
{} or {"operation":"hotSearch"} returns the live Weibo hot search list: rank, word, heat, category, label (热/新/沸), pinned and ad flags, links. hotSearchBoard switches between the realtime board (热搜榜, ~50 rows), entertainment (文娱榜), news (要闻榜), life (生活榜) and society (社会榜). Add deltaKey to a scheduled run to get only words that are new since the last run. Use it for trend monitoring: what China is talking about right now.
Weibo trending topics and hot posts (话题榜, 热门微博)
{"operation":"hotTopics"} returns the Weibo topic ranking (话题榜) with category, summary, read and mention counts. {"operation":"hotPosts"} returns the trending posts feed (热门微博) with full text, paginated up to a few hundred posts.
Weibo search posts by keyword (微博搜索)
{"keywords":["比亚迪","iPhone 17"]} searches public Weibo posts: five search tabs first, then deeper result pages (v1.3), so one keyword can return hundreds of posts (up to ~1000). English names are translated (BYD → 比亚迪, Lei Jun → 雷军). Filter by dateFrom/dateTo/minLikes/originalOnly/contentType, sort by newest or engagement. Use it for brand and social listening in China.
Weibo topic and hashtag posts (微博话题)
{"operation":"topic","keywords":["#华为#"]} returns the posts of a #hashtag# topic page, then more posts of the same #topic# from search pages (v1.3; the topic page alone shows ~15).
Weibo post details
Post URLs, mids or bids ({"urls":["https://weibo.com/2761630725/RmbnfkgUR"]}) return the full post: full text, counts, author, images, video URL, region, edit time. include:["videoPlays"] returns the exact video play count instead of the 万-rounded mobile number.
Weibo comments and replies (微博评论)
{"operation":"comments","urls":["https://weibo.com/2761630725/RmbnfkgUR"],"maxItems":200} pages through a post's comments in hot order or newest first (sortBy:"newest", hundreds of comments deep); include:["replies"] adds reply rows, {"operation":"replies","ids":[…]} fetches replies of given comments. Commenter identities only with include:["author"]. Use it for sentiment and public-opinion analysis.
Weibo reposts (微博转发)
{"operation":"reposts","urls":["https://weibo.com/6634214154/RlKGYtlAb"]} (v1.3) returns the reposts Weibo shows logged-out visitors: the first page of the repost list (top reposts, then the newest; ~10-20 rows), each with reposter, repost text, time, repost and like counts and repostedPost. Deeper repost pages need a login, so repostsCount gives the total.
Weibo likers
{"operation":"likers","urls":[…]} lists the accounts that liked a post (up to ~200 per post), with followers count and verification. Bio and gender are not in Weibo's liker list; pass the userIds to userProfile for those.
Weibo user profile (微博用户)
{"operation":"userProfile","users":["1699432410","@人民日报"]} returns followers, following, posts count, verification, bio, gender, location, total likes / comments / reposts and account age.
Weibo user posts
{"operation":"userPosts","users":["2115259662"],"maxItems":50} returns a user's newest ~10 posts of every type, then (v1.3) older photo and video posts from the profile media feed; text-only posts older than the newest ~10 need a login. dateFrom stops paging early.
Weibo user search
{"operation":"userSearch","keywords":["华为"]} finds accounts by name or keyword, 20 per page over several pages.
Weibo followers and following (微博粉丝, 关注)
{"operation":"fans","users":["6634214154"],"maxItems":500} returns an account's followers (粉丝), newest first, with bio, gender, followers and posts counts; following returns the accounts it follows (关注). v1.3 pages these lists far beyond the old first page (~20). Use it for KOL and audience research.
Research workflow, trust fields, snapshots (v2)
- One call, full pipeline:
{"operation":"keywordResearch","keywords":["小米汽车"],"maxPosts":10,"commentsPerPost":20,"sortBy":"mostCommented"}→ the 10 most-discussed posts, 20 hot comments each, and a freeinsightsrow (top terms as CJK n-grams, hashtags, authors, regions, engagement medians, lexicon sentiment labelled heuristic; no LLM). - What is trending and why:
{"operation":"keywordResearch","trendingTopics":3,"maxPosts":3,"commentsPerPost":10}takes the top 3 words of the live 热搜榜 (ads and the pinned row skipped) and researches each;summary.jobs[].trendgives the word's rank, heat and category. Also works withsearchandtopic. - Budget-balanced: when
maxItems/maxCostUsdcannot fitmaxPosts×commentsPerPost, the run takes fewer top posts so each one keeps its comments (the budget is split evenly over keywords) and says so inwarnings.dryRunshows the same split for free. matchTermskeeps only comments (keywordResearch, comments) or posts whose text contains a term. It filters after fetching: fewer billed rows, not fewer requests.- Trust fields on every billable row:
isPartial,unavailableFields[],collectionWarnings[](e.g. play counts rounded to 万). Null means Weibo did not give the value; 0 means Weibo said 0. The summary has requested vs returned per input (jobs[]),pagesFetched,stopReason, andtrust.adsSkipped(promoted posts dropped from post lists). - Computed metrics (marked computed):
engagementTotal,engagementPer1kFollowers,engagementPer1kPlays,interactionsPerPost. - Snapshot mode:
deltaKey+trackMetrics: truekeeps every row and addslikesDelta,rankDelta,heatDelta,followersDelta… against your previous run with the same key (compact vectors in your own key-value store).
Speed and efficiency (v1.3)
Requests reuse warm connections, inputs run in parallel, rows are saved in batches, and the Actor only calls the Weibo endpoints your fields need. v1.3: data requests go straight from the Apify server to Weibo (about 1 s each instead of 1-6 s through the proxy; a host that refuses falls back to the proxy for the rest of the run), only the guest-cookie request uses the proxy, the anonymous guest cookie is reused for up to 12 h (cacheGuestCookies), and a request that is still pending after 2.5 s is retried once on a fresh proxy IP (first answer wins). Medians of 3 runs, v1.2.6 → v1.3: 20 comments 3.9 → 2.4 s, one profile 3.2 → 3.2 s, 10 user posts 5.5 → 3.6 s, 10 topic posts 7.5 → 4.4 s. Peak memory stays under ~65 MB. Set networkMode:"proxy" for the v1.2 all-proxy behaviour.
Input reference
All fields are optional. The most used ones:
| Field | Type | Default | Notes |
|---|---|---|---|
operation | string | auto | see the operations table |
keywords | string[] | – | search / topic / userSearch |
urls | string[] | – | post URLs, mids, bids; profile/topic/search links are routed automatically |
users | string[] | – | uid, https://weibo.com/u/<uid>, custom domain URL, @name |
ids | string[] | – | post mids, comment ids (replies), user ids |
maxItems | integer | 20 | total billable rows |
maxItemsPerInput | integer | 0 | per keyword/post/user; 0 = even split |
fields | string[] | – | projection |
include | string[] | – | author, comments, replies, raw (fullText, media always on) |
outputMode | string | compact | compact / lean (token-efficient) / full |
maxTextChars, leanFormat | integer, string | 300 in lean, rows | text cut length; table adds a TSV table |
sortBy, dateFrom, dateTo, minLikes, minComments, minReposts, originalOnly, contentType, authorType | filters, applied before billing | ||
deltaKey | string | – | only rows new since earlier runs with the same key |
maxCostUsd | number | – | cost cap for this run |
dryRun | boolean | false | free plan, no scraping |
expandQuery | boolean | true | English → Chinese keywords |
hotSearchBoard | string | realtime | realtime / entertainment / news / life / social |
commentsPerItem, repliesPerComment | integer | 5 | embedded comments / replies per comment |
searchTabs, includePinned, includeAds, dedupe, proxyConfiguration, maxRequestRetries, requestDelayMs | advanced |
Inputs from v0.x keep working: mode (= operation), searchKeywords, postUrls, maxPostsPerKeyword (= maxItemsPerInput), includeComments (= include comments), maxCommentsPerPost (= commentsPerItem), includeCommentAuthor, fetchFullText.
Output example (real post row, compact; text and imageUrls shortened)
{"type": "post","operation": "search","input": "华为","queryUsed": "华为","id": "5352461439076122","url": "https://weibo.com/3050893364/Rm0LdC574","fetchedAt": "2026-10-12T17:36:52.739Z","rank": 1,"searchTab": "all","postId": "5352461439076122","bid": "Rm0LdC574","text": "#华为 懂车帝# 懂车帝前高管终于找到前同事来作证了…[努力]…","isLongText": false,"textTruncated": false,"createdAt": "2026-10-10T05:21:54.000Z","likesCount": 5854,"commentsCount": 930,"repostsCount": 203,"authorName": "万点昊","authorId": "3050893364","authorVerified": true,"topics": ["华为 懂车帝"],"region": "上海","source": "财经博主 职业投资人 投资达人 财经观察官","mediaType": "images","isRepost": false,"repostedPost": null,"isPinned": false,"imageUrls": ["https://wx4.sinaimg.cn/mw2000/b5d8f034gy1ihx6tfxmsqj20u0320qth.jpg"],"imageCount": 2,"videoUrl": null,"videoCoverUrl": null,"videoDurationSeconds": null,"videoPlayCount": null,"videoTitle": null}
Pricing (pay per event)
| Event | Price | Charged for |
|---|---|---|
result | $0.006 | each post row |
hot-search-row | $0.002 | each hot search or topic-ranking row |
comment | $0.002 | each comment or reply row |
profile | $0.004 | each user row (userProfile, userSearch, likers, fans, following) |
apify-actor-start | $0.00005 | once per run |
Error, summary, plan and capabilities rows are free; rows removed by filters or de-duplication are never charged. You can always cap a run with maxItems, maxCostUsd or the platform's max charge per run.
Limits (guest access, honest list)
- Login-only on Weibo today (re-tested 2026-10-13), so not offered: repost pages after the first, text-only posts older than a user's newest ~10,
ipLocation(IP属地) on profiles (Weibo returns it empty to logged-out visitors; the per-postregionfield is filled), liker bio/gender (not in Weibo's liker list; useuserProfile). - Search and topic results end where Weibo's own result pages end (up to ~1000 posts per keyword); hot search ~51 rows; topic ranking ~24-50 topics; likers ~200 per post.
- Video play counts on posts from m.weibo.cn are rounded by Weibo (2万); add
include:["videoPlays"]for the exact number. - Promoted rows are skipped by default; deleted/private posts return
NOT_FOUNDrows. - Public data only. Commenter identities are omitted unless you ask for
include: ["author"]. Use the data in line with Weibo's terms and applicable law (e.g. PIPL, GDPR).
FAQ
Does it need a Weibo login or cookies? No. It uses the same anonymous guest (visitor) access as a logged-out browser and never logs in. Data that Weibo shows only to logged-in users (repost pages after the first, older text-only posts of a user) is not offered.
How do I use fewer tokens in my agent? Set outputMode: "lean" (and leanFormat: "table" for a TSV table). Same price, about 55-85 % fewer tokens per row (mean 64 %).
How often does Weibo hot search update? Weibo refreshes the realtime board about every minute; each run returns the list at that moment (onboardAt shows when a word entered the board).
Can I search in English? Yes. Common English names of brands, people, places and products are translated to Chinese (queryUsed shows the query sent). Set expandQuery: false to search the literal text.
Is it official? No. This is an unofficial tool, not affiliated with Weibo or Sina. It collects public data only; use it in line with Weibo's terms and applicable law.