# RedNote Comments Scraper: Xiaohongshu Top Comments (`themineworks/rednote-comments-scraper`) Actor

Scrape RedNote (Xiaohongshu, 小红书) comments for a batch of notes: the top comments RedNote shows on each note with text, author, likes, time, IP region, reply count and up to 3 replies each, plus one row per note with its total comment count. No login.

- **URL**: https://apify.com/themineworks/rednote-comments-scraper.md
- **Developed by:** [The Mine Works](https://apify.com/themineworks) (community)
- **Categories:** Social media, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.19 / 1,000 comments

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 Comments Scraper: Xiaohongshu Top Comments

[![53 RedNote comments and replies from 3 notes in 10 seconds](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/rednote-comments-scraper-hero.png)](https://console.apify.com/actors/9y99eg7AHHD6JxoqS/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

From **The Mine Works**, makers of [Amazon Product Scraper](https://apify.com/themineworks/amazon-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) and [B2B Leads Finder](https://apify.com/themineworks/b2b-leads-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), with over 305,000 runs across 310+ public actors.

Updated 30 Oct 2026: first release. Note links, share links and trending notes, the top comments RedNote shows on each note with up to 3 replies under each, IP region in Chinese and English, and one row per note with its likes, saves, shares and true comment totals. Bookmark this Actor on its Store page so it is one click away next time.

### Why choose this actor?

- **Many notes in one run, cheaply.** Paste up to 1,000 RedNote (Xiaohongshu, 小红书) note links and get the comments RedNote puts first on each one: its top 5 comments, most of them the most liked, plus up to 3 replies under each. One page per note, about 1 second per note in a batch. Built for comparing what people say across many notes: a product launch, a creator's sponsored posts, a whole category.
- **Flat rows you can load straight into a sheet.** One row per comment and one per reply, with the text, author, likes as a real number (2.5万 becomes 25000), posting time in UTC, IP region in Chinese and in English, true reply count, pictures and @-mentions. Replies point to their comment with `parent_comment_id`.
- **The note's real totals beside the sample.** Every note also gets one free row with its title, author, likes, saves, shares, total comment count and top level comment count, so you always know how much of the conversation the top comments represent.
- **Pay per comment, nothing for errors.** Links RedNote refuses, deleted notes, note rows, the summary row and duplicates are never charged. No RedNote account, cookies or API key.

[![Run it on Apify](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/button-run.png)](https://console.apify.com/actors/9y99eg7AHHD6JxoqS/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Part of The Mine Works Social media and video family:** [Threads Scraper](https://apify.com/themineworks/threads-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Reddit Scraper](https://apify.com/themineworks/reddit-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Threads Search Scraper](https://apify.com/themineworks/threads-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Instagram Profile Scraper](https://apify.com/themineworks/instagram-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Instagram Followers & Following](https://apify.com/themineworks/instagram-followers-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Reddit Search Scraper](https://apify.com/themineworks/reddit-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral).

### Try it in one minute

Paste this into the input (JSON view) and press Start. It reads one note plus two notes trending on RedNote right now, and returned 53 comments and replies in 10 seconds in our test run (the trending notes change with every run, so your count will differ):

```json
{
  "noteUrls": [
    "https://www.xiaohongshu.com/explore/6a728ce10000000027023cb0?xsec_token=ABgKYGq72MJJJWO8OVQh3MtowNGqZdcpTbT1JUIRFH0xQ%3D&xsec_source=pc_feed"
  ],
  "trendingNotes": 0
}
```

Copy note links from RedNote in a browser (the address bar link carries `xsec_token=...`), or use the app's Share button and paste the xhslink.com link or the whole share message.

Apify's free plan includes $5 of credit every month, which covers 2,400 comments at this actor's price.

#### Copy to your AI assistant

```text
themineworks/rednote-comments-scraper on Apify. Returns the comments RedNote (Xiaohongshu, 小红书) shows on each note's public page: the top 5 comments and up to 3 replies under each, one flat row per comment or reply, plus one free row per note with its totals, with no login. Call ApifyClient("TOKEN").actor("themineworks/rednote-comments-scraper").call(run_input={"noteUrls": ["https://www.xiaohongshu.com/explore/<noteId>?xsec_token=<token>"]}), then client.dataset(run["defaultDatasetId"]).list_items().items. Give noteUrls (note links that carry xsec_token, xhslink.com share links or whole share messages; up to 1000) or trendingNotes (0 to 30 notes from the Explore feed) or both. Optional: maxCommentsPerNote (default 5, 1 to 20; the public page carries 5), includeReplies (default true). Comment and reply rows have no _type field and carry record_type (comment or reply), comment_id, text, author_nickname, author_id, author_url, author_avatar, author_is_ai_agent, like_count, like_count_raw, reply_count, replies_returned, created_at, ip_location, ip_location_en, picture_urls, picture_count, mentioned_users, parent_comment_id, reply_to_comment_id, is_reply_to_reply, position, note_id, note_url, note_title, note_comment_count, note_top_level_comment_count, source_input, scraped_at. Each note also gets a row with _type "note" (title, author, likes, saves, shares, comment totals, comments_returned, more_comments_on_rednote); each run writes one _type "summary" row, an _type "info" row when comments were delivered, and an _type "error" row per input that could not be read. Only comment and reply rows are charged. Full spec: GET https://api.apify.com/v2/acts/themineworks~rednote-comments-scraper/builds/default (Bearer TOKEN), which returns inputSchema and readme. Token: https://console.apify.com/account/integrations?fpr=ymnoit&utm_source=apify-readme&utm_medium=referral
```

### Key features

- **Note links, share links, share messages.** `/explore/` and older `/discovery/item/` links, xhslink.com short links (resolved to the note with one request) and the whole message the RedNote app copies when you tap Share. The same note given twice is read once.
- **Trending notes without collecting links.** `trendingNotes` adds up to 30 notes from RedNote's Explore feed at the moment of the run, so a scheduled run can follow what people say under whatever is trending. Since 6 Nov 2026 RedNote asks visitors outside mainland China to log in before it shows the Explore feed, so this usually adds no notes; the run says so and charges nothing for it.
- **Top comments and their replies.** RedNote's public note page carries the note's top 5 comments in its own order and the first replies under each (up to 3). With `includeReplies` on, each reply is its own row with `parent_comment_id`, `reply_to_comment_id` and `is_reply_to_reply`.
- **IP region in English.** RedNote shows a province for mainland China and a country abroad. `ip_location` keeps the label as shown (广东, 美国), `ip_location_en` gives Guangdong, United States, so you can group by region without reading Chinese.
- **Real numbers.** Likes come as an integer and as RedNote wrote them; comment totals per note come from RedNote itself.
- **Stops cleanly.** Each note page is requested at most twice, on a new IP each time. Three refused requests in a row stop the run, so a run that RedNote refuses ends after three small requests. The run stops before its time limit and keeps every row. The summary row says why.

### How to use it

#### Basic: comments under a list of notes

```json
{
  "noteUrls": [
    "https://www.xiaohongshu.com/explore/6a728ce10000000027023cb0?xsec_token=ABgKYGq72MJJJWO8OVQh3MtowNGqZdcpTbT1JUIRFH0xQ%3D&xsec_source=pc_feed",
    "http://xhslink.com/o/7Jllb5XdsPy"
  ]
}
```

#### Brand or campaign audit across many notes

Collect the links of every note that mentions your product or your competitor's, from RedNote search in a browser or from the `note_url` column of our [Xiaohongshu Scraper](https://apify.com/themineworks/xiaohongshu-explore-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), and paste them all. Each note costs one page, so a few hundred notes take a few minutes. Filter the rows on `text` for words like 价格 (price), 质量 (quality) or 推荐 (recommend), and group by `ip_location_en`.

#### Top comments only, no replies

```json
{
  "noteUrls": ["https://www.xiaohongshu.com/explore/6a728ce10000000027023cb0?xsec_token=ABgKYGq72MJJJWO8OVQh3MtowNGqZdcpTbT1JUIRFH0xQ%3D&xsec_source=pc_feed"],
  "maxCommentsPerNote": 3,
  "includeReplies": false
}
```

#### What people say under today's trending notes

```json
{
  "trendingNotes": 30,
  "includeReplies": false
}
```

Schedule it daily and compare `note_title`, `note_comment_count` and the top comments day by day.

### Input parameters

| Parameter | Type | Default | What it does |
|---|---|---|---|
| `noteUrls` | array of strings | empty | Note links with their `xsec_token`, xhslink.com share links or whole share messages. Up to 1,000 per run. |
| `trendingNotes` | integer | `0` | Also read this many notes from RedNote's Explore feed, 0 to 30. |
| `maxCommentsPerNote` | integer | `5` | Top level comments per note, 1 to 20. The public page carries 5, so values above 5 return 5. Replies come on top. |
| `includeReplies` | boolean | `true` | Return the replies shown under each top comment (up to 3 each) as their own rows. |

Give `noteUrls`, `trendingNotes` or both.

### What data do you get?

One row per comment and one per reply. These rows have no `_type` field; note, summary, info and error rows do, so a filter on `_type` separates them.

| Field | What it is |
|---|---|
| `record_type` | `comment` (top level) or `reply` |
| `comment_id` | RedNote comment id |
| `text` | The comment as written; stickers stay as codes like `[笑哭R]`; a picture only comment has empty text |
| `author_nickname`, `author_id`, `author_url`, `author_avatar` | The commenter and their profile |
| `author_is_ai_agent` | RedNote's AI agent account flag |
| `like_count`, `like_count_raw` | Likes as a number, and as shown (`2.5万`) |
| `reply_count` | Replies the comment has on RedNote in total |
| `replies_returned` | Replies delivered under this comment |
| `created_at` | Posting time, ISO 8601 UTC |
| `ip_location`, `ip_location_en` | IP region as RedNote shows it, and in English |
| `picture_urls`, `picture_count` | Original size links of attached pictures |
| `mentioned_users` | @-mentioned users: `user_id`, `nickname`, `profile_url` |
| `parent_comment_id`, `reply_to_comment_id`, `is_reply_to_reply` | On replies: the thread's top comment, the comment answered, and whether that was another reply |
| `position` | Order on the page: 1 to 5 for comments, 1 to 3 for replies in their thread |
| `note_id`, `note_url`, `note_title` | The note the comment is on |
| `note_comment_count`, `note_top_level_comment_count` | The note's total comments and top level comments on RedNote |
| `source_input` | The input line the row came from |
| `scraped_at` | When the row was written |

**Note rows** (`_type: "note"`, one per note read, never charged): `note_id`, `note_url`, `note_url_with_token`, `note_title`, `note_type` (normal or video), `note_description`, `note_topics`, `note_author_nickname`, `note_author_id`, `note_author_url`, `note_published_at`, `note_updated_at`, `note_like_count`, `note_collect_count`, `note_share_count`, `note_comment_count`, `note_top_level_comment_count`, `comments_on_page`, `comments_returned`, `replies_returned`, `rows_charged`, `more_comments_on_rednote`, `found_via` (input or trending).

**Summary row** (`_type: "summary"`, never charged): `notes_requested`, `trending_added`, `notes_read`, `notes_failed`, `notes_not_started`, `notes_with_no_comments`, `top_level_comments`, `replies`, `comments_delivered`, `charged_for`, `duplicates_skipped`, `http_requests`, `http_megabytes`, `ended_on_deadline`, `stopped_by_max_cost`, `stopped_by_block_guard`, and `shortfall_reason` when fewer comments came back than asked. The same summary is saved as the `OUTPUT` record of the run.

**Error rows** (`_type: "error"`, never charged): one per input that could not be read, with `error_type` (`invalid_input`, `link_refused`, `not_found`, `blocked`, `invalid_share_link`, `not_started`), `identifier`, `reason` and, for notes, `had_xsec_token`.

#### Stable fields for automations

These were present in every comment and reply row of our test runs (1,837 rows from 146 notes), and their names will not change:

| Field | What it is |
|---|---|
| `comment_id` | The key to store and join on |
| `record_type` | comment or reply |
| `text` | The comment |
| `author_id` | Commenter id |
| `author_nickname` | Commenter name |
| `like_count` | Likes |
| `reply_count` | Replies on RedNote |
| `created_at` | Posting time |
| `note_id` | The note |
| `note_url` | Link to the note |
| `position` | Order on the page |

Optional, present only when RedNote shows a value: `ip_location` and `ip_location_en` (RedNote can leave the region out), `picture_urls` entries, `mentioned_users` entries, `note_title` (notes without a title), and `parent_comment_id`, `reply_to_comment_id`, `is_reply_to_reply` on replies only.

#### Output examples

A top comment (test run, 30 Oct 2026, trimmed):

```json
{
  "record_type": "comment",
  "comment_id": "6a73e30e000000000302fbe6",
  "text": "取之用之",
  "author_nickname": "Fred.",
  "author_id": "5ea96fbc00000000010046ba",
  "author_url": "https://www.xiaohongshu.com/user/profile/5ea96fbc00000000010046ba",
  "like_count": 23000,
  "like_count_raw": "2.3万",
  "reply_count": 4047,
  "replies_returned": 3,
  "created_at": "2026-08-06T01:27:45.000Z",
  "ip_location": "广东",
  "ip_location_en": "Guangdong",
  "picture_urls": [
    "http://sns-img-qc.xhscdn.com/comment/1040g2h0323grmpdsms605nl9duu08hlqg5ek3go",
    "http://sns-img-qc.xhscdn.com/comment/1040g2h0323grmpdsms505nl9duu08hlq24q3lkg"
  ],
  "picture_count": 2,
  "mentioned_users": [],
  "position": 1,
  "note_id": "6a728ce10000000027023cb0",
  "note_url": "https://www.xiaohongshu.com/explore/6a728ce10000000027023cb0",
  "note_title": "你们小猫挨骂前准备挨打的表情长啥样🥺",
  "note_comment_count": 8807,
  "note_top_level_comment_count": 1964
}
```

A reply under it (same run, trimmed):

```json
{
  "record_type": "reply",
  "comment_id": "6a73e423000000002b026db9",
  "text": "太太太太太可爱啦[笑哭R]",
  "author_nickname": "小红薯5F950047",
  "like_count": 3543,
  "reply_count": 0,
  "created_at": "2026-08-06T01:32:20.000Z",
  "ip_location": "浙江",
  "ip_location_en": "Zhejiang",
  "parent_comment_id": "6a73e30e000000000302fbe6",
  "reply_to_comment_id": "6a73e30e000000000302fbe6",
  "is_reply_to_reply": false,
  "position": 1,
  "note_id": "6a728ce10000000027023cb0"
}
```

The note row of a trending note (same run, trimmed):

```json
{
  "_type": "note",
  "record_type": "note",
  "note_id": "6a8c845c000000000c028b3b",
  "note_title": "排队不小心出了神图",
  "note_type": "normal",
  "note_topics": ["氛围感", "镜头签", "人生照片", "这辈子拍不出第二张", "修图"],
  "note_author_nickname": "iste11a0",
  "note_published_at": "2026-08-24T17:50:20.000Z",
  "note_like_count": 46000,
  "note_collect_count": 1554,
  "note_share_count": 536,
  "note_comment_count": 745,
  "note_top_level_comment_count": 394,
  "comments_returned": 5,
  "replies_returned": 15,
  "rows_charged": 20,
  "more_comments_on_rednote": true,
  "found_via": "trending"
}
```

An error row for a note given without its token (nothing charged):

```json
{ "_type": "error", "error_type": "link_refused", "identifier": "69db721a00000000220290a8", "note_id": "69db721a00000000220290a8", "had_xsec_token": false, "reason": "This note was given without its xsec_token, and RedNote only shows a note page to links that carry one. Paste the full link copied from RedNote (it contains xsec_token=...) or an xhslink.com share link." }
```

### Pricing

Pay per event: you pay for the comments and replies you receive, plus a flat $0.003 per run, whatever memory you choose. Note rows cost nothing.

| Event | When it is charged | Free plan | Bronze (Starter) | Silver (Scale) | Gold (Business) |
|---|---|---|---|---|---|
| `comment-scraped` | Once per comment or reply row stored in your dataset | $1.99 per 1,000 | $1.69 per 1,000 | $1.41 per 1,000 | $1.19 per 1,000 |
| `run-start` | Once per run, after the first note page was read | $0.003 | $0.003 | $0.003 | $0.003 |

The price of one comment is the price per 1,000 divided by 1,000. In our tests a note gave 12.6 rows on average (4.5 top comments and 8.1 replies), at most 20.

Never charged:

- inputs that are not a RedNote note link, share link or note id (each gets an error row);
- links RedNote refuses (missing or expired token) and notes that were deleted or made private;
- note rows, the summary, info and error rows;
- a comment that appears twice in the same run;
- a run with no valid input, or one where no note page could be read: the start fee is charged only once a note page came back;
- anything past your "Max cost per run". The actor checks the budget before each batch of rows and stops while the total is still below your limit, so the run ends SUCCEEDED with a partial result and a status message saying so.

### Run it on a schedule

1. Open the actor in Apify Console, set your input and click **Save as a new task**.
2. In the task, open **Schedules**, click **Add schedule** and pick how often (every day, every Monday at 08:00 and so on).
3. Compare runs on `comment_id`, `like_count` and `note_comment_count` to see new top comments and how fast a note's conversation grows.
4. Optional: add an integration (Google Sheets, Slack, a webhook) so each run lands where your team works.

### FAQ

#### What does this actor read?

RedNote's public mobile note page, the page anyone sees when they open a shared note link in a phone browser without logging in. That page carries the note, its comment totals, the 5 comments RedNote puts first and the first replies under each. For `trendingNotes` it also reads RedNote's Explore page once. It does not log in, like, follow, comment or read anything behind a sign in.

#### Why the top comments and not every comment?

Because that is what RedNote shows anyone who is not logged in. We tested the full thread in a real browser on 31 Oct 2026: a logged out visitor gets the first screen of comments, and the moment the page asks for more comments or for the replies under a comment, RedNote answers with a security check and sends the visitor to its login page. This actor never logs in and never answers security checks, so it returns the public view: the top 5 comments, up to 3 replies under each, and the true totals in `note_comment_count` and `reply_count`. For opinion research that is often the part that matters, since those are the comments most people read. If you need every comment of one note, this is not the right tool.

#### Why do my links need the xsec_token?

RedNote shows a note page only to links that carry the `xsec_token` it adds when a note is opened or shared. A bare 24 character note id, or a link with the token cut off, is sent to RedNote's "note not available" page on every route we tried. Copy links from the address bar, use the app's Share button, or take the `note_url` column of our [Xiaohongshu Scraper](https://apify.com/themineworks/xiaohongshu-explore-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral). Tokens we copied from the web still worked after 23 days.

#### How long does a run take?

In our tests: 7 to 10 seconds for the "Try it" input (3 notes), 59 seconds for 69 notes (1,035 rows) and 63 seconds for 76 notes (743 rows). Up to 4 notes are read at the same time. The default time limit is 3,600 seconds; the actor stops before it and keeps every row.

#### Why did a note come back as an error?

Each error row says why in plain words. `link_refused` means RedNote did not accept the link's token (copy the link again). `not_found` means RedNote's public page was empty for the note: deleted, private, or not shown outside the app (2 of 145 notes in our tests). `blocked` means RedNote refused the request itself; try again later.

#### Do I need an account, cookies or a proxy?

No. The actor reads public pages over Apify Proxy, which is included. Nothing to set up.

#### Which formats can I download?

JSON, CSV, Excel, XML, RSS and HTML from the run's Storage tab or through the API. The dataset has three ready views: Comments, Threads and Notes. In CSV and Excel, `picture_urls` and `mentioned_users` are flattened into columns such as `picture_urls/0`.

#### Can I use it from Claude, ChatGPT or Cursor (MCP)?

Yes, through Apify's MCP server. Connector URL: https://mcp.apify.com/?tools=themineworks/rednote-comments-scraper

- Claude: Settings > Connectors > Add custom connector, paste the URL, sign in with Apify.
- ChatGPT: turn on developer mode, add an MCP connector with the URL, sign in with Apify.
- Cursor or VS Code: add it as an HTTP MCP server with that URL.
- Claude Code: `claude mcp add -t http rednote-comments-scraper "https://mcp.apify.com/?tools=themineworks/rednote-comments-scraper"`

#### Is it legal to scrape RedNote comments?

The actor reads only comments that RedNote shows publicly to anyone without logging in. Comments carry personal data such as nicknames and a coarse IP region, so you are responsible for how you use the data, including RedNote's terms and data protection law such as China's PIPL, GDPR and CCPA. This is general information, not legal advice.

### Integrations

- **Google Sheets**: send each run's comments to a sheet with Apify's Google Sheets integration; one row per comment fits a sheet as is.
- **Make, Zapier and n8n**: start a run per note or per batch and read its dataset with the Apify apps and nodes, for example "top comments of new campaign notes every morning to Slack".
- **Webhooks**: have Apify call your URL when a run succeeds, then fetch the dataset.
- **API and SDKs**: run it from Python or JavaScript with the Apify client, or with a plain HTTP call (see "Copy to your AI assistant" above).
- **MCP clients**: Claude, ChatGPT, Cursor and VS Code can run it as a tool through the connector URL in the FAQ.

### More from The Mine Works

**Social media and video**

- [Threads Scraper](https://apify.com/themineworks/threads-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Reddit Scraper](https://apify.com/themineworks/reddit-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Threads Search Scraper](https://apify.com/themineworks/threads-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Instagram Profile Scraper](https://apify.com/themineworks/instagram-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Instagram Followers & Following](https://apify.com/themineworks/instagram-followers-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Reddit Search Scraper](https://apify.com/themineworks/reddit-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Twitter / X Scraper](https://apify.com/themineworks/twitter-x-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [YouTube Transcript](https://apify.com/themineworks/youtube-transcript-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Xiaohongshu (RED) Scraper](https://apify.com/themineworks/xiaohongshu-explore-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Telegram Channel Scraper](https://apify.com/themineworks/telegram-channel-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Telegram Channel Finder](https://apify.com/themineworks/telegram-channel-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Pinterest Profile Scraper](https://apify.com/themineworks/pinterest-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Leads and business directories**

- [B2B Leads Finder](https://apify.com/themineworks/b2b-leads-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Skip Trace Lookup](https://apify.com/themineworks/skip-trace-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Maps Email Scraper](https://apify.com/themineworks/maps-leads?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [2GIS Places Scraper](https://apify.com/themineworks/2gis-places-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Marketing, SEO and reviews**

- [Facebook Ad Library Scraper](https://apify.com/themineworks/meta-ad-library-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Ads Transparency Scraper](https://apify.com/themineworks/google-ads-transparency?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Similarweb Scraper](https://apify.com/themineworks/similarweb-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google News Scraper](https://apify.com/themineworks/google-news?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**LinkedIn**

- [LinkedIn Company Scraper](https://apify.com/themineworks/linkedin-company-details?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Post Scraper](https://apify.com/themineworks/linkedin-post-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Employees Scraper](https://apify.com/themineworks/linkedin-employees?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Profile Scraper](https://apify.com/themineworks/linkedin-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Real estate**

- [Zillow Rentals Scraper](https://apify.com/themineworks/zillow-rental-listings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zillow Sold Comps Scraper](https://apify.com/themineworks/zillow-recently-sold?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Real Estate MCP](https://apify.com/themineworks/india-real-estate-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Housing.com Scraper](https://apify.com/themineworks/housing-com-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Science, health and government data**

- [Academic Research MCP](https://apify.com/themineworks/academic-research-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [CourtListener Scraper](https://apify.com/themineworks/courtlistener-court-records?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Socrata Open Data Scraper](https://apify.com/themineworks/socrata-open-data?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [OpenAlex Scraper](https://apify.com/themineworks/openalex-scholarly-works?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Jobs and hiring**

- [Foundit Monster India Jobs](https://apify.com/themineworks/foundit-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Hirist Jobs Scraper](https://apify.com/themineworks/hirist-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Jobs MCP](https://apify.com/themineworks/india-jobs-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naukri Jobs Scraper](https://apify.com/themineworks/naukri-jobs?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Company and business data**

- [Company Domain Finder](https://apify.com/themineworks/company-domain-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GST Taxpayer Lookup](https://apify.com/themineworks/gst-taxpayer-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Company KYB Resolver](https://apify.com/themineworks/company-identity-resolver?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [SEC EDGAR Filings Scraper](https://apify.com/themineworks/sec-edgar-filings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**E-commerce and marketplaces**

- [Ozon.ru Scraper](https://apify.com/themineworks/ozon-product-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [⭐ Amazon Reviews Scraper](https://apify.com/themineworks/amazon-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Amazon Product Scraper](https://apify.com/themineworks/amazon-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Etsy Listings Scraper](https://apify.com/themineworks/etsy-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Food and local services**

- [NoBroker Scraper](https://apify.com/themineworks/nobroker-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Swiggy Restaurant Scraper](https://apify.com/themineworks/swiggy-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zomato Scraper](https://apify.com/themineworks/zomato-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Developer and AI tools**

- [Website to Markdown Crawler](https://apify.com/themineworks/rag-crawler?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Skill Finder](https://apify.com/themineworks/github-skill-discovery?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Repo Scraper](https://apify.com/themineworks/github-repo-intelligence?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Trending Scraper](https://apify.com/themineworks/github-trending-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**More tools**

- [G2 Reviews Scraper](https://apify.com/themineworks/g2-reviews-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naver Blog Scraper](https://apify.com/themineworks/naver-blog-posts-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [WeChat Article Scraper 微信公众号文章](https://apify.com/themineworks/wechat-article-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Taobao Products Scraper 淘宝 天猫](https://apify.com/themineworks/taobao-products-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

### Support

Found a note that returns fewer comments than its public page shows, or a field that comes back empty? Open an issue in the Issues tab with the input and the run ID, and we will look at it. For a field you need or a new source, email dmineworks@gmail.com.

*Paste RedNote (Xiaohongshu) note links and get the top comments and their replies back as flat rows, with likes, time, IP region and each note's true comment totals, no login.*

# Actor input Schema

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

One note per line, up to 1,000 per run. Accepted: a note link copied from RedNote (https://www.xiaohongshu.com/explore/6a769b5b000000002702024b?xsec_token=...), an older /discovery/item/ link, an xhslink.com share link, or a whole copied share message. Keep the xsec_token=... part of the link: RedNote only shows a note page to links that carry it, so a bare 24 character note id usually comes back as an error row (never charged). The note_url column of our Xiaohongshu Scraper carries the token.

## `trendingNotes` (type: `integer`):

Adds this many notes from RedNote's Explore feed right now and reads their comments too, 0 to 30. Use it to see what people say under today's trending notes without collecting links first. 0 = off. Since 6 Nov 2026 RedNote asks visitors outside mainland China to log in before it shows the Explore feed, so this usually adds no notes; the run says so and nothing is charged for it.

## `maxCommentsPerNote` (type: `integer`):

Top level comments to return per note, 1 to 20. RedNote's public note page carries the note's top 5 comments (its own order, mostly the most liked), so values above 5 return 5 today. Replies are on top of this number.

## `includeReplies` (type: `boolean`):

On: the replies RedNote shows under each top comment (up to 3 per comment, the ones it puts first) are returned as their own rows, linked to their comment with parent_comment_id. Off: top comments only. Every comment row carries its true reply_count either way.

## Actor input object example

```json
{
  "noteUrls": [
    "https://www.xiaohongshu.com/explore/6a728ce10000000027023cb0?xsec_token=ABgKYGq72MJJJWO8OVQh3MtowNGqZdcpTbT1JUIRFH0xQ%3D&xsec_source=pc_feed"
  ],
  "trendingNotes": 0,
  "maxCommentsPerNote": 5,
  "includeReplies": true
}
```

# Actor output Schema

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

No description

## `summary` (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": [
        "https://www.xiaohongshu.com/explore/6a728ce10000000027023cb0?xsec_token=ABgKYGq72MJJJWO8OVQh3MtowNGqZdcpTbT1JUIRFH0xQ%3D&xsec_source=pc_feed"
    ],
    "trendingNotes": 0,
    "maxCommentsPerNote": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("themineworks/rednote-comments-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.xiaohongshu.com/explore/6a728ce10000000027023cb0?xsec_token=ABgKYGq72MJJJWO8OVQh3MtowNGqZdcpTbT1JUIRFH0xQ%3D&xsec_source=pc_feed"],
    "trendingNotes": 0,
    "maxCommentsPerNote": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("themineworks/rednote-comments-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.xiaohongshu.com/explore/6a728ce10000000027023cb0?xsec_token=ABgKYGq72MJJJWO8OVQh3MtowNGqZdcpTbT1JUIRFH0xQ%3D&xsec_source=pc_feed"
  ],
  "trendingNotes": 0,
  "maxCommentsPerNote": 5
}' |
apify call themineworks/rednote-comments-scraper --silent --output-dataset

```

## MCP server setup

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