# Weibo Scraper (微博): Posts, Comments, Users, Search & Hot (`openclawai/weibo-scraper`) Actor

Weibo scraper (微博), no login: Weibo posts from any user, Weibo comments with replies, Weibo hot search (微博热搜), Weibo followers and following, Weibo profiles, and Weibo search for posts, videos and users. No cookies. $2.50 per 1,000 posts.

- **URL**: https://apify.com/openclawai/weibo-scraper.md
- **Developed by:** [Pika Choo](https://apify.com/openclawai) (community)
- **Categories:** Social media, Lead generation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 weibo posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🔴 Weibo Scraper (微博): Posts, Comments, Users, Search & Hot

Weibo scraper (微博), no login: Weibo posts from any user, Weibo comments with replies, Weibo hot search (微博热搜), Weibo followers and following, Weibo profiles, and Weibo search for posts, videos and users. No cookies. **$2.50 per 1,000 posts**.

### 📋 Table of contents

- [What does it do?](#what-does-it-do)
- [Features](#features)
- [Pricing](#pricing)
- [Input](#input)
- [Output](#output)
- [Troubleshooting](#troubleshooting)
- [Who uses this Weibo Scraper?](#who-uses-this-weibo-scraper)
- [Use cases](#use-cases)
- [FAQ](#faq)
- [API, Python, JavaScript and MCP](#api-python-javascript-and-mcp)

### What does it do?

Weibo Scraper collects public data from Weibo, China's biggest public social network. Give it profile links, post links, UIDs or Chinese keywords and it returns posts with full text, likes, comments, reposts, hashtags and links, comment threads with replies, profiles (followers, post count, verification), follower and following lists, real-time post search, video search, user search and the hot-search list (微博热搜) with heat scores. No Weibo account, no Chinese phone, no cookies.

### Features

#### 🎬 What you can scrape on Weibo

| Mode | What you give it | What you get |
|---|---|---|
| `user_posts` | profile link / user ID | User posts — latest posts from an account |
| `user_profile` | profile link / user ID | Profile — followers, posts count, bio, verified |
| `video_detail` | video or post link | Post details — one post per link |
| `video_comments` | video or post link | Post comments (+ replies) |
| `followers` | profile link / user ID | Followers of an account |
| `following` | profile link / user ID | Accounts an account follows |
| `search_videos` | keywords | Search posts — real-time (keywords) |
| `search_media` | keywords | Search video posts (keywords) |
| `search_users` | keywords | Search users (keywords) |
| `hot_search` | nothing | Hot search list (微博热搜) |

#### ✨ Smart features

- Any input: `weibo.com/u/…`, custom profile links, `m.weibo.cn` links, post short codes and numeric IDs
- Full long-text posts, hashtags (#话题#) extracted
- Chinese relative times (`5分钟前`, `昨天`) converted to timestamps
- Replies are placed right under their comment
- Hot-search list with heat scores in one call
- Duplicates are removed automatically
- 🔓 No login, no cookies, no proxy setup
- 💸 Pay only for results: hint and error rows are free

#### 🧭 More scrapers from us

- [WeChat Scraper (微信)](https://apify.com/openclawai/wechat-scraper)
- [Douyin Scraper (抖音)](https://apify.com/openclawai/douyin-scraper)
- [Bilibili Scraper](https://apify.com/openclawai/bilibili-scraper)
- [Twitter Scraper (X)](https://apify.com/openclawai/twitter-scraper)
- [TikTok, Douyin & Bilibili Scraper (all platforms in one run)](https://apify.com/openclawai/tiktok-douyin-bilibili-scraper)

### Pricing

You pay per result. No compute or proxy charges on top, and hint and error rows are free.

| What you get | Price per 1,000 |
|---|---|
| 📝 Weibo posts from a feed or search | **$2.50** |
| 💬 Comments and replies | **$0.50** |
| 👥 Accounts from followers, following or user search | **$1.00** |
| 🔍 Single lookups: post by link or full profile | **$1.50** |
| 🔥 Hot-search entries | **$1.00** |

#### How much does it cost to scrape Weibo data?

| Job | Cost |
|---|---|
| 1,000 Weibo posts | $2.50 |
| 10,000 Weibo posts | $25 |
| 10,000 comments | $5.00 |
| Today's hot-search list (50) | $0.05 |

Set **Max cost per run** in the run options and the actor stops cleanly at that amount.

#### 🆓 Free plan

On the free Apify plan each run returns up to 10 results, so you can check the data before you buy. Comment replies need a paid plan. Any paid Apify plan removes the limit.

#### ⚡ Speed

User feeds return 20 posts per request and comment pages up to 20, so 1,000 posts usually take a minute or two.

### Input

| Field | What it does |
|---|---|
| `mode` | Links, @usernames or IDs: user_posts, user_profile, video_detail, video_comments, followers, following. Keywords: search_videos, search_media, search_users. No input: hot_search. |
| `urls` | One per line: profile links (weibo.com/u/…, weibo.com/name), post links (weibo.com/uid/code, m.weibo.cn/detail/…), UIDs or post IDs. |
| `queries` | Keywords for the search modes, one per line. Chinese keywords give the best results. |
| `maxItems` | Stop after this many rows per link or keyword (comments include their replies). |
| `includeReplies` | In video_comments mode, also fetch the replies under each comment that has 3 or more replies (TikTok, Douyin, Bilibili). Replies are billed as comments. Paid Apify plans only. |

#### 🧪 Example inputs

**Latest posts from an account**

```json
{"mode": "user_posts", "urls": ["https://weibo.com/u/2656274875"], "maxItems": 200}
```

**Real-time post search**

```json
{"mode": "search_videos", "queries": ["苹果", "新能源汽车"], "maxItems": 300}
```

**Comments with replies**

```json
{"mode": "video_comments", "urls": ["https://weibo.com/2656274875/Rm4j9xxSo"], "maxItems": 500, "includeReplies": true}
```

**Profile stats**

```json
{"mode": "user_profile", "urls": ["https://weibo.com/cctvxinwen"]}
```

**Today's hot-search list**

```json
{"mode": "hot_search"}
```

### Output

Every row uses the same fields. Export as JSON, CSV, Excel, XML or HTML.

#### 📦 Example output

```json
{
  "platform": "weibo",
  "item_type": "post",
  "item_id": "5352597797995048",
  "url": "https://weibo.com/2656274875/Rm4j9xxSo",
  "title": "#央视曝危货车装载数据无脑复制粘贴#【#91份危货车检验报告全是假的#】靖边县兴达综合发展有限责任公司位于陕西省榆林市，是一家以运输原油为主的公司，有60多辆罐装车。6月中旬，记者…",
  "description": "#央视曝危货车装载数据无脑复制粘贴#【#91份危货车检验报告全是假的#】靖边县兴达综合发展有限责任公司位于陕西省榆林市，是一家以运输原油为主的公司，有60多辆罐装车。6月中旬，记者…",
  "author_id": "2656274875",
  "author_name": "央视新闻",
  "hashtags": [
    "央视曝危货车装载数据无脑复制粘贴",
    "91份危货车检验报告全是假的"
  ],
  "created_at": "2026-10-10T22:23:44+08:00",
  "like_count": 53,
  "comment_count": 33,
  "share_count": 5,
  "mode": "user_posts",
  "source_input": "2656274875",
  "scraped_at": "2026-10-10T14:36:35.089840+00:00",
  "raw": {
    "…": "full original record"
  }
}
```

#### 📤 Main fields

| Field | Description |
|---|---|
| `platform`, `item_type`, `mode`, `source_input` | Where the row came from and what it is (`video`, `user`, `comment`, `hint`, `error`…) |
| `item_id`, `url` | Native ID and a link back to the item |
| `title`, `description`, `hashtags`, `created_at` | Text and publish time (ISO 8601) |
| `author_id`, `author_name`, `author_username` | Creator or account |
| `play_count`, `like_count`, `comment_count`, `share_count`, `collect_count` | Engagement counts |
| `raw` | The full original record, every field the platform returned |
| `error_message` | Explanation on free `hint` / `error` rows |

### Troubleshooting

#### Followers come back empty?

Many big accounts hide their follower list. You get a free `hint` row and no charge.

#### Getting no results?

Check that the link or username is public and typed correctly. Private accounts, deleted posts and hidden lists return a free `hint` row that says why. Keyword modes need the **Keywords** field, link modes need **Links**.

#### Getting fewer results than `maxItems`?

The platform ran out of items for that input (a small profile, a niche keyword), or the run reached its **Max cost per run** limit. The log says which one.

#### Some fields are empty?

Platforms don't return every field for every item. Everything the platform did return is kept in `raw`.

#### Video or image links stopped working?

Media URLs from these platforms expire after a few hours. Download files right after the run.

#### The run failed or shows an error row?

Retry once: the platforms sometimes refuse a request for a few minutes. If it keeps failing, open an issue with the run link and we'll fix it fast.

### Who uses this Weibo Scraper?

#### 🌏 Brands entering China

Track mentions, KOLs and sentiment on China's public social network.

#### 📰 Journalists and analysts

Follow official accounts, breaking news and the hot-search list.

#### 📊 Market researchers

Measure sentiment on products and brands in Chinese comments.

#### 🧑‍🤝‍🧑 KOL agencies

Pull influencer profiles, followers and engagement.

#### 🎓 Researchers

Study Chinese public opinion and trending topics over time.

#### 🤖 AI and data teams

Collect Chinese posts and comments as training data.

### Use cases

#### Hot-search tracking

Pull the hot-search list every hour and chart which topics rise and fall.

#### Brand monitoring

Search your brand in real time and alert on new posts.

#### KOL research

Search users by keyword, then pull profiles and recent posts.

### FAQ

#### Can I scrape Weibo without an account?

Yes. No Weibo login, Chinese phone number, cookies or API keys.

#### Does Weibo have an official API?

Weibo's open platform requires an approved developer app and a Chinese entity for most data. This actor needs nothing.

#### Can I scrape Weibo comments and replies?

Yes, with the comments mode and **Include comment replies** on (paid plans).

#### How much does it cost to scrape 10,000 Weibo posts?

About $25, at $2.50 per 1,000 posts.

#### Can I get the Weibo hot-search list (微博热搜)?

Yes, with heat scores, in one call.

#### Can I scrape Weibo followers?

Yes, when the account's follower list is public.

#### Do post short links work?

Yes. `weibo.com/uid/Rm4j9xxSo` style links are converted automatically.

#### Do I need a Chinese proxy?

No.

#### Is there a free tier?

Yes. On the free Apify plan each run returns up to 10 results. Comment replies need a paid plan.

#### Can I use it from Python, JavaScript or an AI agent?

Yes, through the Apify API, the client libraries, or MCP.

### API, Python, JavaScript and MCP

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("openclawai/weibo-scraper").call(run_input={"mode": "user_posts", "urls": ["https://weibo.com/u/2656274875"], "maxItems": 200})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**JavaScript**

```javascript
import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: "YOUR_APIFY_TOKEN" });
const run = await client.actor("openclawai/weibo-scraper").call({"mode": "user_posts", "urls": ["https://weibo.com/u/2656274875"], "maxItems": 200});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**MCP** (Claude, ChatGPT, Cursor and other MCP clients): `https://mcp.apify.com/?tools=openclawai/weibo-scraper`

Works with Zapier, Make, n8n, Google Sheets, Slack, webhooks and scheduled runs.

### 🛡️ Legal

Collects **public** data only. You are responsible for complying with Weibo's terms and with privacy laws such as GDPR, CCPA and PIPL when you store personal data.

### ⭐ Support

Something not working? Check the `hint` / `error` rows, then open an issue with the run link. We reply fast.

# Actor input Schema

## `mode` (type: `string`):

Links, @usernames or IDs: user_posts, user_profile, video_detail, video_comments, followers, following. Keywords: search_videos, search_media, search_users. No input: hot_search.

## `urls` (type: `array`):

One per line: profile links (weibo.com/u/…, weibo.com/name), post links (weibo.com/uid/code, m.weibo.cn/detail/…), UIDs or post IDs.

## `queries` (type: `array`):

Keywords for the search modes, one per line. Chinese keywords give the best results.

## `maxItems` (type: `integer`):

Stop after this many rows per link or keyword (comments include their replies).

## `includeReplies` (type: `boolean`):

In video_comments mode, also fetch the replies under each comment that has 3 or more replies (TikTok, Douyin, Bilibili). Replies are billed as comments. Paid Apify plans only.

## Actor input object example

```json
{
  "mode": "user_posts",
  "urls": [
    "https://weibo.com/u/2656274875"
  ],
  "maxItems": 20,
  "includeReplies": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "user_posts",
    "urls": [
        "https://weibo.com/u/2656274875"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("openclawai/weibo-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "user_posts",
    "urls": ["https://weibo.com/u/2656274875"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("openclawai/weibo-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "user_posts",
  "urls": [
    "https://weibo.com/u/2656274875"
  ],
  "maxItems": 20
}' |
apify call openclawai/weibo-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,openclawai/weibo-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/7sLGqTGWiubcoesfz/builds/4aL7z8nE4cs3FVSKa/openapi.json
