user_idstringобязательно
Blogger user ID
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes-v2Get PGY blogger note cases v2 (cross-platform) on Xiaohongshu. Returns the platform data as structured JSON.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
Returns a paged list of note cases for one blogger on Xiaohongshu's PGY (Pugongying) creator platform. Each item has note metrics, a cover image URL and a short blogger summary. The only required input is the blogger's user_id.
noteInfo.isAdNote and noteInfo.cooperNote.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "5c668b3e0000000012021605", "page_number": 1, "page_size": 8, "note_type": 0, "order_type": 1}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Blogger user ID |
note_type | integer | No | Note type |
order_type | integer | No | Sort |
page_number | integer | No | Page number, from 1 |
page_size | integer | No | Page size, 1-8 (fixed at 8 on PGY web) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"highlightWords": [
"白菜"
],
"noteList": [
{
"brandInfo": null,
"noteInfo": {
"content": null,
"cooperNote": 0,
"engageNum": 154,
"favNum": 58,
"imageUrl": "http://ci.xiaohongshu.com/1040g2sg32701l0ef70705n36hcv4k5g5ti3p138?imageView2/2/…",
"impNum": 2249,
"isAdNote": 0,
"noteId": "6ae5be8f000000000e036b30"
},
"userInfo": {
"advertiserId": null,
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31hpod1vijs705n36hcv4k5g5f8fn40g…",
"clickMidNum": 1050,
"contentTags": [
{
"taxonomy1Tag": "美食",
"taxonomy2Tags": [
"美食探店"
]
}
],
"cooperType": 1,
"currentLevel": 2,
"fansNum": 10177,
"featureTags": [
"探店"
]
}
}
],
"total": 43,
"trackId": null
},
"guid": null,
"msg": "成功",
"success": true
}
| Field | Meaning |
|---|---|
data.noteList[].noteInfo.noteId | ID of the note. Use it to look up the note in other note APIs. |
data.noteList[].noteInfo.impNum | Impression count for the note. |
data.noteList[].noteInfo.engageNum / data.noteList[].noteInfo.favNum | Engagement count and favorite count for the note. |
data.noteList[].noteInfo.isAdNote / data.noteList[].noteInfo.cooperNote | Flags that mark whether the note is an ad or a cooperation note. The sample shows 0 for both. |
data.noteList[].noteInfo.imageUrl | URL of the note's cover image. |
data.noteList[].userInfo.fansNum | Follower count of the blogger. |
data.noteList[].userInfo.currentLevel / data.noteList[].userInfo.cooperType | Blogger level value and cooperation type code, as returned by PGY. |
data.noteList[].userInfo.contentTags[].taxonomy1Tag | Top-level content category of the blogger. The matching taxonomy2Tags list holds the sub-categories. |
data.noteList[].userInfo.featureTags | Short style tags that describe the blogger. |
data.total | Total number of note cases for this blogger across all pages. |
user_id from a blogger search such as Xiaohongshu (RED) PGY Blogger Search.page_number (starts at 1) and page_size (1 to 8). Compare data.total with the number of items you have fetched to know when to stop.note_type accepts 0, 1 or 2, and order_type accepts 1, 2 or 3. The defaults are 0 and 1.$0.02 per successful call. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "5c668b3e0000000012021605",
"note_type": 0,
"page_size": 8,
"order_type": 1,
"page_number": 1
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
user_idstringобязательноBlogger user ID
page_numberintegerPage number, from 1
По умолчанию: 1
page_sizeintegerPage size, 1-8 (fixed at 8 on PGY web)
По умолчанию: 8
note_typeintegerNote type
По умолчанию: 0
Возможные значения: 0, 1, 2
order_typeintegerSort
По умолчанию: 1
Возможные значения: 1, 2, 3
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Xiaohongshu | $0.02 за запрос | JSON |
Xiaohongshu | $0.02 за запрос | JSON |
Xiaohongshu | $0.02 за запрос | JSON |
Xiaohongshu | $0.02 за запрос | JSON |
Xiaohongshu | $0.02 за запрос | JSON |
Xiaohongshu | $0.02 за запрос | JSON |
Руководства:Best Xiaohongshu API in 2026: Pricing Compared
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes-v2, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.02 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: user_id (string). Необязательные: page_number (integer), page_size (integer), note_type (один из 0, 1, 2) и order_type (один из 1, 2, 3). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Xiaohongshu PGY blogger note cases v2 (cross-platform) работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Xiaohongshu.