Xiaohongshu Comments Scraper - Reply Threads (RedNote)
Pricing
from $4.99 / 1,000 comments
Xiaohongshu Comments Scraper - Reply Threads (RedNote)
Rising starExtract every Xiaohongshu (RedNote) comment with nested reply threads, author profile, avatar URL, IP city, like counts, attached pictures, and @-mentions. Paste note URLs or 24-character note IDs. 30+ fields per comment, export to JSON, CSV, or Excel.
Pricing
from $4.99 / 1,000 comments
Rating
0.0
(0)
Developer
Zen Studio
Maintained by CommunityActor stats
1
Bookmarked
5.6K
Total users
624
Monthly active users
2 days ago
Last modified
Categories
Share
RedNote (Xiaohongshu / 小红书) Comments Scraper | Nested Replies, Author Profiles, IP City (2026)
From Zen Studio. Creators of RedNote Search and Douyin Search, which have ranked #1 for “rednote” and “douyin”, respectively, in Apify Store relevance results, with 100,000+ combined lifetime runs.
Why choose this actor?
- Replies with their conversation context. Collect nested replies under the original comment, including available reply-to references, so questions and answers stay connected.
- Photos and the people behind the comments. Get attached image URLs, author nicknames, public RedNote handles and avatar URLs alongside comment text, likes and timestamps.
- Locations for regional analysis. Group feedback by RedNote’s reported location, such as a province or country. The
ip_locationfield describes the location shown by RedNote, not a precise address.
Reply collection requires a paid Apify plan.
Try it on a RedNote post
Open the actor’s input page, switch to JSON and paste this. Replace the example link with your post, then start the run. This requests up to 20 top-level comments and 5 replies per comment.
{"noteUrls": ["https://www.xiaohongshu.com/discovery/item/69db721a00000000220290a8"],"includeReplies": true,"maxCommentsPerNote": 20,"maxRepliesPerComment": 5}
Each top-level comment and each nested reply counts as one billable result. Set maxRepliesPerComment to 0 to remove the reply cap. Photos, author fields and locations depend on what RedNote returns; some reply threads may be incomplete.
Apify Free plan: 15 lifetime preview runs, up to 20 top-level comments from the first post, without replies.
Continue your research
| Zen Studio · RedNote & Douyin | |
|
RedNote Comments You are here |
RedNote Search Find posts to analyze by keyword. |
|
RedNote User Profile Explore a creator and their posts. |
RedNote Note Detail Get the content behind a discussion. |
|
Douyin Search Research the same topics on Douyin. | |
Copy to your AI assistant
zen-studio/rednote-comments-scraper on Apify. Collects top-level comments and available nested replies from Xiaohongshu (小红书) notes, with public author details, avatar URLs, source-reported locations and reply-to references. Call ApifyClient("TOKEN").actor("zen-studio/rednote-comments-scraper").call(run_input={...}), then client.dataset(run["defaultDatasetId"]).list_items().items. noteUrls accepts note URLs, app share links (xhslink.com), or bare 24-char hex note IDs. Full spec: GET https://api.apify.com/v2/acts/zen-studio~rednote-comments-scraper/builds/default (Bearer TOKEN) → inputSchema, actorDefinition.storages.dataset, readme. Token: https://console.apify.com/account/integrations
How to Scrape Xiaohongshu Comments
Basic: single note, default settings
{"noteUrls": ["https://www.xiaohongshu.com/discovery/item/69db721a00000000220290a8"]}
Multiple notes, capped budget
{"noteUrls": ["https://www.xiaohongshu.com/discovery/item/69db721a00000000220290a8","69dc63550000000015004853"],"maxCommentsPerNote": 200,"maxRepliesPerComment": 10}
Top-voted threads only, no replies
{"noteUrls": ["69db721a00000000220290a8"],"sortBy": "most_liked","includeReplies": false,"maxCommentsPerNote": 50}
Request available replies under the first comment
{"noteUrls": ["69db721a00000000220290a8"],"maxCommentsPerNote": 1,"maxRepliesPerComment": 0}
Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
noteUrls | array | required | One or more Xiaohongshu note links, app share links (xhslink.com, auto-resolved), or bare 24-character note IDs. Each note runs independently. |
sortBy | enum | latest | latest, recommended, or most_liked |
includeReplies | boolean | true | When true, every comment carries a nested replies[] array |
maxRepliesPerComment | integer | 5 | Replies to fetch under each top-level comment. 0 = unlimited |
maxCommentsPerNote | integer | 0 | Top-level comments per note. 0 = all |
What Data Can You Extract from Xiaohongshu Comments?
Each dataset row is one top-level comment with the collected replies nested inside. Reply limits, source availability and the run budget can restrict the returned thread.
Comment fields:
id,note_id,url_to_note,content,timelike_count,sub_comment_count,liked,ip_locationpictures(when the comment has attached images)show_tags,show_tags_v2(includesPinned,Author likedlabels)at_users,hash_tags,media_source_typesort_by,comment_index_in_note
Author profile (user):
userid,red_id(public XHS handle),nicknameimages(avatar URL),ai_agent,level
Each nested reply (replies[]):
- All the comment fields above (where applicable)
target_commentwith the target comment'sid,status, and availableuserdetails
Output Example
{"id": "69dc63550000000015004853","note_id": "69db721a00000000220290a8","url_to_note": "https://www.xiaohongshu.com/discovery/item/69db721a00000000220290a8","content": "千万不要点进作者的主页,不然就出不来了[捂脸R][捂脸R]","time": 1776051029,"ip_location": "Shanghai","like_count": 119,"sub_comment_count": 11,"liked": false,"collected": false,"user": {"userid": "ae72f2a6105526a05fb17d369ee6e","red_id": "27209397831","nickname": "晚风轻吟","images": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31uu4q7413q005qca0u389c1cvfo51i0?imageView2/2/w/120/format/jpg","ai_agent": false,"level": { "image": "" },"current_user": "false","additional_tags": {}},"at_users": [],"show_tags": [],"show_tags_v2": [{ "text": "Pinned", "type": "user_top", "pos": "cmt_bottom", "style_id": "red" }],"pictures": null,"hash_tags": null,"media_source_type": null,"sub_comment_cursor": "{\"cursor\":\"69dc6a7d000000001500ab19\",\"index\":1}","replies": [{"id": "69dc6a7d000000001500ab19","content": "不信你的话,点进去第一反应就是咽了几口口水[暗中观察R]","time": 1776052862,"ip_location": "Guangdong","like_count": 93,"liked": false,"user": {"userid": "a651518b161bd8d20adb86abd4798","red_id": "4646143817","nickname": "八方来财","images": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31q83819h7u005pdi1p9kpa9hcpnh30g?imageView2/2/w/120/format/jpg","ai_agent": false},"target_comment": {"id": "69dc63550000000015004853","status": 4,"user": {"userid": "ae72f2a6105526a05fb17d369ee6e","red_id": "27209397831","nickname": "晚风轻吟","images": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31uu4q7413q005qca0u389c1cvfo51i0?imageView2/2/w/120/format/jpg"}},"at_users": [],"show_tags": [],"show_tags_v2": [{ "text": "Author liked", "type": "author_liked" }]},{"id": "69dc736a000000001500a5a1","content": "果然 不关注都出不来[笑哭R]","time": 1776055146,"ip_location": "Beijing","like_count": 2,"user": {"userid": "6539e3ce000000000d006d07","red_id": "4583774467","nickname": "熙熙大王","images": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31iojfqsd1a605p9psf738r870uj84a8?imageView2/2/w/120/format/jpg"},"target_comment": {"id": "69dc63550000000015004853","user": { "userid": "698a0786000000002100b02c", "nickname": "晚风轻吟" }},"show_tags": ["author_liked"]}// ... 3 more replies],"sort_by": "latest","comment_index_in_note": 0,"status": 4,"score": 10000000,"hidden": false,"downvoted": false,"share_strategy": 0,"comment_type": 0,"translation_strategy": 9,"show_type": "common","relatable_to_note": false,"biz_label": { "product_review": false, "group_invite": "false", "rich_text": "unknown" },"track_id": "interaction-service.local","friend_liked_msg": "","sub_comments": [// `sub_comments` inline (mirrors the first entry of `replies`)]}
Advanced Usage
Cap cost on a viral note
{ "noteUrls": ["69db721a00000000220290a8"], "maxCommentsPerNote": 100, "maxRepliesPerComment": 3 }
Bulk-collect comments from a known set of notes
{"noteUrls": ["69db721a00000000220290a8","69dc63550000000015004853","69dcf76e000000003501618e"],"sortBy": "most_liked","maxCommentsPerNote": 50}
IP-city sentiment study: top comments only
{ "noteUrls": ["69db721a00000000220290a8"], "sortBy": "most_liked", "includeReplies": false, "maxCommentsPerNote": 500 }
Pricing: Pay Per Event (PPE)
Comment-result charges: $5.99 per 1,000 comments on Free and Bronze plans. Higher paid tiers have discounted rates; see the Pricing tab. Each comment counts as one billable result, both top-level comments and nested replies.
| Comment-result event | Per result (Free/Bronze) | Per 1,000 (Free/Bronze) |
|---|---|---|
| Comment result (top-level or nested reply) | $0.00599 | $5.99 |
Free tier: 15 lifetime preview runs, up to 20 top-level comments from the first note, replies off.
FAQ
What is RedNote (Xiaohongshu / Little Red Book)? RedNote is the international name of Xiaohongshu (小红书, literally "Little Red Book", often abbreviated XHS), China's leading lifestyle and social-commerce platform. Its comment sections carry product questions, recommendations, and regional sentiment, which is exactly what this actor collects.
Which note URL formats are accepted?
Full note URLs (/discovery/item/<id>, /explore/<id>, or /search_result/<id>, with or without xsec_token query params), app share links (xhslink.com/..., auto-resolved to the note), and bare 24-character hex IDs.
Why does my dataset have fewer rows than I expected?
Each row is one top-level comment, with the collected replies embedded inside its replies[] array. If you ran with maxCommentsPerNote: 50, you get up to 50 rows, but the total billed comments include every nested reply too.
What's IP location?
Xiaohongshu can attach a coarse geographic label to comments, such as a province, city or country. For example, Guangdong, Shanghai or Spain. It is the location reported by RedNote, not a precise address, and it may be empty.
Are author avatars included?
Yes. When available, user.images contains the author's avatar URL.
Can I remove the reply limit under one comment?
Set maxRepliesPerComment: 0 to remove the reply cap. With maxCommentsPerNote: 1, this applies to the first comment returned by the selected sort order. Source availability and the run budget can still limit replies.
What sort orders are supported?
latest (newest first, the Xiaohongshu app default), recommended (curated relevance), most_liked (by like count).
Can I detect pinned comments?
Yes: show_tags_v2 carries a { "type": "user_top", "text": "Pinned" } entry on the pinned comment.
Does the actor follow @-mentions?
The at_users array on each comment lists the mentioned users with user_id and nickname. The scraper does not recursively fetch their profiles; use RedNote User Profile Scraper for that.
What happens if a note has comments disabled or is removed? You'll get zero comments for that note ID and the run continues with the next note.
How fresh is the data? Live from Xiaohongshu at run time, no cache.
Do I need a Xiaohongshu account or cookies? No. Paste note URLs or IDs and run; no account, cookie export, or QR login is involved.
How do I export the comments? The dataset downloads as JSON, CSV, Excel, XML, or HTML from the run's Storage tab, and is available programmatically via the Apify API.
Can I scrape the note itself, or a creator's profile? Not in this actor; it collects comments only. Use RedNote Note Detail Scraper for full note content and RedNote User Profile Scraper for creator profiles with post history.
Is it legal to scrape Xiaohongshu comments? The actor collects publicly visible comments only, nothing behind a login. You are responsible for complying with Xiaohongshu's terms of service and applicable data protection law (GDPR, CCPA, PIPL) in how you use the data; comments include personal data such as nicknames and coarse IP region.
More Zen Studio scrapers for Chinese platforms
🎬 Short-video & social
Zhihu 知乎
Weibo 微博
Kwai (Brazil)
RedNote 小红书
Douyin 抖音
Xigua 西瓜视频
Bilibili 哔哩哔哩
🛒 E-commerce
Naver Search 네이버 검색
Shopee
Taobao 淘宝
JD.com 京东
1688 阿里巴巴
Goofish 闲鱼
Coupang 쿠팡
🏠 Real estate & autos
Anjuke 安居客
58.com 58同城
Autohome 汽车之家
Support
- Bugs: Issues tab
- Features: Issues tab
Legal Compliance
Extracts publicly available data. Users must comply with Xiaohongshu's terms and data protection regulations (GDPR, CCPA, PIPL).
Collect RedNote comments, available reply threads, public author details, photos and source-reported locations as structured data.
