# Xiaohongshu Keyword Radar (`opspilot.cc/xiaohongshu-keyword-radar`) Actor

🎯 Xiaohongshu Keyword Radar | Decide which keywords deserve the effort — before you write One keyword per run, full decision picture: search score, note volume, impressions, reads and engagement, each with its own verdict, so you know whether a keyword is worth a post, saturated, or already dead.

- **URL**: https://apify.com/opspilot.cc/xiaohongshu-keyword-radar.md
- **Developed by:** [wang wei](https://apify.com/opspilot.cc) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 97.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.25 / 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?

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

## 🎯 Xiaohongshu Keyword Radar

Decide which Xiaohongshu (RED / 小红书) keywords deserve your content effort — **before** you write a single note. One keyword per run, full decision picture: search score, note volume, impressions, reads, engagement — each with the **official 30-day change**, a 7-day trend from daily data, and rising/falling related words for expansion.

Built for content creators, cross-border sellers, and agencies planning Xiaohongshu SEO and content calendars with official numbers, not vibes.

### ✨ What you get

| Output | What it tells you | Decision it powers |
|---|---|---|
| **Stat card** | Search score, note count, creator count, impressions, reads, engagement — each with the official 30-day change percent | How big is this keyword, and in which direction? |
| **7-day trend** | Computed from the daily search-score series | Ride an uptrend before it peaks |
| **Related-word expansion** | Rising and falling related keywords with their own scores | Your next batch of content ideas |
| **Best-keyword pick** | SUMMARY ranks your keywords and names the best one | A 5-second answer on where to write next |

### 💼 Use cases

- **Deciding whether a keyword is worth a quarter of content effort** — the stat card pairs the absolute value with the official 30-day change, and the direction matters more than the size. 防晒衣 shows `searchScore` of 1,944,613 with `change30dPercent` of -57.9: the biggest number in the sheet is a keyword already falling.
- **Riding an uptrend before it peaks** — the 91-day daily series is where the peak sits, and `trend7dPercent` tells you whether the last week turned up or down. A high search score with a falling 7-day trend is a keyword you write about next quarter, not this week.
- **Sizing the competition before entering** — `noteCount`, `creatorCount` and `engagements` on the same card tell you whether you would be writing the 50,000th note on a saturated term or the first on an open one.
- **Building the next batch of content ideas from one run** — `relatedUp` and `relatedDown` hand you the adjacent terms, already ranked by relevance, so the calendar for next month is not another research session.

### ✅ Who this is for

- **Xiaohongshu (RED / 小红书) SEO and content teams** planning a content calendar against official search numbers instead of internal guesses.
- **Cross-border sellers** choosing which product terms to build RED content around, who can read Chinese but has no access to Pugongying (蒲公英), the platform's official creator marketplace and stats surface.
- **Agencies producing client content plans** who need a reproducible, schedulable keyword read they can put a date on, not a screenshot.
- **Overseas brands researching Chinese consumer demand** who need to know whether interest in a term is growing before committing a content budget to it.

### ❌ Who this is NOT for

- **Multi-keyword comparison in one run** — exactly 1 keyword per run is the design, because a focused run carries the stat card, the full 91-day daily series and the related words. Comparing five terms means five runs.
- **Ultra-niche or brand-new keywords** — you get an honest empty result, not invented numbers. Absence of data here means the platform has no stat card for that term, which is not the same as the term being worthless.
- **Douyin, Kuaishou or Bilibili topic decisions** — this reads Xiaohongshu's own search index. A term that is collapsing on 小红书 can be rising on Douyin, and one platform's search score is not a proxy for another's.
- **Forecasting traffic or sales for a specific note** — the numbers here are keyword-level platform aggregates, not per-note performance. They tell you where demand is, not what a given post will earn.
- **Ranking or evaluating individual creators** — this is a keyword radar. It does not return blogger quotes, audience profiles or per-creator metrics; use a KOL evaluator for the creator side of a campaign.

### 🚀 Quick start

```json
{ "keywords": ["防晒衣"], "includeDaily": true, "includeRelated": true }
```

You get one `keyword_report` item + a SUMMARY naming the best keyword. Exactly **1 keyword per run** keeps each run fast and focused.

### 📥 Input parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `keywords` | stringList | `["防晒衣"]` | Exactly 1 keyword per run, e.g. `["防晒衣"]`. |
| `includeDaily` | boolean | `true` | Fetch the 91-day daily series + 7-day trend. |
| `includeRelated` | boolean | `true` | Fetch rising/falling related words. |

### 📤 Output

One **`keyword_report`** dataset item per keyword:

- **`stat`** — every metric with its 30-day change (`searchScore`, `noteCount`, `creatorCount`, `impressions`, `reads`, `engagements`, …)
- **`momentum`** — `trend7dPercent` + the latest daily point
- **`dailySeries`** — the daily series (search score, impressions, reads, engagements)
- **`relatedUp` / `relatedDown`** — related words ranked by relevance

#### Example item

```json
{
    "type": "keyword_report",
    "keyword": "防晒衣",
    "stat": {
        "searchScore": { "value": 1944613, "change30dPercent": -57.9 },
        "noteCount": { "value": 122949, "change30dPercent": -52 },
        "creatorCount": { "value": 54264, "change30dPercent": -43.4 },
        "impressions": { "value": 2486475740, "change30dPercent": -13.6 },
        "reads": { "value": 390283051, "change30dPercent": -33.7 }
    },
    "momentum": {
        "trend7dPercent": -9.34,
        "latest": { "date": "2026-10-01", "searchScore": 4463 },
        "daysTracked": 91
    }
}
```

#### Run summary

The **SUMMARY** key-value store entry ranks the keywords and names the best one, with warnings for keywords that returned no data.

### ⚙️ How it works

1. **Stat lookup** — pulls the keyword's official stat card from Xiaohongshu Pugongying (蒲公英) data, with 30-day changes.
2. **Daily series** — builds the 91-day daily series and computes the 7-day trend from it.
3. **Expansion** — fetches related words so one run hands you your next content ideas.

### 💰 Billing

Pay-per-result on the Apify platform — you only pay for what you run. **There is no daily run cap.**

### ❓ FAQ

**Where does the data come from?** Xiaohongshu's official Pugongying (蒲公英) statistics at run time — the same numbers brands see when booking collaborations.

**What if my keyword is too new or ultra-niche?** You get an honest empty result — no invented numbers.

**Why one keyword per run?** One focused run covers the stat card, the full 91-day daily series, and related words. Run it again for the next keyword — no daily run cap.

### 📚 Resources

- [Changelog](./CHANGELOG.md)
- [Apify API docs](https://docs.apify.com/api/v2) — export results as JSON / CSV / XML
- Feedback: open an issue on this actor's Issues tab

*Built by [opspilot.cc](https://opspilot.cc).*

# Changelog

This Actor's version history is a separate document: https://apify.com/opspilot.cc/xiaohongshu-keyword-radar/changelog.md

# Actor input Schema

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

One keyword per run, e.g. \["防晒衣"]. One run covers the stat card, 91-day daily series, and related words.

## `includeDaily` (type: `boolean`):

Fetch the daily search-score series and compute the 7-day trend. Adds 1 lookup per keyword. Default on.

## `includeRelated` (type: `boolean`):

Fetch rising/falling related keywords for content expansion. Adds 1 lookup per keyword. Default on.

## Actor input object example

```json
{
  "keywords": [
    "防晒衣"
  ],
  "includeDaily": true,
  "includeRelated": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset items: one per keyword — stat snapshot, momentum, daily series, related keywords.

## `summary` (type: `string`):

Run-level summary record in the default key-value store.

# 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/xiaohongshu-keyword-radar").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/xiaohongshu-keyword-radar").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/xiaohongshu-keyword-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,opspilot.cc/xiaohongshu-keyword-radar"
        }
    }
}
```

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/RYzXHoWEOp7aH5Yu0/builds/TNglSjMbfJhHyJxxu/openapi.json
