# Xiaohongshu (RedNote) Search Scraper - 小红书 Notes (`seemuapps/xiaohongshu-search-scraper`) Actor

Search Xiaohongshu (RedNote, 小红书) notes by keyword: titles, text, hashtags, likes, collects, comments, images, videos and authors. Sort and filter. No login.

- **URL**: https://apify.com/seemuapps/xiaohongshu-search-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

$5.00 / 1,000 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

## Xiaohongshu (RedNote) Search Scraper - 小红书 Notes

Search Xiaohongshu (小红书, also called RedNote or Little Red Book) by keyword and export the matching notes: title, text preview, hashtags, likes, collects, comments, shares, images, video links and author details. Sort by relevance, newest or most liked, and filter by note type and publish date. No login and no Xiaohongshu account needed.

### What you get

One row per note:

- **Note**: note ID and URL, type (image or video), title, text preview, hashtags, publish date
- **Engagement**: likes, collects (saves), comments and shares
- **Media**: every image URL for photo notes; cover image, MP4 video URL and duration for video notes
- **Author**: user ID, Red ID (小红书号), nickname, avatar, profile URL, verified flag
- **Context**: the keyword that found the note and its position in the results

### Use cases

- **Market and consumer research**: see what Chinese consumers post about a product category, brand or trend
- **Influencer discovery**: find the creators behind the most-liked notes for any keyword
- **Content and trend research**: track which topics, hashtags and formats get the most saves
- **Competitor monitoring**: follow notes that mention your competitors' brands or products
- **Cross-border e-commerce**: check demand and sentiment before launching a product in China

### How to use

1. Enter one or more **Search keywords** (Chinese keywords return the most results)
2. Set **Max notes per keyword**
3. Optionally choose **Sort by**, **Note type** and **Published within**
4. Run the actor and export the results from the **Dataset** tab as JSON, CSV or Excel

### Output example

```json
{
  "noteId": "6aa50c93000000002803952f",
  "url": "https://www.xiaohongshu.com/explore/6aa50c93000000002803952f?xsec_token=YBGwhw-626j0d0vUv6…",
  "type": "video",
  "title": "一杯封神！巨巨好喝小黄油咸蜂蜜拿铁🥯₊˚",
  "descriptionPreview": "#家庭咖啡角  #自制咖啡  #一口馥郁自有讲究  #雀巢金牌  #雀巢金牌冻干咖啡  #冻干咖啡  #雀巢冻干咖啡",
  "hashtags": [
    "家庭咖啡角",
    "自制咖啡",
    "一口馥郁自有讲究",
    "雀巢金牌",
    "雀巢金牌冻干咖啡",
    "冻干咖啡",
    "雀巢冻干咖啡"
  ],
  "likes": 20271,
  "collects": 5512,
  "comments": 166,
  "shares": 721,
  "publishedAt": "2026-09-13T12:34:52.000Z",
  "imageUrls": [],
  "coverUrl": "https://sns-na-i11.xhscdn.com/1040g00832508gkob40005prrjm768ern4cj36c8?imageView2/2/w/1440…",
  "videoUrl": "https://sns-video-v28.xhscdn.com/stream/79/110/258/01eaa4fe6570b2c64f037001a094b982ca_258.…",
  "videoDurationSeconds": 50,
  "isProductNote": false,
  "authorId": "677b9d8e0000000019003b77",
  "authorRedId": "26706526400",
  "authorNickname": "早安修狗coffee🐾",
  "authorAvatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31pkquh343q005prrjm768ern7d84sqo?imageView…",
  "authorUrl": "https://www.xiaohongshu.com/user/profile/677b9d8e0000000019003b77",
  "authorVerified": false,
  "keyword": "咖啡",
  "position": 1,
  "scrapedAt": "2026-10-26T21:36:13.750Z"
}
```

### FAQ

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

**Are ads included?** No. Sponsored cards in the search results are skipped.

**How many results can I get per keyword?** Up to 1,000. Xiaohongshu stops returning new results for some keywords well before that, so narrow or vary the keyword if you need more.

**Do the media links expire?** Image and video URLs are signed by Xiaohongshu's CDN and expire after a while. Download them soon after the run if you need to keep them.

**Want a creator's full note history or a note's comments?** Use the Xiaohongshu Profile Scraper and Xiaohongshu Comments Scraper.

**Why is the note text cut off?** Xiaohongshu only sends a preview of the text (about 60 characters) in search results. Use the Xiaohongshu Post Scraper on the note URLs to get the full text.

# Actor input Schema

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

What to search for on Xiaohongshu, one keyword per line. Chinese keywords return the most results, but English works too.

## `maxResultsPerKeyword` (type: `integer`):

How many notes to collect for each keyword.

## `sortBy` (type: `string`):

Result order, same as the sort menu in the Xiaohongshu app.

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

Only return video notes or image (photo) notes.

## `publishedWithin` (type: `string`):

Only return notes published in this time window.

## Actor input object example

```json
{
  "keywords": [
    "咖啡"
  ],
  "maxResultsPerKeyword": 50,
  "sortBy": "relevance",
  "noteType": "all",
  "publishedWithin": "any"
}
```

# Actor output Schema

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

One row per note: note ID and URL, type, title, text, hashtags, engagement counts, publish date, image and video URLs, and author details.

# 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/xiaohongshu-search-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 = { "keywords": ["咖啡"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,seemuapps/xiaohongshu-search-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/2RAmM12CURXiZrnid/builds/j9QN1cxg4ak3ry9dN/openapi.json
