noteIdstringobrigatório
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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
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/pgy-v2/note-id-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"noteId": "6abccf9c000000000a02609a"
}'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.
noteIdstringobrigatórioNote's unique ID.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Xiaohongshu | $0.021429 por chamada | JSON |
Xiaohongshu | $0.021429 por chamada | JSON |
Xiaohongshu | $0.071429 por chamada | JSON |
Xiaohongshu | $0.021429 por chamada | JSON |
Xiaohongshu | $0.021429 por chamada | JSON |
Xiaohongshu | $0.021429 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/note-id-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.021429 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: noteId (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). O README desta página inclui um exemplo de resposta.
Não. Xiaohongshu Pugongying 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.