# RedNote Xiaohongshu Search Scraper | $0.59/1K | Translation (`monkey.d.scraping/rednote-xiaohongshu-search-scraper`) Actor

Search public RedNote / Xiaohongshu (小红书) notes by keyword and date, no login or cookies. Full text with English translation, exact likes, comments, saves and shares, every image, video links and hashtags. Real-time API. 小红书笔记搜索采集

- **URL**: https://apify.com/monkey.d.scraping/rednote-xiaohongshu-search-scraper.md
- **Developed by:** [Monkey D. Scraping](https://apify.com/monkey.d.scraping) (community)
- **Categories:** Social media, Marketing, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.59 / 1,000 posts

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Search Scraper — Notes by Keyword, English Translation, Images & Video | 小红书笔记搜索采集

![RedNote Xiaohongshu Search Scraper — search 小红书 notes by keyword with English translation, likes, saves, images and video](https://api.apify.com/v2/key-value-stores/cejrg8lYOF5DWaNKX/records/rednote-search-v2.svg)

Search **public RedNote / Xiaohongshu (小红书) notes by keyword** and get one clean row per note: title and full text in the original language **plus the English translation**, author, publish date, **exact likes, comments, saves and shares**, hashtags, **every image** with long-lasting links, and **video links with duration**. Filter by date, note type and likes, sort by relevance or newest first. No RedNote account, no cookies.

**From $0.59 per 1,000 notes**, platform usage included. One note = one dataset row. You pay only for the notes you receive: no fee per keyword, per run or per minute of processing.

Also known as: Xiaohongshu scraper, RedNote scraper, Little Red Book scraper, XHS scraper, 小红书爬虫, 小红书采集, Xiaohongshu keyword search, RedNote search API, Xiaohongshu note scraper, RedNote brand mention monitor, Xiaohongshu to Excel, Xiaohongshu search without login, Xiaohongshu search API, RedNote downloader, Xiaohongshu video downloader, Xiaohongshu dataset, Xiaohongshu travel and fashion trends, 小红书数据采集, 小红书爬虫 API, 小红书关键词查询, China social listening tool.

[Italiano](#italiano) · [Español](#español) · [Français](#français) · [Deutsch](#deutsch) · [Português](#português) · [简体中文](#小红书笔记搜索采集器简体中文) · [繁體中文](#小紅書筆記搜尋擷取器繁體中文)

### Why this RedNote scraper?

- **No login, no cookies.** Your RedNote account is never involved.
- **English translation in the same row.** `titleEnglish`, `textEnglish` and `hashtagsEnglish` sit next to the original Chinese text, so a non-Chinese team can read, filter and tag results straight away.
- **Exact engagement.** Likes, comments, saves and shares as whole numbers (1,971 — not "1K+").
- **Every image, not just the cover.** `imageUrls` lists all photos of the note with long-lasting links that keep working in your spreadsheet; `imageCount` tells you how many.
- **Video ready.** Video notes come with a direct MP4 link, duration and resolution.
- **Proof of relevance.** Every row says where the keyword was found (`title`, `text`, `hashtags`, `translation`). With **Keep only notes that contain the keyword** on, notes that do not mention it are skipped and never charged.
- **18 months of history.** Keyword search reaches notes published in the last 18 months; by URL or ID you can read a note of any age.
- **Filters that save money.** Note type (photo or video) and minimum likes are applied before a note is saved, so you do not pay for rows you would delete.
- **Read notes by URL too.** Paste note links or IDs from either domain (xiaohongshu.com or rednote.com) and get the same rich row — handy to refresh engagement on notes you already track.
- **Real-time API.** Use the Server tab to get notes directly in an HTTP response, for apps and AI agents.

### How it compares

| | This Actor | Lofomachines Rednote Xiaohongshu Search |
|---|---|---|
| Price per 1,000 notes | **$0.59–0.99, usage included** | $1.39–2.19 + $0.001 per keyword + $0.003 per processing block + Actor start |
| What you pay for | **delivered notes only** | notes + each keyword + each processing block + Actor start |
| English translation of title and text | **yes** | no |
| Images per note | **all of them** | cover only |
| Image links | **long-lasting** | can expire |
| Video link, duration, resolution | **yes** | no |
| Where the keyword was found | **yes** | no |
| Date range | **last 18 months** | last 12 months |
| Filters: note type, minimum likes | **yes** | no |
| Read notes by URL or ID | **yes** | no |
| Author ID and avatar, mentions, location | **yes** | no |
| Fields per note | **33** | 18 |
| Real-time server API | yes | yes |

Fields and charges were read from the public Store page and a sample dataset of that Actor on November 15, 2026.

### Use cases

- **China market research** — what consumers really say about a category, an ingredient or a product, in their own words and in English.
- **Brand and competitor monitoring** — public notes that mention your brand or category, with engagement, on a daily or weekly schedule.
- **Beauty, skincare and fashion trends** — routines, ingredients, dupes and seasonal looks with likes and saves to rank them.
- **Travel and hospitality** — destination guides, hotel and restaurant mentions written by Chinese travellers.
- **Influencer and KOL discovery** — authors who publish about your niche, with profile links and the engagement of each note.
- **Campaign tracking** — search a campaign phrase or hashtag between two dates and measure the response.
- **AI and RAG pipelines** — clean JSON with original text, English translation, hashtags and media links.

### Input

| Field | What it does |
|---|---|
| **Keywords** | Topics, brands, products or phrases, one per line (up to 100 per run). Chinese keywords find the most notes; English works too. |
| **Posts per keyword** | How many notes to collect for each keyword (default 50, up to 3,000). |
| **Sort by** | Relevance or Most recent. |
| **Published after / before** | Optional date range within the last 18 months. |
| **Note URLs or IDs** | Optional: read specific notes, with or without keywords. |
| **Note type** | Photos and videos, photo notes only or video notes only. |
| **Minimum likes** | Keep only notes with at least this many likes. |
| **Keep only notes that contain the keyword** | On by default. |
| **Search market** | Worldwide or one of 24 markets. |

#### Example input

```json
{
  "keywords": ["咖啡", "防晒霜", "旅行攻略"],
  "maxPostsPerKeyword": 100,
  "sortBy": "recent",
  "publishedAfter": "2026-01-01",
  "minLikes": 50
}
```

### Output

One row per note. Example (shortened):

```json
{
  "keyword": "咖啡",
  "url": "https://www.rednote.com/discovery/item/6a254b630000000013020400",
  "xiaohongshuUrl": "https://www.xiaohongshu.com/explore/6a254b630000000013020400",
  "postId": "6a254b630000000013020400",
  "postType": "video",
  "title": "周末咖啡探店｜三家值得去的小店",
  "text": "这周末去了三家新开的咖啡店… #咖啡 #探店",
  "titleEnglish": "Weekend café hopping | Three small shops worth a visit",
  "textEnglish": "This weekend I tried three newly opened coffee shops…",
  "language": "zh_cn",
  "authorName": "示例作者",
  "authorUrl": "https://www.rednote.com/user/profile/605e5cf7000000000101f064",
  "publishedAt": "2026-06-07T10:43:47.000Z",
  "likeCount": 1971,
  "commentCount": 252,
  "saveCount": 2488,
  "shareCount": 1357,
  "hashtags": ["#咖啡", "#探店"],
  "hashtagsEnglish": ["#coffee", "#cafehopping"],
  "imageUrl": "https://ci.xiaohongshu.com/…",
  "imageUrls": ["https://ci.xiaohongshu.com/…"],
  "imageCount": 1,
  "videoUrl": "https://sns-v11.rednotecdn.com/…mp4",
  "videoDurationSeconds": 42,
  "keywordFoundIn": ["title", "text", "hashtags"],
  "scrapedAt": "2026-11-15T10:00:00.000Z"
}
```

Other fields: `country`, `authorId`, `authorAvatar`, `updatedAt`, `dateSource`, `location`, `mentions`, `videoWidth`, `videoHeight`. Export as JSON, CSV, Excel or XML. Ready-made views: **Posts**, **English translation**, **Engagement**, **Images and videos**.

A `SUMMARY` record in the key-value store lists, for each keyword, the notes collected and why the keyword finished (`limitReached` or `allPostsFound`).

### Pricing

You pay per delivered note. Platform usage is included; there is no fee per keyword, per run or per processing time, and notes skipped by your filters are free.

| Plan | Price per 1,000 notes |
|---|---|
| Free | $0.99 |
| Starter | $0.79 |
| Scale | $0.69 |
| Business and above | $0.59 |

Examples on the Starter plan: 10 keywords × 50 notes = 500 notes = $0.40. 40 keywords × 50 notes = 2,000 notes = $1.58. Notes returned by the real-time API cost the same.

### How to use it

1. Type your keywords, one per line.
2. Set **Posts per keyword**, then **Sort by** and dates if you need them.
3. Click **Start**. Download the dataset as JSON, CSV or Excel, or read it through the API.
4. Schedule the run daily or weekly to monitor new notes.

#### API example

```bash
curl -X POST "https://api.apify.com/v2/acts/monkey.d.scraping~rednote-xiaohongshu-search-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["咖啡"], "maxPostsPerKeyword": 50, "sortBy": "recent"}'
```

#### Real-time RedNote search API for apps and AI agents

Need notes inside an HTTP response instead of a dataset? Use the **Server** tab. Send the same JSON input to `POST /search` (or `GET /search?keyword=...&maxPosts=20`) and the notes come back in the response, ready for social listening tools, AI agents, n8n and Make.

```bash
curl -X POST "https://YOUR_SERVER_URL/search" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["咖啡"], "maxPostsPerKeyword": 20, "sortBy": "recent"}'
```

Copy the server URL from the Server tab. Notes cost the same as in a normal run, and requests that return no notes are free.

The server supports both **single-tenant** (each user gets a separate server run in their own account) and **multi-tenant** (shared server instances, with every request's notes kept separate and returned only to its caller). Apify activates one mode at a time; the Server tab shows the active one. For long keyword lists a normal run is the better fit; if the server is busy, retry after a few seconds.

#### Integrations

Works with the Apify API, scheduler and webhooks, and with n8n, Make, Zapier, Google Sheets, Slack and the Apify MCP server, so your AI agent can call it as a tool.

### For AI agents

- **Purpose:** find public RedNote / Xiaohongshu notes that mention a keyword and return structured rows with original text, English translation, engagement and media links.
- **Minimal input:** `{"keywords": ["防晒霜"], "maxPostsPerKeyword": 20}`. Add `sortBy: "recent"`, `publishedAfter`, `publishedBefore`, `postType`, `minLikes` when needed.
- **Read known notes:** `{"postUrls": ["https://www.xiaohongshu.com/explore/<id>"]}`.
- **Key output fields:** `url`, `title`, `text`, `titleEnglish`, `textEnglish`, `authorName`, `publishedAt`, `likeCount`, `commentCount`, `saveCount`, `shareCount`, `hashtags`, `imageUrls`, `videoUrl`, `keywordFoundIn`.
- **Tip:** translate the user's topic into Chinese before searching (for example "sunscreen" → `防晒霜`); read answers from `textEnglish`.
- **Billing:** one event per delivered note; empty searches cost nothing.

### FAQ

**Is RedNote the same as Xiaohongshu?** Yes. RedNote is the international name of Xiaohongshu (小红书), also called Little Red Book or XHS. Every row has both links: `url` (rednote.com) and `xiaohongshuUrl` (xiaohongshu.com).

**Do I need an account or cookies?** No. The Actor reads public notes only.

**Which language should my keywords be in?** Any. Most notes are written in Chinese, so Chinese keywords return the most results, and topic keywords such as `旅行攻略` or `护肤` return more notes than single brand names.

**Where does the English translation come from?** It is the translation RedNote itself shows to international readers, delivered in `titleEnglish`, `textEnglish` and `hashtagsEnglish`.

**Can I search several keywords at once?** Yes, up to 100 per run. A note that matches two keywords appears once for each keyword; use `postId` to count distinct notes.

**Can I monitor a brand over time?** Yes. Save the input as a task, choose **Most recent** and schedule it daily or weekly.

**Can I get the comments of a note?** Each row has the exact number of comments. Comment text is not part of this Actor.

**Can I download the images and videos?** Each row has direct links to every image and to the video file; open or download them with any tool.

### Related tools

- [Bilibili Scraper 哔哩哔哩 B站 — Videos, Creators, Comments & Search](https://apify.com/monkey.d.scraping/bilibili-scraper)
- [Taobao Scraper & Tmall 淘宝 天猫 — Products & Prices](https://apify.com/monkey.d.scraping/taobao-tmall-scraper)
- [Lemon8 Scraper — Posts, Comments & Replies](https://apify.com/monkey.d.scraping/lemon8-posts-comments)

### More tools for marketers

- [TikTok Trends Scraper — Trending Videos, Hashtags & Search](https://apify.com/monkey.d.scraping/tiktok-trends-search-scraper)
- [Instagram Hashtag Scraper — Posts, Reels, Analytics & Monitor](https://apify.com/monkey.d.scraping/instagram-hashtag-scraper)
- [LinkedIn Post Search Scraper — Comments & Videos](https://apify.com/monkey.d.scraping/linkedin-post-search-scraper)
- [YouTube Scraper — Transcripts, Comments, Shorts](https://apify.com/monkey.d.scraping/youtube-scraper)
- [Reddit Scraper — Posts, Search, Subreddits, Comments](https://apify.com/monkey.d.scraping/reddit-scraper)

### Italiano

**Cerca note pubbliche di RedNote / Xiaohongshu (小红书) per keyword e data, senza account né cookie.** Ogni riga contiene titolo e testo originali **con la traduzione in inglese**, autore, data, like, commenti, salvataggi e condivisioni esatti, hashtag, tutte le immagini e il link al video. Filtri per tipo di nota e like minimi, ordinamento per pertinenza o più recenti, ultimi 18 mesi. Si paga solo per le note consegnate: nessun costo per keyword o per tempo di elaborazione. Puoi anche leggere note da URL o ID e usare l'API in tempo reale dalla scheda Server.

### Español

**Busca notas públicas de RedNote / Xiaohongshu (小红书) por palabra clave y fecha, sin cuenta ni cookies.** Cada fila incluye título y texto originales **con traducción al inglés**, autor, fecha, likes, comentarios, guardados y compartidos exactos, hashtags, todas las imágenes y el enlace del vídeo. Filtra por tipo de nota y likes mínimos, ordena por relevancia o más recientes, últimos 18 meses. Solo pagas por las notas entregadas: sin coste por palabra clave ni por tiempo de proceso. También lee notas por URL o ID y ofrece API en tiempo real en la pestaña Server.

### Français

**Recherchez des notes publiques RedNote / Xiaohongshu (小红书) par mot-clé et par date, sans compte ni cookies.** Chaque ligne contient le titre et le texte d'origine **avec la traduction anglaise**, l'auteur, la date, les likes, commentaires, enregistrements et partages exacts, les hashtags, toutes les images et le lien de la vidéo. Filtres par type de note et likes minimum, tri par pertinence ou par date, 18 derniers mois. Vous ne payez que les notes livrées : aucun frais par mot-clé ni par temps de traitement. Lecture par URL ou ID et API temps réel dans l'onglet Server.

### Deutsch

**Öffentliche RedNote- / Xiaohongshu-Notizen (小红书) nach Suchbegriff und Datum finden, ohne Konto und ohne Cookies.** Jede Zeile enthält Titel und Text im Original **mit englischer Übersetzung**, Autor, Datum, exakte Likes, Kommentare, Speicherungen und Shares, Hashtags, alle Bilder und den Videolink. Filter nach Notiztyp und Mindest-Likes, Sortierung nach Relevanz oder Aktualität, letzte 18 Monate. Sie zahlen nur für gelieferte Notizen: keine Gebühr pro Suchbegriff oder Verarbeitungszeit. Notizen per URL oder ID lesen und Echtzeit-API im Tab Server.

### Português

**Pesquise notas públicas do RedNote / Xiaohongshu (小红书) por palavra-chave e data, sem conta nem cookies.** Cada linha traz título e texto originais **com tradução em inglês**, autor, data, curtidas, comentários, salvamentos e compartilhamentos exatos, hashtags, todas as imagens e o link do vídeo. Filtros por tipo de nota e curtidas mínimas, ordenação por relevância ou mais recentes, últimos 18 meses. Você paga apenas pelas notas entregues: sem custo por palavra-chave nem por tempo de processamento. Leitura por URL ou ID e API em tempo real na aba Server.

### 小红书笔记搜索采集器（简体中文）

**按关键词和日期搜索小红书 / RedNote 公开笔记，无需账号，无需 Cookie。** 每条笔记一行数据：

- 标题和正文原文，**同时附带英文翻译**（`titleEnglish`、`textEnglish`、`hashtagsEnglish`），方便海外团队直接阅读和筛选；
- 作者昵称、主页链接、头像，发布时间；
- **精确的点赞、评论、收藏、分享数**（是 1971，而不是“1千+”）；
- 话题标签、@提及、IP 属地（如有）；
- **笔记的全部图片**，链接长期有效；视频笔记提供 MP4 直链、时长和分辨率；
- `keywordFoundIn` 字段标明关键词出现在标题、正文、话题还是翻译中。

**功能特点**

- 每次运行最多 100 个关键词，每个关键词最多 3,000 条笔记；
- 按相关度或最新发布排序；可搜索最近 18 个月发布的笔记；
- 可按笔记类型（图文 / 视频）和最低点赞数筛选，被筛掉的笔记不收费；
- 支持直接输入笔记链接或笔记 ID（xiaohongshu.com 和 rednote.com 均可）批量读取；
- **只按实际返回的笔记收费**：不收关键词费、启动费或处理时长费；套餐越高单价越低，详见 Pricing 页面；
- 提供实时 API（Server 页面，`POST /search`），可接入应用、AI 智能体、n8n 和 Make；
- 可导出 JSON、CSV、Excel。

**价格：付费套餐每 1,000 条笔记最低 $0.59**，已包含平台用量。一条笔记 = 一行数据，只为收到的笔记付费，不收关键词费或处理时间费。

| 套餐 | 每 1,000 条笔记 |
|---|---|
| Free | $0.99 |
| Starter | $0.79 |
| Scale | $0.69 |
| Business 及以上 | $0.59 |

**输入示例**

```json
{"keywords": ["防晒霜", "咖啡"], "maxPostsPerKeyword": 100, "sortBy": "recent", "minLikes": 50}
```

**适用场景：** 品牌舆情监测、竞品分析、美妆护肤与穿搭趋势、旅游攻略研究、达人（KOL）挖掘、营销活动效果追踪、AI 数据集。

### 小紅書筆記搜尋擷取器（繁體中文）

**用關鍵字和日期搜尋小紅書 / RedNote 公開筆記，免帳號、免 Cookie。** 每則筆記一列資料：標題與內文原文**並附英文翻譯**、作者、發佈時間、精確的按讚、留言、收藏與分享數、主題標籤、全部圖片（連結長期有效）以及影片 MP4 連結。可依筆記類型與最低按讚數篩選，依相關度或最新排序，可搜尋最近 18 個月發佈的筆記。**只依實際回傳的筆記計費**（付費方案每 1,000 則最低 $0.59，已含平台用量），不收關鍵字費或處理時間費。也可直接貼上筆記連結或 ID 批次讀取，並透過 Server 頁面的即時 API 串接應用程式與 AI 代理。可匯出 JSON、CSV、Excel。

# Actor input Schema

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

Topics, brands, products or phrases to find in public RedNote / Xiaohongshu (小红书) notes. One per line, up to 100 per run. Chinese keywords such as 咖啡 (coffee), 防晒 (sunscreen) or 旅行攻略 (travel guide) find the most notes; English and other languages work too.

## `maxPostsPerKeyword` (type: `integer`):

Maximum number of notes to collect for each keyword. Each note is one dataset row. You pay only for the notes delivered.

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

Relevance returns the best matching notes first. Most recent starts from the newest notes.

## `publishedAfter` (type: `string`):

Only notes published on or after this day (UTC). Any past date works: there is no 12-month limit. Leave empty for no lower limit.

## `publishedBefore` (type: `string`):

Only notes published on or before this day (UTC). Leave empty for today.

## `postUrls` (type: `array`):

Optional. Read specific notes instead of, or in addition to, searching by keyword. Accepts xiaohongshu.com/explore/..., xiaohongshu.com/discovery/item/..., rednote.com links and bare 24-character note IDs. Up to 5,000 per run.

## `postType` (type: `string`):

Keep photo notes, video notes or both.

## `minLikes` (type: `integer`):

Keep only notes with at least this many likes. 0 keeps every note.

## `exactMatch` (type: `boolean`):

When on, a note is saved only if the keyword appears in its own title, text or hashtags (or in their English translation). The keywordFoundIn field tells you where. Turn off to also keep notes the search considers related.

## `country` (type: `string`):

Worldwide is the broadest search. A market prioritises notes relevant to that country; it does not verify where the author lives.

## Actor input object example

```json
{
  "keywords": [
    "咖啡"
  ],
  "maxPostsPerKeyword": 20,
  "sortBy": "relevance",
  "postType": "all",
  "minLikes": 0,
  "exactMatch": true,
  "country": "any"
}
```

# Actor output Schema

## `posts` (type: `string`):

One row per public RedNote / Xiaohongshu note.

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

Counts and outcome for each keyword.

# 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": [
        "咖啡"
    ],
    "maxPostsPerKeyword": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("monkey.d.scraping/rednote-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": ["咖啡"],
    "maxPostsPerKeyword": 20,
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,monkey.d.scraping/rednote-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/faX1BPNjXxjdPhlYf/builds/RBVYLbRQf3pRcKLPP/openapi.json
