Xiaohongshu comment replies by note and comment id
tikhub.x.xiaohongshu-app-v2-get-note-sub-commentsXiaohongshu: get note sub comments (app_v2)
- Price
- $0.01/successAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.xiaohongshu-app-v2-get-note-sub-comments?index=1¬e_id=699916e6000000001d0253da&comment_id=699fb9930000000008030db6&share_text=http%3A%2F%2Fxhslink.com%2Fo%2F8GqargIxrkoPreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
index | integer | Optional | Pagination index, pass 1 for first request, extract index from $.data.cursor for next page | 1 |
cursor | string | Optional | Pagination cursor, leave empty for first request, extract cursor from $.data.cursor for next page | |
note_id | string | Optional | Note ID | 699916e6000000001d0253da |
comment_id | string | Required | Parent comment ID | 699fb9930000000008030db6 |
share_text | string | Optional | Share link | http://xhslink.com/o/8GqargIxrko |
- Query parameters
indexintegerOptionalPagination index, pass 1 for first request, extract index from $.data.cursor for next page
Example:
1cursorstringOptionalPagination cursor, leave empty for first request, extract cursor from $.data.cursor for next page
note_idstringOptionalNote ID
Example:
699916e6000000001d0253dacomment_idstringRequiredParent comment ID
Example:
699fb9930000000008030db6share_textstringOptionalShare link
Example:
http://xhslink.com/o/8GqargIxrko
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.xiaohongshu-app-v2-get-note-sub-comments?index=1¬e_id=699916e6000000001d0253da&comment_id=699fb9930000000008030db6&share_text=http%3A%2F%2Fxhslink.com%2Fo%2F8GqargIxrko' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.xiaohongshu-app-v2-get-note-sub-comments?index=1¬e_id=699916e6000000001d0253da&comment_id=699fb9930000000008030db6&share_text=http%3A%2F%2Fxhslink.com%2Fo%2F8GqargIxrko",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.xiaohongshu-app-v2-get-note-sub-comments?index=1¬e_id=699916e6000000001d0253da&comment_id=699fb9930000000008030db6&share_text=http%3A%2F%2Fxhslink.com%2Fo%2F8GqargIxrko", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.01/success, including the service fee.