Xiaohongshu Comments Scraper
Pricing
$2.00 / 1,000 comments
Xiaohongshu Comments Scraper
Scrape top-level comments from Xiaohongshu (RedNote) notes by ID, including text, author, likes, time, IP location and note links.
Pricing
$2.00 / 1,000 comments
Rating
0.0
(0)
Developer
Jackie Chen
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Collect the current top-level discussion under specific Xiaohongshu notes. Provide note IDs and receive clean comment rows with text, author identity, likes, time, location and a link back to the parent note.
Unofficial / independent tool. This Actor is not affiliated with, authorized, sponsored, or endorsed by Xiaohongshu. It retrieves publicly available data through a third-party API. You are responsible for using the output in compliance with Xiaohongshu's terms and all applicable laws.
What this Actor does
This Actor focuses on one job: fetch top-level comments for one or more xiaohongshu notes by note id on xiaohongshu.com. This Actor prices each delivered comment directly instead of hiding an extra paid API call inside a general note-search run.
- Fetches the current top-level comment page for each note ID.
- Returns comment text and author identity.
- Includes likes, publication time, IP location and reply count.
- Links every comment back to its parent Xiaohongshu note.
Input
| Field | Type | Description |
|---|---|---|
noteIds | array | Note IDs from Xiaohongshu URLs or search output. Returns the current top-level comment page for each note. |
maxItems | integer | Maximum records to return (caps your spend). |
proxyConfiguration | object | Optional Apify Proxy settings. |
Example input
{"noteIds": ["69d8ab67000000022200b884"],"maxItems": 10}
Output
The Actor returns one dataset item per comment. Each item is a flat, analysis-ready JSON record. Example of a real returned item:
{"commentId": "comment-sample-1","noteId": "69d8ab67000000022200b884","content": "这个防晒会搓泥吗?","author": "小夏","authorId": "user-sample-1","likeCount": 18,"publishedAt": 1783728600,"ipLocation": "广东","subCommentCount": 3,"id": "comment-sample-1","url": "https://www.xiaohongshu.com/explore/69d8ab67000000022200b884","source": "xiaohongshu-comments"}
Output fields
| Field | Description |
|---|---|
commentId | Comment ID |
noteId | Parent note ID |
content | Comment text |
author | Comment author |
authorId | Comment author user ID |
likeCount | Comment like count |
publishedAt | Comment timestamp |
ipLocation | Comment IP location when available |
subCommentCount | Reply count |
url | Canonical link to the item on the source site |
id | Stable identifier for the item (when available) |
source | Which list / query the item came from |
How it works
- Direct API, no browser. Data is fetched over HTTP — no headless browser, no login, no cookies to manage.
- Honest failure. Transient upstream blocks (rate limits, edge protection) are retried with exponential backoff. If the source stays unavailable, the run fails loudly instead of returning a misleading empty dataset.
- De-duplicated. Items are de-duplicated by their identifier within a run.
- Pay per result. Each delivered row charges one
resultevent ($0.002);maxItemsis a hard cap on both volume and spend.
Use cases
- Analyze customer language and sentiment under product notes.
- Collect objections and questions for market research.
- Monitor discussion around campaigns or competitor posts.
- Feed comment evidence into social-listening agents.
Integration
Run it from the Apify Console, on a schedule, or call it programmatically via the Apify API, the JavaScript / Python clients, or MCP. Output can be exported as JSON, CSV, or Excel, or pushed to your own storage.
FAQ
Do I need a Xiaohongshu account, cookies, or to log in? No. The Actor only reads publicly available data.
How am I billed? $0.002 per returned item; maxItems caps the total.
Can I schedule it or call it from my own code? Yes — use Apify Schedules, the REST API, the official clients, or MCP.
Is this an official Xiaohongshu product? No. It is an independent tool and is not affiliated with Xiaohongshu.