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/successPelo preço do provedor
- Success rate
- —Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
- Latency p50
- ——
- Last verified
- 28 de jul. de 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 onlineEm breveProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
index | inteiro | Opcional | Pagination index, pass 1 for first request, extract index from $.data.cursor for next page | 1 |
cursor | string | Opcional | Pagination cursor, leave empty for first request, extract cursor from $.data.cursor for next page | |
note_id | string | Opcional | Note ID | 699916e6000000001d0253da |
comment_id | string | Obrigatório | Parent comment ID | 699fb9930000000008030db6 |
share_text | string | Opcional | Share link | http://xhslink.com/o/8GqargIxrko |
- Parâmetros de consulta
indexinteiroOpcionalPagination index, pass 1 for first request, extract index from $.data.cursor for next page
Exemplo:
1cursorstringOpcionalPagination cursor, leave empty for first request, extract cursor from $.data.cursor for next page
note_idstringOpcionalNote ID
Exemplo:
699916e6000000001d0253dacomment_idstringObrigatórioParent comment ID
Exemplo:
699fb9930000000008030db6share_textstringOpcionalShare link
Exemplo:
http://xhslink.com/o/8GqargIxrko
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no 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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.01/success, incluindo a taxa de serviço.