# Douyin Hot Search Scraper: Douyin Trending Topics (抖音热榜, 抖音热搜) (`hyperbach/douyin-hot-search-scraper`) Actor

Douyin hot search and trending topics (抖音热榜, 抖音热搜) logged out: the main board, the rising list, seeding, entertainment, social and challenge boards. One row per topic: rank, heat, views, label, category, cover, links. Optional videos per topic and translation. Pinned topic free. Misses free.

- **URL**: https://apify.com/hyperbach/douyin-hot-search-scraper.md
- **Developed by:** [Hyperbach](https://apify.com/hyperbach) (community)
- **Categories:** Social media, Videos, 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.49 / 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.
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

## Douyin Hot Search Scraper: Douyin Trending Topics (抖音热榜, 抖音热搜)

**Douyin (抖音) trending boards, logged out: pick the main hot-search board (热榜), the rising list, seeding, entertainment, social or challenge, and get one row per topic — its rank, heat, views, video count, label, category code, cover, event time, the board's refresh time and the topic and search links — with a topic on several boards as one row that lists them all.** Optional: the videos behind each topic and a machine translation of each topic. The pinned topic and the board rows are free. No login, no cookie, no key, proxies handled for you.

**From $4.99 per 1,000 rows (`topic`) on the Free plan, $4.2415 on Starter; every row and add-on is priced under Pricing below.** A run start is $0.0045. The default input returns about 57 rows for about $0.2789. The pinned topic Douyin shows above the board is delivered once and never charged.

![Douyin's hot search board in a desktop browser: the pinned topic, eight ranked topics with their heat and labels, and one topic's panel with its heat, plays and video count. Beside it, the row this Actor returns for that topic, with the boards field listing both boards that hold it and its rank on each.](https://api.apify.com/v2/key-value-stores/dcLLNGq99686o2A4v/records/hero-douyin-hot-search-scraper.webp)

### How it compares

- **Cheaper than socialdatax's 抖音 API, with more data:** $3.57 per 1,000 topics, against $4.99; 29 fields per topic, against 9. It is faster: 50 topics in 4.4 s, against our 55 topics in 5.0 s.
- **atomus's Douyin 抖音 Search Scraper is cheaper:** $2.00 per 1,000 topics, against our $3.57. We give more data: 29 fields per topic, against 9.

Measured on 2026-11-13. Each line compares one job, run by both scrapers at the same time. Prices are per 1,000 topics: Apify Actors at the Scale plan's prices.

### Tested head-to-head on 2026-11-13

The job: Douyin's main hot-search board (抖音热榜) whole at the run's minute: its 50 ranked topics and the 5 rising topics under it (the input schema's example: boards hotspot, maxItems 100). Every Actor ran on it the same day from the same harness; every run's cost is at the Scale plan's prices: a rival's charged events at its price for that plan, this Actor's at its list price. Fields counts the filled fields of a typical row. Every actor read Douyin's main hot-search board in the same minute; ours also returns the 5 rising topics and the pinned topic (free) the others leave out or bill. Re-measured monthly.

| Actor | Rows | First row | Run time | Cost | Fields | Failures |
|---|---|---|---|---|---|---|
| **this Actor** | 55 | 4.4 s | 5.0 s | $0.20 | 29 | none |
| `socialdatax/socialdatax-douyin-data-api` | 50 | 4.3 s | 4.4 s | $0.25 | 9 | none |
| `atomus/douyin-scraper` | 94 | 4.4 s | 4.4 s | $0.19 | 9 | none |

### Why this Douyin hot search scraper

- **Six boards, one run, each topic once.** The main hot-search board (50 ranked topics and the 5 rising topics under it), the full rising list (50), and the seeding, entertainment, social and challenge boards (50 each). A topic on several boards is one row: `boards` lists every asked board whose top topics (within `maxResultsPerBoard`) held it, with its rank there (on our test of 2026-11-13, 82 of 220 topics sat on two or three boards).
- **Ranks you can trust.** The pinned topic Douyin shows above the board is flagged (`is_pinned`), delivered once, free, and outside your caps, so `rank` is Douyin's own position (1-50). The rising topics carry their place in the rising list; Douyin gives them no heat, and the row says null rather than a guess.
- **The fields the leader fills, and more.** Heat, views, video count, discussion videos, peak rank, the label with its name (新 new, 热 hot, 爆 boom …), the category code, the cover, the event time and the board's refresh time in UTC, the sub-board tags, the topic link and a search link on every row.
- **The videos behind a topic, on request.** `maxVideosPerTopic` lists each topic's videos on its row (id, link, description, time, duration, likes, comments, shares, collects, author, cover, music, hashtags) in Douyin's order, deduped.
- **English (or any language) next to the original.** `translateTo` adds a machine translation of each topic by Douyin's own translator, labelled as such in `translation_note`.
- **Honest runs.** One free row per board with its verdict (COMPLETE, CAPPED, PARTIAL) or the state Douyin answered (`empty`, `failed`); only delivered topics are charged, and a run that delivered none charges nothing.

### Who it's for

- **Brand, marketing and social teams watching China** — what is trending on Douyin right now, board by board, with heat and views, translated into your language, on a schedule into a sheet, a dashboard or Slack.
- **Researchers and journalists** — a snapshot of Douyin's public agenda at a given minute: the ranked topics, their categories and labels (辟谣 rumour refuted, 首发 first …) and the videos behind each topic, for later study.
- **Data and AI teams** — typed rows keyed by Douyin's own `sentence_id`, one row per topic across boards, a free row per board with its verdict and a run summary to check a pipeline against.

### Quick start

**The main hot-search board, whole**

```json
{
  "boards": [
    "hotspot"
  ]
}
```

**Every board, the top 10 of each, in English**

```json
{
  "boards": [
    "hotspot",
    "rising",
    "seeding",
    "entertainment",
    "social",
    "challenge"
  ],
  "maxResultsPerBoard": 10,
  "translateTo": "en"
}
```

**The top 5 topics with up to 20 videos each**

```json
{
  "boards": [
    "hotspot"
  ],
  "maxResultsPerBoard": 5,
  "maxVideosPerTopic": 20
}
```

### Switching from `zen-studio/douyin-hot-search-scraper`?

Your input works as it is. Each name in the left column is read as this Actor's own field and the run log says so (`read <theirs> as <ours>`); a name marked *not read* is ignored with a note. A value in the other Actor's shape, an object list or its own date form, is read too.

| zen-studio/douyin-hot-search-scraper | this Actor | what to know |
|---|---|---|
| `boards` | `boards` | The same values (hotspot, seeding, entertainment, social, challenge), plus rising. |
| `maxResultsPerBoard` | `maxResultsPerBoard` | The same: the board's top N. Up to 100 here; 0 = the whole board. The pinned topic is outside it and free. |
| `feedback` | `feedback` | The same: a note to the maintainers; the run does not read it. |

**What differs:**

- The pinned topic is free and outside `maxResultsPerBoard`: a cap of 5 gives 5 ranked topics, not the pinned one and 4 more, and `rank` 1 is Douyin's position 1 (the leader counts the pinned topic as rank 1).
- A topic on several of your boards is one row with every board in `boards`, charged once, and it keeps its place in each board's top N: five boards at `maxResultsPerBoard` 5 gave 22 rows on our test of 2026-11-13. The leader also returns it once, but fills each board up to N from below (25 rows on the same input in the same minute).
- Two more boards' worth of topics: the full rising list (`rising`, 50) and the 5 rising topics under the main board, which the leader does not return.
- The columns are snake_case (`hot_value`, `view_count`, `sentence_id`, `board_updated_at` in UTC); the leader's camelCase keys map one to one, and `boardActiveTime` (Beijing time) is `board_updated_at` in UTC here.

### Output

One row per topic (and one free row per board):

| field | meaning |
|---|---|
| `record_type` | `topic` on a topic row; `target` on a board's free summary row. |
| `status` | `ok` (a charged topic), `pinned` (the pinned topic, free), or why a board gave no topic: `empty` (Douyin served it empty), `view_mismatch` (Douyin answered with another board's list), `invalid_input` (not a board this Actor serves), `failed` (Douyin did not serve it), `not_read` (the run stopped first). |
| `input` | The board value you gave that this row answers. |
| `board` | The board the topic was first delivered for (hotspot, rising, seeding, entertainment, social, challenge); on a board row, the board. |
| `list_type` | `ranked` (a ranked topic of the board), `rising` (a rising topic), or `pinned` (the topic pinned above the main board). |
| `rank` | The topic's place on `board`: Douyin's own position for a ranked topic (1-50), the place in the rising list for a rising topic; null for the pinned topic. |
| `word` | The topic as Douyin shows it. |
| `hot_value` | Douyin's heat value (热度); null on rising topics and the pinned topic (Douyin gives none). |
| `view_count` | Views of the topic as Douyin reports them; null where Douyin gives none. |
| `video_count` | Videos on the topic as the board reports it (not the video list's own count, `videos_total`). |
| `discuss_video_count` | Discussion videos on the topic as the board reports it. |
| `max_rank` | The topic's peak rank on the board, as Douyin reports it; null where Douyin gives none. |
| `label` | Douyin's label code on the topic (0 or null: no label). |
| `label_name` | The label's name from Douyin's own icon (new (新), hot (热), boom (爆), first (首发), exclusive (独家), rumour refuted (辟谣) …). |
| `label_url` | The label's icon as Douyin serves it. |
| `category_code` | Douyin's own topic category code (`sentence_tag`); Douyin publishes no name for it. |
| `event_time` | The topic's event time as Douyin gives it (UTC). |
| `board_updated_at` | When Douyin last refreshed the board this row was read from (UTC; Douyin gives it in Beijing time). |
| `cover_url` | The topic's cover image (a signed link that Douyin expires after a few hours). |
| `word_sub_board` | Douyin's sub-board tags on the topic, as served (e.g. \[3] on challenge topics). |
| `word_type` | Douyin's word type code (1 ranked, 3 rising, 14 pinned). |
| `room_count` | Live rooms on the topic, where Douyin carries the field (rarely; null elsewhere). |
| `is_pinned` | True on the pinned topic's row. |
| `boards` | Every board of your run the topic held, each with its `list_type` and `rank` there. |
| `sentence_id` | Douyin's own topic id, the same on every board. |
| `group_id` | Douyin's group id of the topic, where it gives one. |
| `id` | The row's key: the topic's `sentence_id` (one row per topic a run). |
| `topic_url` | The topic's page on Douyin (`https://www.douyin.com/hot/<sentence_id>`). |
| `url` | The topic's page (the same as `topic_url`). |
| `search_url` | A Douyin search for the topic's words. |
| `translation` | With `translateTo`: the topic in that language, by Douyin's own translator (a machine translation); null when not asked or not answered. |
| `translation_note` | Which translator made the translation, or why there is none. |
| `videos` | With `maxVideosPerTopic`: the topic's videos in Douyin's order (rank, video_id, url, description, created_at, duration_s, likes, comments, shares, collects, plays (null: not published), author_name, author_id, author_url, cover_url, play_url, music_title, music_author, hashtags). |
| `videos_count` | With `maxVideosPerTopic`: how many videos `videos` lists (each charged with the row). |
| `videos_status` | With `maxVideosPerTopic`: `served`, `sign_refused`, `failed`, `cut` (the run stopped while they were read) or `not_asked`. |
| `videos_total` | The topic's video list's own count, as Douyin reports it. |
| `videos_note` | Why the video list ended where it did (its end, your cap, a refusal). |
| `verdict` | On a board row: COMPLETE (every topic it served is out), CAPPED (your `maxResultsPerBoard`), PARTIAL (the run stopped inside it: `note` says why). |
| `rows_delivered` | On a board row: the topic rows first delivered for this board (a topic already on an earlier board's row is counted there). |
| `topics_on_board` | On a board row: the topics the board served at the run's minute. |
| `note` | Why a board row has the status or the verdict it has. |
| `scraped_at` | When this row was read (UTC). |

Example record:

```json
{
  "record_type": "topic",
  "status": "ok",
  "input": "hotspot",
  "board": "hotspot",
  "list_type": "ranked",
  "rank": 6,
  "word": "朴树哥哥否认朴树去世",
  "hot_value": 10135671,
  "view_count": 61351383,
  "video_count": 8,
  "discuss_video_count": 1,
  "max_rank": 6,
  "label": 3,
  "label_name": "hot (热)",
  "label_url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/vjl_avo_upfbvk/ljhwZthlaukjlkulzlp/hotspot_detail_page/3.png",
  "category_code": "4003",
  "event_time": "2026-11-12T11:18:51Z",
  "board_updated_at": "2026-11-13T02:57:23Z",
  "cover_url": "https://p26-sign.douyinpic.com/tos-cn-p-0015/ocGGICUPIvWLQeLAVPVAjQ0eQPu7CDB6rQBrxe~noop.jpeg?lk3s=bfd515bb&x-expires=1794556800&x-signature=e1lCdy7BJ6B3P3eVIw1UiCpSDtc%3D&from=3218412987",
  "word_sub_board": null,
  "word_type": 1,
  "room_count": null,
  "is_pinned": false,
  "boards": [
    {
      "board": "hotspot",
      "list_type": "ranked",
      "rank": 6
    },
    {
      "board": "social",
      "list_type": "ranked",
      "rank": 2
    }
  ],
  "sentence_id": "2743228",
  "group_id": "7706192365438375211",
  "id": "2743228",
  "topic_url": "https://www.douyin.com/hot/2743228",
  "url": "https://www.douyin.com/hot/2743228",
  "search_url": "https://www.douyin.com/search/%E6%9C%B4%E6%A0%91%E5%93%A5%E5%93%A5%E5%90%A6%E8%AE%A4%E6%9C%B4%E6%A0%91%E5%8E%BB%E4%B8%96",
  "translation": null,
  "translation_note": null,
  "videos": null,
  "videos_count": null,
  "videos_status": null,
  "videos_total": null,
  "videos_note": null,
  "verdict": null,
  "rows_delivered": null,
  "topics_on_board": null,
  "note": null,
  "scraped_at": "2026-11-13T02:58:18Z"
}
```

### Pricing

**Pay for the topics a run delivers**, plus one run start; the add-ons only on the rows that carry them. No platform usage is billed to you, and the prices fall with your Apify plan.

| event | unit | Free | Starter | Scale | Business |
|---|---|---|---|---|---|
| Topic (`topic`) | per 1,000 | $4.99 | $4.2415 | $3.493 | $2.495 |
| Video on a topic (`video`) | per 1,000 | $1.50 | $1.275 | $1.05 | $0.75 |
| Translation (`translation`) | per 1,000 | $3.00 | $2.55 | $2.10 | $1.50 |
| Run start (`start`) | per run | $0.0045 | $0.0045 | $0.0045 | $0.0045 |

A topic is **$4.99 per 1,000** on the Free plan ($0.00499 a topic) and $4.2415 on Starter, with everything its row carries: rank, heat, views, video count, label, category code, cover, times, links and every asked board that holds it. Each run that delivers a charged topic also pays the **run start, $0.0045 once**; a run that delivers none pays nothing at all. So the main board whole (about 55 topics) costs $0.27895 on the Free plan and $0.2377825 on Starter; all six boards (about 220 topics after the topics two boards share are counted once) $1.1023 and $0.93763. With `maxVideosPerTopic`, each video listed on a row is $0.0015 on the Free plan; with `translateTo`, each translated row is $0.003 (a word the translator does not answer is not charged for it). Free: the pinned topic, every board row, a board Douyin served empty, a value that names no board this Actor serves, a topic another asked board already delivered (one row, one charge), and a run that delivered no topic (no run start either). A run that stops early (a timeout, an abort) is charged for the topics it delivered.

Before the first request the log names the prices at your plan and the most the run can cost: `maxItems` over the whole run, `maxResultsPerBoard` a board, `maxVideosPerTopic` a topic, and never more than your charge limit. With no cap the boards decide: a board is one list of about 50 topics at the run's minute. Enterprise plans have their own rates — the Actor's Pricing tab shows the price for your plan.

### Usage patterns

- **Boards** — `boards`: `hotspot` (the main hot-search board, 热榜), `rising` (the rising list, 实时上升热点), `seeding` (种草榜), `entertainment` (娱乐榜), `social` (社会榜), `challenge` (挑战榜). Over the API the Chinese names and `main` work too. The board is the same from every country (our test read it from China, the US, Germany, Japan and Hong Kong in one minute), so there is no country input. The live, music, city and brand boards are not offered: Douyin serves them only behind a login; a run that names one gets a free row that says so.
- **What a row is** — `record_type` = `topic`: one topic — `board` and `rank` (the board it was first delivered for: hotspot, rising, seeding, entertainment, social, challenge in that order), `list_type` (ranked, rising or pinned), `boards` (every asked board whose top topics within `maxResultsPerBoard` held it, with its rank there), `word`, the counts, the label, the category code, the times, the cover and the links; `status` is `ok` (charged) or `pinned` (free). `record_type` = `target`: the free row of one board — `rows_delivered` (the topics first delivered for it), `topics_on_board`, the `verdict` and its `note`, or the `status` that gave no topic.
- **How far a board goes** — A board is one list of about 50 topics as Douyin serves it at the run's minute (it refreshes every few minutes; `board_updated_at` is its refresh time): the whole list is read in one call, so COMPLETE means every topic it served is in the dataset. `maxResultsPerBoard` keeps the board's top N (CAPPED); `maxItems` caps the charged topics of the whole run.
- **Add-ons** — `maxVideosPerTopic` lists up to N videos on each topic row (`videos`), read 10 a call in Douyin's order and deduped; `videos_status` says `served`, `sign_refused` (Douyin refused the signed call twice), `failed`, `cut` (the run stopped while they were read) or `not_asked`, and `videos_total` is the list's own count. Douyin does not publish a play count on the web, so `plays` is null. `translateTo` adds `translation` from Douyin's own translator, next to the original word, with `translation_note`; a word it does not answer stays untranslated and is not charged for the translation.

### Input configuration

| field | type | default | what it does |
|---|---|---|---|
| `boards` | `array` | `[]` | The Douyin boards to read, each about 50 topics as Douyin serves them now: <b>hotspot</b> = the main hot-search board (热榜: 50 ranked topics, the 5 rising topics under it, and the pinned topic, free), <b>rising</b> = the full rising list (实时上升热点, 50), <b>seeding</b> (种草榜), <b>entertainment</b> (娱乐榜), <b>social</b> (社会榜), <b>challenge</b> (挑战榜). A topic on several boards is one row that lists every asked board whose top topics held it. Empty: the example input (the main board) is read. The live, music, city and brand boards are not offered: Douyin serves them only behind a login. |
| `maxResultsPerBoard` | `integer` | `0` | The board's top N topics, in the board's order (on the main board: the ranked topics first, then the rising topics under it). 0 = the whole board (about 50; the main board about 55). The pinned topic is outside this cap and free. |
| `maxItems` | `integer` | `0` | The most charged topic rows of the whole run; 0 = no cap beyond your charge limit. The pinned topic and the board rows are free and not counted. |
| `maxVideosPerTopic` | `integer` | `0` | Add the videos behind each topic to its row (`videos`: id, link, description, time, duration, likes, comments, shares, collects, author, cover, music, hashtags), in Douyin's order, up to this many. 0 = no videos. Each listed video is charged with its row. Douyin does not publish a play count on the web: `plays` is null. |
| `translateTo` | `string` | `""` | A language code (`en`, `de`, `ja`): a machine translation of each topic word by Douyin's own translator, next to the original (`translation`, with `translation_note`). Empty = no translation. Charged per translated row. |
| `feedback` | `string` |  | A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note. |

### Errors

**A run does not fail because of your input.** When an input cannot be used — a date that is not a date, an id in the wrong form, two settings that contradict each other — the run ends **Succeeded**, charges nothing, and says what to change:

- the status message starts with `INPUT REJECTED`;
- the dataset holds one row, `{"error": true, "code": "…", "message": "…"}`, and no results;
- the key-value store record `ERROR` holds the same object.

From code, check `error` on the first row before reading results.

A board Douyin serves empty is not an error: it gets one free row with `status` = `empty`, and the run goes on with the other boards. A run that ends **Failed** is a fault on our side, never your input; it charges nothing, and we are alerted.

### FAQ

**Why is the pinned topic free?**

Douyin shows one topic pinned above the board with no heat, no views and no position. It is not a ranked topic, so this Actor flags it (`is_pinned`), delivers it once and never charges it, and your caps count only ranked and rising topics.

**Why do the rising topics have no heat?**

Douyin's rising list carries no heat value and no position: their `rank` is their place in the rising list and `hot_value` is null. Their video counts, discussion counts, event times and covers are filled.

**What does `category_code` mean?**

It is Douyin's own topic category code (`sentence_tag`, e.g. 7000). Douyin publishes no name for the codes on any page we read, so the code is given as it is, as the other sellers do.

**Can I get the topics that changed since my last run?**

Not as a switch: run it on a schedule and compare the rows by `sentence_id`, or read Douyin's own marks (the `new` label and the rising list). Each run reads the board in force at its minute.

**Do I need Apify Proxy or my own proxy?**

No. The Actor uses its own connections, at no extra cost to you.

### Integration

#### JavaScript

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('hyperbach/douyin-hot-search-scraper').call({"boards": ["hotspot"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('hyperbach/douyin-hot-search-scraper').call(run_input={'boards': ['hotspot']})
items = client.dataset(run['defaultDatasetId']).list_items().items
```

#### CLI

```bash
apify call hyperbach/douyin-hot-search-scraper --input '{"boards": ["hotspot"]}'
```

#### REST

```bash
curl -X POST "https://api.apify.com/v2/acts/hyperbach~douyin-hot-search-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H 'Content-Type: application/json' -d '{"boards": ["hotspot"]}'
```

#### AI agents and MCP

Apify's MCP server offers this Actor as a tool to Claude, Cursor, VS Code and any other MCP client. Connect `https://mcp.apify.com?tools=hyperbach/douyin-hot-search-scraper` and ask, for example: "Get the top 50 topics on Douyin's hot search board right now with their heat and view counts, translated into English". The agent fills the input from the table above and reads the rows from the run's dataset. A field under the name another Actor gives it is read as this Actor's own: `board`, `boardTypes`, `boardType`, `lists` as `boards`; `maxPerBoard`, `maxTopicsPerBoard`, `limitPerBoard`, `topN` as `maxResultsPerBoard`; `maxResults`, `maxRows`, `maxTopics`, `maxRecords` as `maxItems`; `videosPerTopic`, `maxVideos` as `maxVideosPerTopic` (and more). An agent or a person can add `feedback` to any run and say what was needed and not delivered: a missing field, a wrong or empty result, the Actor switched from or to, and why. The run returns the same rows at the same price, and a person reads every note.

#### n8n, Make and Zapier

The Apify node in n8n, the Apify app in Make and the Apify integration in Zapier run this Actor on a schedule or from a trigger and read its dataset. A webhook on the run's end (Integrations on the Actor page) sends the rows on to your own endpoint. Nothing to install on our side.

### Support

**Disagree with a charge?** Write to apify@hyperbach.com with the run ID. We will ask Apify to compensate you, and the charge comes back to your Apify account as platform credit.

**Did it do the job?** A short [review on the Store](https://apify.com/hyperbach/douyin-hot-search-scraper/reviews), at any rating, helps the next buyer choose.

### See also

- **[ChatGPT Scraper](https://apify.com/hyperbach/ai-search-answers)** — what ChatGPT, Gemini, Perplexity and Google's AI Mode and AI Overviews answer for your queries, with every source they cite.
- **[Substack Scraper](https://apify.com/hyperbach/substack-scraper)** — the posts of a Substack newsletter with the full text of free posts, the date, the paywall flag and the likes.
- **[Google News Scraper](https://apify.com/hyperbach/google-news-scraper)** — Google News articles by keyword or topic in 84 regions and languages, with the publisher, the date and the publisher's own article URL.
- **[Yahoo Finance Scraper](https://apify.com/hyperbach/yahoo-finance-scraper)** — Yahoo Finance quotes, statistics, company profiles and price history by ticker, for stocks, ETFs, indices, crypto and FX.
- **[Keyword Search Volume & CPC Checker](https://apify.com/hyperbach/keyword-search-volume)** — Google search volume, CPC and competition for each keyword, with up to 104 months of history.
- **[Google Trends Scraper](https://apify.com/hyperbach/google-trends-scraper)** — Google Trends interest over time for up to five terms by country, time range and category, with interest by region, related queries and Trending Now.

*This page is generated from the Actor's schemas and a live sample — it cannot describe a field the Actor does not have.*

# Actor input Schema

## `boards` (type: `array`):

The Douyin boards to read, each about 50 topics as Douyin serves them now: <b>hotspot</b> = the main hot-search board (热榜: 50 ranked topics, the 5 rising topics under it, and the pinned topic, free), <b>rising</b> = the full rising list (实时上升热点, 50), <b>seeding</b> (种草榜), <b>entertainment</b> (娱乐榜), <b>social</b> (社会榜), <b>challenge</b> (挑战榜). A topic on several boards is one row that lists every asked board whose top topics held it. Empty: the example input (the main board) is read. The live, music, city and brand boards are not offered: Douyin serves them only behind a login.

## `maxResultsPerBoard` (type: `integer`):

The board's top N topics, in the board's order (on the main board: the ranked topics first, then the rising topics under it). 0 = the whole board (about 50; the main board about 55). The pinned topic is outside this cap and free.

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

The most charged topic rows of the whole run; 0 = no cap beyond your charge limit. The pinned topic and the board rows are free and not counted.

## `maxVideosPerTopic` (type: `integer`):

Add the videos behind each topic to its row (`videos`: id, link, description, time, duration, likes, comments, shares, collects, author, cover, music, hashtags), in Douyin's order, up to this many. 0 = no videos. Each listed video is charged with its row. Douyin does not publish a play count on the web: `plays` is null.

## `translateTo` (type: `string`):

A language code (`en`, `de`, `ja`): a machine translation of each topic word by Douyin's own translator, next to the original (`translation`, with `translation_note`). Empty = no translation. Charged per translated row.

## `feedback` (type: `string`):

A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note.

## Actor input object example

```json
{
  "boards": [
    "hotspot"
  ],
  "maxResultsPerBoard": 0,
  "maxItems": 100,
  "maxVideosPerTopic": 0,
  "translateTo": ""
}
```

# Actor output Schema

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

All scraped records in the default dataset. One row per topic (and one free row per board):

## `runSummary` (type: `string`):

How the run went: topics charged, free rows, rows by status, each board (topics served, taken, delivered, the refresh time), the add-ons (videos, translations), the source counters (requests, served, refused, dead and slow exits, hedges, the signed-call and translator counts, bytes, seconds per call kind) and the memory watch.

# 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 = {
    "boards": [
        "hotspot"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("hyperbach/douyin-hot-search-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 = {
    "boards": ["hotspot"],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("hyperbach/douyin-hot-search-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 '{
  "boards": [
    "hotspot"
  ],
  "maxItems": 100
}' |
apify call hyperbach/douyin-hot-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hyperbach/douyin-hot-search-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/Cqteh7J0EMY3Ri0iN/builds/2BWO5PKZD6r7ZJYtI/openapi.json
