Xiaohongshu & RedNote Comments Scraper (小红书评论) avatar

Xiaohongshu & RedNote Comments Scraper (小红书评论)

Pricing

from $2.55 / 1,000 comments

Go to Apify Store
Xiaohongshu & RedNote Comments Scraper (小红书评论)

Xiaohongshu & RedNote Comments Scraper (小红书评论)

Scrape Xiaohongshu (RedNote, 小红书) comments logged out: every top comment of a note by link, share link or bare id, replies as flat rows, RedNote's English translation, likes, time, the commenter's red id and IP region. Keywords, creators and feed channels too. No login. Misses free.

Pricing

from $2.55 / 1,000 comments

Rating

0.0

(0)

Developer

Hyperbach

Hyperbach

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

RedNote (Xiaohongshu, 小红书) comments as data, logged out. Give note links, share links or note ids (or keywords, creators or a trending feed channel) and get one flat row per comment and per reply: the text and RedNote's own English translation, the language, the exact time, likes, the reply count, the pinned and author tags, pictures and voice comments with RedNote's transcript, and the commenter with user id, red id and IP region (in Chinese and English). Every note also gets a free row with its verdict (COMPLETE, LIST_END or CAP) and its counts. No login, no cookie, no token.

From $5.09 per 1,000 rows (comment) on the Free plan, $4.3265 on Starter; every row and add-on is priced under Pricing below. A run start is $0.05. The default input returns about 51 rows for about $0.3045. A value that names nothing is a free row that says why.

A RedNote note page in a browser: a photo of a matcha roll cake with the note's title, text and its comment list, where one comment shows its likes, reply count, date, IP region and RedNote's English translation. Beside it, the row this Actor returns for that comment, with textEnglish, redId and ipLocationEn highlighted.

How it compares

  • 3 times cheaper than zen-studio's Xiaohongshu Comments Scraper, with more data: $4.56 per 1,000 comments, against $12.35; 46 fields per comment, against 25.
  • More data than socialdatax's 小红书数据 API:笔记搜索与评论: 46 fields per comment, against 27. The price is about the same: $4.56 per 1,000 comments, against $4.99.

Measured on 2026-11-16. Each line compares one job, run by both scrapers at the same time. Prices are per 1,000 comments: Apify Actors at the Scale plan's prices.

Tested head-to-head on 2026-11-16

The job: 50 comments of one RedNote note (the input form's own example: its first 20 top comments with their replies, maxItems 50). Every Actor ran on it the same day from the same harness; every run's cost is at the Scale plan's prices: a rival's charged events at its price for that plan, this Actor's at its list price. Fields counts the filled fields of a typical row. Each rival read the same note: the leader nests the replies in each top comment (2 a comment here, to fit the card's cap) and bills each reply as a comment; our rows are flat, one per comment or reply. Re-measured monthly.

ActorRowsFirst rowRun timeCostFieldsFailures
this Actor504.0 s4.9 s$0.2346none
zen-studio/rednote-comments-scraper207.9 s21 s$0.2525none
socialdatax/socialdatax-xhs-data-api406.9 s6.9 s$0.2027none

