# China Hot Search Scraper: Baidu, Douyin, Zhihu, Bilibili (`earlytern/china-hot-search-trends`) Actor

Scrape China's hot search and trending lists from Baidu, Douyin, Zhihu, Bilibili and Toutiao in one run: rank, topic, heat score and link. No login.

- **URL**: https://apify.com/earlytern/china-hot-search-trends.md
- **Developed by:** [earlytern](https://apify.com/earlytern) (community)
- **Categories:** Social media, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 trending topics

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Hot Search Scraper: Baidu, Douyin, Zhihu, Bilibili

China Hot Search Scraper reads the live hot search and trending lists of Baidu, Douyin, Zhihu, Bilibili and Toutiao in
one run and returns every entry in the same format: platform, rank, topic, heat score, link and the time it was read.
Use it to follow what people in China are searching for and talking about today, without a Chinese phone number, an
account or a login.

### What does China Hot Search Scraper do?

- Reads five Chinese hot lists in one run: **Baidu Hot Search** (百度热搜), **Douyin Hot Search** (抖音热榜), **Zhihu
  Hot List** (知乎热榜), **Bilibili Hot Search** (B站热搜) and **Toutiao Hot Board** (头条热榜).
- Returns the rank, the trending topic in Chinese, the platform's heat score and a link to the topic.
- Adds a short summary and a picture when the platform shows one (Baidu, Zhihu, Toutiao), and the badge shown next to
  the entry (new, hot, explosive, rumor-refuted).
- Uses one table for all platforms, so you can merge, filter and compare the lists right away.
- Takes about 5 to 30 seconds for all five lists, so it fits hourly or daily schedules.

### Why use China Hot Search Scraper?

- **Cross-border marketing and e-commerce:** spot the topics, products and memes trending in China before you plan a
  campaign or a listing.
- **Media and research:** keep a dated archive of what was trending on each platform, for news monitoring or studies
  of Chinese social media.
- **Content creators:** find stories to cover while they are still rising.
- **AI agents and dashboards:** give a chatbot or a dashboard "what is China talking about right now", refreshed on
  your schedule.
- **One Actor instead of five:** one input, one output format and one price for all the lists.

### How to use China Hot Search Scraper

1. Click **Try for free**.
2. Under **Hot lists**, keep all five or pick the ones you need.
3. Set **Maximum entries per list** (up to 50; Zhihu shows about 30).
4. Click **Start**. The run finishes in a few seconds.
5. Download the results as JSON, CSV or Excel, or read them through the API.

To track trends over time, create a **Schedule** (for example every hour) and send each run's dataset to Google
Sheets, a webhook or your database.

### Input

```json
{
  "sources": ["baidu", "douyin", "zhihu", "bilibili", "toutiao"],
  "maxItemsPerSource": 10
}
```

- `sources`: lists to read: `baidu`, `douyin`, `zhihu`, `bilibili`, `toutiao`. Empty means all five.
- `maxItemsPerSource`: how many top entries to keep from each list, 1 to 50.
- `proxyConfiguration`: the connection used; the default Apify Proxy works for most runs.

### Output

Each entry is one row. Two real rows from a test run:

```json
{
  "source": "zhihu",
  "sourceName": "Zhihu Hot List",
  "rank": 2,
  "title": "小米集团 2026 Q3 财报发布，经调整净利润 48.84 亿元，同比下降56.8%，怎样解读？",
  "heat": 5050000,
  "url": "https://www.zhihu.com/question/2108615793676137848",
  "description": "11月24日，小米集团在港交所发布截至2026年9月30日止三个月及九个月之业绩。…",
  "label": null,
  "imageUrl": "https://pic1.zhimg.com/80/v2-cf7340f062ef754fba5f41528140745f_1440w.webp?source=1def8aca",
  "fetchedAt": "2026-11-25T01:30:43.000Z"
}
```

```json
{
  "source": "douyin",
  "sourceName": "Douyin Hot Search",
  "rank": 4,
  "title": "草莓桶蛋糕一吃一个不吱声",
  "heat": 10706006,
  "url": "https://www.douyin.com/search/%E8%8D%89%E8%8E%93%E6%A1%B6%E8%9B%8B%E7%B3%95%E4%B8%80%E5%90%83%E4%B8%80%E4%B8%AA%E4%B8%8D%E5%90%B1%E5%A3%B0",
  "description": null,
  "label": null,
  "imageUrl": null,
  "fetchedAt": "2026-11-25T01:30:43.000Z"
}
```

| Field | What it is |
|---|---|
| `source`, `sourceName` | The hot list the entry comes from |
| `rank` | Position on the list when it was read (1 = top) |
| `title` | The trending topic, search term or question, in Chinese |
| `heat` | The platform's own popularity score; compare it only within one list |
| `url` | Link to the topic: the search results page (Baidu, Douyin, Bilibili), the question (Zhihu) or the story (Toutiao) |
| `description` | Short summary, when the platform gives one (Baidu, Zhihu) |
| `label` | Badge next to the entry: `new`, `hot`, `explosive`, `rumor-refuted`, or empty |
| `imageUrl` | Picture shown with the entry (Baidu, Zhihu, Toutiao) |
| `fetchedAt` | When the list was read (UTC) |

Entries pinned above the ranking by the platform's editors are left out: they have no rank or heat score.

### How much does it cost to scrape China's hot search lists?

You pay only for entries saved: **$3 per 1,000 entries** on the Free plan, $2.70 on Bronze, $2.40 on Silver and
$2.10 on Gold and higher. There is no start fee. A full run of all five lists (about 230 entries) costs about $0.70;
the top 10 of each list (50 entries) costs $0.15. An hourly run of the top 10 costs about $3.60 a day. You can set a
maximum cost per run; the run stops when it is reached.

### Tips

- All five lists (Baidu, Douyin, Zhihu, Bilibili, Toutiao) were tested from Apify on November 25, 2026 with the
  default proxy settings. Baidu sometimes refuses proxy connections; the Actor then retries it without the proxy.
- Weibo is not included: its hot search list needs a visitor session that changes often.
- Topics are returned in Chinese. Add a translation step in your workflow (Make, Zapier, n8n or an AI model) if you
  need English.
- When one platform cannot be reached, the run still saves the other lists and names the missing one in the run
  status.
- Use the Apify API or the MCP server to let AI agents call the Actor.

### FAQ

**Is it legal to scrape Chinese hot search lists?** The Actor reads only the public hot lists that each platform shows
to every visitor, without logging in. It collects trending topics, not posts, comments or user profiles. You are
responsible for how you use the data and for following the rules that apply to you.

**How often do the lists change?** Most platforms refresh their hot list every few minutes. Schedule the Actor as often
as you need fresh data.

**Why is the heat score so different between platforms?** Each platform counts popularity its own way (searches,
views, discussions), so heat scores are only comparable inside one list. Use `rank` to compare across lists.

### Questions and feedback

Open an issue on the **Issues** tab; we answer within 2 working days.

# Actor input Schema

## `sources` (type: `array`):

Chinese hot lists to read. All five are read when the field is empty.

## `maxItemsPerSource` (type: `integer`):

How many top entries to keep from each list. Baidu, Douyin, Bilibili and Toutiao show 50 entries; Zhihu about 30.

## `proxyConfiguration` (type: `object`):

Connection used to open the hot lists. The default Apify Proxy works for most runs; each request uses a new IP address.

## Actor input object example

```json
{
  "sources": [
    "baidu",
    "douyin",
    "zhihu",
    "bilibili",
    "toutiao"
  ],
  "maxItemsPerSource": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "sources": [
        "baidu",
        "douyin",
        "zhihu",
        "bilibili",
        "toutiao"
    ],
    "maxItemsPerSource": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("earlytern/china-hot-search-trends").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 = {
    "sources": [
        "baidu",
        "douyin",
        "zhihu",
        "bilibili",
        "toutiao",
    ],
    "maxItemsPerSource": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("earlytern/china-hot-search-trends").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 '{
  "sources": [
    "baidu",
    "douyin",
    "zhihu",
    "bilibili",
    "toutiao"
  ],
  "maxItemsPerSource": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call earlytern/china-hot-search-trends --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,earlytern/china-hot-search-trends"
        }
    }
}
```

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/2ldPEWw2Tmaqryg2T/builds/35n6bC2zAvZUV8dsK/openapi.json
