# Douyin 抖音 Hot Search Scraper - Trending Topics 热榜 | No Login (`clover_folktale/douyin-hot-search-scraper`) Actor

Read the Douyin (抖音) hot search board (热榜) in real time: rank, keyword and heat value. Schedule it to track what China is watching. No login or cookies. Export JSON, CSV or Excel.

- **URL**: https://apify.com/clover_folktale/douyin-hot-search-scraper.md
- **Developed by:** [Silkline](https://apify.com/clover_folktale) (community)
- **Categories:** Social media, Videos
- **Security:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.08 / 1,000 results

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 reads the Douyin hot search board (热榜), the list of topics the app shows as trending right now, with rank, keyword and heat value. Schedule it hourly or daily to build a history of what is trending in China.

It is the single-purpose version of [Douyin 抖音 Scraper](https://apify.com/clover_folktale/douyin-scraper), which covers many more modes of the same platform. Same data, same prices, a simpler form.

### What you get

Every record is flat JSON with these fields (empty when the platform does not show the value): `hotValue`, `rank`, `sentenceId`, `type`, `url`, `videoCount`, `viewCount`, `word`.

### How to use it

1. Click **Try for free** (or **Start**) and fill in the form.
2. Set `maxResults` to cap how many records, and therefore how much, a run returns.
3. Run it and download the dataset as JSON, CSV or Excel, or read it through the API.

### Input

| Field | Type | What it does |
|---|---|---|
| `maxResults` | integer | Maximum number of items to return in total for this run. You are charged per item returned. |

### Output example

```json
{
  "type": "hotTopic",
  "rank": 1,
  "word": "习主席同阿曼苏丹会谈有这些看点",
  "url": "https://www.douyin.com/search/%E4%B9%A0%E4%B8%BB%E5%B8%AD%E5%90%8C%E9%98%BF%E6%9B%BC%E8%8B%8F%E4%B8%B9%E4%BC%9A%E8%B0%88%E6%9C%89%E8%BF%99%E4%BA%9B%E7%9C%8B%E7%82%B9",
  "hotValue": 0,
  "viewCount": 0,
  "videoCount": 1,
  "sentenceId": "2726554"
}
```

### How much does it cost?

Pay per event: you pay only for records delivered to your dataset. Prices depend on your Apify plan.

| Event | What it covers | Bronze | Silver | Gold, Platinum, Diamond |
|---|---|---|---|---|
| Run start | once per run | $0.00005 | $0.00005 | $0.00005 |
| Result | Each hot topic returned | $0.005 | $0.00451 | $0.00408 |

Example: 100 hot topics on Bronze cost about **$0.50**, on Gold about $0.41.

On the free Apify plan every run returns a stored sample (a real result of the prefilled input), so you can check the output format before paying. Your own inputs need a paid plan.

### Use cases

- Track daily trends in China for content planning and marketing.
- Spot breaking news and viral topics as they rise.
- Build a time series of trending topics for research.

### Why use this scraper

- **No account, no cookies, no proxies.** You give keywords, links or IDs; the Actor does the rest.
- **You pay for data you get.** A failed or empty run says why in its status message and whether anything was charged.
- **Try before paying.** Free Apify accounts get a stored sample of the exact output.
- **Flat JSON records** ready for spreadsheets, databases and AI pipelines.

### Integrations and API

Start runs from the Apify API, schedule them in the Apify Console, and send results to webhooks, Google Sheets, n8n, Make or Zapier. Python example with `apify-client`:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("clover_folktale/douyin-hot-search-scraper").call(run_input={"maxResults": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

#### Use it from AI agents (MCP, n8n, Make)

This Actor works as a tool for AI agents through the [Apify MCP server](https://docs.apify.com/mcp). Add it to Claude, Cursor or any MCP client with `https://mcp.apify.com?tools=clover_folktale/douyin-hot-search-scraper`.

### Support

Found a bug or a missing field? Open an issue on the **Issues** tab. We reply within 24 hours, and a mode that stops working is fixed within 24 hours. Changes are listed on the **Changelog** tab.

### Related tools by Silkline

- [Douyin 抖音 Scraper](https://apify.com/clover_folktale/douyin-scraper): every mode of the platform in one Actor.
- [Douyin 抖音 Search Scraper](https://apify.com/clover_folktale/douyin-search-scraper)
- [Douyin 抖音 Profile Scraper](https://apify.com/clover_folktale/douyin-profile-scraper)
- [Douyin 抖音 Video Scraper](https://apify.com/clover_folktale/douyin-video-scraper)
- [Douyin 抖音 Comments Scraper](https://apify.com/clover_folktale/douyin-comments-scraper)

# Changelog

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

# Actor input Schema

## `mode` (type: `string`):

Fixed to `hot` for this Actor.

## `maxResults` (type: `integer`):

Maximum number of items to return in total for this run. You are charged per item returned.

## Actor input object example

```json
{
  "mode": "hot",
  "maxResults": 20
}
```

# Actor output Schema

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

All scraped items (JSON, CSV, Excel via the dataset API).

# 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("clover_folktale/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 = {}

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

```

## MCP server setup

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