# 百度热搜 & 抖音热搜 | China Trending Topics API (`molded_mountainpass/china-trending-scraper`) Actor

What's trending in China, no login: Baidu hot search (百度热搜), Douyin hot search (抖音热搜), Zhihu, Bilibili, Toutiao, Tieba and The Paper hot lists in one dataset. Rank tracking and keyword alerts. $0.002 per topic.

- **URL**: https://apify.com/molded_mountainpass/china-trending-scraper.md
- **Developed by:** [Divya Raj](https://apify.com/molded_mountainpass) (community)
- **Categories:** Social media, News, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$2.00 / 1,000 topics

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 Trending Topics API (今日热榜)

See **what's trending in China right now**, with no login. This **China trending topics API** collects the **今日热榜** (today's hot lists) from the biggest platforms: Douyin hot search and rising topics (抖音热搜 / 实时上升热点), Baidu hot search (百度热搜), the Zhihu hot list (知乎热榜), Bilibili hot search and top 100 videos (B站热搜 / 排行榜), the Toutiao hot board (头条热榜), Baidu Tieba hot topics (贴吧热议) and The Paper hot news (澎湃热闻), in one dataset. Track rank changes between runs, get keyword alerts in Slack, Telegram or Discord, and export to JSON, CSV or Excel.

### Why use it?

- 🇨🇳 **9 Chinese trending lists in one run**, with rank, heat score, link and description
- 🚫 **No login, no cookies, no API key**
- 📈 **Rank tracking:** each run is compared with the previous one: `rank_change`, `heat_change` and `list_status` (new / up / down / same / dropped)
- 🔔 **Keyword alerts:** get pinged in **Slack, Telegram or Discord** when your brand or topic trends
- 🔁 **"Only new" mode** for hourly alert bots
- 🎬 **Bilibili video stats:** views, likes, comments, danmaku, favorites, coins and shares

### 中文说明

**热搜榜 / 今日热榜 API**：无需登录，一次获取**百度热搜、抖音热搜、知乎热榜、B站热搜与排行榜、今日头条热榜、百度贴吧热议、澎湃热闻**。支持排名与热度变化追踪（上升、下降、新上榜、掉榜）、关键词提醒（Slack / Telegram / Discord），导出 JSON、CSV、Excel，适合舆情监测、品牌监测和热点追踪。每条 $0.002。

### Platforms

| `platforms` value | List | Items |
|---|---|---|
| `zhihu` | Zhihu hot list 知乎热榜 | 50 |
| `douyin` | Douyin hot search 抖音热搜, with video count, event time and cover image | 50 |
| `douyin_rising` | Douyin rising topics 抖音实时上升热点 | 5 |
| `baidu` | Baidu real-time hot search 百度热搜 | 50 |
| `bilibili_hot_search` | Bilibili hot search B站热搜 | 10 |
| `bilibili_ranking` | Bilibili top 100 videos B站排行榜 | 100 |
| `toutiao` | Toutiao hot board 头条热榜 | 50 |
| `tieba` | Baidu Tieba hot topics 贴吧热议 | 30 |
| `thepaper` | The Paper hot news 澎湃热闻 | 20 |

Weibo hot search isn't included: Weibo only serves it to logged-in visitors.

### Input

| Field | Default | Notes |
|---|---|---|
| `platforms` | zhihu, douyin, baidu, bilibili_hot_search, toutiao | Any of the values above |
| `maxItemsPerPlatform` | 50 | |
| `keywords` | – | Only output topics whose title or description mentions one of these words |
| `trackChanges` | true | Adds `prev_rank`, `rank_change` (positive = climbed), `heat_change`, `list_status` |
| `includeDropped` | false | Also output topics that left a list (`list_status: dropped`) |
| `onlyNew` | false | Skip topics returned in earlier runs |
| `stateKey` | `default` | Separate memory per monitor |
| `slackWebhookUrl`, `discordWebhookUrl`, `telegramBotToken` + `telegramChatId`, `webhookUrl` | – | Notifications |

### Output (one row per topic)

