RedNote Comments Scraper: Xiaohongshu Top Comments
Pricing
from $1.19 / 1,000 comments
RedNote Comments Scraper: Xiaohongshu Top Comments
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.
Pricing
from $1.19 / 1,000 comments
Rating
0.0
(0)
Developer
The Mine Works
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
8 days ago
Last modified
Categories
Features
Share
From The Mine Works, makers of Amazon Product Scraper and B2B Leads Finder, 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.
Part of The Mine Works Social media and video family: Threads Scraper, Reddit Scraper, Threads Search Scraper, Instagram Profile Scraper, Instagram Followers & Following, Reddit Search Scraper.
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):
{"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
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.
trendingNotesadds 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
includeReplieson, each reply is its own row withparent_comment_id,reply_to_comment_idandis_reply_to_reply. - IP region in English. RedNote shows a province for mainland China and a country abroad.
ip_locationkeeps the label as shown (广东, 美国),ip_location_engives 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
{"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, 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
{"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
{"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):
{"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):
{"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):
{"_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):
{ "_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
- Open the actor in Apify Console, set your input and click Save as a new task.
- In the task, open Schedules, click Add schedule and pick how often (every day, every Monday at 08:00 and so on).
- Compare runs on
comment_id,like_countandnote_comment_countto see new top comments and how fast a note's conversation grows. - 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. 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
- Reddit Scraper
- Threads Search Scraper
- Instagram Profile Scraper
- Instagram Followers & Following
- Reddit Search Scraper
- Twitter / X Scraper
- YouTube Transcript
- Xiaohongshu (RED) Scraper
- Telegram Channel Scraper
- Telegram Channel Finder
- Pinterest Profile Scraper
Leads and business directories
Marketing, SEO and reviews
Real estate
Science, health and government data
Jobs and hiring
Company and business data
E-commerce and marketplaces
Food and local services
Developer and AI tools
More tools
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.

