userIdstringจำเป็น
KOL's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-notes-detailGet a paginated Xiaohongshu Pugongying creator note list with advertisement, sort-order, note-type, and third-platform filters. Use it to browse selected content from a known creator.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Get a paginated Xiaohongshu Pugongying creator note list with advertisement, sort-order, note-type, and third-platform filters. Use it to browse selected content from a known creator.
The response is the platform's original data structure.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-notes-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId": "64b898310000000014037b21"}'
| Name | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | KOL's user ID. |
advertiseSwitch | string | No | Advertisement filter. |
orderType | string | No | Sorting order. |
noteType | string | No | Type of note. |
isThirdPlatform | string | No | Whether from third-party platform. |
pageNumber | integer | No | Page number. |
Flat price per call. Failed calls and empty results are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-notes-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "64b898310000000014037b21",
"noteType": "ALL",
"orderType": "LATEST",
"pageNumber": 1,
"advertiseSwitch": "ALL",
"isThirdPlatform": "NO"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
userIdstringจำเป็นKOL's user ID.
advertiseSwitchstringAdvertisement filter.
ค่าเริ่มต้น: "ALL"
ค่าที่เป็นไปได้: ALL, ORGANIC_ONLY
orderTypestringSorting order.
ค่าเริ่มต้น: "LATEST"
ค่าที่เป็นไปได้: LATEST, MOST_READ, MOST_INTERACT
noteTypestringType of note.
ค่าเริ่มต้น: "ALL"
ค่าที่เป็นไปได้: ALL, COOPERATION, PHOTO_TEXT, VIDEO
isThirdPlatformstringWhether from third-party platform.
ค่าเริ่มต้น: "NO"
ค่าที่เป็นไปได้: NO, YES
pageNumberintegerPage number.
ค่าเริ่มต้น: 1
บันทึกตัวอย่างการตอบกลับสำหรับ 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 |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-notes-detail โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.021429 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: userId (string). ตัวเลือก: advertiseSwitch (หนึ่งใน ALL, ORGANIC_ONLY), orderType (หนึ่งใน LATEST, MOST_READ, MOST_INTERACT), noteType (หนึ่งใน ALL, COOPERATION, PHOTO_TEXT, VIDEO), isThirdPlatform (หนึ่งใน NO, YES) และ pageNumber (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)
ไม่จำเป็น Xiaohongshu Pugongying Creator Note List ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Xiaohongshu API แยกต่างหาก