Why this RedNote (Xiaohongshu) comments scraper

  • A bare note id is enough. RedNote's own web pages ask for the link's xsec_token; this Actor reads the comments by the 24-character note id alone, so a link without its token, an old link or an id from your own records still works. App share links (xhslink.com) and the pasted share text work too.
  • Every top comment, with a stated end. The walk follows RedNote's list to its end: on our 318-comment test note all 318 top comments came back (COMPLETE, the count RedNote states). When the list ends under RedNote's own count, the end is read again on a fresh connection and the note's row says LIST_END with both numbers. Nothing ends silently.
  • Flat rows, replies included. Each reply is its own row with rootCommentId and replyToCommentId, so the dataset exports to CSV as it is. Logged out RedNote shows up to 3 replies under each comment; every comment row has the exact replyCount and repliesComplete, so you know what is left.
  • English beside the Chinese. A comment carries RedNote's own English translation (textEnglish) and the language code: 886 of 920 comments of our 12-note gate run had one (build 0.1.6, 2026-11-16). The commenter's IP region comes in Chinese and in English (ipLocation, ipLocationEn).
  • The commenter's red id. The red id (the public account number on the profile) is looked up once per commenter per run: 914 of 920 rows of the same 12-note run got one (an account that answers none says so on its row).
  • Fast on hot notes. In the default order rows stream page by page, and a capped run reads only the pages it needs. On our 22 runs of build 0.1.5 on Apify (2026-11-16) the first row came after 3.3 to 18.1 seconds (18.1 s once, when RedNote's note page did not answer on one connection); the form's example, 50 comments of a note, took 4.9 seconds in all, and every one of the 413 comments and replies of our 318-comment test note was out after 24.4 seconds (without the red-id lookups).

Who it's for

  • Brand and marketing teams — what RedNote users say under a product's, a competitor's or a campaign's notes: the comments with their likes, the replies, the IP regions and RedNote's English translation.
  • Market and consumer researchers — Chinese consumer opinion as data: every comment of a note with its exact time and likes, in Chinese and English, with an optional sentiment score.
  • Creators and agencies — the audience under a creator's notes: who comments, from which region, what gets liked and pinned, and which comments are the author's own.
  • Developers and data teams — typed flat rows with one schema for every input, a free row per note with its verdict and counts, and a run summary to check a pipeline against.

Quick start

Every comment of one note

{
"noteUrls": [
"https://www.xiaohongshu.com/explore/6a0af7d800000000060359e7"
]
}

The 100 newest comments of a note, with sentiment

{
"noteUrls": [
"6a1d2938000000000702e872"
],
"sortBy": "latest",
"maxCommentsPerNote": 100,
"sentimentAnalysis": true
}

Comments under a keyword's notes

{
"keywords": [
"咖啡"
],
"maxNotesPerSource": 5,
"maxCommentsPerNote": 50
}

Comments of today's trending food notes

{
"channels": [
"food"
],
"maxNotesPerSource": 10,
"maxCommentsPerNote": 20
}

Switching from zen-studio/rednote-comments-scraper?

Your input works as it is. Each name in the left column is read as this Actor's own field and the run log says so (read <theirs> as <ours>); a name marked not read is ignored with a note. A value in the other Actor's shape, an object list or its own date form, is read too.

zen-studio/rednote-comments-scraperthis Actorwhat to know
noteUrlsnoteUrlsThe same note links, share links and bare 24-character note ids; the xsec_token is not needed.
sortBysortByThe same values (latest, recommended, most_liked); the default here is recommended.
includeRepliesincludeRepliesThe same switch, on by default; each reply is its own row.
maxCommentsPerNotemaxCommentsPerNoteThe same: top comments per note, 0 = all.
maxRepliesPerCommentmaxRepliesPerCommentThe same name; logged out RedNote shows at most 3 replies a comment (6 on keyword and creator rows), so a larger value or 0 gives all it shows.

What differs:

  • The default order is recommended (RedNote's own ranking, the pinned comment first), not latest: rows stream page by page and a capped run reads only the pages it needs. latest and most_liked work as in the leader, but the run reads every top comment of the note before it sorts them.
  • Replies are their own rows (the leader nests them in replies[] and bills each as a comment too). Each comment row says how many replies it has (replyCount) and how many came (repliesDelivered).
  • Logged out RedNote shows at most 3 replies under a comment (6 on keyword and creator rows), so maxRepliesPerComment above 3 gives 3 on note links (up to 6 on keyword and creator rows); the leader's deeper threads and its "author liked" tag come from the app's own record, which this Actor does not read.
  • Column names: commentId (the leader's id), text (content), likes (like_count), createTime (time, in ms; createdAt ISO), replyCount (sub_comment_count), ipLocation (ip_location), the commenter flat (userId, nickname, avatar, redId) instead of a user object.
  • Added: RedNote's English translation and the language code on every row, the IP region in English, the note's title, author and counts, pictures and voice comments, and keyword, creator and feed-channel inputs.

Output

One row per comment or reply (and one free row per note and per keyword, creator or channel):

fieldmeaning
record_typecomment on a comment or reply row (charged); note on a note's free row; source on a keyword's, a creator's or a channel's free row.
statusok, or why an input or a note gave no comment: no_comments, not_found (RedNote has no such note, read on two connections), not_joined (a creator's listed note the search did not find), invalid_input, refused, failed, not_read.
inputThe value you gave that this row answers (the note link, the keyword, the creator or the channel).
routeh5: read by the note id, with the commenter's id and red id. partner: read through RedNote's search (keywords and creators), with no commenter id.
noteIdThe note's 24-character id; on partner rows the search's encrypted id.
noteUrlThe note's link (no token needed); null on partner rows.
noteTitleThe note's title.
noteAuthorIdThe note author's user id, from the note's page (on a creator's notes, from the creator's list); null when RedNote refuses the page for that note (noteAuthorStatus).
noteAuthorNicknameThe note author's name.
commentIdThe comment's own id (the same on every route).
typecomment (a top-level comment) or reply.
positionThe row's place in the note's list as delivered (1 = first), in the order sortBy gives.
rootCommentIdOn a reply: the top-level comment it sits under.
replyToCommentIdOn a reply: the comment it answers.
replyToUserIdOn a reply: the user id of the person it answers (from the comment it answers when that comment is in the same thread; null otherwise).
replyToNicknameOn a reply: the name of the person it answers (as replyToUserId).
textThe comment's text as written (empty for a picture-only comment).
textEnglishRedNote's own English translation of the comment (h5 rows; none for a comment of numbers or already in English).
languageRedNote's language code for the comment (zh_cn, en_us; num_sp_ch for a comment with no words, such as numbers, emotes, symbols or a lone @name).
commentTypetext, picture or voice.
picturesThe comment's picture links.
pictureCountHow many pictures the comment carries.
voiceUrlA voice comment's audio link (signed, it expires).
voiceDurationMsA voice comment's length in milliseconds.
voiceTranscriptRedNote's own transcript of a voice comment.
mentionsThe users the comment @-mentions: userId and nickname each.
createdAtWhen the comment was posted (UTC, ISO 8601).
createTimeWhen the comment was posted, in milliseconds since 1970 (UTC).
likesThe comment's likes, exact; null where RedNote shows only a band ("10+" on keyword and creator rows).
replyCountOn a top-level comment: its replies, exact (RedNote's own count); null where RedNote shows only a band ("10+" on keyword and creator rows).
repliesDeliveredOn a top-level comment: the replies delivered as rows under it.
repliesCompleteOn a top-level comment: true when the delivered replies cover replyCount.
isPinnedTrue for the comment pinned on top of the note.
isAuthorTrue for a comment by the note's own author; null when the author is not known (noteAuthorStatus).
isAiAgentTrue when RedNote marks the commenter as an AI agent.
sourceStatusRedNote's own status number of the comment (4 = pinned; others passed through as RedNote sends them).
userIdThe commenter's user id (h5 rows).
nicknameThe commenter's name.
avatarThe commenter's avatar picture.
redIdThe commenter's red id, the public account number on the profile (includeRedIds).
redIdReadAtWhen the red id was read (UTC); it may come from the last 24 hours' cache.
redIdStatusserved, cached, not_found (the account answered none), refused, not_asked (includeRedIds off), not_served (partner rows), cut (the run stopped while it was read).
userUrlThe commenter's profile link.
ipLocationThe commenter's IP region as RedNote shows it (Chinese: a province or a country).
ipLocationEnThe same region in English; null for a value outside the Actor's table.
analysis_sentimentWith sentimentAnalysis: the comment's sentiment from -1 (negative) to 1 (positive); null when the model gave no answer or the run stopped before the score (sentimentStatus says which).
analysis_confidenceWith sentimentAnalysis: how sure the model is, 0 to 1.
sentimentLabelWith sentimentAnalysis: positive, neutral or negative.
sentimentStatusserved (scored: the comment owes the sentiment fee), no_text (nothing to score), failed (the model gave no answer), cut (the run stopped before the score), not_asked (sentimentAnalysis off). Only served is charged.
noteCommentCountThe note's comments, top-level and replies, as RedNote counts them.
noteTopLevelCommentCountThe note's top-level comments, as RedNote counts them (the yardstick of COMPLETE).
noteLikesThe note's likes (exact under 10,000, RedNote's rounded figure above).
noteCollectsThe note's collects (as noteLikes).
noteSharesThe note's shares (as noteLikes).
noteTypenormal (pictures) or video.
notePostedAtWhen the note was posted (UTC).
noteAuthorStatusserved: the note's page named its author. page_refused: RedNote refused the page for this note (its comments still come), so isAuthor is null. slow: the page did not answer in time. cut: the run stopped while the page was read. The other note fields (noteLikes, noteCollects, noteShares, noteType, notePostedAt) come from the same page and are null with it.
sortByOn a note row: the order its comments were delivered in.
verdictOn a note row: COMPLETE, LIST_END, CAP, PARTIAL, TRUNCATED or DUPLICATE (read for another input of the run); on a source row: COMPLETE or PARTIAL.
rowsDeliveredOn a note or source row: the comment rows it delivered.
topCommentsReadOn a note row: the distinct top-level comments read.
notesFoundOn a source row: the notes the keyword, creator or channel gave.
notesReadOn a source row: the notes whose comments were read (wholly or in part); a note left unread by maxItems or the charge limit has a free not_read row.
reasonWhy a note or source row has its status or verdict.
scrapedAtWhen this row was read (UTC).

Example record:

{
"record_type": "comment",
"status": "ok",
"input": "69db721a00000000220290a8",
"route": "h5",
"noteId": "69db721a00000000220290a8",
"noteUrl": "https://www.xiaohongshu.com/explore/69db721a00000000220290a8",
"noteTitle": "答应我,一定要试试这道菜!!",
"noteAuthorId": null,
"noteAuthorNickname": null,
"commentId": "69dbec310000000015008817",
"type": "comment",
"position": 5,
"rootCommentId": null,
"replyToCommentId": null,
"replyToUserId": null,
"replyToNickname": null,
"text": "咸版锅包肉",
"textEnglish": "Savory Guo Bao Rou",
"language": "zh_cn",
"commentType": "text",
"pictures": [],
"pictureCount": 0,
"voiceUrl": null,
"voiceDurationMs": null,
"voiceTranscript": null,
"mentions": [],
"createdAt": "2026-04-12T19:02:10.000Z",
"createTime": 1776020530000,
"likes": 253,
"replyCount": 28,
"repliesDelivered": 3,
"repliesComplete": false,
"isPinned": false,
"isAuthor": null,
"isAiAgent": false,
"sourceStatus": 0,
"userId": "5f2d3c4b0000000001006a7e",
"nickname": "用户小鹿",
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31example?imageView2/2/w/120/format/jpg",
"redId": "9512345678",
"redIdReadAt": "2026-11-15T23:18:22Z",
"redIdStatus": "served",
"userUrl": "https://www.xiaohongshu.com/user/profile/5f2d3c4b0000000001006a7e",
"ipLocation": "安徽",
"ipLocationEn": "Anhui",
"analysis_sentiment": null,
"analysis_confidence": null,
"sentimentLabel": null,
"sentimentStatus": "not_asked",
"noteCommentCount": 451,
"noteTopLevelCommentCount": 318,
"noteLikes": null,
"noteCollects": null,
"noteShares": null,
"noteType": null,
"notePostedAt": null,
"noteAuthorStatus": "page_refused",
"sortBy": null,
"verdict": null,
"rowsDelivered": null,
"topCommentsRead": null,
"notesFound": null,
"notesRead": null,
"reason": null,
"scrapedAt": "2026-11-15T23:18:23Z"
}

Pricing

Pay for the comments a run delivers, plus one run start; no platform usage is billed to you. The comment price falls with your Apify plan.

eventunitFreeStarterScaleBusiness
Comment (comment)per 1,000$5.09$4.3265$3.563$2.545
Sentiment score (sentiment)per 1,000$0.50$0.425$0.35$0.25
Run start (start)per run$0.05$0.05$0.05$0.05

A comment or a reply is $5.09 per 1,000 on the Free plan ($0.00509 a comment) and $4.3265 on Starter, with everything it carries: RedNote's English translation, the commenter's red id and IP region, the note's title, author and counts. The optional sentiment score (sentimentAnalysis) adds $0.50 per 1,000 scored comments ($0.425 on Starter); a comment with no text or no answer from the model is not charged for it. Each run that delivers a comment also pays the run start, $0.05 once; a run that delivers none pays nothing at all. So 50 comments cost $0.3045 on the Free plan and $0.266325 on Starter; 200 comments $1.068 and $0.9153; 1,000 comments $5.14 and $4.3765; every input of a run shares one start. Free: every note's own row (its verdict and counts), every keyword, creator and channel row, a note id that names no note, a note with no comment, a value that names nothing, a comment listed twice (one row, one charge), a comment your filters leave out, and a note left unread at maxItems, your charge limit or the time limit. A run that stops early (a timeout, an abort) is charged for the comments it delivered.

Before the first request the log names the prices at your plan and the most the run can cost: maxItems over the whole run, or maxCommentsPerNote times the notes (each top comment with at most 3 replies, 6 on keyword and creator notes), and never more than your charge limit. With no cap the run reads each note to its end, so it costs about the comment price times the comments RedNote counts on the note (each note row says how many). Enterprise plans have their own rates — the Actor's Pricing tab shows the price for your plan.

Usage patterns

  • What to give — noteUrls: note links (copy the link from the browser's address bar or the app's share menu; the xsec_token is not needed), xhslink.com share links or the whole share text, or bare 24-character note ids. keywords: search words in any language. creatorUrls: profile links or user ids. channels: the trending feed by category. Fill one list or several; a value given twice is read once, and each repeat gets a free note or source row with the verdict DUPLICATE that names the value it repeats; a value that names nothing is a free invalid_input row that says why.
  • How much and in which order — maxCommentsPerNote caps the top comments of each note (0 = all; their replies come with them), maxItems the comments of the whole run. sortBy recommended streams RedNote's own ranking; latest and most_liked sort the note's complete list first. maxNotesPerSource sets how many notes each keyword, creator or channel gives (10 by default).
  • Filters — postedAfter and postedBefore (a date, a UTC time or an age such as 7 days), commentKeywords (any of the words, in the text or its English translation; a word in Latin letters matches as a whole word, so tea does not match team, and a Chinese word matches anywhere in the text), minLikes and onlyWithPictures keep the comments you want; a comment left out is free. RedNote filters none of these itself, so a filtered run still reads every comment of the note. Each comment is judged on its own: a reply that passes a filter is delivered even when the comment it sits under does not, and repliesDelivered counts only the replies delivered.
  • Keyword and creator rows — A keyword's or a creator's notes are read through RedNote's search, whose comment list differs: up to about 100 top comments a note and up to 6 replies a thread, but no commenter id and no red id, and the note id is the search's encrypted id (route = partner). The search writes a like or reply count of 10 or more as "10+", so such a count is null on these rows, never 10. A creator's notes are found in the search by their title and the creator's name (20 of 27 listed notes on our tests); a listed note the search does not find is a free not_joined row.

Input configuration

fieldtypedefaultwhat it does
noteUrlsarray[]One note a line: a note link (xiaohongshu.com/explore/<id>, /discovery/item/<id>, rednote.com/..., with or without its xsec_token), an app share link (xhslink.com/...) or the copied share text around it, or a bare 24-character note id. No token or login is needed. A value that names no note is a free invalid_input row.
keywordsarray[]Search words, one a line (Chinese or English). The run reads the comments of the first maxNotesPerSource notes the search lists. These rows come from the search's own comment list: up to about 100 top comments a note, up to 6 replies a thread, and no commenter id or red id (route = partner).
creatorUrlsarray[]A creator's profile link (xiaohongshu.com/user/profile/<id>) or 24-character user id, one a line. The run reads the creator's newest notes (logged out the profile lists up to 12) and finds each one in the search by its title and the creator's name; a listed note the search does not find is a free not_joined row. These rows have no commenter id or red id (route = partner).
channelsarray[]The explore feed by category, one a line: recommend (the home feed), fashion, food, beauty, movies, kpop, career, relationships, home, gaming, travel, fitness, video. The run reads the comments of the first maxNotesPerSource notes the feed shows now.
sortByrecommended / latest / most_liked"recommended"recommended (default): the platform's own ranking, the pinned comment first; rows stream page by page, and a capped run reads only the pages it needs. latest (newest first) and most_liked: the run reads every top comment of the note first, then sorts them, so the first row of a note with thousands of comments waits for its whole list.
maxCommentsPerNoteinteger0The most top-level comments a note gives (its replies come with them); 0 = every top comment the note lists. The note's row says COMPLETE, LIST_END or CAP.
includeRepliesbooleantrueDeliver the replies the source shows under each comment, each as its own row with rootCommentId and replyToCommentId.
maxRepliesPerCommentinteger3The most replies a comment gives. Logged out the source shows up to 3 replies under a comment (6 on keyword and creator rows); a larger value or 0 gives all it shows. Every comment row has its exact replyCount, repliesDelivered and repliesComplete.
maxNotesPerSourceinteger10How many notes each keyword, creator or channel gives.
postedAfterstringOnly comments from this time on: a date (2026-11-01), a UTC time (2026-11-01T08:00:00Z) or an age (7 days, 24 hours). The run reads every comment of the note and keeps these; a comment left out is free.
postedBeforestringOnly comments from before this time: a date, a UTC time or an age, as above.
commentKeywordsarray[]Only comments whose text (or its English translation) contains any of these words, case-insensitive: a word in Latin letters as a whole word (tea does not match team), a Chinese word anywhere in the text. A comment left out is free.
minLikesinteger0Only comments with at least this many likes. A comment left out is free.
onlyWithPicturesbooleanfalseOnly comments that carry pictures.
includeRedIdsbooleantrueAdd each commenter's red id (the public account number shown on the profile). One extra lookup per distinct commenter, so a run is about 3 times faster without it; the comment rows stay the same.
sentimentAnalysisbooleanfalseScore each delivered comment from -1 (negative) to 1 (positive) with a confidence and a label. A model reads the Chinese text and its emote codes; on 20 real comments it read 19 right by eye, weakest on teasing, so use the confidence to drop unsure answers.
pseudonymizeCommentersbooleanfalseReplace each commenter's id, name and red id (and the people a reply answers or mentions, with their @name in the text) with a stable hash for this run; the avatar and profile link are left out. The note's author stays named where the note's page names the author.
maxItemsinteger0The most comment rows of the whole run (the charged rows); 0 = no cap beyond your charge limit.
feedbackstringA note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note.

Errors

A run does not fail because of your input. When an input cannot be used — a date that is not a date, an id in the wrong form, two settings that contradict each other — the run ends Succeeded, charges nothing, and says what to change:

  • the status message starts with INPUT REJECTED;
  • the dataset holds one row, {"error": true, "code": "…", "message": "…"}, and no results;
  • the key-value store record ERROR holds the same object.

From code, check error on the first row before reading results.

A note id that names no note, a note with no comment, a share link that leads nowhere, a creator note the search does not find, or a value that names nothing is not an error: it gets one free row with its status and the reason, and the run goes on with the others. A run that ends Failed is a fault on our side, never your input; it charges nothing, and we are alerted.

FAQ

Do I need a RedNote account, a cookie or the link's xsec_token?

No. The Actor reads RedNote logged out, with no cookie and no token. A bare note id works as well as a full link.

Why do I get at most 3 replies under a comment?

Logged out, RedNote shows up to 3 replies under each comment (up to 6 on keyword and creator rows); the rest of a thread opens only in the app or with a login. Each comment row has the exact replyCount, repliesDelivered and repliesComplete, so you can see which threads have more.

What does the note row's verdict mean?

COMPLETE: every top comment RedNote counts came back. LIST_END: RedNote's list ended under its own count; the end was read again on a fresh connection, and reason says whether that read agreed. CAP: your maxCommentsPerNote stopped the note. PARTIAL: the run's time limit, your maxItems, your charge limit or an abort stopped it (a note whose list had ended and whose comments all went out still says COMPLETE). TRUNCATED: the walk stopped after 1,000 pages (20,000 top comments).

Is the English translation machine-made?

It is RedNote's own translation, served with each comment; this Actor adds no model for it. A comment that is only numbers or already in English has none.

What is the red id, and why is it sometimes empty?

The red id is the public account number on a RedNote profile. It is read once per commenter per run (includeRedIds, on by default; off makes a run about 3 times faster). A deleted or restricted account answers none, and redIdStatus says why. Keyword and creator rows carry no commenter id, so they have no red id either.

Is commenter data personal data?

Commenters are private persons. Use the data under the laws that apply to you; pseudonymizeCommenters replaces each commenter's id, name and red id with a stable hash for the run (the people a reply answers or mentions too, and their @name in the text and its English), and drops the avatar. The note's author stays named where the note's page names the author (noteAuthorStatus served).

Can I use this Actor with AI agents and MCP?

Yes. Any agent that can call Apify Actors (the Apify MCP server, LangChain, n8n, Make, Zapier) can run it with note links or ids and read the rows.

Do I need Apify Proxy or my own proxy?

No. The Actor uses its own connections, at no extra cost to you.

Integration

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('hyperbach/xiaohongshu-comments-scraper').call({"noteUrls": ["https://www.xiaohongshu.com/explore/6a0af7d800000000060359e7"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();

Python

from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('hyperbach/xiaohongshu-comments-scraper').call(run_input={'noteUrls': ['https://www.xiaohongshu.com/explore/6a0af7d800000000060359e7']})
items = client.dataset(run['defaultDatasetId']).list_items().items

CLI

$apify call hyperbach/xiaohongshu-comments-scraper --input '{"noteUrls": ["https://www.xiaohongshu.com/explore/6a0af7d800000000060359e7"]}'

REST

curl -X POST "https://api.apify.com/v2/acts/hyperbach~xiaohongshu-comments-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H 'Content-Type: application/json' -d '{"noteUrls": ["https://www.xiaohongshu.com/explore/6a0af7d800000000060359e7"]}'

AI agents and MCP

Apify's MCP server offers this Actor as a tool to Claude, Cursor, VS Code and any other MCP client. Connect https://mcp.apify.com?tools=hyperbach/xiaohongshu-comments-scraper and ask, for example: "Get every comment and reply of this RedNote (Xiaohongshu) note with likes, time and commenter, in English too". The agent fills the input from the table above and reads the rows from the run's dataset. A field under the name another Actor gives it is read as this Actor's own: startUrls, urls, url, postUrls as noteUrls; keyword, searchKeywords, searchTerms, queries as keywords; profileUrls, userUrls, creators, users as creatorUrls; channel, categories, category, feeds as channels (and more). An agent or a person can add feedback to any run and say what was needed and not delivered: a missing field, a wrong or empty result, the Actor switched from or to, and why. The run returns the same rows at the same price, and a person reads every note.

n8n, Make and Zapier

The Apify node in n8n, the Apify app in Make and the Apify integration in Zapier run this Actor on a schedule or from a trigger and read its dataset. A webhook on the run's end (Integrations on the Actor page) sends the rows on to your own endpoint. Nothing to install on our side.

Support

Disagree with a charge? Write to apify@hyperbach.com with the run ID. We will ask Apify to compensate you, and the charge comes back to your Apify account as platform credit.

Did it do the job? A short review on the Store, at any rating, helps the next buyer choose.

See also

  • Telegram Profile Scraper — Telegram channels, groups, bots and users by username or link, with the exact subscriber or member count.
  • YouTube Channel Search Scraper — the YouTube channels a keyword finds, with subscribers, the exact video and view counts and the country.
  • Threads Scraper — Threads profiles with the exact follower count, their posts and replies with view counts, and keyword and tag search, without a login.
  • Substack Scraper — the posts of a Substack newsletter with the full text of free posts, the date, the paywall flag and the likes.
  • Weibo Scraper — Weibo posts, profiles, search, comments and the hot-search boards, without a login.
  • Pinterest Search Scraper — the pins of a Pinterest search, with the link each pin points to, the image and the pinner.

This page is generated from the Actor's schemas and a live sample — it cannot describe a field the Actor does not have.