How to use it: 3 steps
- Make a free Apify accountApify is the cloud platform where our tools run. The free plan gives you $5 of usage every month, no credit card needed. You pay Apify, not us.
- Paste your input and press StartNo code needed: you fill in a form (the input). It already has a working example. For example:
苹果in Search keywords. Each start is one run. - Download the resultsWhen the run ends, the results are in a table (the dataset). Open Output, press Export and pick Excel or CSV. JSON and the API are there too.
This tool is an Apify Actor: a small program that runs on Apify. You can also run it on a schedule, for example every Monday. New to it? Read how it works, step by step and the 8 words you need first.
What it does
Scrape public Weibo data with no login. Search posts by keyword and date, read users' profiles and latest posts, or get full details for post links, with up to 40 comments per post. Each item is one clean row with full text, likes, reposts, comments, images, video, hashtags and region. A typical run with 10 rows takes about 8 seconds and costs $0.034 on the Free plan.
Data you get
- Posts: post ID, short ID, URL, full text (long posts are expanded), created time, likes, reposts, comments, image URLs, video URL, cover and length, hashtags, mentions, region, source app, the original post of a repost, and the author's ID, name, verified flag and followers.
- Comments: comment ID, post ID, text, created time, likes, reply count, region and the commenter's public name and ID.
- Profiles: user ID, name, URL, public bio, followers, following, post count, verified flag and reason, location and avatar URL.
- Status: one free row that lists inputs that were not found, invalid, duplicate or not processed, with a reason for each.
Who uses it
China market researchers
Track brand mentions and engagement by day.
PR teams
Find the accounts that drive a trending hashtag.
Social analysts
Study audience reactions in comments.
Price
Pay per event: you pay for each result the tool saves, plus a small start fee for each run. The price includes Apify platform costs. Apify bills you, not us. Prices below are for the Apify free plan.
| What you pay for | Price | When |
|---|---|---|
| Start fee | $0.009 | Charged once per run. This tool uses 1 GB of memory or less by default; more memory costs more. |
| Result row | $0.0025 (from $0.0019 on paid Apify plans) | One saved Weibo post, comment or profile row. Status rows, duplicates and not-found inputs are free. |
Examples
- One result: about $0.01.
- 1,000 results: about $2.51.
- Every day 100 results, for 30 days: about $7.77 a month.
Free to try: the Apify free plan gives you $5 of usage every month, no credit card needed. That is enough for about 1,900 results.
Prices checked on 24 October 2026. See the current price on Apify.
Questions
Can I get more than 10 posts of a user?
Not in user mode. Use search mode with dates for older posts.
How many comments do I get per post?
Up to 40 comments per post.
Do I need Weibo cookies?
No. The tool uses public guest access.
Are short IDs and numeric IDs both supported?
Yes. RipiMbvb3, 5343871682741457 and the full link point to the same post, and the Actor saves and charges it once.
Why did a search return fewer rows than maxPosts?
Weibo had fewer posts for that keyword in the date range.
Is the data the same as on the website?
Yes, it comes from the same public pages. Counters change quickly, so values can differ a little minutes later.
Details
Step by step on Apify
- Open Input.
- Keep What to scrape as
search, Search keywords as苹果and Max posts per keyword or user as10. - Click Start.
- Open the Posts tab of the Output to see the rows. Open Run summary to check each input.
Use cases
| Task | Input | Key fields | Next step |
|---|---|---|---|
| Monitor a brand or product | search, brand keywords, startDate | text, likes, reposts, createdAt, region | Track mentions and engagement by day. |
| Follow a trending hashtag | search, #topic#, maxPosts: 1000 | hashtags, mentions, userFollowers | Find the accounts that drive the topic. |
| Study audience reactions | post with post links, includeComments | comment text, likes, region | Run sentiment or keyword analysis. |
| Benchmark creators and brands | user with user IDs | followers, postsCount, verifiedReason, posts | Compare accounts and their latest posts. |
Tips for better results
- Use search with dates to reach older posts.
- Short IDs, numeric IDs and links work for posts.
- Translate the text with your own tool after export.
Limits and good to know
- Weibo search is live: the same keyword gives different posts minutes later. Use
startDateandendDatefor repeatable windows - Weibo shows guests only about the latest 10 posts of a user. For older posts of an account, search by its name or topic with dates
- Guests see up to about 40 comments per post (hot first, then latest). Replies to comments are counted in
repliesbut not collected - Counters over one million are shown by Weibo as "100万+"; the row then has
1000000andcountsCapped: true - Video and avatar links are signed by Weibo's CDN and stop working after about 1–3 hours. Download media soon after the run if you need it. Image links do not expire
- Posts that are deleted, private, follower-only or hidden from guests get status
not_found - The Actor waits about 1 second between requests on each of 3 guest sessions to stay polite
- Bios can hold contact details. E-mail addresses and phone numbers are removed from bios and texts of profiles; treat the rest of the data as personal data
Troubleshooting
| Symptom | Possible reason | Check | Action |
|---|---|---|---|
| Run fails with "Invalid input" | Missing list for the mode, or a value over a limit | The message in the run log | Use an example above and change one field at a time. |
NO_RESULTS | No posts for the keyword in the date range | Search the keyword on weibo.com | Widen the dates or change the keyword. |
NOT_FOUND, no data rows | Posts or users do not exist or are hidden from guests | The status row | Open the link in a browser while logged out. |
INVALID_INPUT for a user name link | weibo.com/name links are not supported | The status row | Open the profile and copy the numeric ID from weibo.com/u/<id>. |
Partial CHARGE_LIMIT | Your maximum cost per run was reached | counts.chargedRows in Run summary | Raise the limit if you need more rows. |
Partial TIME_LIMIT | Too much work for the run timeout | Status message | Raise the timeout or split the input into several runs. |
Partial SOURCE_ERROR | Weibo refused or failed repeatedly | http.blocked in Run summary | Run again later; keep the default Apify Proxy. |
| Video link gives 403 | The signed CDN link expired | fetchedAt of the row | Run again and download the video right away. |
For developers
Sample result
One result from a real test run, in JSON. Real values change from run to run. In Excel or CSV each field is a column.
{
"type": "post",
"postId": "5343871682741457",
"bid": "RipiMbvb3",
"url": "https://m.weibo.cn/detail/5343871682741457",
"userId": "6529876887",
"userName": "老师好我叫何同学",
"userVerified": true,
"userFollowers": 3909000,
"text": "iPhone 18 Pro系列的首发体验视频来了!希望大家喜欢!#何同学##iPhone18上手评测##苹果发布会##苹果发布会有何亮点# 老师好我叫何同学的微博视频",
"textTruncated": false,
"createdAt": "2026-09-16T20:29:16+08:00",
"reposts": 550,
"comments": 323,
"likes": 4430,
"countsCapped": false,
"images": [],
"video": {
"url": "https://f.video.weibocdn.com/o0/KqY4XIfNlx08AQGVnw3S010412092Cjm0E040.mp4?label=mp4_720p&…",
"cover": "https://wx4.sinaimg.cn/orj480/0077UHgXly1ih5sd4iqooj31hc0u0hdt.jpg",
"durationSec": 1316
},
"hashtags": ["何同学", "iPhone18上手评测", "苹果发布会", "苹果发布会有何亮点"],
"mentions": [],
"region": "浙江",
"sourceApp": "微博视频号",
"repostOf": null,
"keyword": null,
"input": "5343871682741457",
"fetchedAt": "2026-10-15T04:06:33.763Z"
}Use it from code
Actor ID: cliqtomedia/weibo-scraper. You need your Apify API token from Apify Console → Settings → API & Integrations.
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("cliqtomedia/weibo-scraper").call(run_input={
"mode": "search",
"keywords": [
"苹果"
]
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)curl -X POST "https://api.apify.com/v2/acts/cliqtomedia~weibo-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mode": "search", "keywords": ["苹果"]}'# pip install langchain-apify
# set APIFY_TOKEN in your environment
from langchain_apify import ApifyActorsTool
tool = ApifyActorsTool("cliqtomedia/weibo-scraper")
result = tool.invoke({"run_input": {"mode": "search", "keywords": ["苹果"]}})
print(result)The cURL call waits for the results, up to 300 seconds. For longer runs, start a run (/runs) and get the results with a webhook or by checking the run. Apify API docs. LlamaIndex, MCP for AI agents and the JavaScript client: AI agents & MCP.
Input settings (11)
The main fields of the input form. With the API you send them as JSON.
| Setting | Name in the API | Type | Example value |
|---|---|---|---|
| What to scrape required | mode | string | "search" |
| Search keywords | keywords | array | ["苹果"] |
| User IDs or profile links | userIds | array | |
| Post links or IDs | postIds | array | |
| Max posts per keyword or user | maxPosts | integer | 10 |
| From date (search) | startDate | string | |
| To date (search) | endDate | string | |
| Include comments | includeComments | boolean | false |
| Max comments per post | maxCommentsPerPost | integer | 20 |
| Include profile row (user mode) | includeProfile | boolean | true |
| Proxy | proxyConfiguration | object | {"useApifyProxy": true} |
Use cases with this tool
Each guide shows all the steps and the other tools.