`platform, rank, item_id, title, url, heat, heat_text, excerpt, image_url, label, published_at, scraped_at, prev_rank, rank_change, heat_change, list_status, matched_keywords`, plus platform extras: Zhihu `answer_count, follower_count`; Baidu `trend`; Toutiao `category`; Bilibili ranking `author, views, likes, comments, danmaku, favorites, coins, shares`.

`heat` is each platform's own popularity number (heat score, search volume, views or discussion count), so compare it within a platform, not across platforms.

### How to get China's trending topics

1. Open the actor and pick the platforms (Baidu, Douyin, Zhihu, Bilibili and Toutiao are on by default).
2. Optional: add **keywords** to only get topics about your brand or industry.
3. Click **Start** and download the hot lists as JSON, CSV or Excel, or use the Apify API.
4. **Schedule** it hourly with Slack, Telegram or Discord to get a China trend alert bot.

### Pricing

**$0.002 per topic** ($2 per 1,000) with no start fee: a full run of all 9 hot lists (about 365 topics) costs about $0.73, and the default 5 lists (about 210 topics) about $0.42.

### Use cases

- China social media and public-opinion monitoring (舆情监测), hour by hour
- Douyin trending research for marketers and creators: the hot search board plus the rising-topics board
- Brand alerts when your name trends on Douyin, Baidu or Zhihu
- Daily China news and trend digests, dashboards and datasets

### FAQ

**What's trending in China today?** Run this actor: it returns the live Baidu hot search (百度热搜), Douyin hot search (抖音热搜), Zhihu, Bilibili, Toutiao, Tieba and The Paper hot lists in one dataset.

**How often do Chinese hot lists update?** Every few minutes. Schedule the actor every 15–60 minutes with `trackChanges` to see which topics are rising.

**Is there a Weibo hot search (微博热搜)?** Not in this actor: Weibo only shows it to logged-in visitors.

**What about Douyin's entertainment, society and challenge boards?** Douyin only serves those to signed-in app clients, so this actor covers the public hot search and rising-topics boards.

**Do I need a Chinese phone number, account or proxy?** No. All lists are public.

### For developers

```
pip install -r requirements.txt
python -m src                                  # run locally
pip install pytest && python -m pytest tests   # tests
apify push                                     # deploy
```

# Actor input Schema

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

Which trending lists to fetch. All are public, no login needed.

## `maxItemsPerPlatform` (type: `integer`):

Lists hold 10–100 items depending on the platform.

## `keywords` (type: `array`):

Only return topics whose title or description mentions one of these words (case-insensitive). Combine with Slack/Telegram/Discord for trend alerts.

## `trackChanges` (type: `boolean`):

Compare with the previous run (same state key): adds prev_rank, rank_change, heat_change and list_status (new / up / down / same).

## `includeDropped` (type: `boolean`):

Also output topics that left a list since the previous run (list_status = dropped).

## `onlyNew` (type: `boolean`):

Skip topics already returned in earlier runs.

## `stateKey` (type: `string`):

Name for the memory used by 'Only new' and 'Track rank changes'. Use different keys for separate monitors.

## `slackWebhookUrl` (type: `string`):

Each run posts a summary message.

## `discordWebhookUrl` (type: `string`):

Each run posts a summary message.

## `telegramBotToken` (type: `string`):

From @BotFather. Add the bot to your chat first.

## `telegramChatId` (type: `string`):

Chat or channel ID to post to (e.g. -1001234567890 or @yourchannel).

## `notificationLimit` (type: `integer`):

How many topics each Slack/Telegram/Discord message lists.

## `webhookUrl` (type: `string`):

All results of the run are POSTed here as JSON (Make, Zapier, n8n, your API).

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

Optional proxy.

## Actor input object example

```json
{
  "platforms": [
    "zhihu",
    "douyin",
    "baidu",
    "bilibili_hot_search",
    "toutiao"
  ],
  "maxItemsPerPlatform": 50,
  "trackChanges": true,
  "includeDropped": false,
  "onlyNew": false,
  "stateKey": "default",
  "notificationLimit": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `overview` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("molded_mountainpass/china-trending-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("molded_mountainpass/china-trending-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 '{}' |
apify call molded_mountainpass/china-trending-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,molded_mountainpass/china-trending-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/bVmBl8s4N5Ox0QGBl/builds/QOePEGFqeF9jkhefc/openapi.json
