Comment Replies
Retrieves replies to a specific Xiaohongshu (RedNote) note comment with cursor pagination. Use it to inspect threaded discussions and continue through reply pages for feedback review or moderation.
Parameters
| Name | Required | Type | Description | Example | Allowed values |
|---|---|---|---|---|---|
note_id |
Required | string | Unique note identifier on Xiaohongshu. | 69e31cd60000000022028cc2 |
— |
comment_id |
Required | string | Unique comment identifier on Xiaohongshu. | 5adf13d2e8ac2b1f6071688a |
— |
last_cursor |
Optional | string | Pagination cursor from the previous page (use the cursor value returned by the last response). | — | — |
Code samples
curl -G "https://api.mofa-ai.com/v1/xiaohongshu/get_note_sub_comment_v2" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'note_id=69e31cd60000000022028cc2' \
--data-urlencode 'comment_id=5adf13d2e8ac2b1f6071688a'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/xiaohongshu/get_note_sub_comment_v2",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"note_id": "69e31cd60000000022028cc2",
"comment_id": "5adf13d2e8ac2b1f6071688a",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/xiaohongshu/get_note_sub_comment_v2");
url.search = new URLSearchParams({
note_id: "69e31cd60000000022028cc2",
comment_id: "5adf13d2e8ac2b1f6071688a",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
Try it
Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.
Example response
Captured 2026-11-07, took 1830 ms · Request parameters {"note_id": "69e31cd60000000022028cc2", "comment_id": "5adf13d2e8ac2b1f6071688a"}
JSON
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "xiaohongshu.get_note_sub_comment_v2",
"cost_usd": 0.03,
"data": {
"code": 0,
"data": {
"comments": [],
"has_more": false,
"page_context": "{\"highlight\":[\"抬头蛙\"]}"
},
"message": null,
"requestId": "d5c9837bcc53493ab939e3b893eb98b9",
"recordTime": "2026-11-08T07:57:44.063818049",
"requestParams": {
"body": null,
"query": {
"noteId": "69e31cd60000000022028cc2",
"commentId": "5adf13d2e8ac2b1f6071688a"
}
}
}
}