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

- **URL**: https://apify.com/opspilot.cc/douyin-live-hot-search-list.md
- **Developed by:** [wang wei](https://apify.com/opspilot.cc) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Douyin Live Hot Search List Scraper

**EN — Get the current Douyin LIVE hot search list.** Returns the trending keywords driving the most LIVE stream traffic right now. Each item includes rank, keyword (`word`), live heat score, cover image, live room count, and metadata. One run = one snapshot.

**ZH — 抖音直播热搜榜 — 当前直播频道热门搜索词一键抓取。** 每条含排名、关键词、直播热度值、封面、关联直播间数、事件时间。一次运行 = 一个快照。

Built for **live commerce ops**, **live-stream talent scouting**, **real-time trend monitoring**, and **competitive live-intel** on Douyin — the dominant live-streaming platform in China.

**5 free runs / day.** No API key required — the Actor's built-in upstream key is already configured.

### Input

**No input is required.** The endpoint returns the current LIVE hot search list snapshot directly.

```json
{}
```

### Output

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

```json
{
  "rank": 1,
  "word": "主播挑战赛",
  "hot_value": 12345678,
  "group_id": "g_live_001",
  "sentence_id": "s_live_001",
  "sentence_tag": 2110,
  "video_count": 12,
  "discuss_video_count": 3,
  "article_detail_count": 1,
  "event_time": 1789107600,
  "cover_url": "https://p11-sign.douyinpic.com/live_cover1.jpeg",
  "hotlist_param": "{\"board_type\":6,\"rank\":0}",
  "rawData": { /* full upstream trending_list item */ }
}
```

**`SUMMARY` record (success):**

```json
{
  "ok": true,
  "requests": 1,
  "uniqueItems": 30,
  "activeTime": "2026-09-10 23:00",
  "note": "1 Run = 1 upstream request. Returns the current Douyin LIVE hot search list snapshot."
}
```

**`SUMMARY` record (upstream error — `ok: false`):**

If the upstream endpoint is unhealthy, the Actor writes the error to `SUMMARY` and pushes a single `{ ok: false, error }` item to the dataset so users see exactly why the run returned zero items. No credits are consumed on the upstream side.

```json
{
  "ok": false,
  "error": "Upstream request failed (HTTP 400): Request failed. Please retry. ...",
  "requests": 0,
  "uniqueItems": 0,
  "note": "Upstream returned an error. The run did not consume credits (per upstream message)."
}
```

### Known upstream status

The live hot search endpoint has been returning transient `HTTP 400` errors with the message `Request failed. Please retry` (verified 2026-09-11). The upstream explicitly states `You won't be charged for this request.` The Actor treats these 4xx responses as non-retryable so users don't burn through the free quota waiting on a sick endpoint.

> If your run returns `ok: false`, retry in a few minutes — the upstream usually recovers within an hour.

### 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 Live Hot Search List Scraper (you are here)** | (this Actor) |
| hashtag pipeline — before / step ① | [Douyin Hashtag Search Scraper](../douyin-hashtag-search/README.md) | if a live trend looks interesting, search it as a keyword to get the ch\_id |
| 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 Hot Search List Scraper](../douyin-hot-search-list/README.md) | compare LIVE vs mainstream trends — see what is about to break into 热点榜 |

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

### Use cases

| Persona | Use it for |
|---|---|
| Live commerce ops | Catch rising live-stream keywords before they hit 热点榜 and grab first-mover ad placement |
| Live-stream talent scout | Find keywords with high `video_count` to spot live rooms gaining traction |
| Real-time trend dashboard | Wire this Actor into a 5-minute cron alongside `douyin-hot-search-list` to compare live vs. top-hot trends |
| Competitive live intel | See which verticals (food / fashion / gaming) are getting live-stream traction today |

### Why this Actor exists

Douyin's LIVE channel is where creators monetize. Hot search keywords there are 30-90 minutes ahead of the main `热点榜`, so brands that act on live trends first get the cheapest reach. This Actor is the **step ④** of the 4-Actor Douyin MVP set — pair it with the regular hot search list to see what's about to break into mainstream.

### Pricing

Free users are limited to **5 runs per day**. Paid users (`APIFY_USER_IS_PAYING=1`) have unlimited runs. The Actor itself adds no markup — you pay the upstream provider per request plus the standard Apify compute unit cost.

### Test locally

```bash
cd douyin-live-hot-search-list
UPSTREAM_API_KEY=... UPSTREAM_BASE_URL=<your-upstream-base-url> npm test
```

- `node test/unit.js` — 5 unit assertions on normalize / extract / empty-payload handling.
- `node test/integration.js` — 1 live call; **gracefully skips** when the upstream returns 4xx (transient upstream issue, not a code bug).

### Output schema

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

### License

MIT

# Actor input Schema

## Actor input object example

```json
{}
```

# 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/free-unchecked), runsToday, dailyLimit, 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-live-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-live-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-live-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-live-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/AvQ1q70J7GO1DrBFj/builds/RfatG7RkNnQbjXuTX/openapi.json
