# RedNote Note Detail Scraper (`fetch_cat/rednote-note-detail-scraper`) Actor

Export public RedNote note details from supplied links, including author, media, tags, timing, and visible engagement for research and monitoring workflows.

- **URL**: https://apify.com/fetch\_cat/rednote-note-detail-scraper.md
- **Developed by:** [Hanna Nosova](https://apify.com/fetch_cat) (community)
- **Categories:** Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.20 / 1,000 item processeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## RedNote Note Detail Scraper

This RedNote scraper exports structured, public details from RedNote (Xiaohongshu) note links you supply. Use it as a Xiaohongshu scraper or RedNote API to export RedNote posts into an analysis-ready dataset with note text, media, author, tags, timing, and visible engagement.

### Who is it for

- Content and social teams monitoring a known set of RedNote posts.
- Analysts building a dataset from campaign, creator, or competitor links.
- AI agents and automations that need target-bound note records rather than discovery results.

### What it exports

Each row is verified against the requested note ID. Available public fields include canonical URL, title, description, note type, published time, author identity, image/video links, tags, location, and visible engagement counts.

Repeated URLs are deduplicated by note ID. Successful rows are saved as the batch runs, so an unavailable URL does not discard earlier results.

### Input recipes

```json
{
  "noteUrls": [
    { "url": "https://www.xiaohongshu.com/explore/NOTE_ID?xsec_token=YOUR_CURRENT_TOKEN&xsec_source=" }
  ],
  "maxItems": 10
}
```

### Input settings

| Input | Description |
| --- | --- |
| `noteUrls` | One or more public RedNote `/explore/{noteId}` share URLs. Keep current query parameters when the shared link contains them. |
| `maxItems` | Maximum unique note IDs to export, from 1 to 500. |

Start with a small set of current share links to validate availability before processing a larger research list.

### Output example

```json
{
  "inputUrl": "https://www.xiaohongshu.com/explore/NOTE_ID?...",
  "noteId": "NOTE_ID",
  "canonicalUrl": "https://www.xiaohongshu.com/explore/NOTE_ID",
  "title": "Example note",
  "description": "#travel A public note description",
  "author": { "id": "author-id", "nickname": "Author", "avatarUrl": "https://..." },
  "imageUrls": ["https://..."],
  "likeCount": 120,
  "collectCount": 14,
  "commentCount": 7
}
```

### Output fields

| Field | Description |
| --- | --- |
| `inputUrl`, `noteId`, `canonicalUrl` | Input traceability and target-bound identity. |
| `title`, `description`, `noteType`, `publishedAt` | Public note content and timing when exposed. |
| `author` | Public author ID, nickname, and avatar when exposed. |
| `imageUrls`, `videoUrl`, `tags` | Public media links and tags. |
| `likeCount`, `collectCount`, `commentCount`, `shareCount` | Public engagement counts when exposed. |
| `location` | Publicly displayed note location when exposed. |

### Common workflows

**Campaign monitoring:** submit a campaign's post links and export visible engagement and media references for reporting.

**Creator research:** keep an approved list of creator posts, then compare titles, tags, and public interaction signals in a spreadsheet or BI tool.

**AI content analysis:** send the default dataset to an LLM workflow to classify supplied posts, summarize themes, or build a review queue.

### Pricing and limits

This Actor charges a small start event plus one event for each dataset item it successfully produces. See the live [Pricing tab](https://apify.com/fetch_cat/rednote-note-detail-scraper/pricing) for current tier rates.

- Process up to 500 supplied URLs per run.
- Output is limited to public, target-bound note pages.
- A row is only saved after the returned page is confirmed to match the requested note ID.

### Tips and limitations

- Use current public share links. Deleted, restricted, region-limited, or challenge pages are skipped rather than emitted as false results.
- Public pages may expose only metadata; unavailable public fields remain `null` or empty arrays.
- This Actor does not log in, access private notes, download media, or collect comments.
- Use a RedNote search tool first if you need to discover candidate notes; this Actor extracts supplied targets.

### API usage

Run the Actor with your saved input and read the default dataset when it finishes.

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('fetch_cat/rednote-note-detail-scraper').call({
  noteUrls: [{ url: 'https://www.xiaohongshu.com/explore/NOTE_ID?xsec_token=TOKEN' }],
  maxItems: 10,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("fetch_cat/rednote-note-detail-scraper").call(run_input={
    "noteUrls": [{"url": "https://www.xiaohongshu.com/explore/NOTE_ID?xsec_token=TOKEN"}],
    "maxItems": 10,
})
print(client.dataset(run["defaultDatasetId"]).list_items().items)
```

```bash
curl "https://api.apify.com/v2/acts/fetch_cat~rednote-note-detail-scraper/runs?token=$APIFY_TOKEN" \
  -H 'content-type: application/json' \
  -d '{"noteUrls":[{"url":"https://www.xiaohongshu.com/explore/NOTE_ID?xsec_token=TOKEN"}],"maxItems":10}'
```

### MCP and automations

Use this Actor from the [Apify MCP Server](https://mcp.apify.com?tools=fetch_cat/rednote-note-detail-scraper) to give an agent a bounded, structured public-note extraction tool.

```bash
claude mcp add apify -- npx -y @apify/mcp-server --tools fetch_cat/rednote-note-detail-scraper
```

```json
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": ["-y", "@apify/mcp-server", "--tools", "fetch_cat/rednote-note-detail-scraper"]
    }
  }
}
```

**Example prompt:** “Run RedNote Note Detail Scraper for these permitted share URLs and return the note title, author, tags, and visible engagement.” It also fits n8n, Make, webhooks, and spreadsheet flows through the Apify API and default dataset.

### FAQ

**Why was a URL skipped?** A note can be deleted, restricted, region-limited, or temporarily challenged. The Actor only saves a row after it verifies the returned page belongs to the requested note.

**Can I use this for discovery?** No. It extracts supplied public note URLs and avoids returning unrelated recommendations.

**Can I export all fields for every note?** No. The result reflects what is publicly exposed for that specific note at run time.

**Can an agent call it?** Yes. Use the MCP link above or the API examples with a permitted list of public share URLs.

**How should I use the data responsibly?** Respect RedNote's terms, creator rights, applicable privacy law, and the permissions attached to the links you process.

### Related Actors

- [Instagram Post Details Scraper](https://apify.com/fetch_cat/instagram-post-details-scraper)
- [Instagram Search Scraper](https://apify.com/fetch_cat/instagram-search-scraper)
- [Instagram Hashtag Scraper](https://apify.com/fetch_cat/instagram-hashtag-scraper)
- [Instagram Comments Scraper](https://apify.com/fetch_cat/instagram-comments-scraper)
- [TikTok AI Transcript Extractor](https://apify.com/fetch_cat/best-tiktok-ai-transcript-extractor)

### Support

For support, include one redacted public note URL and the run ID. Do not share account credentials, private links, or session data.

# Actor input Schema

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

Paste public /explore/ note links. Keep each link's xsec\_token query parameter.

## `maxItems` (type: `integer`):

Maximum number of items to save.

## Actor input object example

```json
{
  "noteUrls": [
    {
      "url": "https://www.xiaohongshu.com/explore/NOTE_ID?xsec_token=YOUR_CURRENT_TOKEN&xsec_source="
    }
  ],
  "maxItems": 10
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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": [
        {
            "url": "https://www.xiaohongshu.com/explore/NOTE_ID?xsec_token=YOUR_CURRENT_TOKEN&xsec_source="
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fetch_cat/rednote-note-detail-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": [{ "url": "https://www.xiaohongshu.com/explore/NOTE_ID?xsec_token=YOUR_CURRENT_TOKEN&xsec_source=" }] }

# Run the Actor and wait for it to finish
run = client.actor("fetch_cat/rednote-note-detail-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": [
    {
      "url": "https://www.xiaohongshu.com/explore/NOTE_ID?xsec_token=YOUR_CURRENT_TOKEN&xsec_source="
    }
  ]
}' |
apify call fetch_cat/rednote-note-detail-scraper --silent --output-dataset

```

## MCP server setup

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