noteIdstringrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
noteIdstringrequeridoNote's unique ID.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Xiaohongshu | $0.021429 por llamada | JSON |
Xiaohongshu | $0.021429 por llamada | JSON |
Xiaohongshu | $0.071429 por llamada | JSON |
Xiaohongshu | $0.021429 por llamada | JSON |
Xiaohongshu | $0.021429 por llamada | JSON |
Xiaohongshu | $0.021429 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/note-id-detail con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.021429 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: noteId (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Xiaohongshu Pugongying Note Details funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Xiaohongshu por separado.