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/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/07/28Verified 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 online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
index | 整数 | 任意 | Pagination index, pass 1 for first request, extract index from $.data.cursor for next page | 1 |
cursor | 文字列 | 任意 | Pagination cursor, leave empty for first request, extract cursor from $.data.cursor for next page | |
note_id | 文字列 | 任意 | Note ID | 699916e6000000001d0253da |
comment_id | 文字列 | 必須 | Parent comment ID | 699fb9930000000008030db6 |
share_text | 文字列 | 任意 | Share link | http://xhslink.com/o/8GqargIxrko |
- クエリパラメータ
index整数任意Pagination index, pass 1 for first request, extract index from $.data.cursor for next page
例:
1cursor文字列任意Pagination cursor, leave empty for first request, extract cursor from $.data.cursor for next page
note_id文字列任意Note ID
例:
699916e6000000001d0253dacomment_id文字列必須Parent comment ID
例:
699fb9930000000008030db6share_text文字列任意Share link
例:
http://xhslink.com/o/8GqargIxrko
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.01/success です。サービス料を含みます。