Xiaohongshu (RedNote) Comment Replies API (V2)
Retrieve replies to a specific Xiaohongshu (RedNote) note comment with cursor pagination. Supply a note ID and a comment ID. Sample fields include comments and like counts. Surface recurring topics and audience feedback. The GET request schema also lists noteId, commentId, lastCursor.
- Selected price
- $0.023077 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Xiaohongshu (RedNote) Comment Replies API (V2)
Prepare your request, then continue with your agent.
Selected price
$0.023077 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
codeintegerdataobjectcommentsobject[]at_usersunknown[]biz_labelobjectgroup_invitestringproduct_reviewbooleanrich_textstring
collectedbooleancomment_typeintegercontentstringdownvotedbooleanfriend_liked_msgstringhiddenbooleanidstringlike_countintegerlikedbooleannote_idstringscoreintegershare_strategyintegershow_tagsunknown[]show_tags_v2unknown[]show_typestringstatusintegertarget_commentobjectidstringstatusintegeruserobjectadditional_tagsobjectai_agentbooleancurrent_userstringimagesstringlevelobjectimagestring
nicknamestringred_idstringuseridstring
timeintegertranslation_strategyintegeruserobjectadditional_tagsobjectai_agentbooleancurrent_userstringimagesstringlevelobjectimagestring
nicknamestringred_idstringuseridstring
cursorstringhas_morebooleanpage_contextstring
messagenullrecordTimenull
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
code?: number;
data?: {
comments?: Array<{
at_users?: Array<unknown>;
biz_label?: {
group_invite?: string;
product_review?: boolean;
rich_text?: string;
};
collected?: boolean;
comment_type?: number;
content?: string;
downvoted?: boolean;
friend_liked_msg?: string;
hidden?: boolean;
id?: string;
like_count?: number;
liked?: boolean;
note_id?: string;
score?: number;
share_strategy?: number;
show_tags?: Array<unknown>;
show_tags_v2?: Array<unknown>;
show_type?: string;
status?: number;
target_comment?: {
id?: string;
status?: number;
user?: {
additional_tags?: Record<string, unknown>;
ai_agent?: boolean;
current_user?: string;
images?: string;
level?: {
image?: string;
};
nickname?: string;
red_id?: string;
userid?: string;
};
};
time?: number;
translation_strategy?: number;
user?: {
additional_tags?: Record<string, unknown>;
ai_agent?: boolean;
current_user?: string;
images?: string;
level?: {
image?: string;
};
nickname?: string;
red_id?: string;
userid?: string;
};
}>;
cursor?: string;
has_more?: boolean;
page_context?: string;
};
message?: null;
recordTime?: null;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
justoneapiCurrent Xiaohongshu (RedNote) Comment Replies API (V2) · GET · View API reference | $0.023077 / call | — | —successP50— |
- Unit price
- $0.023077
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.
Total $2.3077
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-note-sub-comment/v2- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-note-sub-comment/v2?commentId=%3CREPLACE_COMMENTID%3E¬eId=%3CREPLACE_NOTEID%3E' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
noteId | URL query parametersquery | string | Yes | Unique note identifier on Xiaohongshu. |
commentId | URL query parametersquery | string | Yes | Unique comment identifier on Xiaohongshu. |
lastCursor | URL query parametersquery | string | No | Pagination cursor from the previous page (use the cursor value returned by the last response). |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
{
"code": 0,
"data": {
"comments": [
{
"at_users": [],
"biz_label": {
"group_invite": "unknown",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "估计又系个假号[笑哭R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "65bf6392000000000800b405",
"like_count": 161,
"liked": false,
"note_id": "65bf5360000000002c03f684",
"score": 0,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 3,
"target_comment": {
"id": "65bf56d3000000000803f4ec",
"status": 0,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo30rmoae6j2g5g5o6poeg08lrqd2p83no?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "豪",
"red_id": "9530496503",
"userid": "a73af894e4b6614cabb72439b6a4e"
}
},
"time": 1707041682,
"translation_strategy": 10,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3205fu7edis605nre2evg8uucrsh38go?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "榴莲在摩天轮",
"red_id": "371915976",
"userid": "ab4862d4072fc5e72c2a00d06a181"
}
},
{
"at_users": [],
"biz_label": {
"group_invite": "unknown",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "别胡说吧…去年媒体当面采访还问她为什么开小红书,她也说之前答应了粉丝要开的…本人都官宣的号怎么到你这里就变假号了[石化R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "65bf659700000000080142ec",
"like_count": 44,
"liked": false,
"note_id": "65bf5360000000002c03f684",
"score": 0,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"target_comment": {
"id": "65bf6392000000000800b405",
"status": 3,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3205fu7edis605nre2evg8uucrsh38go?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "榴莲在摩天轮",
"red_id": "371915976",
"userid": "ab4862d4072fc5e72c2a00d06a181"
}
},
"time": 1707042199,
"translation_strategy": 10,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo316u8dgg50o005odpdq9417mfgt60vuo?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "喜欢唱跳rap写信",
"red_id": "1635985618",
"userid": "a44f0a0a7686e58ef02449cfef548"
}
},
{
"at_users": [],
"biz_label": {
"group_invite": "unknown",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "你自己搜下有几个咯[微笑R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "65bf65dc000000000803286b",
"like_count": 2,
"liked": false,
"note_id": "65bf5360000000002c03f684",
"score": 0,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 3,
"target_comment": {
"id": "65bf659700000000080142ec",
"status": 0,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo316u8dgg50o005odpdq9417mfgt60vuo?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "喜欢唱跳rap写信",
"red_id": "1635985618",
"userid": "a44f0a0a7686e58ef02449cfef548"
}
},
"time": 1707042268,
"translation_strategy": 10,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3205fu7edis605nre2evg8uucrsh38go?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "榴莲在摩天轮",
"red_id": "371915976",
"userid": "ab4862d4072fc5e72c2a00d06a181"
}
},
{
"at_users": [],
"biz_label": {
"group_invite": "unknown",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "她打tag也写了美斯啊…而且正文写梅西没问题吧?迁就内地广东以外的网友",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "65bf65ff000000000803cfe8",
"like_count": 40,
"liked": false,
"note_id": "65bf5360000000002c03f684",
"score": 0,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"target_comment": {
"id": "65bf56d3000000000803f4ec",
"status": 0,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo30rmoae6j2g5g5o6poeg08lrqd2p83no?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "豪",
"red_id": "9530496503",
"userid": "a73af894e4b6614cabb72439b6a4e"
}
},
"time": 1707042303,
"translation_strategy": 10,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo316u8dgg50o005odpdq9417mfgt60vuo?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "喜欢唱跳rap写信",
"red_id": "1635985618",
"userid": "a44f0a0a7686e58ef02449cfef548"
}
},
{
"at_users": [],
"biz_label": {
"group_invite": "unknown",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "拜托她就这一个小红书号…你看到有好几个吗?",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "65bf662f0000000008017f77",
"like_count": 7,
"liked": false,
"note_id": "65bf5360000000002c03f684",
"score": 0,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"target_comment": {
"id": "65bf65dc000000000803286b",
"status": 3,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3205fu7edis605nre2evg8uucrsh38go?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "榴莲在摩天轮",
"red_id": "371915976",
"userid": "ab4862d4072fc5e72c2a00d06a181"
}
},
"time": 1707042351,
"translation_strategy": 10,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo316u8dgg50o005odpdq9417mfgt60vuo?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "喜欢唱跳rap写信",
"red_id": "1635985618",
"userid": "a44f0a0a7686e58ef02449cfef548"
}
}
],
"cursor": "{\"cursor\":\"65bf662f0000000008017f77\",\"index\":2}",
"has_more": true,
"page_context": "{\"highlight\":[\"抬头蛙\"]}"
},
"message": null,
"recordTime": null
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Xiaohongshu (RedNote) Comment Replies API (V2)
Retrieve replies to a specific Xiaohongshu (RedNote) note comment with cursor pagination. Supply a note ID and a comment ID. Sample fields include comments and like counts. Surface recurring topics and audience feedback. The GET request schema also lists noteId, commentId, lastCursor.
Documentation: https://openany.si/apis/a30e60e9-7165-436a-b8fe-136f77a04912
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-note-sub-comment/v2
Price: $0.023077 / call
Provider: justoneapi
Contract revision: 5
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-note-sub-comment/v2?commentId=%3CREPLACE_COMMENTID%3E¬eId=%3CREPLACE_NOTEID%3E' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Xiaohongshu (RedNote) Comment Replies API (V2)",
"endpoint": "https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-note-sub-comment/v2",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Unique note identifier on Xiaohongshu.",
"location": "query",
"name": "noteId",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Unique comment identifier on Xiaohongshu.",
"location": "query",
"name": "commentId",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Pagination cursor from the previous page (use the cursor value returned by the last response).",
"location": "query",
"name": "lastCursor",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "23077",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "官方文档示例",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"commentId": "<REPLACE_COMMENTID>",
"noteId": "<REPLACE_NOTEID>"
}
},
"response_body": {
"code": 0,
"data": {
"comments": [
{
"at_users": [],
"biz_label": {
"group_invite": "unknown",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "估计又系个假号[笑哭R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "65bf6392000000000800b405",
"like_count": 161,
"liked": false,
"note_id": "65bf5360000000002c03f684",
"score": 0,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 3,
"target_comment": {
"id": "65bf56d3000000000803f4ec",
"status": 0,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo30rmoae6j2g5g5o6poeg08lrqd2p83no?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "豪",
"red_id": "9530496503",
"userid": "a73af894e4b6614cabb72439b6a4e"
}
},
"time": 1707041682,
"translation_strategy": 10,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3205fu7edis605nre2evg8uucrsh38go?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "榴莲在摩天轮",
"red_id": "371915976",
"userid": "ab4862d4072fc5e72c2a00d06a181"
}
},
{
"at_users": [],
"biz_label": {
"group_invite": "unknown",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "别胡说吧…去年媒体当面采访还问她为什么开小红书,她也说之前答应了粉丝要开的…本人都官宣的号怎么到你这里就变假号了[石化R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "65bf659700000000080142ec",
"like_count": 44,
"liked": false,
"note_id": "65bf5360000000002c03f684",
"score": 0,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"target_comment": {
"id": "65bf6392000000000800b405",
"status": 3,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3205fu7edis605nre2evg8uucrsh38go?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "榴莲在摩天轮",
"red_id": "371915976",
"userid": "ab4862d4072fc5e72c2a00d06a181"
}
},
"time": 1707042199,
"translation_strategy": 10,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo316u8dgg50o005odpdq9417mfgt60vuo?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "喜欢唱跳rap写信",
"red_id": "1635985618",
"userid": "a44f0a0a7686e58ef02449cfef548"
}
},
{
"at_users": [],
"biz_label": {
"group_invite": "unknown",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "你自己搜下有几个咯[微笑R]",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "65bf65dc000000000803286b",
"like_count": 2,
"liked": false,
"note_id": "65bf5360000000002c03f684",
"score": 0,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 3,
"target_comment": {
"id": "65bf659700000000080142ec",
"status": 0,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo316u8dgg50o005odpdq9417mfgt60vuo?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "喜欢唱跳rap写信",
"red_id": "1635985618",
"userid": "a44f0a0a7686e58ef02449cfef548"
}
},
"time": 1707042268,
"translation_strategy": 10,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3205fu7edis605nre2evg8uucrsh38go?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "榴莲在摩天轮",
"red_id": "371915976",
"userid": "ab4862d4072fc5e72c2a00d06a181"
}
},
{
"at_users": [],
"biz_label": {
"group_invite": "unknown",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "她打tag也写了美斯啊…而且正文写梅西没问题吧?迁就内地广东以外的网友",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "65bf65ff000000000803cfe8",
"like_count": 40,
"liked": false,
"note_id": "65bf5360000000002c03f684",
"score": 0,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"target_comment": {
"id": "65bf56d3000000000803f4ec",
"status": 0,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo30rmoae6j2g5g5o6poeg08lrqd2p83no?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "豪",
"red_id": "9530496503",
"userid": "a73af894e4b6614cabb72439b6a4e"
}
},
"time": 1707042303,
"translation_strategy": 10,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo316u8dgg50o005odpdq9417mfgt60vuo?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "喜欢唱跳rap写信",
"red_id": "1635985618",
"userid": "a44f0a0a7686e58ef02449cfef548"
}
},
{
"at_users": [],
"biz_label": {
"group_invite": "unknown",
"product_review": false,
"rich_text": "unknown"
},
"collected": false,
"comment_type": 0,
"content": "拜托她就这一个小红书号…你看到有好几个吗?",
"downvoted": false,
"friend_liked_msg": "",
"hidden": false,
"id": "65bf662f0000000008017f77",
"like_count": 7,
"liked": false,
"note_id": "65bf5360000000002c03f684",
"score": 0,
"share_strategy": 0,
"show_tags": [],
"show_tags_v2": [],
"show_type": "common",
"status": 0,
"target_comment": {
"id": "65bf65dc000000000803286b",
"status": 3,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3205fu7edis605nre2evg8uucrsh38go?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "榴莲在摩天轮",
"red_id": "371915976",
"userid": "ab4862d4072fc5e72c2a00d06a181"
}
},
"time": 1707042351,
"translation_strategy": 10,
"user": {
"additional_tags": {},
"ai_agent": false,
"current_user": "false",
"images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo316u8dgg50o005odpdq9417mfgt60vuo?imageView2/2/w/120/format/jpg",
"level": {
"image": ""
},
"nickname": "喜欢唱跳rap写信",
"red_id": "1635985618",
"userid": "a44f0a0a7686e58ef02449cfef548"
}
}
],
"cursor": "{\"cursor\":\"65bf662f0000000008017f77\",\"index\":2}",
"has_more": true,
"page_context": "{\"highlight\":[\"抬头蛙\"]}"
},
"message": null,
"recordTime": null
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
官方文档示例
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 3
Review these request fields before running. Keep the published provider and request method unchanged.
noteId- Unique note identifier on Xiaohongshu.
commentId- Unique comment identifier on Xiaohongshu.
lastCursor- Pagination cursor from the previous page (use the cursor value returned by the last response).
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-note-sub-comment/v2?commentId=%3CREPLACE_COMMENTID%3E¬eId=%3CREPLACE_NOTEID%3E' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "code": 0, "data": { "comments": [ { "at_users": [], "biz_label": { "group_invite": "unknown", "product_review": false, "rich_text": "unknown" }, "collected": false, "comment_type": 0, "content": "估计又系个假号[笑哭R]", "downvoted": false, "friend_liked_msg": "", "hidden": false, "id": "65bf6392000000000800b405", "like_count": 161, "liked": false, "note_id": "65bf5360000000002c03f684", "score": 0, "share_strategy": 0, "show_tags": [], "show_tags_v2": [], "show_type": "common", "status": 3, "target_comment": { "id": "65bf56d3000000000803f4ec", "status": 0, "user": { "additional_tags": {}, "ai_agent": false, "current_user": "false", "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo30rmoae6j2g5g5o6poeg08lrqd2p83no?imageView2/2/w/120/format/jpg", "level": { "image": "" }, "nickname": "豪", "red_id": "9530496503", "userid": "a73af894e4b6614cabb72439b6a4e" } }, "time": 1707041682, "translation_strategy": 10, "user": { "additional_tags": {}, "ai_agent": false, "current_user": "false", "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3205fu7edis605nre2evg8uucrsh38go?imageView2/2/w/120/format/jpg", "level": { "image": "" }, "nickname": "榴莲在摩天轮", "red_id": "371915976", "userid": "ab4862d4072fc5e72c2a00d06a181" } }, { "at_users": [], "biz_label": { "group_invite": "unknown", "product_review": false, "rich_text": "unknown" }, "collected": false, "comment_type": 0, "content": "别胡说吧…去年媒体当面采访还问她为什么开小红书,她也说之前答应了粉丝要开的…本人都官宣的号怎么到你这里就变假号了[石化R]", "downvoted": false, "friend_liked_msg": "", "hidden": false, "id": "65bf659700000000080142ec", "like_count": 44, "liked": false, "note_id": "65bf5360000000002c03f684", "score": 0, "share_strategy": 0, "show_tags": [], "show_tags_v2": [], "show_type": "common", "status": 0, "target_comment": { "id": "65bf6392000000000800b405", "status": 3, "user": { "additional_tags": {}, "ai_agent": false, "current_user": "false", "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3205fu7edis605nre2evg8uucrsh38go?imageView2/2/w/120/format/jpg", "level": { "image": "" }, "nickname": "榴莲在摩天轮", "red_id": "371915976", "userid": "ab4862d4072fc5e72c2a00d06a181" } }, "time": 1707042199, "translation_strategy": 10, "user": { "additional_tags": {}, "ai_agent": false, "current_user": "false", "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo316u8dgg50o005odpdq9417mfgt60vuo?imageView2/2/w/120/format/jpg", "level": { "image": "" }, "nickname": "喜欢唱跳rap写信", "red_id": "1635985618", "userid": "a44f0a0a7686e58ef02449cfef548" } }, { "at_users": [], "biz_label": { "group_invite": "unknown", "product_review": false, "rich_text": "unknown" }, "collected": false, "comment_type": 0, "content": "你自己搜下有几个咯[微笑R]", "downvoted": false, "friend_liked_msg": "", "hidden": false, "id": "65bf65dc000000000803286b", "like_count": 2, "liked": false, "note_id": "65bf5360000000002c03f684", "score": 0, "share_strategy": 0, "show_tags": [], "show_tags_v2": [], "show_type": "common", "status": 3, "target_comment": { "id": "65bf659700000000080142ec", "status": 0, "user": { "additional_tags": {}, "ai_agent": false, "current_user": "false", "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo316u8dgg50o005odpdq9417mfgt60vuo?imageView2/2/w/120/format/jpg", "level": { "image": "" }, "nickname": "喜欢唱跳rap写信", "red_id": "1635985618", "userid": "a44f0a0a7686e58ef02449cfef548" } }, "time": 1707042268, "translation_strategy": 10, "user": { "additional_tags": {}, "ai_agent": false, "current_user": "false", "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3205fu7edis605nre2evg8uucrsh38go?imageView2/2/w/120/format/jpg", "level": { "image": "" }, "nickname": "榴莲在摩天轮", "red_id": "371915976", "userid": "ab4862d4072fc5e72c2a00d06a181" } }, { "at_users": [], "biz_label": { "group_invite": "unknown", "product_review": false, "rich_text": "unknown" }, "collected": false, "comment_type": 0, "content": "她打tag也写了美斯啊…而且正文写梅西没问题吧?迁就内地广东以外的网友", "downvoted": false, "friend_liked_msg": "", "hidden": false, "id": "65bf65ff000000000803cfe8", "like_count": 40, "liked": false, "note_id": "65bf5360000000002c03f684", "score": 0, "share_strategy": 0, "show_tags": [], "show_tags_v2": [], "show_type": "common", "status": 0, "target_comment": { "id": "65bf56d3000000000803f4ec", "status": 0, "user": { "additional_tags": {}, "ai_agent": false, "current_user": "false", "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo30rmoae6j2g5g5o6poeg08lrqd2p83no?imageView2/2/w/120/format/jpg", "level": { "image": "" }, "nickname": "豪", "red_id": "9530496503", "userid": "a73af894e4b6614cabb72439b6a4e" } }, "time": 1707042303, "translation_strategy": 10, "user": { "additional_tags": {}, "ai_agent": false, "current_user": "false", "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo316u8dgg50o005odpdq9417mfgt60vuo?imageView2/2/w/120/format/jpg", "level": { "image": "" }, "nickname": "喜欢唱跳rap写信", "red_id": "1635985618", "userid": "a44f0a0a7686e58ef02449cfef548" } }, { "at_users": [], "biz_label": { "group_invite": "unknown", "product_review": false, "rich_text": "unknown" }, "collected": false, "comment_type": 0, "content": "拜托她就这一个小红书号…你看到有好几个吗?", "downvoted": false, "friend_liked_msg": "", "hidden": false, "id": "65bf662f0000000008017f77", "like_count": 7, "liked": false, "note_id": "65bf5360000000002c03f684", "score": 0, "share_strategy": 0, "show_tags": [], "show_tags_v2": [], "show_type": "common", "status": 0, "target_comment": { "id": "65bf65dc000000000803286b", "status": 3, "user": { "additional_tags": {}, "ai_agent": false, "current_user": "false", "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo3205fu7edis605nre2evg8uucrsh38go?imageView2/2/w/120/format/jpg", "level": { "image": "" }, "nickname": "榴莲在摩天轮", "red_id": "371915976", "userid": "ab4862d4072fc5e72c2a00d06a181" } }, "time": 1707042351, "translation_strategy": 10, "user": { "additional_tags": {}, "ai_agent": false, "current_user": "false", "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo316u8dgg50o005odpdq9417mfgt60vuo?imageView2/2/w/120/format/jpg", "level": { "image": "" }, "nickname": "喜欢唱跳rap写信", "red_id": "1635985618", "userid": "a44f0a0a7686e58ef02449cfef548" } } ], "cursor": "{\"cursor\":\"65bf662f0000000008017f77\",\"index\":2}", "has_more": true, "page_context": "{\"highlight\":[\"抬头蛙\"]}" }, "message": null, "recordTime": null }