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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform 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 key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ 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 |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน 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 ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)
ไม่จำเป็น Xiaohongshu (RED) PGY Blogger Notes ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Xiaohongshu API แยกต่างหาก