# China Social Media Scraper: Douyin, RedNote, Weibo 多平台搜索 (`dataxapi/china-social-media-scraper`) Actor

Search Douyin (抖音), Xiaohongshu (小红书), Weibo (微博), WeChat (微信) and Bilibili (B站) with one keyword list: posts and videos with text, author, likes, comments and link, each row tagged with its platform. From $1 per 1,000 results; errors cost nothing.

- **URL**: https://apify.com/dataxapi/china-social-media-scraper.md
- **Developed by:** [DataXAPI](https://apify.com/dataxapi) (community)
- **Categories:** Social media, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 douyin videos

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

## China Social Media Scraper: Douyin, RedNote, Weibo 多平台搜索

Search five Chinese platforms with one keyword list: Douyin (抖音) videos, Xiaohongshu (小红书, RedNote) notes, Weibo (微博) posts, WeChat (微信) articles and Channels videos, and Bilibili (B站) videos. Every row has the same fields and says which platform it came from. No login, no cookie, no QR code.

**You pay only for results you get.** An input that does not exist, a search that finds nothing and a call that fails cost you nothing. Nothing is charged twice in a run.

| You give | You get | Price |
|---|---|---|
| Search keywords, on Douyin (抖音) | One Douyin video found by a keyword: caption, author with follower count, likes, comments, shares, saves, length, cover, link. | $3.50 per 1,000 |
| Search keywords, on Xiaohongshu (小红书) | One Xiaohongshu note found by a keyword: title, text excerpt, author, likes, comments, saves, shares, images, link. | $1.00 per 1,000 |
| Search keywords, on Weibo (微博) | One Weibo post found by a keyword, newest first: text, author with follower count, likes, comments, reposts, plays, pictures. | $1.00 per 1,000 |
| Search keywords, on WeChat (微信) | One WeChat Official Account article or Channels video found by a keyword: title, digest, account name, time published, link. | $1.00 per 1,000 |
| Search keywords, on Bilibili (B站) | One Bilibili video found by a keyword: title, uploader, views, likes, saves, comments, danmaku, length, link. | $1.00 per 1,000 |

One result as it comes back, from a recorded Douyin video search call (IDs, names, text and links masked as "…"):

```json
{
  "kind": "video",
  "input": "露营",
  "id": "…",
  "url": "https://example.com/…",
  "type": "video",
  "title": null,
  "text": "…",
  "lang": "zh",
  "published_at": "2026-09-11T01:32:11.000Z",
  "author": {
    "id": "…",
    "username": "…",
    "name": "…",
    "avatar_url": "https://example.com/…",
    "followers": 2525
  },
  "metrics": {
    "likes": 96505,
    "comments": 2219,
    "shares": 60467,
    "favorites": 7038
  },
  "images": null,
  "hashtags": [
    "…",
    "…"
  ],
  "platform": "douyin",
  "fetched_at": "2026-10-12T19:01:55.000Z"
}
```

### What it is for

- Brand and topic monitoring across China in one run: what each platform says about a brand, a product or an event.
- Market research: compare how a topic does on Douyin, Xiaohongshu, Weibo, WeChat and Bilibili, with likes and comments.
- Feeding AI agents and RAG pipelines with fresh Chinese content from several platforms through one tool.

### Why this Actor

- **5 platforms in one run.** Each keyword is searched on every platform you choose; each row says which platform and which keyword it came from, with the same field names on all of them.
- **No charge for nothing.** Not found, private, deleted, an empty search or a failed call: no row and no charge. The same item met twice in a run is charged once.
- **Your spending limit holds.** Set a maximum cost per run and the run stops before it, saying so in the log and in `OUTPUT`.
- **Same field names everywhere.** `text`, `author`, `metrics`, `published_at` (ISO 8601, UTC) mean the same in all our Actors for Chinese platforms, so one pipeline reads them all.
- **Small and fast.** Runs in 256 MB; results arrive page by page as they are fetched.

### How to use

1. Fill one or more sections of the input: keywords, links or IDs, one per line.
2. Set how many results you want per entry.
3. Click **Start**. Results appear in the **Output** tab as they come; export them as JSON, CSV, Excel or HTML, or read them through the Apify API.

### Input examples

**Search**

```json
{
  "searchQueries": [
    "露营"
  ],
  "maxResultsPerPlatform": 20,
  "platforms": [
    "douyin",
    "xiaohongshu",
    "weibo",
    "wechat",
    "bilibili"
  ]
}
```

### Output

One row per result. `kind` says what the row is and `input` which of your entries it came from. Each kind has its own table view in the Output tab.

| Field | What it is |
|---|---|
| `kind` | What the row is |
| `input` | The keyword, link or ID you gave |
| `id` | The platform's ID of the item; it works as is in this Actor's ID inputs |
| `url` | Link that opens the post |
| `type` | Content format |
| `title` | Title |
| `text` | Body text |
| `lang` | Language of the text |
| `published_at` | When it was published |
| `author` | Author: `id`, `username`, `name`, `avatar_url`, `verified`, `followers` |
| `metrics` | Engagement counts: `likes`, `comments`, `shares`, `favorites`, `views`, `reposts` |
| `images` | Image addresses |
| `hashtags` | Hashtags, without the # |
| `duration` | Length of the video, in seconds; an image post has none |
| `cover_url` | Address of the cover image |
| `video_url` | Address the video plays from: a signed address of the platform's that expires, so use it soon; an image post has none |
| `categories` | What the platform files the post under, from the first level to the third, in its words (such as 美食 › 美食教程 › 饮品教程, food › food tutorials › drink tutorials); null where it filed it under none |
| `is_sponsored` | Whether it is a brand partnership note the platform has on record (报备, marked as a partnership in the app); the brand is not given here |
| `text_truncated` | Whether the text is cut short: a long post comes with its beginning only in lists and search; get the post for the whole |
| `ip_location` | IP location as the platform shows it |
| `reposted_id` | ID of the post it reposts; null when it is not a repost |
| `reads_label` | The band of reads an article's card shows, in the platform's words, such as 阅读 N万+ (reads N0k+): a band, not an exact count; null where the card shows none, and for a video |
| `aid` | The video's other number (its av number); it names the same video as the BV number |
| `danmaku` | Number of danmaku (comments shown over the video) |
| `category` | The section the video is filed under, in the platform's words (数码, 美食制作, say) |
| `fetched_at` | When the data was fetched |

A field the platform does not show for an item is `null`; counts are as of the moment of the run. A run also writes a summary to the `OUTPUT` record: rows per input, what was charged, and any input that returned nothing and why.

### Pricing

Pay per result. Apify shows the same prices on the Pricing tab.

| Result | Price per 1,000 | Price per result |
|---|---|---|
| Douyin video | $3.50 | $0.0035 |
| Xiaohongshu note | $1.00 | $0.001 |
| Weibo post | $1.00 | $0.001 |
| WeChat result | $1.00 | $0.001 |
| Bilibili video | $1.00 | $0.001 |

For example, one keyword on all 5 platforms at 20 results each is 100 results: $0.150.

On Apify's free plan a run is a sample: the first keyword, one page from each platform chosen. Runs on any paid Apify plan have no such limit.

### Use it from code or an AI agent

Run it and get the rows in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/dataxapi~china-social-media-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries":["露营"],"maxResultsPerPlatform":20,"platforms":["douyin","xiaohongshu","weibo","wechat","bilibili"]}'
```

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("dataxapi/china-social-media-scraper").call(run_input={"searchQueries":["露营"],"maxResultsPerPlatform":20,"platforms":["douyin","xiaohongshu","weibo","wechat","bilibili"]})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row)
```

AI agents (Claude, ChatGPT, Cursor and others) can call it as a tool through the Apify MCP server at `https://mcp.apify.com`: add the Actor `dataxapi/china-social-media-scraper`. Schedules, webhooks and the Apify integrations (Make, Zapier, n8n, Google Sheets and more) work as with any Actor.

### Good to know

- Only public data is read. Nothing is posted and no account is logged in.
- Counts (likes, plays, reads) are those at the moment of the run; run it again or on a schedule to follow them.
- This Actor is not affiliated with Douyin, Xiaohongshu, Weibo, WeChat or Bilibili.

### More Chinese platforms from the same developer

- [Xiaohongshu (RedNote) Scraper: Notes, Comments, Profiles 小红书](https://apify.com/dataxapi/xiaohongshu-scraper)
- [Douyin Scraper: Videos, Comments, Play Counts, Trends 抖音](https://apify.com/dataxapi/douyin-scraper)
- [WeChat Official Account Scraper: Search & Articles 微信公众号](https://apify.com/dataxapi/wechat-official-account-articles)
- [Zhihu Scraper: Search Answers, Articles, Questions 知乎](https://apify.com/dataxapi/zhihu-scraper)
- [Weibo Scraper: Search Posts, Hot Search, User Posts 微博热搜](https://apify.com/dataxapi/weibo-scraper)
- [Bilibili Scraper: Video Search, Comments, Uploads 哔哩哔哩 B站](https://apify.com/dataxapi/bilibili-scraper)
- [Douyin Comments Scraper: Text, Likes, IP Location 抖音评论](https://apify.com/dataxapi/douyin-comments-scraper)
- [Xiaohongshu Comments Scraper: Text, Likes, Commenters 小红书评论](https://apify.com/dataxapi/xiaohongshu-comments-scraper)

### 中文说明

一组关键词同时搜五个平台：抖音视频、小红书笔记、微博、微信文章和视频号、B 站视频。每一行字段相同，并写明来自哪个平台。不用登录，不用 Cookie，不用扫码。

\*\*只为拿到的结果付钱。\*\*输入的内容不存在、搜索没结果、调用出错，都不收费；同一次运行里同一条只收一次。可以给每次运行设花费上限，到上限前就停。

| 你给 | 你拿到 | 价格（每千条） |
|---|---|---|
| 搜索词（抖音） | 抖音视频搜索 | $3.50 |
| 搜索词（小红书） | 小红书笔记搜索 | $1.00 |
| 搜索词（微博） | 微博实时搜索 | $1.00 |
| 搜索词（微信） | 微信搜一搜综合搜索 | $1.00 |
| 搜索词（B站） | B站视频搜索 | $1.00 |

Apify 免费版每次运行只取第一个关键词、每个平台一页；任何付费版都没有这个限制。结果可以导出 JSON、CSV、Excel，也可以用 Apify API 或 AI 助手（Apify MCP）调用。

# Actor input Schema

## `platforms` (type: `array`):

Which platforms to search. Each keyword is searched on every platform chosen; each row says which platform it came from.

## `searchQueries` (type: `array`):

One keyword or phrase per line, in Chinese for the best results. Each is searched on every platform chosen below.

## `maxResultsPerPlatform` (type: `integer`):

How many to return from each platform for each keyword, 20 at least (one page). Each one returned is one charged result.

## Actor input object example

```json
{
  "platforms": [
    "douyin",
    "xiaohongshu",
    "weibo",
    "wechat",
    "bilibili"
  ],
  "searchQueries": [
    "露营"
  ],
  "maxResultsPerPlatform": 20
}
```

# Actor output Schema

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

All rows of the run.

## `summary` (type: `string`):

Rows per input, events charged, inputs that returned nothing and why.

# 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 = {
    "searchQueries": [
        "露营"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dataxapi/china-social-media-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 = { "searchQueries": ["露营"] }

# Run the Actor and wait for it to finish
run = client.actor("dataxapi/china-social-media-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 '{
  "searchQueries": [
    "露营"
  ]
}' |
apify call dataxapi/china-social-media-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dataxapi/china-social-media-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/DKz32iJdgBT8lRnnO/builds/dQWV5QFxGEibXOgCi/openapi.json
