RedNote (Xiaohongshu) Comments Scraper 🔍 avatar
RedNote (Xiaohongshu) Comments Scraper 🔍

Pricing

$19.99/month + usage

Go to Apify Store
RedNote (Xiaohongshu) Comments Scraper 🔍

RedNote (Xiaohongshu) Comments Scraper 🔍

Scrape comments from RedNote (Xiaohongshu) posts efficiently. Extract detailed comment data including user info, timestamps, locations, and nested replies. Perfect for social media analysis, user research, and engagement tracking.

Pricing

$19.99/month + usage

Rating

5.0

(1)

Developer

EasyApi

EasyApi

Maintained by Community

Actor stats

2

Bookmarked

87

Total users

3

Monthly active users

3 months ago

Last modified

Share

Features ✨

  • Scrapes comments from multiple RedNote (Xiaohongshu) post URLs
  • Extracts detailed comment information including:
    • Main comments and nested replies
    • User information (nickname, ID, avatar)
    • Comment timestamps and IP locations
    • Like counts and engagement metrics
    • Comment status and special tags
  • Handles infinite scrolling automatically
  • Built-in anti-detection mechanisms
  • Customizable maximum items limit
  • Real-time data processing

Use Cases 🎯

  • Social media analysis and research
  • User engagement tracking
  • Content moderation monitoring
  • Influencer marketing research
  • Consumer sentiment analysis
  • Market research and trend analysis

Input Parameters 📝

  • postUrls: Array of Xiaohongshu post URLs to scrape
  • maxItems: Maximum number of comments to collect (optional)

Output Format 📊

The actor outputs JSON data containing:

  • Post URL reference
  • Complete comment data structure
  • Nested replies (sub-comments)
  • User information
  • Engagement metrics
  • Timestamp information
  • Geographic location data

Limitations ⚠️

  • Rate limiting may apply
  • Some comments might be hidden by platform moderation

Tips for Best Results 💪

  1. Use reasonable maxItems limits to avoid overloading
  2. Ensure valid and accessible post URLs
  3. Consider running during off-peak hours for better performance

Need help or have questions? Feel free to reach out! 🤝

Input Example

A full explanation of an input example in JSON.

{
"postUrls": [
"https://www.xiaohongshu.com/explore/6764f52c000000000900c655?xsec_token=ABQuGdhHV4zPI_3lR2iWdS9VxX_4RmI3bUSh394ppVitk=&xsec_source=pc_search&source=web_explore_feed"
],
"maxItems": 30
}

Output sample

The results will be wrapped into a dataset which you can always find in the Storage tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

[
{
"postUrl": "https://www.xiaohongshu.com/explore/6764f52c000000000900c655?xsec_token=ABQuGdhHV4zPI_3lR2iWdS9VxX_4RmI3bUSh394ppVitk=&xsec_source=pc_search&source=web_explore_feed",
"comment": {
"sub_comments": [
{
"create_time": 1734965575000,
"ip_location": "北京",
"target_comment": {
"id": "6764f606000000000e01f2e9",
"user_info": {
"xsec_token": "ABG61P7ExGt1pmyAe585yBJW-gjC5ysiJFg1Jg-g9AU7o=",
"user_id": "66178cdc000000000d0248dd",
"nickname": "coconut",
"image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31apbclo07c5g5pgnhje3ci6t4k8bcho?imageView2/2/w/120/format/jpg"
}
},
"id": "67697946000000000d038642",
"content": "111",
"like_count": "1",
"show_tags": [],
"user_info": {
"user_id": "5dbe41fc00000000010055d4",
"nickname": "Julia",
"image": "https://sns-avatar-qc.xhscdn.com/avatar/2b4cefbb01e0a0824f5c173dde7f98b2.jpg?imageView2/2/w/120/format/jpg",
"xsec_token": "ABjd3DLnAEKK3w2_6aMwp6rShFyiq3XHPptA60BJ5yWJA="
},
"note_id": "6764f52c000000000900c655",
"status": 0,
"at_users": [],
"liked": false
}
],
"at_users": [],
"like_count": "7",
"sub_comment_cursor": "67697946000000000d038642",
"sub_comment_has_more": true,
"content": "28岁ai设计师一枚,工作了两年,最近不忙,打算带几个徒弟,教ai表情包接单,有电脑,18+,观🐷凭伦\"111\"就好啦!",
"show_tags": [
"is_author",
"user_top"
],
"create_time": 1734669831000,
"note_id": "6764f52c000000000900c655",
"status": 4,
"user_info": {
"nickname": "coconut",
"image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31apbclo07c5g5pgnhje3ci6t4k8bcho?imageView2/2/w/120/format/jpg",
"xsec_token": "ABG61P7ExGt1pmyAe585yBJW-gjC5ysiJFg1Jg-g9AU7o=",
"user_id": "66178cdc000000000d0248dd"
},
"ip_location": "湖南",
"sub_comment_count": "28",
"id": "6764f606000000000e01f2e9",
"liked": false
},
"scrapedAt": "2025-01-17T05:45:22.613Z"
},
...
]

Looking for more social media and e-commerce scrapers? Check out these powerful tools: