Operated by Sourcelane✓ verified
Scrape comments and replies from any Xiaohongshu (RedNote, 小红书) note: text, likes, reply counts, dates, IP location, images and commenter profiles. No login.
A scraper for Xiaohongshu (小红书, aka RedNote / Little Red Book) that exports comments and replies from any public note. The connector crawls note pages without requiring a Xiaohongshu account or login and returns one record per comment (and per reply, if enabled), capturing comment text, engagement metrics (likes and reply counts), timestamps, image URLs for picture comments, @-mentions, contextual linkage to the parent note and reply relationships, IP-based commenter location (province or country as shown by the site), flags such as pinned/author-posted, and commenter profile identifiers and avatars. The connector supports collecting both top-level comments and nested replies, and provides configurable limits and sorting for extraction.
Verified Dec 1, 7:47 AM
$0.005
per comment
Up to 100 per call. Only pay for results returned; failed calls are refunded.
Sentiment analysis and consumer research on Chinese social-media commentary
Product feedback collection from reviews and haul notes
Questions, complaints, praise
Brand and campaign monitoring for reactions to posts by a brand or competitors
Regional insight using IP-derived commenter location to analyze geography of engagement
Creating training data of real Mandarin social-media text with engagement labels
Note URLs, xhslink.com share links, or 24-character note IDs.
Optional settings
| Window | Uptime | Success rate | p50 | p95 | Calls |
|---|---|---|---|---|---|
| 24h | — | — | — | — | 0 |
| 7d | — | — | — | — | 0 |
| 30d | — | — | — | — | 0 |
Call it through Sourcelane's gateway or MCP server. We run the connector, apply your agent's spend guardrails, and bill only the results returned.
Call it via Sourcelane
curl -X POST https://api.usesourcelane.com/v1/call \
-H "Authorization: Bearer sl_live_your_agent_key" \
-H "Content-Type: application/json" \
-d '{"listing":"xiaohongshu-comments-scraper","params":{"noteUrls":["https://www.xiaohongshu.com/explore/6acd71d2000000000202a2de"]},"maxResults":10}'Request params
| Field | Type | Required | Description |
|---|---|---|---|
noteUrls | array | required | Note URLs (https://www.xiaohongshu.com/explore/…), xhslink.com share links, or 24-character note IDs. One per line. |
maxCommentsPerNote | integer | optional | How many top-level comments to collect per note. 0 = all available. |
sortBy | string | optional | Order of top-level comments. |
includeReplies | boolean | optional | Also collect replies to each comment. Replies are separate rows with isReply = true and the parent comment's ID. |
maxRepliesPerComment | integer | optional | Only used when Include replies is on. |
Each result contains
| Field | Type | Description |
|---|---|---|
noteId | string | — |
noteUrl | string | Note |
commentId | string | — |
text | string | Comment |
likes | integer | Likes |
replyCount | integer | Replies |
createdAt | string | Posted |
isReply | boolean | Is reply |
parentCommentId | null | — |
replyToNickname | null | — |
isPinned | boolean | — |
isFromAuthor | boolean | — |
ipLocation | string | IP location |
imageUrls | array | — |
mentionedNicknames | array | — |
authorRedId | string | — |
authorNickname | string | Commenter |
authorAvatar | string | — |
scrapedAt | string | — |
Pick your tool and connect in under a minute. Then just ask — for example: “Find this creator's profiles on every social network and summarise their reach.”
Connect Claude
Web, desktop and mobile. One click, then confirm.
Adds the Sourcelane MCP server with your key as a header.
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
--header "Authorization: Bearer sl_live_your_agent_key"Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.
{
"mcpServers": {
"sourcelane": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.usesourcelane.com/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer sl_live_your_agent_key"
}
}
}
}Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).
{
"mcpServers": {
"sourcelane": {
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer sl_live_your_agent_key"
}
}
}
}Save as .vscode/mcp.json. VS Code prompts for your key once.
{
"servers": {
"sourcelane": {
"type": "http",
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer ${input:sourcelane-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "sourcelane-key",
"description": "Sourcelane agent key",
"password": true
}
]
}Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.
https://usesourcelane.com/openapi.jsonOne POST. Pass maxResults to cap cost.
curl -X POST https://api.usesourcelane.com/v1/call \
-H "Authorization: Bearer sl_live_your_agent_key" \
-H "Content-Type: application/json" \
-d '{"listing":"xiaohongshu-comments-scraper","params":{"noteUrls":["https://www.xiaohongshu.com/explore/6acd71d2000000000202a2de"]},"maxResults":10}'Wrap the REST call as a tool, or point an MCP client at the endpoint.
import requests
res = requests.post(
"https://api.usesourcelane.com/v1/call",
headers={"Authorization": "Bearer sl_live_your_agent_key"},
json={
"listing": "xiaohongshu-comments-scraper",
"params": {"noteUrls":["https://www.xiaohongshu.com/explore/6acd71d2000000000202a2de"]},
"maxResults": 10,
},
timeout=300,
)
body = res.json()
print(body["receipt"]["chargedMicros"], "micro-USD for", body["receipt"]["results"], "results")
print(body["data"])—
0 reviews
Leave a review
Loading reviews…