UnitBytes
UnitBytes Enterprise Data Labs
APAC E-Commerce & Social

Xiaohongshu (RedNote) Comments & Sentiment Scraper API

Uncover authentic consumer sentiment on China largest lifestyle discovery platform. Extract deep comment threads, sub-replies, author locations, like counts, and discussion timestamps without personal login cookies.

Threaded Reply ChainsAuthor Badges & IP LocationSentiment & Emoji SupportZero Login Cookies
Pricing: Pay-Per-Event
•
Latency: Sub-Second
•
Format: JSON / CSV
normalized_output.json
HTTP 200 OK
{
  "commentId": "66e2d192000000001f038102",
  "noteId": "66e2c349000000001e028b4a",
  "user": {
    "nickname": "BeautyLover_BJ",
    "userId": "5b892019482",
    "ipLocation": "Beijing"
  },
  "content": "Does this moisturizer cause breakouts on combination sensitive skin? Need an honest review!",
  "likeCount": 89,
  "createTime": "2026-09-25T12:15:00Z",
  "subCommentsCount": 4
}
Xiaohongshu (RedNote) Comments & Sentiment Scraper API Banner - UnitBytes Enterprise Web Data Engine

Engine Architecture

Key Extraction Capabilities

Built specifically for high-throughput enterprise pipelines with zero credential leakage.

01

Complete Nested Reply Trees

Extracts top-level comments and all nested secondary reply trees with exact parent-child reply relationships.

02

IP Location & Geographic Context

Captures user province/country tags (IP attribution) to analyze regional feedback and brand sentiment.

03

Full Emoji & Slang Preservation

Preserves native Chinese social slang, custom emoji characters, and product feedback hashtags.

04

Author Verification Badges

Distinguishes between verified brand replies, post author remarks, and general community comments.

Instant Developer Integration

Run in Your Application in 3 Lines

Trigger extractions via the official Apify Client or standard REST endpoints.

Python SDK • pip install apify-client
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {
    "noteUrls": ["https://www.xiaohongshu.com/explore/66e2c349000000001e028b4a"],
    "maxComments": 100
}

run = client.actor("unitbytes/xiaohongshu-rednote-comments-scraper").call(run_input=run_input)

for comment in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(comment["user"]["nickname"], comment["content"], comment["likeCount"])

Technical Documentation

Frequently Asked Questions

Q: How many comments can I extract per note?

You can extract thousands of comments per post. The scraper automatically handles cursor pagination until your target count is reached.

Q: Can I perform sentiment analysis or NLP with this data?

Yes. Clean UTF-8 text output with preserved punctuation and emoji is ideal for training sentiment classification or LLM brand-perception models.

Q: Do I need cookies to scrape comments on Xiaohongshu?

Zero cookies required. Operates completely anonymously with autonomous request signing.

Q: Can I identify the post author replies in the comment section?

Yes, author comments are explicitly tagged with isAuthor: true for fast filtering.

Related Data Engines

Complementary extractors built for the same intelligence stack.

View All 14 Engines →
Enterprise SLA & Custom Pipelines

Need Custom Web Data Feeds or Dedicated SLAs?

Our data engineering team provides private cluster deployments, custom webhook integrations, continuous schema monitoring, and high-frequency delivery directly to BigQuery, Snowflake, or AWS S3.

Ready to Deploy Xiaohongshu (RedNote) Comments & Sentiment Scraper API?

Start running immediately on UnitBytes Cloud with zero infrastructure setup, or contact our engineering team for dedicated S3/BigQuery delivery pipelines.