RedNote Note Comments
Retrieves comments for a Xiaohongshu (RedNote) note with cursor pagination and normal, latest, or like-count sorting. Use it to support feedback review, discussion analysis, and comment moderation workflows.
/v1/xiaohongshu/get_note_comment_v2
$0.03
- Price
- $0.03 per successful call, Failed calls are free
- Endpoint ID
xiaohongshu.get_note_comment_v2
Parameters
-
note_idstring RequiredA Xiaohongshu note ID or an explore URL containing /explore/.
Example
69e31cd60000000022028cc2 -
last_cursorstring OptionalPagination cursor from the previous page (use the cursor value returned by the last response).
-
sortstring OptionalSort strategy for the result set.
Available Values:
normal: Normallatest: Latestlike_count: Like Count
Example
latest
Code samples
curl -G "https://api.mofa-ai.com/v1/xiaohongshu/get_note_comment_v2" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'note_id=69e31cd60000000022028cc2' \
--data-urlencode 'sort=latest'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/xiaohongshu/get_note_comment_v2",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"note_id": "69e31cd60000000022028cc2",
"sort": "latest",
},
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_comment_v2");
url.search = new URLSearchParams({
note_id: "69e31cd60000000022028cc2",
sort: "latest",
});
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);
Example response
Request parameters {"sort": "latest", "note_id": "69e31cd60000000022028cc2"}
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "xiaohongshu.get_note_comment_v2",
"cost_usd": 0.03,
"data": {
"code": 0,
"data": {
"cursor": "{\"contextId\":\"7cb24cb9f8394f3abf962084c7058b70\",\"cursor\":\"69ee10be0000000029027711\",\"index\":2,\"pageArea\":\"ALL\"}",
"user_id": "601352f1000000000100a04a",
"comments": [
{
"id": "6aaa21b80000000015021274",
"time": 1789534648,
"user": {
"level": {
"image": ""
},
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo325a1i37tl60049ih382hpf7jr4pggt0?imageView2/2/w/120/format/jpg",
"red_id": "114316906",
"userid": "a5880ae05bd209abd2a07c4ab0bd0",
"ai_agent": false,
"nickname": "国产护肤爱好者",
"current_user": "false",
"additional_tags": {}
},
"liked": false,
"score": 0,
"hidden": false,
"status": 0,
"content": "借图",
"note_id": "69e31cd60000000022028cc2",
"at_users": [],
"track_id": "interaction-service.local",
"biz_label": {
"rich_text": "unknown",
"group_invite": "false",
"product_review": false
},
"collected": false,
"downvoted": false,
"show_tags": [],
"show_type": "common",
"like_count": 0,
"comment_type": 0,
"show_tags_v2": [],
"sub_comments": [],
"share_strategy": 1,
"friend_liked_msg": "",
"sub_comment_count": 0,
"translation_strategy": 10
},
{
"id": "6a8c3dc800000000150212c3",
"time": 1787575752,
"user": {
"level": {
"image": ""
},
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo32464arhv7k005po3q4nne9577p616bg?imageView2/2/w/120/format/jpg",
"red_id": "94165668867",
"userid": "a1d5f5a0e86c17fb3d9b7d0f2f524",
"ai_agent": false,
"nickname": "好烦",
"current_user": "false",
"additional_tags": {}
},
"liked": false,
"score": 0,
"hidden": false,
"status": 0,
"content": "可以拿图调色吗[害羞R]",
"note_id": "69e31cd60000000022028cc2",
"at_users": [],
"track_id": "interaction-service.local",
"biz_label": {
"rich_text": "unknown",
"group_invite": "false",
"product_review": false
},
"collected": false,
"downvoted": false,
"show_tags": [],
"show_type": "common",
"like_count": 0,
"comment_type": 0,
"show_tags_v2": [],
"sub_comments": [
{
"id": "6a8c3e08000000000b01d497",
"time": 1787575816,
"user": {
"level": {
"image": ""
},
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3171cded1k4005o0jabog982acdf9de0?imageView2/2/w/120/format/jpg",
"red_id": "4951457574",
"userid": "ab95f2d2ac5099ba92b51f4f57792",
"ai_agent": false,
"nickname": "Jasmine",
"current_user": "false",
"additional_tags": {}
},
"liked": false,
"score": -4,
"hidden": false,
"status": 0,
"content": "拿",
"note_id": "69e31cd60000000022028cc2",
"at_users": [],
"biz_label": {
"rich_text": "unknown",
"group_invite": "false",
"product_review": false
},
"collected": false,
"downvoted": false,
"show_tags": [],
"show_type": "common",
"like_count": 0,
"comment_type": 0,
"show_tags_v2": [
{
"pos": "post_name",
"text": "作者",
"type": "is_author",
"style_id": "red"
}
],
"share_strategy": 1,
"target_comment": {
"id": "6a8c3dc800000000150212c3",
"user": {
"level": {
"image": ""
},
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo32464arhv7k005po3q4nne9577p616bg?imageView2/2/w/120/format/jpg",
"red_id": "94165668867",
"userid": "a1d5f5a0e86c17fb3d9b7d0f2f524",
"ai_agent": false,
"nickname": "好烦",
"current_user": "false",
"additional_tags": {}
},
"status": 0
},
"friend_liked_msg": "",
"translation_strategy": 10
}
],
"share_strategy": 1,
"friend_liked_msg": "",
"sub_comment_count": 2,
"sub_comment_cursor": "{\"cursor\":\"6a8c3e08000000000b01d497\",\"index\":1}",
"translation_strategy": 10
},
"… +13"
],
"has_more": true,
"page_context": "{\"exposed_l1_ids\":\"6aaa21b80000000015021274,6a8c3dc800000000150212c3,6a87bf49000000000b01ca7b,6a471291000000002a02556e,6a19610d000000002a032cd2,6a05f38a0000000029034d23,69f9e04d0000000028039a6f,69f77d…",
"comment_count": 119,
"comment_count_l1": 83,
"all_sort_strategies": [
{
"type": "default",
"suffix_name": "",
"optional_name": "默认"
},
{
"type": "latest_v2",
"suffix_name": "",
"optional_name": "最新"
},
"… +1"
],
"current_sort_strategy": "latest_v2"
},
"message": null,
"requestId": "7bbf7d752d4a4239a944b83832707c61",
"recordTime": "2026-11-08T07:57:48.236762599",
"requestParams": {
"body": null,
"query": {
"sort": "latest",
"noteId": "69e31cd60000000022028cc2"
}
}
}
}
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.
More RedNote endpoints
-
Ask Dots AI
$0.10Queries Xiaohongshu (RedNote) Ask Dots AI with a keyword question. Use it to retrieve an AI answer for topic research and question exploration.
/v1/xiaohongshu/ask_dots_v1
-
Hot Search
$0.03Searches Xiaohongshu (RedNote) hot-content entries with optional keyword, content-category path, pagination, ranking metric, and time-range controls. Use it…
/v1/xiaohongshu/hot_search_v1
-
Note Search v2
$0.03Searches Xiaohongshu (RedNote) notes by keyword with pagination plus sort, note-type, and publish-time filters. Use it to support topic research, content dis…
/v1/xiaohongshu/search_note_v2
-
Note Search v4
$0.04Searches Xiaohongshu (RedNote) notes through the mobile-app search flow with pagination, sorting, note-type, and time filters. Use it to support iterative to…
/v1/xiaohongshu/search_note_v4
-
User Search
$0.03Searches Xiaohongshu (RedNote) users by keyword with page-based pagination. Use it to support creator discovery, account research, and finding profiles relat…
/v1/xiaohongshu/search_user_v2
-
User Published Notes
$0.03Retrieves notes published by a Xiaohongshu (RedNote) user, accepting a user ID or supported profile URL and a cursor for pagination. Use it to support creato…
/v1/xiaohongshu/get_user_note_list_v4
-
Note Details v1
$0.03Retrieves Xiaohongshu (RedNote) details for a note identified by a note ID or supported explore URL. Use it to perform direct note lookup and content review…
/v1/xiaohongshu/get_note_detail_v1
-
Note Details v6
$0.03Retrieves Xiaohongshu (RedNote) video-note details by note ID. Use it to look up and process a known video note.
/v1/xiaohongshu/get_note_detail_v6
-
Comment Replies
$0.03Retrieves replies to a specific Xiaohongshu (RedNote) note comment with cursor pagination. Use it to inspect threaded discussions and continue through reply…
/v1/xiaohongshu/get_note_sub_comment_v2
-
User Profile
$0.03Retrieves a Xiaohongshu (RedNote) user profile from a user ID or supported profile URL. Use it to support creator discovery, account research, and reviewing…
/v1/xiaohongshu/get_user_v3
-
Keyword Suggestions
$0.03Returns Xiaohongshu (RedNote) search keyword suggestions for a submitted seed term. Use it to expand query sets, refine content-research searches, and plan S…
/v1/xiaohongshu/search_recommend_v1
-
Topic Note List
$0.03Retrieves Xiaohongshu (RedNote) notes associated with a topic ID, with hot or latest sorting and cursor pagination. Use it to support topic content discovery…
/v1/xiaohongshu/get_topic_note_list_v1
-
Share Link Resolution
$0.03Resolve a supported Xiaohongshu (RedNote) short share link and return its public redirect URL. Use it to expand shared links before subsequent Xiaohongshu co…
/v1/xiaohongshu/share_url_transfer_v1