user_idstringwajib
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
}
}
]Pilih contoh untuk memuat input dan hasilnya ke 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
user_idstringwajibBlogger user ID
advertise_switchintegerTraffic type, 1=all (incl. ads), 0=organic only
Nilai yang mungkin: 0, 1
note_typeintegerNote type, 0=all, 1=image, 2=video, 4=image+video
Nilai yang mungkin: 0, 1, 2, 4
order_typeintegerOrder, 1=most read, 2=most interaction, 3=latest
Nilai yang mungkin: 1, 2, 3
page_numberintegerPage number, start from 1
page_sizeintegerPage size (1-100)
feature_tagstring按内容特征筛选,如 韩系;取值见博主详情的 featureTags/Filter by feature tag
Default: ""
content_tagstring按内容类目筛选,如 美妆;取值见博主详情的 contentTags/Filter by content tag
Default: ""
is_third_platforminteger1=只看跨域合作笔记 0=不限(默认)/Cross-platform notes only
Default: 0
Nilai yang mungkin: 0, 1
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Xiaohongshu | $0.02 per panggilan | JSON |
Xiaohongshu | $0.02 per panggilan | JSON |
Xiaohongshu | $0.02 per panggilan | JSON |
Xiaohongshu | $0.02 per panggilan | JSON |
Xiaohongshu | $0.02 per panggilan | JSON |
Xiaohongshu | $0.02 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.02 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: user_id (string). Opsional: advertise_switch (salah satu dari 0, 1), note_type (salah satu dari 0, 1, 2, 4), order_type (salah satu dari 1, 2, 3), page_number (integer), page_size (integer) dan feature_tag (string) dan 2 lainnya. Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron).
Tidak. Xiaohongshu (RED) PGY Blogger Notes berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Xiaohongshu secara terpisah.