# Xiaohongshu (RedNote) Note Scraper: Links & IDs (`luzivanlt/rednote-note-scraper`) Actor

Xiaohongshu (RedNote) notes from a link or note id: text, tags, author, likes, comments, images, video. $5.90 per 1,000 notes. Title, body, tags, author, likes, collects, shares, comments, image and video links. No login or share token needed.

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

## Pricing

from $4.13 / 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

## Xiaohongshu (RedNote) Note Scraper: Links & IDs

Get any public Xiaohongshu note from a link or just its 24-character id: the
text, tags, author, likes, collects, shares, comment count, every image and
every video stream, plus the comments the note page carries. One row per note.
No Xiaohongshu account or cookies needed.

Tested end to end on 2026-11-13: the three-note sample returned all three notes,
two video notes and one image gallery.

### What does this Actor do?

You give it a list of notes: a note link, a share link, or a bare 24-character
note id. It reads each note and saves one row per note to your results. It stops
when every note in your list is read, or at the maximum you set.

Xiaohongshu shows a note to anyone who has its link, and this Actor takes the
link as it is. You do not need a share token or a login: a link with no token
and a bare 24-character id both work, which is what you have when you collect
note ids from another source. Notes that are deleted, private or removed are
counted in the run summary and never charged.

Each note comes with:

- **The note itself:** title, the full caption in the author's words, its type
  (video or image gallery), and every topic tag with its name and id.
- **The author:** name, id, avatar link and the site's verification code.
- **Engagement:** likes, collects, shares and the note's total comment count.
- **Images:** every image with its link, width, height, whether it is a Live
  Photo, and the site's own file id, plus a cover image link.
- **Video:** length, width, height and every available stream with its link, a
  backup link, codec, quality label, resolution, frames per second, bitrate and
  size in bytes. Empty on image notes.
- **Comments the page carries:** top-level comments and their replies, each with
  the author, text, an automatic translation when the site provides one, likes,
  reply count and time.
- **The author's other notes:** four suggestions the page carries, with title,
  cover, engagement and time.

### Why use it?

- **A link or a bare id, no account.** Paste `https://www.rednote.com/discovery/item/6abcd58a000000000b005974`
  or just `6abcd58a000000000b005974`. No Xiaohongshu login, no cookie, no share
  token.
- **Every stream, not one link.** A video note carries each stream the site
  offers, with resolution, bitrate and size, so you can pick the quality you
  need instead of taking the first link.
- **The comments that come with the note.** Author, text, translation, likes
  and replies, on the same row as the note, with no second run.
- **Clear about what it cannot do.** No keyword search, no location field and
  no full comment pagination; each is explained below, not left for you to
  discover.
- **Export as JSON, CSV or Excel,** or pull the same rows through Apify's API
  into your own tool.

### How to use it

1. Paste your notes into **Note links or IDs**, one per line.
2. Optionally set **Maximum notes** to cap the run, for example 500.
3. Press Start. Rows appear in the dataset as each note is read.

Run with no changes and the Actor reads a three-note sample.

#### Links that work

- `https://www.rednote.com/discovery/item/6abcd58a000000000b005974`
- `https://www.xiaohongshu.com/explore/6abcd58a000000000b005974`
- `https://xhslink.com/o/6oKW7wkJf09`, shared from the app
- `6abcd58a000000000b005974`, the bare id

A line that is not a note, such as a profile link or a search link, stops the
run before anything is read and names the line, so a typo never costs you a
partial run.

### Input

| Title | What it does | Default |
| --- | --- | --- |
| **Note links or IDs** (`noteUrls`) | One note per line: a note link, a share link or a bare 24-character id. A line that is not a note stops the run and names the line. | Empty, which runs the three-note sample |
| **Maximum notes** (`maxNotes`) | Saves at most this many notes, in the order you list them. 0 saves every note in the list. | 0 |
| **Save pictures and video files** (`includeMedia`) | Saves each picture and the note's video file to the run's key-value store and adds their keys to the row. Charged separately, $0.0004 per started 1 MB block. | Off |

Give at least one note, or leave the field empty to run the sample.

```json
{
  "noteUrls": [
    "https://www.rednote.com/discovery/item/6abcd58a000000000b005974",
    "6958b3bb000000001e02c764"
  ],
  "maxNotes": 100
}
```

### Output

One row per note. A row looks like this (values shortened):

