# China Keyword Trends - Douyin Index 抖音指数 Search Trends (`seemuapps/douyin-keyword-trends`) Actor

Get daily Douyin Index (抖音指数) search trends for any keyword in China: compare keywords, see audience age, gender and city, and find related search terms.

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

## Pricing

from $25.00 / 1,000 keyword reports

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

## China Keyword Trends - Douyin Index 抖音指数 Search Trends

Get the daily Douyin Index (抖音指数, from ByteDance's 巨量算数) for any keyword. Think of it as Google Trends for China. Compare up to 200 keywords, go back as far as 3 years, filter by province or city, and see each keyword's search, content and consumption indexes with change vs the previous period and vs last year. Optionally add the age, gender, city and interests of the people searching, plus related search terms. Covers Douyin (TikTok China) and Toutiao.

### What you get

One row per keyword:

- **Daily timeline**: the Douyin Index for every day in your date range
- **Summary**: average, peak (with date) and latest index, and change from the first to the last week
- **Index breakdown**: search index, content index and consumption index for the period
- **Change**: each index vs the previous period and vs the same period last year
- **Audience (optional)**: age, gender, top provinces, top cities, city tiers and interests, each with a TGI (100 = average Douyin user, 200 = twice as likely)
- **Related keywords (optional)**: related search terms ranked by relevance, with their search index and sample Douyin videos

### Use cases

- **China market entry**: check demand for a product category before launching
- **Brand tracking**: compare your brand's search interest with competitors over time
- **Campaign measurement**: see whether a launch or campaign moved search interest
- **Content and SEO planning**: find related keywords Chinese consumers search for
- **Audience research**: learn who searches for a topic, by age, gender and city

### How to use

1. Enter **Keywords**, usually in Chinese (brand names in English also work if people search them that way)
2. Pick a **Time period**, or set a custom **Start date** and **End date**
3. Optionally limit to **Regions** (e.g. 上海, 广东)
4. Turn on **Include audience demographics** and/or **Include related keywords** if needed
5. Run the actor and export the results from the **Dataset** tab

### Pricing

Each keyword report is one `keyword-report` event. Audience demographics add one `audience` event per keyword, and related keywords add one `related-words` event per keyword. Keywords with no index data (too few searches) are skipped and not charged.

### Output example

```json
{
  "keyword": "小米汽车",
  "platform": "douyin",
  "regions": [],
  "dateFrom": "2026-07-31",
  "dateTo": "2026-10-28",
  "days": 90,
  "averageIndex": 72833,
  "peakIndex": 168846,
  "peakDate": "2026-08-07",
  "latestIndex": 47069,
  "changeFirstToLastWeekPercent": -32.4,
  "searchIndex": 5196641,
  "contentIndex": 112357,
  "consumptionIndex": 1245929,
  "searchIndexVsPreviousPeriodPercent": -17.4,
  "searchIndexVsLastYearPercent": -60,
  "timeline": [
    { "date": "2026-07-31", "index": 140235 },
    { "date": "2026-08-01", "index": 130968 }
  ],
  "audience": {
    "age": [{ "name": "24-30", "percent": 33.4, "tgi": 238 }],
    "gender": [{ "name": "male", "percent": 74, "tgi": 156 }, { "name": "female", "percent": 26, "tgi": 50 }],
    "topCities": [{ "name": "深圳", "percent": 2.7, "tgi": 130 }]
  },
  "relatedWords": [
    { "word": "雷军", "relevance": 0.0886, "rank": 2, "searchIndex": 1635078, "sampleVideos": [{ "videoId": "7699303461682345343", "title": "各位车企老总的测试表情#小米汽车#雷军", "url": "https://www.douyin.com/video/7699303461682345343" }] }
  ],
  "relatedWordsWeek": "2026-10-19 → 2026-10-25"
}
```

### FAQ

**How fresh is the data?** The Douyin Index updates daily. The latest day is usually yesterday (China time).

**What is the index number?** It's Douyin's own relative popularity score, combining searches and content views. Use it to compare keywords and time periods, not as a raw search count.

**Why are related keywords from a single week?** Douyin calculates related terms per Monday-to-Sunday week, so the actor uses the latest complete week.

# Actor input Schema

## `keywords` (type: `array`):

Keywords to get trends for, one per line, usually in Chinese (e.g. 咖啡 coffee, 露营 camping, a brand or product name). Up to 200 per run; keywords with too few searches have no index and are skipped free of charge.

## `platform` (type: `string`):

Which ByteDance app's index to use.

## `period` (type: `string`):

How far back the daily trend goes, ending on the latest day with data (usually yesterday). Ignored when Start date is set.

## `dateFrom` (type: `string`):

Optional custom start date (YYYY-MM-DD). Overrides Time period.

## `dateTo` (type: `string`):

Optional custom end date (YYYY-MM-DD). Defaults to the latest day with data.

## `regions` (type: `array`):

Optional: only count searches from these provinces or cities, in Chinese (e.g. 上海, 广东, 北京). Leave empty for all of China.

## `includeAudience` (type: `boolean`):

Also get the age, gender, province, city, city tier and interests of the people searching for and watching each keyword. Charged as an extra audience event per keyword.

## `includeRelatedWords` (type: `boolean`):

Also get related search terms for each keyword (from the latest full week), with sample videos for each. Charged as an extra related-words event per keyword.

## Actor input object example

```json
{
  "keywords": [
    "小米汽车",
    "特斯拉",
    "比亚迪"
  ],
  "platform": "douyin",
  "period": "30",
  "includeAudience": false,
  "includeRelatedWords": false
}
```

# Actor output Schema

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

One row per keyword: daily Douyin Index timeline, average, peak and latest index, search, content and consumption indexes with change vs the previous period and last year, plus optional audience demographics and related keywords.

# 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 = {
    "keywords": [
        "小米汽车",
        "特斯拉",
        "比亚迪"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/douyin-keyword-trends").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 = { "keywords": [
        "小米汽车",
        "特斯拉",
        "比亚迪",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/douyin-keyword-trends").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 '{
  "keywords": [
    "小米汽车",
    "特斯拉",
    "比亚迪"
  ]
}' |
apify call seemuapps/douyin-keyword-trends --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,seemuapps/douyin-keyword-trends"
        }
    }
}
```

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/sVQPACtkPNgVKBCAj/builds/dovd3f5JCajnAI2Am/openapi.json
