note_idstringobbligatorio
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
}
}
]Seleziona un esempio per caricare i suoi input e il risultato nel 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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
note_idstringobbligatorioNote ID, can be obtained from the sharing link of Xiaohongshu
xsec_tokenstringobbligatorioSecurity token, can be obtained from the sharing link of Xiaohongshu
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
[
{
"data": {
"code": 300031,
"data": null,
"msg": "当前笔记暂时无法浏览",
"ok": true,
"success": false
}
}
]Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Xiaohongshu (RED) Web Note DetailsQuesta API Xiaohongshu | $0.01 per chiamata | JSON |
Xiaohongshu | $0.01 per chiamata | JSON |
Xiaohongshu | $0.01 per chiamata | JSON |
Xiaohongshu | $0.01 per chiamata | JSON |
Xiaohongshu | $0.01 per chiamata | JSON |
Xiaohongshu | $0.01 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/note-detail con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.01 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: note_id (string) e xsec_token (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona).
No. Xiaohongshu (RED) Web Note Details funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Xiaohongshu.