noteIdstringobbligatorio
Note's unique ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/note-id-detailGet Xiaohongshu Pugongying details for a known note ID. Use it to review an individual note during creator or campaign research.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Returns details for one Xiaohongshu note listed on the Pugongying (PGY) platform. The response covers the note text, engagement counts, images or video, the linked brand, and a summary of the creator who posted it. It needs one input, noteId.
reportBrandName and reportBrandUserId.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/note-id-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"noteId": "6abccf9c000000000a02609a"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
noteId | string | Yes | Note's unique ID. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"agentName": null,
"atUserList": null,
"cmtNum": 7311,
"compClickData": {
"commentTag": null,
"content": "较高",
"engage": "-",
"hover": "正常:0-2%,较高:2%-10%,极高:10%+",
"noteBottom": "-",
"noteComment": "-"
},
"content": "晚上好啊宝宝们,最近换季加上熬夜,皮肤真的状况百出。今天收工赶紧来分享我的“回春”神器2.0版,就是百雀羚灵玉面霜!\n淡淡花香超治愈,走的是中式养肤路线,由内养…",
"contentItemList": null,
"createTime": "2026-10-08 11:09",
"favNum": 25405,
"featureTags": null,
"followCnt": 10935,
"goodCaseCollect": false,
"headPhoto": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo32206nlg5n2004a17jb2vl5roop6fpu0…"
}
| Field | Meaning |
|---|---|
title / content | Title and body text of the note. Long body text may contain hashtags such as #百雀羚灵玉面霜[话题]#. |
likeNum / favNum / cmtNum / shareNum | Counts of likes, saves (favorites), comments and shares on the note. |
readNum / impNum | Read count and impression count for the note. |
compClickData.content / compClickData.hover | A rating label for the note (here 较高) and the hover text that explains the bands: normal 0-2%, higher 2%-10%, very high 10%+. |
reportBrandName / reportBrandUserId | Name and user ID of the brand reported for this note. |
time.createTime / time.updateTime | Timestamps in milliseconds since the Unix epoch. createTime at the top level is the same moment as a formatted string. |
userInfo.nickName / userInfo.userId / userInfo.fansNum | Name, user ID and follower count of the creator who posted the note. |
userInfo.videoPrice / userInfo.picturePrice | Prices listed for this creator for video notes and image notes. |
imagesList[].url | Image URL for each image in the note, with width and height in pixels. |
videoInfo.videoUrl / videoInfo.meta.duration | Direct URL of the video file and its metadata. The URL carries a sign and t query parameter. |
noteId is a 24-character hex string, like 6abccf9c000000000a02609a. It also appears in noteLink.noteLink is a full note URL that includes an xsec_token.userInfo.userId with Xiaohongshu Pugongying Creator Profile.$0.021429 per successful call. Failed calls 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/pgy-v2/note-id-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"noteId": "6abccf9c000000000a02609a"
}'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.
noteIdstringobbligatorioNote's unique ID.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Xiaohongshu Pugongying Note DetailsQuesta API Xiaohongshu | $0.021429 per chiamata | JSON |
Xiaohongshu | $0.021429 per chiamata | JSON |
Xiaohongshu | $0.071429 per chiamata | JSON |
Xiaohongshu | $0.021429 per chiamata | JSON |
Xiaohongshu | $0.021429 per chiamata | JSON |
Xiaohongshu | $0.021429 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/note-id-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.021429 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: noteId (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Xiaohongshu Pugongying 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.