note_idstringobrigatório
Note ID, can be obtained from the sharing link of Xiaohongshu
https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/note-detailReturns detailed information for a specific Xiaohongshu note using its identifier and security token obtained from a web share link.
[
{
"data": {
"code": 300031,
"data": null,
"msg": "当前笔记暂时无法浏览",
"ok": true,
"success": false
}
}
]Selecione um exemplo para carregar as entradas e o resultado no playground.
Retrieve detailed note data from Xiaohongshu by providing the note_id and corresponding xsec_token.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/note-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"note_id": "6a2f423d000000001003cb36", "xsec_token": "ABtexB6bX5HgLD42SFrK1scGUmSO8YV5_isaLrDy9sLxQ="}'
| Name | Type | Required | Description |
|---|---|---|---|
note_id | string | Yes | Note ID, can be obtained from the sharing link of Xiaohongshu |
xsec_token | string | Yes | Security token, can be obtained from the sharing link of Xiaohongshu |
note_id and xsec_token can be extracted directly from a Xiaohongshu share link.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/note-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"note_id": "example",
"xsec_token": "example"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
note_idstringobrigatórioNote ID, can be obtained from the sharing link of Xiaohongshu
xsec_tokenstringobrigatórioSecurity token, can be obtained from the sharing link of Xiaohongshu
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
[
{
"data": {
"code": 300031,
"data": null,
"msg": "当前笔记暂时无法浏览",
"ok": true,
"success": false
}
}
]Explorar mais
| API | Preço | Resposta |
|---|---|---|
Xiaohongshu | $0.01 por chamada | JSON |
Xiaohongshu | $0.01 por chamada | JSON |
Xiaohongshu | $0.01 por chamada | JSON |
Xiaohongshu | $0.01 por chamada | JSON |
Xiaohongshu | $0.01 por chamada | JSON |
Xiaohongshu | $0.01 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/note-detail com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.01 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: note_id (string) e xsec_token (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona).
Não. Xiaohongshu (RED) Web Note Details funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Xiaohongshu separadamente.