# RedNote Xiaohongshu Scraper (Notes, Profiles, Channels) (`locaihost/rednote-scraper`) Actor

RedNote (Xiaohongshu) notes without a login: title, full text, tags, likes, saves, comments and shares as plain numbers, author, images, video link and posting time, from the explore feed, category channels, note links and profiles. onlyNew for daily runs.

- **URL**: https://apify.com/locaihost/rednote-scraper.md
- **Developed by:** [locaihost data](https://apify.com/locaihost) (community)
- **Categories:** Social media, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.75 / 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.
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 Scraper (Notes, Profiles, Channels)

Read public RedNote (Xiaohongshu, 小红书) notes without a login: title, full text, tags, likes, saves, comments and shares as plain numbers, the author, every image, the video link and the posting time. Start from the explore feed, a category channel such as food or fashion, note links or profile links. Each channel or profile also gets one free summary row.

### How do I start?

Paste this into the input (JSON tab) and press Start:

```json
{
    "channels": ["food"],
    "maxNotes": 20
}
```

You get 20 food notes from RedNote's explore page, each read in full, in well under a minute. More examples:

```json
{
    "noteUrls": [
        "https://www.xiaohongshu.com/explore/68ebbe360000000005003fa1",
        "https://www.xiaohongshu.com/discovery/item/6af3bf85000000002b002701"
    ]
}
```

```json
{
    "profileUrls": ["https://www.xiaohongshu.com/user/profile/5837dd70a9b2ed7f66f82950"]
}
```

```json
{
    "channels": ["recommend", "fashion", "cosmetics"],
    "maxNotes": 200,
    "onlyNew": true
}
```

### What can it read?

| Start from | What you get |
| --- | --- |
| A channel (`recommend`, `fashion`, `food`, `cosmetics`, `movie_and_tv`, `kpop`, `career`, `love`, `household_product`, `gaming`, `travel`, `fitness`, `video`) | As many notes as you ask for, up to 1,000 per channel. RedNote hands out fresh notes on every load of a channel, so a channel run more often keeps bringing new ones. |
| A note link, share link, share text or note id | That note, read in full. |
| A profile link or user id | The latest notes the profile shows without a login (up to 30) and a free summary row with its followers, following, likes and saves, bio and region. |

Chinese channel names (推荐, 美食, 穿搭, 美妆, 旅行 and so on) work too. Links on xiaohongshu.com and rednote.com are both fine.

### What does it not cover?

RedNote shows some things only to signed-in visitors, and this tool never signs in. So:

- **Keyword search** is not available. A run with only keywords ends with a message and costs nothing. Use a channel or links instead.
- **Comment text** is not returned (the comment count is).
- **Profiles** show only their latest 30 notes, and RedNote gives those without note ids, so profile notes come with title, cover, likes and posting time, but no link, text, saves or comments. Paste a note's own link to read it in full.
- **Image and video links expire** after a while (RedNote signs them). Download what you need soon after the run.

### How much does it cost?

You pay per note returned: **$5.00 per 1,000 notes** on the Free and Starter plans, less on Scale and Business. Reading each note in full costs the same as reading the feed card only. Summary rows are free. Notes skipped by onlyNew are not charged.

On Apify's free plan a run stops at **100 notes**. Any paid Apify plan removes the cap.

You can always set a maximum charge for a run; the run stops cleanly before it.

### How do I get only new notes every day?

Turn on **Only new notes** (`onlyNew`) and run the same input on a schedule. The first run returns everything as the baseline; every later run returns only notes this setup has never returned before, and you are not charged for the ones it skips. A saved task keeps its own memory.

### What does each row contain?

Rows with `type` = `note` are the notes (charged). Rows with `type` = `summary` are one free row per channel or profile (and per note link that could not be read). Columns a row does not use are empty.

| Field | What it is |
| --- | --- |
| `type` | note (charged) or summary (free) |
| `noteId` | RedNote's 24-character note id; empty on profile notes, which RedNote shows without an id to visitors who are not signed in |
| `url` | Note page on xiaohongshu.com, with the share token that lets it open without a login |
| `title` | Note title as posted |
| `titleEnglish` | RedNote's own English translation of the title, when it shows one |
| `description` | Full note text, hashtags included (needs the note read in full) |
| `descriptionEnglish` | RedNote's own English translation of the text, when it shows one |
| `noteType` | image (a picture note) or video |
| `authorNickname` | Poster's public display name |
| `authorId` | Poster's RedNote user id; put it under profileUrls to read that profile |
| `authorUrl` | Poster's profile page on xiaohongshu.com |
| `authorAvatar` | Poster's profile picture |
| `likes` | Likes, as a number (RedNote's 1.2万 becomes 12000) |
| `collects` | Saves (collects), as a number (needs the note read in full) |
| `comments` | Comment count, as a number (needs the note read in full) |
| `shares` | Shares, as a number (needs the note read in full) |
| `engagement` | Likes + saves + comments + shares (likes alone when the note was not read in full) |
| `tags` | Topic tags on the note |
| `tagsEnglish` | RedNote's own English translations of the tags, when it shows them |
| `coverUrl` | Cover image |
| `imageUrls` | Every image of the note, in order (needs the note read in full). RedNote's image links expire after a while: download what you need soon |
| `imageCount` | Number of images (0 for a video note) |
| `videoUrl` | Video file link (H.264 MP4 when RedNote offers one); expires after a while |
| `videoDurationSec` | Video length in seconds |
| `subtitles` | Video subtitle files RedNote offers: language and link |
| `postedAt` | When the note was posted (ISO 8601, UTC) |
| `updatedAt` | When the note was last edited (ISO 8601, UTC) |
| `ipLocation` | Region RedNote shows under the note (a province or country, as RedNote prints it) |
| `isPinned` | Pinned to the top of the poster's profile (profile notes only) |
| `detailed` | True when the note's own page was read (full text, saves, comments, shares, images) |
| `source` | The channel, note link or profile this row came from |
| `rank` | Position in its source, from 1 |
| `isNew` | First time this setup returned the note (onlyNew on); empty when onlyNew is off |
| `scrapedAt` | When the row was read (ISO 8601) |
| `sourceUrl` | Summary rows: the page read for this source |
| `notesFound` | Summary rows: notes read from this source |
| `notesReturned` | Summary rows: notes returned (and charged) from this source |
| `skippedKnown` | Summary rows: notes skipped because this setup returned them before (onlyNew) |
| `videoShare` | Summary rows: share of video notes among those read, 0 to 1 |
| `totalLikes` | Summary rows: likes on all notes read |
| `medianLikes` | Summary rows: median likes per note |
| `topNoteTitle` | Summary rows: title of the most-liked note |
| `topNoteUrl` | Summary rows: link to the most-liked note |
| `topNoteLikes` | Summary rows: likes on the most-liked note |
| `profileNickname` | Summary rows for a profile: display name |
| `profileRedId` | Summary rows for a profile: the RedNote number shown on the profile |
| `profileBio` | Summary rows for a profile: bio as written |
| `profileFollowers` | Summary rows for a profile: followers |
| `profileFollowing` | Summary rows for a profile: accounts it follows |
| `profileLikesAndSaves` | Summary rows for a profile: likes and saves on all its notes |
| `profileIpLocation` | Summary rows for a profile: region RedNote shows on it |
| `error` | Summary rows: why this source could not be read in full |
| `message` | Summary rows: what happened with this source, in one sentence |

Counts are plain numbers: RedNote's "1.2万" becomes 12000 and "10+" becomes 10.

### What does a row look like?

```json
{
    "type": "note",
    "noteId": "68ebbe360000000005003fa1",
    "url": "https://www.xiaohongshu.com/explore/68ebbe360000000005003fa1?xsec_token=...&xsec_source=pc_feed",
    "title": "...",
    "noteType": "video",
    "authorNickname": "...",
    "likes": 6809,
    "collects": 577,
    "comments": 46,
    "shares": 118,
    "engagement": 7550,
    "tags": ["..."],
    "videoDurationSec": 13,
    "postedAt": "2025-10-12T...Z",
    "ipLocation": "...",
    "detailed": true,
    "source": "channel food",
    "rank": 1
}
```

### Which input names does it accept?

The names in the input form, plus the ones other RedNote tools use, so an existing setup can be pasted in as is: `channel`, `category`; `noteIds`, `note_url`, `note_id`, `share_text`, `postUrls`; `profile_url`, `user_id`, `userIds`, `profiles`; `startUrls`, `urls`; `maxResults`, `maxItems`, `max_items`, `limit`, `maxNotesPerProfile`; `includeFullBody`; `only_new`.

### Is it legal to use this data?

The tool reads only what RedNote shows to any visitor who is not signed in: public notes, public display names and public counts. It never signs in and never collects private contact details. You are responsible for how you use the data: follow RedNote's terms, the copyright of the posters (notes, photos and videos belong to them) and the data protection laws that apply to you, such as China's PIPL, GDPR or CCPA. Do not use it to profile individuals.

### What else do people ask?

#### Why are some notes missing saves, comments or shares?

Those numbers come from the note's own page. They are empty when **Read each note in full** is off, for profile notes (no id to open), or when a single note page could not be read; the row still carries the feed card's title, author, likes and cover.

#### Why did my run end with a message and no notes?

The input had nothing this tool can read (for example keywords only), the note was deleted or private, or onlyNew found nothing new. Nothing is charged in those cases; the status message says which.

#### Can it read RedNote in English?

Rows carry RedNote's own English translation of the title, text and tags in `titleEnglish`, `descriptionEnglish` and `tagsEnglish` whenever RedNote shows one.

#### Where do I report a problem?

Open an issue on the Issues tab of this Actor's page on apify.com. Include the run link.

# Changelog

This Actor's version history is a separate document: https://apify.com/locaihost/rednote-scraper/changelog.md

# Actor input Schema

## `channels` (type: `array`):

RedNote's explore feed and its category channels: recommend (the main explore feed), fashion, food, cosmetics, movie_and_tv, kpop, career, love, household_product, gaming, travel, fitness, video. Chinese names such as 美食 or 穿搭 work too. Each load of a channel brings fresh notes, so a channel can give hundreds.

## `noteUrls` (type: `array`):

RedNote or Xiaohongshu note links (www.xiaohongshu.com/explore/..., /discovery/item/...), xhslink.com share links, whole share text copied from the app, or bare 24-character note ids. Each returns that one note, read in full.

## `profileUrls` (type: `array`):

Profile links (www.xiaohongshu.com/user/profile/...) or bare 24-character user ids. Returns the latest notes RedNote shows on the profile without a login (up to 30) and a free summary row with the profile's followers, likes and bio.

## `maxNotes` (type: `integer`):

Notes returned per channel or profile, 1 to 1,000. A profile shows at most its latest 30 without a login.

## `includeDetails` (type: `boolean`):

Opens each note's own page for its full text, tags, saves, comments and shares, every image, the video link and subtitles, posting time and the poster's region. Same price per note either way. Off: only what the feed card shows (title, author, likes, cover), which is faster.

## `onlyNew` (type: `boolean`):

For scheduled runs: return only notes this setup has never returned before. Notes skipped this way are not charged. The first run returns everything as the baseline.

## `startUrls` (type: `array`):

A mix of note, profile and channel links (www.xiaohongshu.com/explore?channel_id=...), sorted out automatically.

## Actor input object example

```json
{
  "channels": [
    "food"
  ],
  "maxNotes": 20,
  "includeDetails": true,
  "onlyNew": false
}
```

# Actor output Schema

## `notes` (type: `string`):

One row per note: title, text, tags, likes, saves, comments, shares, author, images, video and posting time.

## `summaries` (type: `string`):

One free row per channel or profile: notes found and returned, total and median likes, the top note, and for a profile its followers and bio.

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

Sources read, notes returned, notes skipped by onlyNew, RedNote requests and cost.

# 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 = {
    "channels": [
        "food"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("locaihost/rednote-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 = { "channels": ["food"] }

# Run the Actor and wait for it to finish
run = client.actor("locaihost/rednote-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 '{
  "channels": [
    "food"
  ]
}' |
apify call locaihost/rednote-scraper --silent --output-dataset

```

## MCP server setup

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