```json
{
  "note_id": "6abcd58a000000000b005974",
  "url": "https://www.rednote.com/discovery/item/6abcd58a000000000b005974",
  "type": "video",
  "title": "这个赛后怎么有人握手有人碰拳",
  "body": "图源水印\n#第五人格赛事[话题]# #ivl[话题]#",
  "tag_names": ["第五人格赛事", "ivl"],
  "author_nickname": "小鼠挞",
  "published_at": "2026-09-30T09:25:30.000Z",
  "likes": 2392,
  "collects": 99,
  "shares": 56,
  "comment_count": 20,
  "image_count": 1,
  "images": [
    {
      "url": "https://sns-web-i10.rednotecdn.com/...",
      "width": 1080,
      "height": 1440,
      "live_photo": false
    }
  ],
  "video": {
    "duration_sec": 16,
    "width": 720,
    "height": 1280,
    "streams": [
      {
        "url": "https://sns-v27.rednotecdn.com/...mp4",
        "codec": "h264",
        "width": 720,
        "height": 1280,
        "fps": 30,
        "size_bytes": 2135399
      }
    ]
  }
}
```

| Field | What it holds |
| --- | --- |
| `note_id` | The note's own 24-character id; the same note keeps it across runs. |
| `url` | Link to the note on rednote.com. |
| `xsec_token` | The share token from the link you pasted, when it had one. Empty for a bare id. |
| `type` | `video` for a note with a video, `normal` for an image gallery. |
| `title` | The note's title, exactly as the author wrote it. |
| `body` | The full caption as plain text, including the hashtag lines the author typed. |
| `tags` | Every topic tag: id, name and the site's tag type. |
| `tag_names` | Just the tag names, in the author's order. |
| `at_users` | Users the author mentioned with @, each with a user id and a display name. |
| `author_id` | The author's user id; the same author keeps it across notes. |
| `author_nickname` | The author's display name. |
| `author_avatar_url` | Link to the author's profile picture. |
| `author_verify_type` | The site's verification code for the author; 0 means no badge. |
| `published_at` | When the note was published, ISO 8601. |
| `updated_at` | When the author last changed the note, ISO 8601. |
| `likes` | Likes on the note, as the page states them. |
| `collects` | Times the note was saved to a collection. |
| `shares` | Times the note was shared. |
| `comment_count` | Every comment, replies included, as the page states it. |
| `image_count` | How many images the note has. |
| `images` | Every image: link, width, height, Live Photo flag and file id. |
| `cover_url` | Link to the note's first image, the one the feed shows. |
| `video` | Length, width, height and every stream with links, codec, quality, resolution, fps, bitrate and size. Empty on image notes. |
| `comments_preview` | The comments the page carries: author, text, translation, likes, reply count, replies and time. |
| `author_notes` | Four other notes by the author the page suggests, with title, cover, engagement and time. |
| `media_files` | With **Save pictures and video files** on: one entry per saved file, with its kind, the key it is stored under, the link it came from, its size in bytes and its content type. Empty when the option is off. |

Empty cells are normal: a note without a title has an empty `title`, an image
note has an empty `video`, and the author suggestions are empty when the page
carries none. A value the page does not state is empty rather than zero.

### How much does it cost?

You pay for what you get:

- **$5.90 per 1,000 notes** ($0.0059 per note) on the free plan. One note saved
  to your results is one charge. A note found twice in a run is charged once.
- **$0.40 per 1,000 blocks** ($0.0004 per started 1 MB block) when **Save
  pictures and video files** is on. A 300 KB picture is one block, a 1.2 MB
  picture is two, and a file is never free: every saved file costs at least one
  block. A file that cannot be saved, or one skipped when the run's time limit
  is near, is not charged.
- A gone or private note, a note that could not be read, and a line that stops
  the run are never charged.

A run of 300 notes costs $1.77: 300 × $0.0059. The three-note sample costs
$0.0177.

Paid plans pay less per note: Bronze $5.31, Silver $4.72 and Gold $4.13 per
1,000 notes. Media blocks: Bronze $0.36, Silver $0.32 and Gold $0.28 per 1,000.

### How long does a run take?

The three-note sample returns in under a minute. A run of 300 notes takes about
seven minutes; 299 notes in 404 seconds is the measured run.

### How does it compare?

Two other RedNote note scrapers sell on Apify Store. Prices below are per
1,000 notes on the Free and Gold plans, one note is one row here and one
result there, read from each Store page on 2026-11-14. Their fields are what
their own Store page promises; we did not run them.

