APISocial MediaData

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...
USE THIS API

Xiaohongshu (RedNote) Comment Replies API (V2)

Prepare your request, then continue with your agent.

Selected price

$0.023077 / call

Provider
Pricing
Connect your agent
On this page

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Unique note identifier on Xiaohongshu.
Unique comment identifier on Xiaohongshu.
Pagination cursor from the previous page (use the cursor value returned by the last response).

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"
    }
  }
]
cursorJSON string · parsed preview
data.cursor
{
  "cursor": "65bf662f0000000008017f77",
  "index": 2
}
"has_more": true
page_contextJSON string · parsed preview
data.page_context
{
  "highlight": [
    "抬头蛙"
  ]
}
"message": null
"recordTime": null

Response result

Response structure

Inferred from examples
  • codeinteger
  • dataobject
    • commentsobject[]
      • at_usersunknown[]
      • biz_labelobject
        • group_invitestring
        • product_reviewboolean
        • rich_textstring
      • collectedboolean
      • comment_typeinteger
      • contentstring
      • downvotedboolean
      • friend_liked_msgstring
      • hiddenboolean
      • idstring
      • like_countinteger
      • likedboolean
      • note_idstring
      • scoreinteger
      • share_strategyinteger
      • show_tagsunknown[]
      • show_tags_v2unknown[]
      • show_typestring
      • statusinteger
      • target_commentobject
        • idstring
        • statusinteger
        • userobject
          • additional_tagsobject
          • ai_agentboolean
          • current_userstring
          • imagesstring
          • levelobject
            • imagestring
          • nicknamestring
          • red_idstring
          • useridstring
      • timeinteger
      • translation_strategyinteger
      • userobject
        • additional_tagsobject
        • ai_agentboolean
        • current_userstring
        • imagesstring
        • levelobject
          • imagestring
        • nicknamestring
        • red_idstring
        • useridstring
    • cursorstring
    • has_moreboolean
    • page_contextstring
  • messagenull
  • recordTimenull

Sellers

SellerPricingRequests · 30dPerformanceAccess
justoneapiCurrent
Xiaohongshu (RedNote) Comment Replies API (V2) · GET · View API reference
$0.023077 / call—
—successP50—
Loading...
Selected pricing · justoneapiUSD / call
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.

calls

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&noteId=%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.

ParameterLocationTypeRequiredDescription
noteIdURL query parametersquerystringYesUnique note identifier on Xiaohongshu.
commentIdURL query parametersquerystringYesUnique comment identifier on Xiaohongshu.
lastCursorURL query parametersquerystringNoPagination 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
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&noteId=%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

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

官方文档示例

Published documentation example. Verify the actual response after an approved call.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-note-sub-comment/v2?commentId=%3CREPLACE_COMMENTID%3E&noteId=%3CREPLACE_NOTEID%3E' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. 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
    }

Loading related APIs…

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Xiaohongshu (RedNote) Comment Replies API (V2) with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.