user_idstring必填
Blogger user ID
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notesReturns notes posted by a specific blogger on the Xiaohongshu Pugongying platform. Supports filtering by note type, content tag, feature tag, and traffic source.
[
{
"data": {
"code": 0,
"data": {
"list": [
{
"brandName": null,
"collectNum": 56,
"date": "2026-09-26",
"imgUrl": "http://ci.xiaohongshu.com/note_pre_post_uhdr/1040g3r8325ionneh50005n36hcv4k5g5hb4v0s0?imageView2/2/w/540/format/jpg/q/75",
"isAdvertise": false,
"isVideo": false,
"likeNum": 73,
"noteId": "6ab7605c000000001a02601f",
"readNum": 506,
"thirdReadUserNum": 0,
"title": "杭州的秋天真的很美……🍂"
},
{
"brandName": null,
"collectNum": 64,
"date": "2026-09-25",
"imgUrl": "http://ci.xiaohongshu.com/notes_pre_post/1040g3k8325h8sif2l6705n36hcv4k5g5p7jcdbo?imageView2/2/w/540/format/jpg/q/75",
"isAdvertise": false,
"isVideo": false,
"likeNum": 110,
"noteId": "6ab5d8f70000000002012c83",
"readNum": 3224,
"thirdReadUserNum": 0,
"title": "银盐复古市集回归,中秋天目里怎么逛看这篇!"
},
{
"brandName": null,
"collectNum": 75,
"date": "2026-09-23",
"imgUrl": "http://ci.xiaohongshu.com/notes_uhdr/1040g3qg325etrdvlle005n36hcv4k5g5im4t0mo?imageView2/2/w/540/format/jpg/q/75",
"isAdvertise": false,
"isVideo": false,
"likeNum": 114,
"noteId": "6ab3719a000000001b0309ef",
"readNum": 1540,
"thirdReadUserNum": 0,
"title": "这真的不是在看演唱会吗!🎻"
},
"… 5 more items in the full response"
],
"total": 120
},
"guid": null,
"msg": "成功",
"success": true
}
}
]选择一个示例,将其输入和结果加载到 playground 中。
Retrieve notes for a specific creator by supplying their user_id. You can sort results by interaction or recency, and filter entries by tags and media formats.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "<user_id>"}'
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Blogger user ID |
note_type | integer | No | Note type, 0=all, 1=image, 2=video, 4=image+video |
page_size | integer | No | Page size (1-100) |
order_type | integer | No | Order, 1=most read, 2=most interaction, 3=latest |
content_tag | string | No | 按内容类目筛选,如 美妆;取值见博主详情的 contentTags/Filter by content tag |
feature_tag | string | No | 按内容特征筛选,如 韩系;取值见博主详情的 featureTags/Filter by feature tag |
page_number | integer | No | Page number, start from 1 |
advertise_switch | integer | No | Traffic type, 1=all (incl. ads), 0=organic only |
is_third_platform | integer | No | 1=只看跨域合作笔记 0=不限(默认)/Cross-platform notes only |
order_type to sort results by most read (1), most interaction (2), or latest (3).page_number (starting at 1) and page_size (up to 100).note_type with 0 for all, 1 for images, 2 for videos, or 4 for mixed.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content_tag": "美妆",
"feature_tag": "韩系",
"is_third_platform": 0,
"advertise_switch": 1,
"note_type": 4,
"order_type": 1,
"page_number": 1,
"page_size": 8,
"user_id": "5c668b3e0000000012021605"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
user_idstring必填Blogger user ID
advertise_switchintegerTraffic type, 1=all (incl. ads), 0=organic only
可选值:0, 1
note_typeintegerNote type, 0=all, 1=image, 2=video, 4=image+video
可选值:0, 1, 2, 4
order_typeintegerOrder, 1=most read, 2=most interaction, 3=latest
可选值:1, 2, 3
page_numberintegerPage number, start from 1
page_sizeintegerPage size (1-100)
feature_tagstring按内容特征筛选,如 韩系;取值见博主详情的 featureTags/Filter by feature tag
默认值:""
content_tagstring按内容类目筛选,如 美妆;取值见博主详情的 contentTags/Filter by content tag
默认值:""
is_third_platforminteger1=只看跨域合作笔记 0=不限(默认)/Cross-platform notes only
默认值:0
可选值:0, 1
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"code": 0,
"data": {
"list": [
{
"brandName": null,
"collectNum": 56,
"date": "2026-09-26",
"imgUrl": "http://ci.xiaohongshu.com/note_pre_post_uhdr/1040g3r8325ionneh50005n36hcv4k5g5hb4v0s0?imageView2/2/w/540/format/jpg/q/75",
"isAdvertise": false,
"isVideo": false,
"likeNum": 73,
"noteId": "6ab7605c000000001a02601f",
"readNum": 506,
"thirdReadUserNum": 0,
"title": "杭州的秋天真的很美……🍂"
},
{
"brandName": null,
"collectNum": 64,
"date": "2026-09-25",
"imgUrl": "http://ci.xiaohongshu.com/notes_pre_post/1040g3k8325h8sif2l6705n36hcv4k5g5p7jcdbo?imageView2/2/w/540/format/jpg/q/75",
"isAdvertise": false,
"isVideo": false,
"likeNum": 110,
"noteId": "6ab5d8f70000000002012c83",
"readNum": 3224,
"thirdReadUserNum": 0,
"title": "银盐复古市集回归,中秋天目里怎么逛看这篇!"
},
{
"brandName": null,
"collectNum": 75,
"date": "2026-09-23",
"imgUrl": "http://ci.xiaohongshu.com/notes_uhdr/1040g3qg325etrdvlle005n36hcv4k5g5im4t0mo?imageView2/2/w/540/format/jpg/q/75",
"isAdvertise": false,
"isVideo": false,
"likeNum": 114,
"noteId": "6ab3719a000000001b0309ef",
"readNum": 1540,
"thirdReadUserNum": 0,
"title": "这真的不是在看演唱会吗!🎻"
},
"… 5 more items in the full response"
],
"total": 120
},
"guid": null,
"msg": "成功",
"success": true
}
}
]探索更多
| 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 |
问题
向 https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.02,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:user_id (string)。 可选:advertise_switch(0, 1 之一), note_type(0, 1, 2, 4 之一), order_type(1, 2, 3 之一), page_number (integer), page_size (integer) 和 feature_tag (string) 以及另外 2 项。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。
不需要。Xiaohongshu (RED) PGY Blogger Notes 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Xiaohongshu API 访问权限。