# Douyin Trending Scraper - 抖音热榜 Hot Search & Challenges (`seemuapps/douyin-trending-scraper`) Actor

Scrape Douyin (抖音, TikTok China) trending lists: hot search, rising, shopping, entertainment, society and challenge boards with rank, heat and views.

- **URL**: https://apify.com/seemuapps/douyin-trending-scraper.md
- **Developed by:** [Seemu Scraping](https://apify.com/seemuapps) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## 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

## Douyin Trending Scraper - 抖音热榜 Hot Search & Challenges

Export Douyin's (抖音, the Chinese version of TikTok) trending lists exactly as the app shows them: the hot search board (热点榜), topics rising right now, the shopping "seeding" board (种草榜), entertainment, society and challenge boards. Every topic comes with its rank, heat score, views, badge and how long it has been trending. No login and no Douyin account needed.

### What you get

One row per trending topic:

- **Ranking**: board, rank, highest rank reached, whether it's the editorially pinned topic
- **Topic**: the trending phrase, cover image, Douyin topic page and search URLs
- **Popularity**: heat score (热度), views and number of related videos
- **Badge**: the label Douyin puts on the topic, in Chinese and English: 热 hot, 新 new, 首发 first report, 独家 exclusive, 挑战 challenge, 辟谣 debunked, 热议 hot debate
- **Timing**: when the topic started trending and when the board was last refreshed

### Boards

| Board | What it shows |
|---|---|
| Hot search (热点榜) | The main Douyin trending list, about 50 topics |
| Rising now (实时上升热点) | The handful of topics climbing fastest right now |
| Shopping / seeding (种草榜) | Product, lifestyle and "must-try" trends that drive purchases |
| Entertainment (娱乐榜) | Celebrities, shows, music and film |
| Society (社会榜) | News and social topics |
| Challenges (挑战榜) | Trending video challenges and formats to join |

### Use cases

- **Trend monitoring**: track what China is talking about, every hour or every day
- **Content planning**: spot rising challenges and formats early for Douyin, TikTok or Reels content
- **Market research**: use the shopping board to see which products and categories are trending
- **Media and PR monitoring**: catch news and brand-related topics as they break
- **Trend history datasets**: schedule the actor and build a time series of rank and heat per topic

### How to use

1. Pick one or more **Boards**
2. Optionally lower **Max topics per board**
3. Run the actor and export the results from the **Dataset** tab as JSON, CSV or Excel
4. To track trends over time, add a **Schedule** (for example every hour) in Apify

### Output example

```json
{
  "board": "hot",
  "boardName": "热点榜 Hot",
  "rank": 1,
  "isPinned": false,
  "topic": "AL对战TLAW",
  "hotValue": 11815400,
  "views": 68309681,
  "videoCount": 4,
  "label": "热",
  "labelEn": "hot",
  "highestRank": 1,
  "trendingSince": "2026-10-26T13:16:38.000Z",
  "coverUrl": "https://p9-sign.douyinpic.com/tos-cn-i-dy/985a9b61a48f490f9eab5000a178ffaf~noop.jpeg?lk3s=…",
  "topicUrl": "https://www.douyin.com/hot/2714653",
  "searchUrl": "https://www.douyin.com/search/AL%E5%AF%B9%E6%88%98TLAW",
  "sentenceId": "2714653",
  "boardUpdatedAt": "2026-10-26T21:44:18.000Z",
  "scrapedAt": "2026-10-26T21:45:20.555Z"
}
```

### FAQ

**Do I need a Douyin account or cookies?** No.

**How often do the boards change?** Douyin refreshes its hot lists every few minutes. `boardUpdatedAt` shows when the board you received was last refreshed.

**Why does the first hot-search topic have no rank or heat?** Douyin pins one editorial topic above the ranked list. It's included with `isPinned: true` and `rank: null`.

**Can I get the videos for a trending topic?** Use the Douyin Search Scraper with the topic as the keyword, or open the `topicUrl`.

# Actor input Schema

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

Which Douyin trending boards to collect. Each board holds about 50 topics (Rising now holds about 5).

## `maxTopicsPerBoard` (type: `integer`):

How many topics to keep from each board, from the top.

## Actor input object example

```json
{
  "boards": [
    "hot"
  ],
  "maxTopicsPerBoard": 50
}
```

# Actor output Schema

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

One row per trending topic: board, rank, topic, heat, views, badge, highest rank, trending-since time and links.

# 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": [
        "hot"
    ]
};

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

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

```

## MCP server setup

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