| | this Actor | [`zen-studio` Note Scraper](https://apify.com/zen-studio/rednote-note-detail-scraper) | [`zhorex` RedNote Scraper](https://apify.com/zhorex/rednote-xiaohongshu-scraper) |
|---|---:|---:|---:|
| Free price per 1,000 notes | **$5.90** | $9.99 | $60.00 |
| Gold price per 1,000 notes | **$4.13** | $7.99 | $60.00 |
| Start fee | **none** | $0.05 | $0.0125 per GB, $0.05 at its 4 GB default |
| A bare 24-character id, no token, no cookie | **yes** | yes | no, needs the link's token or your login cookie |
| Full comment thread | no, the page's first comments and replies | separate Comments Actor, $5.99 per 1,000 comments on Free | separate mode, login needed at scale |
| MP4 and JPEG files saved for you | **yes, paid by the block** | yes, paid per file | no |
| Subtitle tracks (SRT) | no | yes, free | no |
| Location or place | no | yes | yes |

In words: on the Free plan this Actor costs about 40% less per 1,000 notes
than `zen-studio`, and on Gold about half; it costs about one tenth of
`zhorex`'s flat price. Unlike `zhorex` it takes a note id with no token and
no login. `zen-studio` also takes bare ids, so the input formats match there.

Where this Actor is worse: full comment pagination, subtitle tracks and a
location field. If you need one of those, `zen-studio`'s note detail Actor has
it; this Actor returns the comments the page carries, the media links, and the
pictures and video files themselves when you turn that option on.

### Good to know

- **No keyword search.** Xiaohongshu search needs the site's own signed request
  and is not supported. This Actor takes notes you already have a link or id for.
- **No location or place field.** The note page does not publish one, so the
  Actor does not invent it.
- **Comments are a preview, not the full thread.** The note page carries the
  first top-level comments and some replies. `comment_count` tells you the real
  total; `comments_preview` holds what the page shows.
- **The author's other notes have no id on an anonymous page,** so their
  `url` is empty there. The title, cover and counts are still filled.
- **Gone notes are skipped, not failed.** A deleted, private or unknown note is
  counted in the run summary, and the run keeps going.
- **Daily runs.** Point the same list at the Actor on a schedule and every run
  returns the current counts, so you can track likes, collects and comments over
  time.

### FAQ

**Do I need a Xiaohongshu account?**
No. No login, no cookies, no share token.

**Can I use a link copied from the app?**
Yes. A share link such as `https://xhslink.com/o/...` works, and the app's
share text works too: the Actor finds the link inside it.

**Can I get every comment?**
No. This Actor returns the comments the note page carries. Use `comment_count`
for the true total.

**Can I scrape a private note?**
No. A private or deleted note returns no row and is not charged.

# Actor input Schema

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

One note per line: a link such as https://www.rednote.com/discovery/item/6abcd58a000000000b005974, a share link such as https://xhslink.com/o/6oKW7wkJf09, or just the 24-character id. A line that is not a note stops the run before anything is read and names the line. Leave empty to run the three-note sample.

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

Save at most this many notes, in the order you list them. 0 saves every note in the list. The run stops at this number, or earlier when your list has fewer notes. Notes are $5.90 per 1,000, so 0 on a long list can cost more than you expect.

## `includeMedia` (type: `boolean`):

Save every picture and the note's video file to this run's key-value store and add each file's key, size and type to the row. Charged separately at $0.0004 per started 1 MB block, at least one block for each saved file; a file that cannot be saved keeps its link and is not charged. Pictures up to 20 MB and videos up to 100 MB are saved.

## Actor input object example

```json
{
  "noteUrls": [
    "https://www.rednote.com/discovery/item/6abcd58a000000000b005974",
    "https://www.rednote.com/discovery/item/6958b3bb000000001e02c764",
    "https://www.rednote.com/discovery/item/68ed830b0000000004013b4f"
  ],
  "maxNotes": 0
}
```

# Actor output Schema

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

One row per note in the default dataset; open the link for the overview view.

# 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 = {
    "noteUrls": [
        "https://www.rednote.com/discovery/item/6abcd58a000000000b005974",
        "https://www.rednote.com/discovery/item/6958b3bb000000001e02c764",
        "https://www.rednote.com/discovery/item/68ed830b0000000004013b4f"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("luzivanlt/rednote-note-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 = { "noteUrls": [
        "https://www.rednote.com/discovery/item/6abcd58a000000000b005974",
        "https://www.rednote.com/discovery/item/6958b3bb000000001e02c764",
        "https://www.rednote.com/discovery/item/68ed830b0000000004013b4f",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("luzivanlt/rednote-note-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 '{
  "noteUrls": [
    "https://www.rednote.com/discovery/item/6abcd58a000000000b005974",
    "https://www.rednote.com/discovery/item/6958b3bb000000001e02c764",
    "https://www.rednote.com/discovery/item/68ed830b0000000004013b4f"
  ]
}' |
apify call luzivanlt/rednote-note-scraper --silent --output-dataset

```

## MCP server setup

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