Weibo Scraper 微博 (Sina Weibo): Posts, Comments, Users
Pricing
from $3.00 / 1,000 posts scraped
Weibo Scraper 微博 (Sina Weibo): Posts, Comments, Users
Scrape public Sina Weibo (微博) posts by keyword, #hashtag#, user or URL, plus comments and an optional sentiment score. No login. Clean JSON for AI agents and Apify MCP. $3 per 1,000 posts; failed and duplicate items are free.
Pricing
from $3.00 / 1,000 posts scraped
Rating
0.0
(0)
Developer
Shilin (Alex) Yin
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
9 hours ago
Last modified
Categories
Features
Share
What does Weibo Scraper do?
Scrape public Sina Weibo (微博) posts by keyword or #hashtag#, from any user's timeline, or from specific post URLs — with optional comments. No login, no browser, and no cookie required. Output is clean, stable JSON that you can download or hand to Claude Code, Cursor, n8n or any MCP client.
This Actor is a practical Weibo API alternative for public search, user posts and comments on weibo.com / m.weibo.cn.
Price: $3 per 1,000 posts, $2 per 1,000 comments, plus an optional $0.50 per 1,000 sentiment scores. Failed requests and already-seen posts are never charged.
Typical use cases
- Brand and keyword monitoring: 华为, iPhone, a campaign hashtag, a crisis term
- KOL and official-account timelines (UID, profile URL or
@screen name) - Comment sentiment on a specific Weibo post (optional built-in lexicon-based sentiment score)
- Scheduled incremental runs with
onlyNewso you only pay for new posts - Agent workflows: ask Claude Code or Cursor to "search Weibo for … and summarize sentiment"
Example output
You can download the dataset as JSON, HTML, CSV or Excel. One post looks like this:
{"id": "5370529112395730","bid": "RtAMDa3eO","url": "https://weibo.com/1669879400/RtAMDa3eO","text": "声光艺境,自有格调 … #迪丽热巴哈曼卡顿全球品牌代言人#","createdAt": "2026-11-29T09:56:23+08:00","region": "广西","author": {"id": "1669879400","screenName": "Dear-迪丽热巴","profileUrl": "https://weibo.com/u/1669879400","verified": true,"followersCount": 82587000},"repostsCount": 478465,"commentsCount": 336747,"likesCount": 1601287,"images": [],"video": { "url": "https://f.video.weibocdn.com/…mp4", "coverUrl": "https://wx3.sinaimg.cn/…jpg", "durationSeconds": 74 },"hashtags": ["迪丽热巴哈曼卡顿全球品牌代言人"],"mentions": ["哈曼卡顿"],"comments": [{ "id": "5370537510439978", "text": "…", "createdAt": "2026-11-29T10:29:45+08:00", "likesCount": 33337, "repliesCount": 4078, "author": { "screenName": "哈曼卡顿" } }],"sourceType": "post","sourceInput": "https://weibo.com/1669879400/RtAMDa3eO","scrapedAt": "2026-11-29T20:41:12Z"}
A RUN_SUMMARY record in the default key-value store lists counts, requests and any notes (for example when Weibo returned fewer posts than requested). With Add sentiment score on, a SENTIMENT_SUMMARY record adds per-keyword aggregates (see below).
Why use this Weibo scraper?
| This Actor | Typical Weibo scraper on the Store | |
|---|---|---|
| Price per 1,000 posts | $3 | often much higher |
| Comments | $2 / 1,000 | often extra or unsupported |
| Login / cookie | not required | often required |
| Failed requests charged | never | varies |
| Output | stable, documented JSON with ISO dates and parsed numbers | raw or inconsistent text |
| Incremental mode | ✅ onlyNew | rarely |
| Designed for MCP / agents | ✅ documented input and output | — |
What it can do:
- Keyword and hashtag search — e.g.
华为,iPhone 17,#双十一#. Each query fans out over Weibo's latest (实时), top (综合), hot (热门), topic (话题), video and picture tabs and de-duplicates the results. - User timelines — numeric UID, profile URL (
weibo.com/u/…,m.weibo.cn/u/…) or screen name (@人民日报). - Single posts —
weibo.com/{uid}/{bid},m.weibo.cn/detail/{id}or a bare ID. - Comments — hot or latest, up to 2,000 per post, with author, likes, reply count and IP region.
- Date range —
dateFrom/dateToasYYYY-MM-DD, ISO 8601 or relative (24 hours,7 days). - Full text of long (展开全文) posts, image URLs, video MP4 + cover, hashtags, @mentions, and the reposted original post.
This Actor does not scrape the live Weibo hot-search board (微博热搜). For China-wide trending lists, use China Hot Search Scraper.
What data can Weibo Scraper extract?
| Field | Type | Meaning |
|---|---|---|
id / bid / url | string | Post identifiers and public URL |
text | string | Post text (full text when enabled) |
createdAt | string | Publish time, ISO 8601 with +08:00 |
region | string | null | IP region shown on the post |
author | object | Public UID, screen name, profile URL, verified flag, follower count |
repostsCount / commentsCount / likesCount | integer | Engagement |
images / video | array / object | Media URLs |
hashtags / mentions | string[] | Topics and @mentions |
repostedPost | object | null | Original post when this is a repost |
comments | array | Top-level comments when enabled |
sentiment | object | null | Sentiment score (-1 to 1), label and matched terms. Only when the sentiment input is on; also on each comment |
sourceType / sourceInput | string | How this post was found |
How to scrape Weibo posts and comments
- Click Try for free. The form is prefilled with a sample keyword (
华为) so a default run returns real public posts. - Add search keywords,
#hashtags#, user IDs / profile URLs, or post URLs — or a mix. - Optionally turn on Include comments, set a date range (
7 days,YYYY-MM-DD), Only new posts or Add sentiment score. - Run and download JSON, CSV or Excel, or call the Actor via API / Apify MCP.
See the Input tab for every field.
Input example
{"searchQueries": ["华为", "#双十一#"],"userIds": ["https://weibo.com/u/1669879400", "@人民日报"],"postUrls": ["https://weibo.com/1669879400/RtAMDa3eO"],"maxPosts": 50,"maxPostsPerUser": 20,"includeComments": true,"maxCommentsPerPost": 20,"dateFrom": "7 days","onlyNew": false,"sentiment": true}
A first try can stay cheaper: keep the prefilled keyword, maxPosts: 20, and leave comments off (~$0.06).
How much does it cost to scrape Weibo?
Pay-per-event. You only pay for data delivered:
| Event | Price |
|---|---|
| Post returned | $0.003 ($3 / 1,000) |
| Comment returned | $0.002 ($2 / 1,000) |
| Sentiment score (only when Add sentiment score is on) | $0.0005 ($0.50 / 1,000), per scored post or comment |
Posts skipped by onlyNew, failed requests and empty searches cost nothing. Example: 1,000 posts with 10 comments each = $3 + $20 = $23; 1,000 posts without comments = $3.
Sentiment scores (optional, lexicon-based)
Turn on Add sentiment score ("sentiment": true) and every post, and every comment when comments are on, gets a sentiment object:
"sentiment": {"score": 0.918,"label": "positive","positiveTerms": ["太棒了", "非常喜欢", "推荐"],"negativeTerms": [],"method": "lexicon-v1"}
scoreruns from -1 (very negative) to 1 (very positive);labelispositive(score ≥ 0.2),negative(≤ -0.2) orneutral.- A
SENTIMENT_SUMMARYrecord in the key-value store gives, for each keyword or user, the average score, positive / neutral / negative counts and ratios, and the most frequent matched terms, separately for posts and comments. - How it works, honestly: this is a rule-based Chinese lexicon (about 430 words, slang and Weibo emoticons like
[怒]), with negation (不 / 没 / 别), degree words (很 / 太 / 有点) and "but" (但是 / 不过) handling. It is not a machine-learning model and calls no external API. It is good for trends across many posts and for cheap triage. It does not understand sarcasm, irony, very short posts or niche jargon, so do not treat one score as a verdict. Matched terms are returned so you can see why a score was given. - Billed at $0.0005 per scored item. Items with no text are not scored or charged. Off by default; nothing extra is charged when it is off.
Use it from Claude Code, Cursor or any MCP client
Add the Apify MCP server so an agent can call this Actor directly:
claude mcp add apify --transport http "https://mcp.apify.com/?actors=alexsyin/weibo-scraper" \--header "Authorization: Bearer $APIFY_TOKEN"
You can also add the general server at https://mcp.apify.com and ask the agent to run alexsyin/weibo-scraper.
For Cursor, install the official integration with the Apify CLI, or add the same MCP URL in Cursor's MCP settings:
$apify mcp install cursor
Example prompts:
Search Weibo for 小米汽车 posts from the last 24 hours with the top 10 comments each and summarize the sentiment.
Run alexsyin/weibo-scraper for 华为 with
sentiment: trueand tell me the positive vs negative ratio from the SENTIMENT_SUMMARY record.
Or via the Apify API:
curl -X POST "https://api.apify.com/v2/acts/alexsyin~weibo-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"searchQueries":["华为"],"maxPosts":20}'
The API tab on this Actor's page has client snippets in JavaScript, Python and more.
FAQ
Do I need a Weibo login or cookie?
No. The Actor works without a login. An optional cookie (Advanced) can unlock deeper pagination of search and timelines; it is stored as a secret and never logged. Deep pagination with a cookie is best-effort and depends on the account.
How many posts can I get without a cookie?
Without a cookie Weibo only serves the first page of each search tab, so expect roughly 50–120 unique posts per keyword and the latest ~10 posts per user. For more, run several related keywords (for example 华为 手机, 华为 Mate) or schedule the Actor with onlyNew to build history over time.
Does this scrape Weibo hot search (微博热搜)?
No. Use alexsyin/china-trending-topics for Weibo, Baidu, Douyin, Zhihu, Bilibili and Toutiao boards.
How accurate is the sentiment score?
It is a transparent lexicon heuristic, not a trained model. Expect it to be directionally right on opinionated posts and comments, and unreliable on sarcasm, news-style neutral text and very short posts. Averages over dozens of posts are far more meaningful than any single score. The positiveTerms / negativeTerms fields show exactly what drove each score.
Are comment replies included?
Comments are top-level. Reply counts appear in repliesCount. Nested reply threads are not expanded.
Is it legal to scrape Weibo?
This Actor only collects publicly visible posts, comments and public profile fields — no private messages, no login-only content. Scraped data may still contain personal data protected by GDPR, PIPL or other laws. Only scrape it if you have a legitimate reason, and consult a lawyer if unsure.
Our Actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our Actors, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union, by PIPL in China, and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.
Weibo may cap some displayed counters (for example 1000000). Questions or feature requests? Open an issue on the Issues tab.
Related China data Actors
- China Hot Search Scraper — Weibo, Douyin, Baidu, Zhihu, Bilibili and Toutiao hot-search lists
- China App Store Rankings — Apple App Store (CN), TapTap and Xiaomi charts
- Guba Scraper — Eastmoney Guba posts and official A-share announcements
中文说明
无需登录即可抓取公开微博(新浪微博 / Sina Weibo):按关键词 / #话题# 搜索、抓取用户主页微博、指定微博链接,并可选抓取评论。纯 HTTP 接口,输出稳定 JSON,适合 Claude Code、Cursor 等助手通过 Apify MCP 直接调用。
价格:每 1000 条微博 $3,每 1000 条评论 $2,可选情绪打分每 1000 条 $0.5;请求失败和已抓过的不收费。
常见用途:品牌和关键词舆情、KOL / 官方账号时间线、单条微博评论情绪、用 onlyNew 做定时增量监控、交给 AI agent 做摘要。
本 Actor 不抓微博热搜榜。热搜请用 China Hot Search Scraper。
功能要点
- 关键词 / 话题搜索:自动覆盖实时、综合、热门、话题、视频、图片等标签页并去重
- 用户主页:UID、主页链接或昵称(
@人民日报) - 单条微博:
weibo.com/{uid}/{bid}、m.weibo.cn/detail/{id} - 评论:热门或最新,含点赞、回复数、IP 属地、作者
- 时间范围:
YYYY-MM-DD(北京时间)、ISO 8601,或7 days - 可选情绪打分
sentiment:基于内置中文词典(非机器学习模型、不调用外部 API),每条微博和评论给出 -1 到 1 的分数和正面 / 中性 / 负面标签,另在键值存储SENTIMENT_SUMMARY里汇总每个关键词的平均分和正负面占比。词典法不识别讽刺和反话,适合看整体趋势,不适合判断单条。每条打分 $0.0005,默认关闭。 - 增量模式
onlyNew:只返回新微博,已抓过的不收费 - 长微博全文、图片、视频、话题、@提及、转发原文
示例输出见上方 JSON。首次试用可保留预填关键词 华为,maxPosts: 20,先关闭评论。
在 Claude Code / MCP 中调用
claude mcp add apify --transport http "https://mcp.apify.com/?actors=alexsyin/weibo-scraper" \--header "Authorization: Bearer $APIFY_TOKEN"
然后直接说:"搜索最近 24 小时关于『小米汽车』的微博,每条带前 10 条热评,总结舆情。"
常见问题
- 要不要登录? 不需要。高级选项里可填自己账号 Cookie 以尝试更深翻页,加密保存,不写日志。
- 不登录能抓多少? 每个关键词大约 50–120 条去重微博,每个用户约最新 10 条。可拆多个相关词,或配合
onlyNew定时积累。 - 合规:只采集公开可见内容,不涉及私信或需登录内容。请依据 PIPL、GDPR 等法规合法使用。
问题和建议请走本页的 Issues。
相关 Actor
Changelog
1.1.1
- Price cut: posts $0.003 ($3 / 1,000, was $0.004) and comments $0.002 ($2 / 1,000, was $0.003). The optional sentiment event is unchanged at $0.0005.
1.1
- New optional Add sentiment score input (
sentiment): lexicon-based score, label and matched terms per post and comment, plus aSENTIMENT_SUMMARYrecord. New eventsentiment-item($0.0005), only charged when the option is on. Existing prices unchanged. - Complete dataset, key-value store and output schemas with field descriptions, examples and extra views.
- Clearer status message when a run finds no posts.
1.0.1
- Store listing and README update for discoverability (titles, MCP examples, FAQ). Pricing unchanged.
1.0
- Initial public release: keyword / hashtag search, user timelines, post URLs, comments, date filters,
onlyNew.