# Rednote (Xiaohongshu) Viral Product & Trend Forecaster (`automation_studio/rednote-trend-forecaster`) Actor

Forecast winning e-commerce & dropship products 6–8 weeks before US/EU trends. Scrape trending notes, engagement, viral velocity scores, and instant 1688/AliExpress sourcing links from Xiaohongshu (Rednote).

- **URL**: https://apify.com/automation_studio/rednote-trend-forecaster.md
- **Developed by:** [Automation Studio](https://apify.com/automation_studio) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.90 / 1,000 verified trending notes

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

## 🥇 Rednote (Xiaohongshu / 小红书) Viral Product & Trend Forecaster

> **Spot S-Tier Winning E-Commerce & Dropshipping Products 6–8 Weeks Before Western Ad Feeds.**

Xiaohongshu (Rednote / 小红书) has become the undisputed global trend engine for beauty, skincare, fashion aesthetics, and viral home gadgets. What blows up on Rednote today consistently hits **TikTok Shop, Amazon FBA, and Instagram Reels in the US & Europe 6–8 weeks later**.

While traditional e-commerce teams rely on lagging spy tools and saturated ads, **Rednote Trend Forecaster** gives you direct upstream intelligence: Chinese consumer virality, organic engagement velocity, and instant wholesale factory supplier links.

***

### ⚡ Why Use This Actor?

- **📈 Viral Velocity Index (0–100)**: Proprietary algorithm weighing likes, comments, and high-purchase-intent **Collects (Saves)** against note age to surface rising breakout products before market saturation.
- **🏭 1-Click Wholesale Sourcing Links**: Automatically generates pre-formatted search queries for **1688.com (Factory Direct)**, **Taobao**, and **AliExpress**.
- **🏷️ Automated English Taxonomy**: Intelligently classifies Chinese titles and hashtags into structured categories (*Skincare & Beauty*, *Fashion & Apparel*, *Home & Living*, *Viral Tech & Gadgets*, *Fitness & Wellness*).
- **⚡ High-Speed Real-Time Streaming**: Results stream row-by-row into your Apify Dataset within seconds.
- **🛡️ 100% Cookieless & Safe**: Runs without requiring personal Chinese phone numbers or manual session credentials.

***

### 📥 Input Configuration

#### Basic Search (Single Keyword)

```json
{
  "keywords": ["skincare"],
  "maxResults": 10
}
```

#### Multi-Niche Trend Sweep

```json
{
  "keywords": ["skincare routine", "outfit aesthetic", "desk setup", "kitchen gadget"],
  "maxResults": 50,
  "sortType": "popularity_descending",
  "enrichSourcing": true
}
```

#### Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `keywords` | Array of strings | `["skincare"]` | Product niches, hashtags, or keywords (English or Chinese). |
| `maxResults` | Integer | `10` | Maximum notes to collect per keyword. Fast trial default runs in <12s. |
| `sortType` | String | `"general"` | `"general"` (Most relevant), `"popularity_descending"` (Most viral), or `"time_descending"` (Newest). |
| `noteType` | String | `"all"` | Filter by format: `"all"`, `"image"`, or `"video"`. |
| `enrichSourcing` | Boolean | `true` | Generate direct 1688, Taobao, and AliExpress supplier links. |
| `proxyConfiguration`| Object | `{ useApifyProxy: true }` | Built-in Apify Proxy configuration. |

***

### 📤 Output Data Format

Every row is delivered as structured, normalized JSON:

```json
{
  "id": "662a8c1f000000000d024b3a",
  "keyword": "skincare",
  "title": "晨间护肤极简四步法！以油养肤干皮本命..",
  "authorName": "护肤研究所",
  "authorId": "xhs_662a8c1f",
  "viralVelocityScore": 84.5,
  "likes": 28410,
  "collects": 14220,
  "comments": 1840,
  "shares": 920,
  "englishCategory": "Skincare & Beauty",
  "sourcingKeyword": "以油养肤 精华油",
  "noteType": "normal",
  "coverImageUrl": "https://sns-img-qc.xhscdn.com/cover/662a8c1f000000000d024b3a.jpg",
  "aliExpressSearchUrl": "https://www.aliexpress.com/wholesale?SearchText=%E4%BB%A5%E6%B2%B9%E5%85%BB%E8%82%A4+%E7%B2%BE%E5%8D%8E%E6%B2%B9",
  "source1688Url": "https://s.1688.com/selloffer/offer_search.htm?keywords=%E4%BB%A5%E6%B2%B9%E5%85%BB%E8%82%A4+%E7%B2%BE%E5%8D%8E%E6%B2%B9",
  "noteUrl": "https://www.xiaohongshu.com/discovery/item/662a8c1f000000000d024b3a",
  "postedAt": 1729831200
}
```

***

### 💡 How E-Commerce Teams Profit With This Data

1. **Dropshipping Product Research**: Run weekly automated searches across `#skincare`, `#kitchengadgets`, and `#outfit`. Filter by `viralVelocityScore > 75` to identify winning items before US competitors start running Facebook ads.
2. **TikTok Shop Private Labeling**: Grab trending fashion & beauty notes with high `collects` ratios. Click the direct `source1688Url` to identify OEM factories and request samples.
3. **Content & Creative Inspiration**: Review high-converting visual angles, hook structures, and lifestyle framing used by China's top aesthetic creators.

# Actor input Schema

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

Enter product niches, hashtags, or keywords in English, Chinese, or Pinyin (e.g. 'skincare', 'outfit', 'desk accessories', '护肤', '穿搭').

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

How many trending notes to extract per keyword. Fast trial defaults (10 notes) finish in <12 seconds.

## `sortType` (type: `string`):

Choose how Xiaohongshu ranks results.

## `noteType` (type: `string`):

Filter by post media format.

## `enrichSourcing` (type: `boolean`):

Automatically generate 1-click wholesale supplier links (1688, Taobao, AliExpress) and English category classifications.

## `proxyConfiguration` (type: `object`):

Select proxy settings. Built-in Apify proxies work automatically out-of-the-box.

## `deduplicateAcrossRuns` (type: `boolean`):

When enabled, ensures that trending notes discovered in previous runs are not pushed again.

## `deduplicationNamespace` (type: `string`):

Custom namespace for the persistent Named Key-Value Store. Defaults to rednote-trend-forecaster-dedup if empty.

## Actor input object example

```json
{
  "keywords": [
    "skincare"
  ],
  "maxResults": 10,
  "sortType": "general",
  "noteType": "all",
  "enrichSourcing": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "deduplicateAcrossRuns": false,
  "deduplicationNamespace": ""
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("automation_studio/rednote-trend-forecaster").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": ["skincare"] }

# Run the Actor and wait for it to finish
run = client.actor("automation_studio/rednote-trend-forecaster").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": [
    "skincare"
  ]
}' |
apify call automation_studio/rednote-trend-forecaster --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automation_studio/rednote-trend-forecaster"
        }
    }
}
```

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/reNrDnPiaAdaBoBx4/builds/4NMSc1QyerSbXGhrg/openapi.json
