Xiaohongshu (RedNote / 小红书) Comments & Live Chat Scraper
Pricing
from $1.99 / 1,000 scraped comments
Xiaohongshu (RedNote / 小红书) Comments & Live Chat Scraper
The fastest and most affordable Xiaohongshu (RedNote / 小红书 / XHS) comments & live stream chat scraper. Extract note comments, nested replies (楼中楼), live room chat messages, fan-club badges, and buyer intent signals with zero cookies.
Pricing
from $1.99 / 1,000 scraped comments
Rating
0.0
(0)
Developer
UnitBytes | Enterprise Web Data
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
5 hours ago
Last modified
Categories
Share
💬 RedNote (Xiaohongshu / 小红书) Comments, Replies & Live Stream Chat Scraper
Extract top-level post comments, nested replies ("楼中楼"), real-time Live Stream chat messages (liveChat), fan-club badges, author IP locations, and customer buyer intent signals from Xiaohongshu (RedNote / 小红书) in seconds—with Zero Login & Zero Cookies Needed.
[!TIP] Explore the Complete UnitBytes Xiaohongshu (RedNote) Suite:
- 🌟 RedNote All-in-One Scraper (
xiaohongshu-scraper) — Unified Category Trends, Live Streams, KOL Leads, Creator Profiles, and Post Comments in one Actor.- 🔴 RedNote Live Stream & Commerce Scraper (
xiaohongshu-rednote-live-scraper) — Dedicated 7-category live broadcast discovery, 1080p.flv/.m3u8streams, e-commerce filtering (hasGoods), and real-time live chat.- 🔍 RedNote Trends & Live Stream Scraper (
xiaohongshu-rednote-trend-scraper) — High-speed 13 category feeds, live stream rooms (1080p FLV/HLS), and unwatermarked MP4 video extraction.- 👤 RedNote Creator & KOL Leads Scraper (
xiaohongshu-rednote-profile-scraper) — Automated KOL lead discovery from category feeds & live streams, follower counts & portfolio extraction.- 💬 RedNote Comments & Live Chat Scraper (
xiaohongshu-rednote-comments-scraper) (You are here) — Post comments, nested reply trees (楼中楼), real-time live room chat messages, and buyer intent mining.
🌟 2 Modes for Discussion & Buyer Intent Mining
| Mode | What It Extracts | Key Signals Included |
|---|---|---|
💬 comments (Post Comments & Replies) | Extracts top-level comments and nested reply chains (楼中楼) from specific note URLs (startUrls with ?xsec_token=... or xhslink.com share links), or automatically sweeps comments across trending category feeds (channels) when startUrls is empty. | Comment text, likes (likeCount), nested replies (isSubComment, parentCommentId), author ID & avatar, IP location (ipLocation), and Buyer Intent sentiment classification (sentiment.intent: "high_buyer_intent" / "general"). |
🔴 liveChat (Live Stream Chat & Prompts) | Sweeps active Xiaohongshu Live Stream rooms (live-room.xiaohongshu.com) and extracts real-time viewer chat messages, live host metadata (liveHost), and e-commerce buyer prompts (roomBuyerIntentKeywords). | Real-time chat messages (isLiveChat: true), commenter 24-char user IDs, fan-club badges (fansGroup), live host details (liveHost), and room buyer prompts (e.g. ["能穿", "什么码", "尺码"]). |
✨ Key Features
- 💬 Note Comments & Nested Replies (
楼中楼): Captures top-level comments and nested sub-comments from public Xiaohongshu posts, or sweeps comments across 13 trending lifestyle channels automatically. - 🔴 Real-Time Live Stream Chat (
liveChat): Taps directly intolive-room.xiaohongshu.comto extract live audience questions, fan-club badges (fansGroup), live host metadata (liveHost), and e-commerce buyer intent prompts (roomBuyerIntentKeywords). - 📍 Geographic Intelligence: Captures commenter IP location (
ipLocation) for regional market segmentation. - 🎯 Buyer Intent & Sentiment Detection: Built-in heuristics automatically flag purchase inquiries (
sentiment.isBuyerIntent: true,sentiment.intent: "high_buyer_intent", and matchedsentiment.keywords). - ⚡ Instant High-Speed Extraction: Runs on Apify's ultra-lean 256 MB RAM tier with zero browser overhead.
⚡ Cookie-Free Architecture & Extraction Scope
This Actor uses a 100% Guest-Native, Zero-Cookie Architecture designed for maximum stability and zero account risk:
- Direct Note Comments vs. Category/Live Sweeps: Direct Note URLs (requiring
?xsec_token=...orxhslink.comshare links; bare 24-character hex note IDs are not supported) extract Page-1 hot comments (~10–25 top comments + nested replies per note). Meanwhile, Category Sweeps (channels) andliveChatmode aggregate hundreds of comments or real-time chat messages across multiple viral notes or active live rooms in a single run. - Deep Scroll Pagination on Category Feeds & Live Streams: Category sweeps and live stream sweeps paginate across
100+unique notes or live rooms per category with zero login. - Creator Portfolio Depth: Commenter and live host
profileUrland 24-character user IDs can be passed directly into our RedNote Creator & KOL Leads Scraper to audit their latest ~30 portfolio posts and exacttotalLikesAndCollectsvia SSR. - Real-Time Live Stream URLs: In
liveChatmode, extracted chat messages come from active real-time live broadcasts (roomUrl) while the host is live.
🎯 Who Uses This Data? (High-Value Use Cases)
- 🛒 Live Commerce & E-Commerce Benchmarking: Capture real-time viewer questions (
isLiveChat: true) and suggested buyer prompts (roomBuyerIntentKeywords) inside active shopping broadcasts to discover what sizing, pricing, and SKU questions drive conversions. - 📊 Consumer Social Listening & Sentiment Mining: Filter post comments by
sentiment.isBuyerIntent: trueto harvest high-intent purchase leads ("求链接", "多少钱", "什么码") and regional demand (ipLocation). - 🤝 MCNs & KOL / Influencer Recruiting: Audit comment quality, fan-club loyalty (
fansGroup.fansLevel&fansGroup.activeFans), and real audience discussion depth before signing KOL sponsorships. - 🎙️ AI / ASR Multimodal Video & Stream Analysis: Combine audience comment/chat transcripts with video and live stream broadcasts for end-to-end LLM consumer research and FAQ generation.
📥 Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
mode | String | "comments" | comments (Note Comments & Replies) or liveChat (Live Stream Chat & Buyer Intent Prompts). |
startUrls | Array | Prefilled | Post links (https://www.xiaohongshu.com/explore/...?xsec_token=...) or mobile share links (xhslink.com/...). Leave empty to sweep comments across trending channels. |
channels | Array | ["homefeed_recommend"] | When mode="comments" and startUrls is empty, automatically discovers trending notes from these channels and extracts their comments. |
liveCategories | Array | ["0"] | When mode="liveChat", selects which live stream categories ("0" to "6") to harvest real-time chat messages from. |
maxCommentsPerNote | Integer | 20 | Maximum comments or chat messages to collect (1 to 2,000). |
includeSubComments | Boolean | true | When enabled in comments mode, fetches nested replies underneath each root comment. |
maxSubCommentsPerComment | Integer | 10 | Maximum nested replies to collect per root comment (0 to 100). |
proxyConfiguration | Object | RESIDENTIAL | Apify Proxy configuration (useApifyProxy: true). |
💻 Input Samples
Sample 1: Specific Post Comments & Nested Replies (mode: "comments")
{"mode": "comments","startUrls": [{"url": "https://www.xiaohongshu.com/explore/64256e08000000001300575e?xsec_token=ABivcR3TWdHqjbjX2xyNQkAS3_CZsrXHUX9r1tNqo4148=&xsec_source=pc_feed"}],"maxCommentsPerNote": 20,"includeSubComments": true,"maxSubCommentsPerComment": 10}
Sample 2: Real-Time Live Stream Chat & Buyer Intent Mining (mode: "liveChat")
{"mode": "liveChat","liveCategories": ["0", "2"],"maxCommentsPerNote": 50}
📤 Sample Output JSON
Sample 1: Post Comment Output (mode: "comments")
{"itemType": "comment","id": "645a3517000000000a000ecb","noteId": "645a13770000000014027734","noteUrl": "https://www.xiaohongshu.com/explore/645a13770000000014027734","content": "求同款裙子链接!🔗 多少钱入手的?","likeCount": 6,"subCommentCount": 0,"subCommentHasMore": false,"subCommentCursor": "","isSubComment": true,"targetCommentId": "645a340a000000001500e209","parentCommentId": "645a340a000000001500e209","ipLocation": "上海","createTime": 1683633431000,"createdAt": "2023-05-09T11:57:11Z","author": {"id": "5c6b6a31000000001203525f","nickname": "茜茜笑熹熹🐥","avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo321jbg6787o105n3bd8okmkivcqib7n0.jpg","ipLocation": "上海"},"sentiment": {"intent": "high_buyer_intent","isBuyerIntent": true,"keywords": ["链接", "多少钱", "同款"]}}
Sample 2: Live Stream Chat Message Output (mode: "liveChat")
{"itemType": "comment","isLiveChat": true,"id": "1761038291042","noteId": "570228761768989458","roomId": "570228761768989458","roomTitle": "早秋新款羊绒大衣专场 | 显瘦穿搭实测","roomUrl": "https://www.xiaohongshu.com/livelist?channel_id=2&channel_type=web_live_list&room_id=570228761768989458","noteUrl": "https://www.xiaohongshu.com/livelist?channel_id=2&channel_type=web_live_list&room_id=570228761768989458","content": "165 105斤穿S还是M码?","originLanguage": "zh-CN","author": {"id": "5f8a19c20000000001008a21","nickname": "小鹿乱撞","avatarUrl": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31user.jpg","profileUrl": "https://www.xiaohongshu.com/user/profile/5f8a19c20000000001008a21"},"fansGroup": {"groupName": "枝枝铁粉","fansLevel": 5,"intimateName": "枝枝铁粉","activeFans": true,"hasJoined": true},"liveHost": {"id": "6808da1a000000000d014b51","nickname": "阿枝穿搭日记","avatarUrl": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31.jpg","profileUrl": "https://www.xiaohongshu.com/user/profile/6808da1a000000000d014b51"},"roomBuyerIntentKeywords": ["能穿", "什么码", "尺码", "身高", "多重"],"sentiment": {"intent": "high_buyer_intent","isBuyerIntent": true,"keywords": ["什么码"]},"scrapedAt": "2026-10-20T08:00:00.000Z"}
💰 Pricing (Pay-Per-Event)
| Event | Free / Starter | Scale | Business | Enterprise | Description |
|---|---|---|---|---|---|
Actor Start (apify-actor-start) | $0.00001 | $0.00001 | $0.00001 | $0.00001 | Micro-penny startup ($0.00). Test runs execute risk-free. |
Scraped Comment (comment) | $0.00249 | $0.00229 | $0.00209 | $0.00199 | Charged per comment, nested reply, or live chat message delivered. |
💬 Support & Feature Requests
Need help configuring your run, requesting custom fields, or reporting an issue?
- 💬 Apify Issues: Open a ticket in the Apify Issues Tab
⚖️ Compliance & Privacy
This Actor extracts strictly publicly available discussion data from Xiaohongshu pages. It does not log in, bypass authentication walls, or collect private user messages. Personal data is protected by regulations such as GDPR, CCPA, and PIPL—see Apify's guide on the legality of web scraping and ensure your usage complies with applicable data privacy laws.
Disclaimer
This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Xiaohongshu (RED / 小红书 / Xingin Information Technology Co., Ltd.) or any of its subsidiaries or affiliates.