cursorstring
Pagination cursor, leave empty for first request, pass cursor value from previous response for next page
Default: ""
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/note-commentsGet the comments on a Xiaohongshu note: comment text, time, likes, reply counts and location, with sorting and cursor pagination.
[
{
"data": {
"code": 0,
"data": {
"all_sort_strategies": [
{
"optional_name": "Default",
"suffix_name": "",
"type": "default"
},
{
"optional_name": "Latest",
"suffix_name": "",
"type": "latest_v2"
},
{
"optional_name": "Most liked",
"suffix_name": "",
"type": "like_count"
}
],
"comment_count": 117,
"comment_count_l1": 64,
"comments": [
{
"at_users": [],
"biz_label": {
"group_invite": "false",
"product_review": false,
"rich_text": "true"
},
"collected": false,
"comment_type": 0,
"content": "#信奶糖[搜索高亮]# 的 我推荐你们买减肥沐浴露,洗一次掉十斤[抱拳R]",
"downvoted": false,
"friend_liked_msg": "",
"hash_tags": [
{
"disable_jump": false,
"link": "xhsdiscover://search/result?keyword=%E4%BF%A1%E5%A5%B6%E7%B3%96&target_search=notes&mode=note_text_highlight&word_request_id=a5021014afd5a7d3804356b56ac5ef85&source=comment_highlight&api_extra=%7B%22source_note_id%22%3A%226a59e720000000000f033247%22%2C%22source_comment_id%22%3A%226a7006e4000000001500a809%22%7D&add_to_history=true&enable_half_screen=true&half_screen_height_ratio=0.7&half_screen_mask=true",
"name": "信奶糖",
"type": "搜索高亮"
}
],
"hidden": false,
"id": "6a7006e4000000001500a809",
"invalid": false,
"like_count": 86,
"liked": false,
"note_id": "6a59e720000000000f033247",
"relatable_to_note": false,
"score": 86,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"sub_comment_count": 4,
"sub_comment_cursor": "{\"cursor\":\"6a72919d000000001400a5cb\",\"index\":1}",
"sub_comments": [
{
"at_users": [],
"biz_label": {
"group_invite": "false",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "哈哈哈哈",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "6a72919d000000001400a5cb",
"like_count": 0,
"liked": false,
"note_id": "6a59e720000000000f033247",
"relatable_to_note": false,
"score": 0,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"target_comment": {
"id": "6a7006e4000000001500a809",
"status": 0,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo30qidr848086g5ng5k2kg9813cget3t8?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "sulnope",
"red_id": "750905620",
"userid": "a531680efbf61ae7c874c3d6621fa"
}
},
"time": 1785893278,
"translation_strategy": 9,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/563ec459a40e180b04740c8e.jpg?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "少吃亿点的小胖子",
"original_name": "少吃亿点的小胖子",
"red_id": "438928834",
"userid": "af532ba51d58ff3d802bcd6ba194b"
}
}
],
"time": 1785726692,
"track_id": "interaction-service.local",
"translation_strategy": 9,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo30qidr848086g5ng5k2kg9813cget3t8?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "sulnope",
"original_name": "sulnope",
"red_id": "750905620",
"userid": "a531680efbf61ae7c874c3d6621fa"
}
},
{
"at_users": [],
"biz_label": {
"group_invite": "false",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "小基数效果也能这么好吗[皱眉R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "6a7abe32000000001c01278a",
"invalid": false,
"like_count": 5,
"liked": false,
"note_id": "6a59e720000000000f033247",
"relatable_to_note": false,
"score": 5,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"sub_comment_count": 14,
"sub_comment_cursor": "{\"cursor\":\"6a7b3e240000000003008a0b\",\"index\":1}",
"sub_comments": [
{
"at_users": [],
"biz_label": {
"group_invite": "false",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "小基数掉秤特别难[哭惹R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "6a7b3e240000000003008a0b",
"like_count": 22,
"liked": false,
"note_id": "6a59e720000000000f033247",
"relatable_to_note": false,
"score": -22,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"target_comment": {
"id": "6a7abe32000000001c01278a",
"status": 0,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo325vinp2l4c005of59e0k0l7312dfmb0?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "sympathy",
"red_id": "2156813228_YQ",
"userid": "a027645f0cb4c9f01298325ec6c28"
}
},
"time": 1786461733,
"translation_strategy": 9,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo323ssqabin4005nqsfnng97ivoi8f3l8?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "momo",
"original_name": "momo",
"red_id": "l76623896268855",
"userid": "ab89c5f04e494591fc6acfd0f88be"
}
}
],
"time": 1786428979,
"track_id": "interaction-service.local",
"translation_strategy": 9,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo325vinp2l4c005of59e0k0l7312dfmb0?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "sympathy",
"original_name": "sympathy",
"red_id": "2156813228_YQ",
"userid": "a027645f0cb4c9f01298325ec6c28"
}
},
{
"at_users": [],
"biz_label": {
"group_invite": "false",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 2,
"content": "去吃奶糖,16天而已![微笑R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "6a62ea0a000000002a004f79",
"invalid": false,
"like_count": 5,
"liked": false,
"media_source_type": 0,
"note_id": "6a59e720000000000f033247",
"pictures": [
{
"box_h": 120,
"box_w": 120,
"file_id": "",
"height": 1440,
"meme_package": {
"height": 1080,
"image_url": "http://sns-img-qc.xhscdn.com/comment/1040g2h0323099bag7k205qgk0mj0g304sv8g8dg?imageView2/2/h/1080/format/webp",
"width": 810
},
"origin_url": "https://sns-i11.rednotecdn.com/comment/1040g2h0323099bag7k205qgk0mj0g304sv8g8dg?imageView2/2/w/1280/format/webp&ap=4&sc=CMT_DTL&sign=de36647f680c73f895a2cbc8d48708cf&t=6ac5ef85",
"url": "https://sns-i11.rednotecdn.com/comment/1040g2h0323099bag7k205qgk0mj0g304sv8g8dg?imageView2/2/w/360/format/webp&ap=4&sc=CMT_PRV&sign=de36647f680c73f895a2cbc8d48708cf&t=6ac5ef85",
"width": 1080
},
{
"box_h": 120,
"box_w": 120,
"file_id": "",
"height": 1440,
"meme_package": {
"height": 1080,
"image_url": "http://sns-img-qc.xhscdn.com/comment/1040g2h0323099bag7k2g5qgk0mj0g304vkv8p2g?imageView2/2/h/1080/format/webp",
"width": 810
},
"origin_url": "https://sns-i11.rednotecdn.com/comment/1040g2h0323099bag7k2g5qgk0mj0g304vkv8p2g?imageView2/2/w/1280/format/webp&ap=4&sc=CMT_DTL&sign=8c0ff4e7bcb5f89dada5e9f4d989385c&t=6ac5ef85",
"url": "https://sns-i11.rednotecdn.com/comment/1040g2h0323099bag7k2g5qgk0mj0g304vkv8p2g?imageView2/2/w/360/format/webp&ap=4&sc=CMT_PRV&sign=8c0ff4e7bcb5f89dada5e9f4d989385c&t=6ac5ef85",
"width": 1080
}
],
"relatable_to_note": false,
"score": 5,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"sub_comment_count": 4,
"sub_comment_cursor": "{\"cursor\":\"6a63364a000000002901bb3e\",\"index\":1}",
"sub_comments": [
{
"at_users": [],
"biz_label": {
"group_invite": "false",Select an example to load its inputs and result into the playground.
Returns the comments on a Xiaohongshu note: comment text, post time, like count, reply count and the commenter's name and ID. It needs a note_id, or a Xiaohongshu share link in share_text. Results come in pages, with a choice of sort order.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/note-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"note_id": "697c0eee000000000a03c308"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | No | Pagination cursor, leave empty for first request, pass cursor value from previous response for next page |
index | integer | No | Comment index, pass 0 for first request, pass index value from previous response for next page |
note_id | string | No | Note ID, e.g. "697c0eee000000000a03c308" |
pageArea | string | No | Fold status, default "UNFOLDED" (unfolded), pass pageArea value from previous response for next page |
share_text | string | No | Xiaohongshu sharing link (support APP and Web sharing link) |
sort_strategy | string | No | Sort strategy |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"all_sort_strategies": [
{
"optional_name": "Default",
"suffix_name": "",
"type": "default"
}
],
"comment_count": 192,
"comment_count_l1": 153,
"comments": [
{
"at_users": [],
"biz_label": {
"group_invite": "false",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "长桌",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "6aa08562000000000a01d66e",
"invalid": false,
"like_count": 0,
"liked": false
}
],
"current_sort_strategy": "latest_v2",
"cursor": "{\"contextId\":\"9a8084a1a39f4b71a9017f187eccdd83\",\"cursor\":\"69aaee1e00000000190009…",
"has_more": true,
"page_context": "{\"exposed_l1_ids\":\"6aa08562000000000a01d66e,69da730e00000000160162d2,69cb9fa9000…",
"user_id": "5efc6e660000000001006da1"
},
"debug_id": "148260f1",
"debug_info": "gAAAAABq6ZFn2PL9M17PFWysU5DHuRD_A1yM_0-38jtmjB-9zRE4mL6L2gXqR3_LP5_F2oecc1ua16Fy…",
"msg": "",
"success": true
}
| Field | Meaning |
|---|---|
data.comments[].content | Text of the comment. |
data.comments[].id | ID of the comment. Use it to tell comments apart across pages. |
data.comments[].time | Time the comment was posted, as a Unix timestamp in seconds. |
data.comments[].like_count | Number of likes on the comment. |
data.comments[].sub_comment_count | Number of replies to the comment. The replies themselves appear in data.comments[].sub_comments. |
data.comments[].user.nickname / data.comments[].user.red_id | Display name and RED ID of the commenter. |
data.comment_count / data.comment_count_l1 | Total comments on the note, and the count of top-level comments only. |
data.all_sort_strategies[].type | Sort values you can send in sort_strategy, such as default, latest_v2 and like_count. |
data.current_sort_strategy | Sort order used for this response. |
data.has_more | true when more comments are available on a next page. |
data.cursor | Pagination token to pass as cursor to get the next page. |
note_id. The default sort is latest_v2.data.cursor value as cursor. Also pass the matching index and pageArea values from the previous response. Stop when data.has_more is false.697c0eee000000000a03c308. Take them from a note search or a user's posted notes, for example Xiaohongshu (RED) Note Search or Xiaohongshu (RED) User Posted Notes.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Use the known note_id, or the share_text alternative described by this endpoint, to identify the intended note. A creator user ID, product SKU and note ID are different inputs. The first-request Python tutorial uses note_id explicitly, validates it locally and does not select a note automatically from search results. Note comments are not the separate e-commerce product-review API.
For the first page, keep cursor as an empty string, index as integer 0 and pageArea as UNFOLDED. The current schema defaults sort_strategy to latest_v2; a saved example may use a different documented strategy such as like_count, so inspect the request before executing. The observed current_sort_strategy tells you the response's order. Nested preview replies are not necessarily complete threads.
This variant's input schema has no xsec_token field. A note identifier or supported share text and SandBase Bearer authentication are the declared inputs; do not add an undocumented token based on another variant's instructions. This does not grant private or account-management access.
The reference describes cursor plus matching index and pageArea for continuation. A trimmed or historical sample may omit part of that state. Do not guess missing state, convert the opaque cursor to a number, or claim the first page covers all comments. This guide stops after one request and does not revalidate pagination.
If you still need to choose a note, start separately with Note Search and review its results. A comment sample helps form research questions; it is not a representative audience survey. Retain only fields needed for your analysis rather than exporting commenter profiles by default.
Already have a SandBase key? Keep SANDBASE_API_KEY in your local environment and use this page's API tab for the POST /v1/api/ route and Bearer authentication. For an agent already connected, provide the exact endpoint and your keyword or known note identifier. Starting a project? Give the agent the setup Skill, Markdown quickstart and your task, then ask for one request with a saved response.
Read outputs[0].data from a completed SandBase response. The selected app-v2 reference samples use integer code 0; the comments sample also carries success: true. Validate the provider result and expected data.items or data.comments array. Do not turn a provider error or missing array into an empty result. Empty arrays and missing fields mean different things, and missing engagement counts are not zero.
Pricing checked on 2026-11-08: both endpoints list $0.01 per call and eligibility for 100 daily data API calls shared across eligible APIs in the organization, resetting at 00:00 UTC. Eligibility does not establish remaining allowance. Review current pricing and quota before running. No new business query was made for this update. See the Xiaohongshu Python first-request guide for bounded examples and separately dated historical research.
Start building
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/note-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"index": 0,
"cursor": "",
"note_id": "6a59e720000000000f033247",
"pageArea": "UNFOLDED",
"share_text": "",
"sort_strategy": "like_count"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
cursorstringPagination cursor, leave empty for first request, pass cursor value from previous response for next page
Default: ""
indexintegerComment index, pass 0 for first request, pass index value from previous response for next page
Default: 0
note_idstringNote ID, e.g. "697c0eee000000000a03c308"
Default: ""
pageAreastringFold status, default "UNFOLDED" (unfolded), pass pageArea value from previous response for next page
Default: "UNFOLDED"
share_textstringXiaohongshu sharing link (support APP and Web sharing link)
Default: ""
sort_strategystringSort strategy
Default: "latest_v2"
Saved example response for this API; no live request is made when viewing it.
[
{
"data": {
"code": 0,
"data": {
"all_sort_strategies": [
{
"optional_name": "Default",
"suffix_name": "",
"type": "default"
},
{
"optional_name": "Latest",
"suffix_name": "",
"type": "latest_v2"
},
{
"optional_name": "Most liked",
"suffix_name": "",
"type": "like_count"
}
],
"comment_count": 117,
"comment_count_l1": 64,
"comments": [
{
"at_users": [],
"biz_label": {
"group_invite": "false",
"product_review": false,
"rich_text": "true"
},
"collected": false,
"comment_type": 0,
"content": "#信奶糖[搜索高亮]# 的 我推荐你们买减肥沐浴露,洗一次掉十斤[抱拳R]",
"downvoted": false,
"friend_liked_msg": "",
"hash_tags": [
{
"disable_jump": false,
"link": "xhsdiscover://search/result?keyword=%E4%BF%A1%E5%A5%B6%E7%B3%96&target_search=notes&mode=note_text_highlight&word_request_id=a5021014afd5a7d3804356b56ac5ef85&source=comment_highlight&api_extra=%7B%22source_note_id%22%3A%226a59e720000000000f033247%22%2C%22source_comment_id%22%3A%226a7006e4000000001500a809%22%7D&add_to_history=true&enable_half_screen=true&half_screen_height_ratio=0.7&half_screen_mask=true",
"name": "信奶糖",
"type": "搜索高亮"
}
],
"hidden": false,
"id": "6a7006e4000000001500a809",
"invalid": false,
"like_count": 86,
"liked": false,
"note_id": "6a59e720000000000f033247",
"relatable_to_note": false,
"score": 86,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"sub_comment_count": 4,
"sub_comment_cursor": "{\"cursor\":\"6a72919d000000001400a5cb\",\"index\":1}",
"sub_comments": [
{
"at_users": [],
"biz_label": {
"group_invite": "false",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "哈哈哈哈",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "6a72919d000000001400a5cb",
"like_count": 0,
"liked": false,
"note_id": "6a59e720000000000f033247",
"relatable_to_note": false,
"score": 0,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"target_comment": {
"id": "6a7006e4000000001500a809",
"status": 0,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo30qidr848086g5ng5k2kg9813cget3t8?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "sulnope",
"red_id": "750905620",
"userid": "a531680efbf61ae7c874c3d6621fa"
}
},
"time": 1785893278,
"translation_strategy": 9,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/563ec459a40e180b04740c8e.jpg?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "少吃亿点的小胖子",
"original_name": "少吃亿点的小胖子",
"red_id": "438928834",
"userid": "af532ba51d58ff3d802bcd6ba194b"
}
}
],
"time": 1785726692,
"track_id": "interaction-service.local",
"translation_strategy": 9,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo30qidr848086g5ng5k2kg9813cget3t8?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "sulnope",
"original_name": "sulnope",
"red_id": "750905620",
"userid": "a531680efbf61ae7c874c3d6621fa"
}
},
{
"at_users": [],
"biz_label": {
"group_invite": "false",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "小基数效果也能这么好吗[皱眉R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "6a7abe32000000001c01278a",
"invalid": false,
"like_count": 5,
"liked": false,
"note_id": "6a59e720000000000f033247",
"relatable_to_note": false,
"score": 5,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"sub_comment_count": 14,
"sub_comment_cursor": "{\"cursor\":\"6a7b3e240000000003008a0b\",\"index\":1}",
"sub_comments": [
{
"at_users": [],
"biz_label": {
"group_invite": "false",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "小基数掉秤特别难[哭惹R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "6a7b3e240000000003008a0b",
"like_count": 22,
"liked": false,
"note_id": "6a59e720000000000f033247",
"relatable_to_note": false,
"score": -22,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"target_comment": {
"id": "6a7abe32000000001c01278a",
"status": 0,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo325vinp2l4c005of59e0k0l7312dfmb0?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "sympathy",
"red_id": "2156813228_YQ",
"userid": "a027645f0cb4c9f01298325ec6c28"
}
},
"time": 1786461733,
"translation_strategy": 9,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo323ssqabin4005nqsfnng97ivoi8f3l8?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "momo",
"original_name": "momo",
"red_id": "l76623896268855",
"userid": "ab89c5f04e494591fc6acfd0f88be"
}
}
],
"time": 1786428979,
"track_id": "interaction-service.local",
"translation_strategy": 9,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo325vinp2l4c005of59e0k0l7312dfmb0?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "sympathy",
"original_name": "sympathy",
"red_id": "2156813228_YQ",
"userid": "a027645f0cb4c9f01298325ec6c28"
}
},
{
"at_users": [],
"biz_label": {
"group_invite": "false",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 2,
"content": "去吃奶糖,16天而已![微笑R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "6a62ea0a000000002a004f79",
"invalid": false,
"like_count": 5,
"liked": false,
"media_source_type": 0,
"note_id": "6a59e720000000000f033247",
"pictures": [
{
"box_h": 120,
"box_w": 120,
"file_id": "",
"height": 1440,
"meme_package": {
"height": 1080,
"image_url": "http://sns-img-qc.xhscdn.com/comment/1040g2h0323099bag7k205qgk0mj0g304sv8g8dg?imageView2/2/h/1080/format/webp",
"width": 810
},
"origin_url": "https://sns-i11.rednotecdn.com/comment/1040g2h0323099bag7k205qgk0mj0g304sv8g8dg?imageView2/2/w/1280/format/webp&ap=4&sc=CMT_DTL&sign=de36647f680c73f895a2cbc8d48708cf&t=6ac5ef85",
"url": "https://sns-i11.rednotecdn.com/comment/1040g2h0323099bag7k205qgk0mj0g304sv8g8dg?imageView2/2/w/360/format/webp&ap=4&sc=CMT_PRV&sign=de36647f680c73f895a2cbc8d48708cf&t=6ac5ef85",
"width": 1080
},
{
"box_h": 120,
"box_w": 120,
"file_id": "",
"height": 1440,
"meme_package": {
"height": 1080,
"image_url": "http://sns-img-qc.xhscdn.com/comment/1040g2h0323099bag7k2g5qgk0mj0g304vkv8p2g?imageView2/2/h/1080/format/webp",
"width": 810
},
"origin_url": "https://sns-i11.rednotecdn.com/comment/1040g2h0323099bag7k2g5qgk0mj0g304vkv8p2g?imageView2/2/w/1280/format/webp&ap=4&sc=CMT_DTL&sign=8c0ff4e7bcb5f89dada5e9f4d989385c&t=6ac5ef85",
"url": "https://sns-i11.rednotecdn.com/comment/1040g2h0323099bag7k2g5qgk0mj0g304vkv8p2g?imageView2/2/w/360/format/webp&ap=4&sc=CMT_PRV&sign=8c0ff4e7bcb5f89dada5e9f4d989385c&t=6ac5ef85",
"width": 1080
}
],
"relatable_to_note": false,
"score": 5,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"sub_comment_count": 4,
"sub_comment_cursor": "{\"cursor\":\"6a63364a000000002901bb3e\",\"index\":1}",
"sub_comments": [
{
"at_users": [],
"biz_label": {
"group_invite": "false",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "是只吃糖嘛姐妹[皱眉R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "6a63364a000000002901bb3e",
"like_count": 2,
"liked": false,
"note_id": "6a59e720000000000f033247",
"relatable_to_note": false,
"score": -2,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"target_comment": {
"id": "6a62ea0a000000002a004f79",
"status": 0,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo324tbsim8ju005qgk0mj0g304jpis83g?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "顺其自然📕",
"red_id": "26403753812",
"userid": "a07bee1c496a8eb9a0d78503f7315"
}
},
"time": 1784886859,
"translation_strategy": 9,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo31dvhag7g10005o65qcfg9b4mhsal4v0?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "泪吻",
"original_name": "泪吻",
"red_id": "9567399858",
"userid": "aa871bfe9d5f46e6d5e72d120303d"
}
}
],
"time": 1784867339,
"track_id": "interaction-service.local",
"translation_strategy": 9,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo324tbsim8ju005qgk0mj0g304jpis83g?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "顺其自然📕",
"original_name": "顺其自然📕",
"red_id": "26403753812",
"userid": "a07bee1c496a8eb9a0d78503f7315"
}
},
"… 7 more items in the full response"
],
"current_sort_strategy": "like_count",
"cursor": "{\"contextId\":\"3a145ab1c53e4cbda19c1dc4e0cd8a38\",\"cursor\":\"6a995e2b00000000150030fe\",\"index\":2,\"pageArea\":\"ALL\"}",
"has_more": true,
"page_context": "{\"highlight\":[\"信奶糖\"],\"exposed_l1_ids\":\"6a7006e4000000001500a809,6a7abe32000000001c01278a,6a62ea0a000000002a004f79,6a76ba420000000007016904,6a80058b000000002b024fb4,6a7167c3000000000802fd74,6a6eebf8000000002b00053c,6a68bf090000000029035999,6a642728000000000b0398cf,6a995e2b00000000150030fe\"}",
"user_id": "6a487df5000000000f038400"
},
"debug_id": "903eefbc",
"debug_info": "gAAAAABqxe-G6qIgVU7M2oVCEicxYiZb8WHsnWWcP-ikXCLV4cWN47OR3xqEUAzUO0X6GR-a9jyP0CCd9OTVrbiDJmpRDYEw9bNZ14WoS8v8cF67_udArhXisWC9rYB4CYHjs3yH40qnFkQqtv-o07FtvXmpu9Qu-cIu3wmmC6Rv_mosHYStzhrXSjHxkkezhKTZdQa4-0sEzUXuHFuGszExP34QiGrEa8cF60_JV-XVfNX3vfSiAt3vApuU_0jYqFRseu0feEJdVY1n1oii6-Lx2MwKSbnVuvAuyjd2EjmQFvGTY_pDw9l3Q4Fnk-nZAL3R-bLOmZrXaFwfOeEg7Mceafs6xIfpez-RbtMNtBtdMP5bCXPoF4eeAywC74XdwitqH6lWxEt9M4e6GQ-BecMBVRP4ZWvwMOY573_nVfOv_6zYUpJVzec=",
"msg": "",
"success": true
}
}
]Explore more
| API | Price | Response |
|---|---|---|
Xiaohongshu (RED) Note CommentsThis API Xiaohongshu | $0.01 per call | JSON |
Xiaohongshu | $0.01 per call | JSON |
Xiaohongshu | $0.01 per call | JSON |
Xiaohongshu | $0.01 per call | JSON |
Xiaohongshu | $0.01 per call | JSON |
Xiaohongshu | $0.01 per call | JSON |
Questions
Send a POST request to https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/note-comments with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
No parameters are required. Optional: cursor (string), index (integer), note_id (string), pageArea (string), share_text (string) and sort_strategy (string). The Parameters table and the Playground on this page list every field.
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
No. Xiaohongshu (RED) Note Comments runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Xiaohongshu API access separately.
No. Select the intended note using note_id or the supported share_text alternative. Product reviews and creator profiles are separate APIs. The first-request tutorial uses a known note_id and does not automatically choose a note from search.
Use an empty string cursor, integer index 0 and pageArea UNFOLDED. The schema defaults sort_strategy to latest_v2, while a saved example may use another documented strategy. Check the request and returned current_sort_strategy; stop after one page in this tutorial.
Do not assume that is sufficient. The reference also describes matching index and pageArea for continuation; trimmed samples may omit state. This update does not verify continuation, reconstruct missing values or run a pagination loop. One page and nested previews are not a complete discussion.