Xiaohongshu (RedNote) Get note sub comments API
Get Xiaohongshu (RedNote / 小红书) Get note sub comments data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 2 implementations (JustOneAPI and TikHub), pass parameters such as commentId, noteId, and retrieve structured data including business status code, pagination cursor, continuation flag, content, and identifier for content research and account lookup, and integration reference.
- Selected price
- $0.023077 / callPublished pricing
- Sellers / APIs
- 2 / 2
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Xiaohongshu (RedNote) Get note sub comments API
Prepare your request, then continue with your agent.
Selected price
$0.023077 / call
- Provider
- API
- Pricing
On this page
Overview
Xiaohongshu (RedNote) Comment Replies (V2) API
Retrieve replies to a specific Xiaohongshu (RedNote) note comment with cursor pagination. Provide noteId in query, commentId in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | query: noteId, commentId, lastCursor |
| Selected implementation | justoneapi · Xiaohongshu (RedNote) Comment Replies API (V2) |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Content research and account lookup: Keep source records connected to their content and account identifiers.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
code |
Business status code |
data.cursor |
Pagination cursor |
data.has_more |
Continuation flag |
data.comments[].content |
Content |
data.comments[].id |
Identifier |
data.comments[].status |
Reported status |
data.comments[].at_users |
Returned at users field |
data.comments[].biz_label |
Returned biz label field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
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'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published Xiaohongshu (RedNote) Comment Replies (V2) API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
Current Xiaohongshu (RedNote) Comment Replies API (V2) · GET · View API reference | $0.023077 / call | 0 | —successP50— | |
| Get note sub comments · GET · View API reference | $0.01 / call | —Select to load statistics | —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: 6. 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
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.
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
Agent integration
Copy the resource contract without sharing an API key.
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 }