Xiaohongshu (RED) Note Comments
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.
- Price
- Free
- Method
- POST
- Response
- JSON
- Parameters
- 0 required · 6 optional
Try the model
Playground
[
{
"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",Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- Free
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- cursor
- string · optional
- index
- integer · optional
- note_id
- string · optional
- pageArea
- string · optional
- share_text
- string · optional
- sort_strategy
- string · optional
Access
- Provider
- Xiaohongshu
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/xiaohongshu/app-v2/note-comments
- Authentication
- Bearer API key
API README
Xiaohongshu (RED) Note Comments API
Pass a Xiaohongshu note ID (or a share link) and get its comments.
Use cases
- Analyze consumer feedback on products.
- Find questions and pain points in comments.
- Monitor comments on brand notes.
Request
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"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
index | integer | No | Comment index, pass 0 for first request, pass index value from previous response for next page |
cursor | string | No | Pagination cursor, leave empty for first request, pass cursor 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 |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"data": {
"cursor": "<cursor>",
"has_more": true,
"comments": [
{
"id": "69cb9fa90000000015001832",
"note_id": "697c0eee000000000a03c308",
"time": 1774952362,
"like_count": 0,
"sub_comment_count": 0,
"content": "想起来一部纪录片,忘了名字🧐",
"user": {
"nickname": "<user>"
}
}
]
}
}
Notes
- Paginate with
cursor,indexandpageAreafrom the previous response.
Related APIs
- Xiaohongshu (RED) Note Search: Search Xiaohongshu (RED / Little Red Book) notes by keyword and get titles, authors, cover images and like, collect, comment and share counts, with sort, note-…
- Get creator hot inspiration feed: Get creator center hot inspiration feed, using cursor pagination.
- Get creator inspiration feed: Get creator center recommended inspiration feed, using cursor pagination.
Start building
Send your first request
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"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Xiaohongshu (RED) Note CommentsThis API Xiaohongshu | Free | JSON | Jul 31, 2026 |
Xiaohongshu | Free | JSON | Jul 31, 2026 |
Xiaohongshu | Free | JSON | Jul 31, 2026 |
Xiaohongshu | Free | JSON | Jul 31, 2026 |
Xiaohongshu | Free | JSON | Jul 31, 2026 |
Xiaohongshu | Free | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Xiaohongshu (RED) Note Comments API?
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.
How much does the Xiaohongshu (RED) Note Comments API cost?
Xiaohongshu (RED) Note Comments is free to call on SandBase. You only need a SandBase account and API key.
What parameters does the Xiaohongshu (RED) Note Comments API accept?
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.
What does the Xiaohongshu (RED) Note Comments API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Xiaohongshu developer account or API key?
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.
