# Douyin Hot Search List Scraper (`opspilot.cc/douyin-hot-search-list`) Actor

EN — Get Douyin hot search list (热搜榜) with optional board sub-type (种草榜/娱乐榜/社会榜/挑战榜). ZH — 抖音热搜榜 — 含 5 个榜单分类(热点/种草/娱乐/社会/挑战)。

- **URL**: https://apify.com/opspilot.cc/douyin-hot-search-list.md
- **Developed by:** [wang wei](https://apify.com/opspilot.cc) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 96.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.10 / actor start

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

## Douyin Hot Search List Scraper

### ✨ What you get

**EN — Get the current Douyin hot search list across 5 boards.** 5 boards supported: 热点榜 (default) / 种草榜 / 娱乐榜 / 社会榜 / 挑战榜. Each item includes rank, keyword (`word`), live heat score (`hot_value`), cover image, video count, and metadata. One run = one board snapshot.

**ZH — 抖音热搜榜 — 当前 5 大榜单一键抓取。** 支持 5 种榜单:热点榜(默认)/ 种草榜 / 娱乐榜 / 社会榜 / 挑战榜。每条含排名、关键词、热度值、封面、视频数、关联事件。一次运行 = 一个榜单快照。

Built for **trend monitoring**, **public sentiment analysis**, **competitive intel**, **brand monitoring**, and **editorial planning** on Douyin — China's #1 short-video platform.

**No API key required.** Nothing to configure, and no daily run cap.

### 💼 Use cases

- **Running a daily digest across the boards** — set `boardType=0` for 热点榜 or walk `boardType=2` with `boardSubType` for 种草榜 / 娱乐榜 / 社会榜 / 挑战榜, and each run gives one ranked snapshot with `word`, `hot_value`, `cover_url` and `video_count`.
- **Checking whether a brand or campaign is climbing** — schedule the main board daily and record where your keyword sits by `rank`, which turns a one-off check into a movement tracker.
- **Sampling mood rather than chasing volume** — the 社会榜 and 娱乐榜 sub-types surface a different keyword mix than the main board, which is what makes them usable as a sentiment read.
- **Feeding a discovered word into the hashtag pipeline** — take a trending `word`, run it through the hashtag search Actor to get the `ch_id`, then pull topic detail and the video list underneath it.

<details><summary>Earlier use cases in this section</summary>

| Persona | Use it for |
|---|---|
| Trend researcher | Snapshot the top 50-100 hot keywords across 5 boards for a daily digest |
| Brand manager | Track whether your brand / campaign is climbing the 热点榜 |
| Public sentiment analyst | Sample keywords from 社会榜 + 娱乐榜 to gauge mood |
| Editorial planner | Surface trending topics for content ideation |
| Competitive intel | Compare board coverage between rivals in the same vertical |

</details>

### ✅ Who this is for

- **Trend and social listening teams** — maintaining a daily or weekly board snapshot.
- **Brand and campaign managers** — watching whether their terms surface on the main board.
- **Editorial and content planners** — picking subjects off the board while they are still climbing.
- **Competitive intelligence teams** — comparing board coverage between players in the same vertical.

### ❌ Who this is NOT for

- **Anyone expecting all five boards from one run** — one run is one board snapshot. Getting the full set means one run per board, and the sub-boards are only reachable through `boardType=2`.
- **Anyone who sets `boardSubType` without switching `boardType`** — `boardSubType` is ignored while `boardType` is `0`. A run with a sub-type and the default board type quietly returns 热点榜, which looks like a working result rather than an ignored input.
- **Reading `hot_value` as search volume** — it is a live heat score, and it moves with the board. It is not a query count and cannot be compared against another platform's search number.
- **Interpreting `video_count` as the topic's size** — that is the number of videos attached to the board entry, and it is small by nature. The hashtag's `view_count` / `user_count` come from the detail Actor instead.
- **Anything requiring history or Douyin LIVE** — a run is a current snapshot with no archive behind it, so a trend line is built from your own scheduled runs; and LIVE-specific trends are a different board served by the live hot search Actor.

### 📥 Input parameters

| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
| `boardType` | string | no | `"0"` | Main board. `"0"` = 热点榜 (top hot), `"2"` = sub-boards. |
| `boardSubType` | string | no | `""` | Sub-board when `boardType="2"`. One of `""`, `"seeding"`, `"2"`, `"4"`, `"hotspot_challenge"`. Ignored when `boardType="0"`. |

#### Valid `boardType` × `boardSubType` combinations

| `boardType` | `boardSubType` | Board | 中文 |
|---|---|---|---|
| `"0"` | `""` | Top Hot | 热点榜 |
| `"2"` | `""` | Seeding | 种草榜 |
| `"2"` | `"seeding"` | Seeding (alias) | 种草榜 |
| `"2"` | `"2"` | Entertainment | 娱乐榜 |
| `"2"` | `"4"` | Social | 社会榜 |
| `"2"` | `"hotspot_challenge"` | Challenge | 挑战榜 |

```json
{
  "boardType": "0",
  "boardSubType": ""
}
```

### 📤 Output

The Actor pushes one item per trending keyword to the default dataset and writes a `SUMMARY` record.

```json
{
  "rank": 1,
  "word": "黄子韬在王者万象棋现场帅回来了",
  "hot_value": 9876543,
  "group_id": "7683501648006239497",
  "sentence_id": "2644651",
  "video_count": 3,
  "discuss_video_count": 1,
  "event_time": 1789096413,
  "cover_url": "https://p11-sign.douyinpic.com/cover1.jpeg",
  "hotlist_param": "{\"board_type\":3,\"rank\":0}",
  "rawData": { /* full Data provider trending_list item */ }
}
```

**`SUMMARY` record:**

```json
{
  "ok": true,
  "boardType": "0",
  "boardSubType": "",
  "boardLabel": "热点榜",
  "activeTime": "2026-09-10 22:30",
  "requests": 1,
  "uniqueItems": 5,
  "note": "1 Run = 1 Data provider request. Pass boardType=2 + boardSubType to switch between 5 boards."
}
```

See `.actor/output_schema.json` for the full type schema, or read it at runtime via the Apify API.

### 💰 Billing

There is no daily run cap; `APIFY_USER_IS_PAYING=1` only sets the billing tier reported in the summary. The Actor itself adds no markup — you pay the data provider provider per request plus the standard Apify compute unit cost.

### 📚 Resources

```bash
cd douyin-hot-search-list
Data provider_API_KEY=... Data provider_BASE_URL=<your-Data provider-base-url> npm test
```

- `node test/unit.js` — 6 unit assertions on normalize / extract / board-label lookup.
- `node test/integration.js` — 1 live call against 热点榜 (boardType=0, boardSubType="").

MIT

### 📜 Notes & caveats

#### Use it together with the other Douyin Actors

This Actor is part of the 5-Actor Douyin MVP set. Use it together with:

| Where in the pipeline | Actor | Use it to |
|---:|---|---|
| you are here | **Douyin Hot Search List Scraper (you are here)** | (this Actor) |
| hashtag pipeline — before / step ① | [Douyin Hashtag Search Scraper](../douyin-hashtag-search/README.md) | if a trending word looks interesting, search it as a keyword to get the ch_id for the full pipeline |
| hashtag pipeline — step ② | [Douyin Hashtag Detail Scraper](../douyin-hashtag-detail/README.md) | follow up on a discovered topic with rich ch_info |
| hashtag pipeline — step ③ | [Douyin Hashtag Video List Scraper](../douyin-hashtag-video-list/README.md) | walk the full video list of the discovered topic |
| sister Actor | [Douyin Live Hot Search List Scraper](../douyin-live-hot-search-list/README.md) | compare mainstream vs LIVE trends — live often leads mainstream by 30-90 min |

**You are here:** **Douyin Hot Search List Scraper** — run this on its own for the data provider use case described above, or chain it with the other 4 Actors for a full Douyin keyword → hashtag → videos → trends pipeline.

#### Why this Actor exists

Douyin's hot search boards drive 90%+ of organic discovery on the platform. Brands, creators, and agencies that miss the early signal spend 3-5x more to catch up later. This Actor is the **step ③** of the 4-Actor Douyin MVP set — perfect for daily trend dashboards and monitoring.

# Changelog

This Actor's version history is a separate document: https://apify.com/opspilot.cc/douyin-hot-search-list/changelog.md

# Actor input Schema

## `boardType` (type: `string`):

0 = 热点榜 (default). 2 = other sub-typed boards (pass board_sub_type).

## `boardSubType` (type: `string`):

Required when boardType=2. "seeding" (种草), "2" (娱乐), "4" (社会), "hotspot_challenge" (挑战). Empty = 热点榜.

## Actor input object example

```json
{
  "boardType": "0",
  "boardSubType": ""
}
```

# Actor output Schema

## `dataset` (type: `string`):

One normalized dataset item per matched item. See output_schema section of README for the per-actor item shape (topic_id/ch_id, hot_value, engagement metrics, etc.).

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

Run-level summary: input params (keyword / chId / boardType / etc.), requests, uniqueItems, itemsPushed, activeTime, tier (paid/free), notes.

# 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("opspilot.cc/douyin-hot-search-list").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("opspilot.cc/douyin-hot-search-list").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 opspilot.cc/douyin-hot-search-list --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,opspilot.cc/douyin-hot-search-list"
        }
    }
}
```

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/cNAcF8Yiql86h1Gq9/builds/dKKO3rPSuUfabxThN/openapi.json
