noteIdstringобязательно
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.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
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.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
noteIdstringобязательноNote's unique ID.
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Xiaohongshu | $0.021429 за запрос | JSON |
Xiaohongshu | $0.021429 за запрос | JSON |
Xiaohongshu | $0.071429 за запрос | JSON |
Xiaohongshu | $0.021429 за запрос | JSON |
Xiaohongshu | $0.021429 за запрос | JSON |
Xiaohongshu | $0.021429 за запрос | JSON |
Руководства:Best Xiaohongshu API in 2026: Pricing Compared
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/note-id-detail, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.021429 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: noteId (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Xiaohongshu Pugongying Note Details работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Xiaohongshu.