RedNote (Xiaohongshu) Comments Scraper 🔍 avatar

RedNote (Xiaohongshu) Comments Scraper 🔍

Try for free

2 hours trial then $19.99/month - No credit card required now

Go to Store
RedNote (Xiaohongshu) Comments Scraper 🔍

RedNote (Xiaohongshu) Comments Scraper 🔍

easyapi/rednote-xiaohongshu-comments-scraper
Try for free

2 hours trial then $19.99/month - No credit card required now

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.

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.

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

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.

1[
2    {
3        "postUrl": "https://www.xiaohongshu.com/explore/6764f52c000000000900c655?xsec_token=ABQuGdhHV4zPI_3lR2iWdS9VxX_4RmI3bUSh394ppVitk=&xsec_source=pc_search&source=web_explore_feed",
4        "comment": {
5            "sub_comments": [
6                {
7                    "create_time": 1734965575000,
8                    "ip_location": "北京",
9                    "target_comment": {
10                        "id": "6764f606000000000e01f2e9",
11                        "user_info": {
12                            "xsec_token": "ABG61P7ExGt1pmyAe585yBJW-gjC5ysiJFg1Jg-g9AU7o=",
13                            "user_id": "66178cdc000000000d0248dd",
14                            "nickname": "coconut",
15                            "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31apbclo07c5g5pgnhje3ci6t4k8bcho?imageView2/2/w/120/format/jpg"
16                        }
17                    },
18                    "id": "67697946000000000d038642",
19                    "content": "111",
20                    "like_count": "1",
21                    "show_tags": [],
22                    "user_info": {
23                        "user_id": "5dbe41fc00000000010055d4",
24                        "nickname": "Julia",
25                        "image": "https://sns-avatar-qc.xhscdn.com/avatar/2b4cefbb01e0a0824f5c173dde7f98b2.jpg?imageView2/2/w/120/format/jpg",
26                        "xsec_token": "ABjd3DLnAEKK3w2_6aMwp6rShFyiq3XHPptA60BJ5yWJA="
27                    },
28                    "note_id": "6764f52c000000000900c655",
29                    "status": 0,
30                    "at_users": [],
31                    "liked": false
32                }
33            ],
34            "at_users": [],
35            "like_count": "7",
36            "sub_comment_cursor": "67697946000000000d038642",
37            "sub_comment_has_more": true,
38            "content": "28岁ai设计师一枚,工作了两年,最近不忙,打算带几个徒弟,教ai表情包接单,有电脑,18+,观🐷凭伦\"111\"就好啦!",
39            "show_tags": [
40                "is_author",
41                "user_top"
42            ],
43            "create_time": 1734669831000,
44            "note_id": "6764f52c000000000900c655",
45            "status": 4,
46            "user_info": {
47                "nickname": "coconut",
48                "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31apbclo07c5g5pgnhje3ci6t4k8bcho?imageView2/2/w/120/format/jpg",
49                "xsec_token": "ABG61P7ExGt1pmyAe585yBJW-gjC5ysiJFg1Jg-g9AU7o=",
50                "user_id": "66178cdc000000000d0248dd"
51            },
52            "ip_location": "湖南",
53            "sub_comment_count": "28",
54            "id": "6764f606000000000e01f2e9",
55            "liked": false
56        },
57        "scrapedAt": "2025-01-17T05:45:22.613Z"
58    },
59    ...
60]
Developer
Maintained by Community

Actor Metrics

  • 3 monthly users

  • 0 No stars yet

  • >99% runs succeeded

  • Created in Jan 2025

  • Modified a day ago