userIdstringจำเป็น
KOL's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v3-data-summaryGet the Xiaohongshu Pugongying data summary for a creator's daily or cooperation notes. Use it to compare aggregate creator performance between business modes.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns an aggregate performance summary for one Xiaohongshu Pugongying creator. It needs the creator's userId and can switch between daily notes and cooperation notes with business.
DAILY_NOTE summary with their COOPERATE_NOTE summary before booking a campaign.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v3-data-summary" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId": "64b898310000000014037b21"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | KOL's user ID. |
business | string | No | Business type. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"activeDayInLast7": 7,
"dateKey": "2026-11-02",
"easyConnect": false,
"estimatePictureCpm": 0,
"estimatePictureCpmCompare": 0,
"estimatePictureCpuv": 0,
"estimatePictureCpuvCompare": 0,
"estimatePictureEngageCost": 0,
"estimatePictureEngageCostCompare": 0,
"estimateVideoCpm": 0,
"estimateVideoCpmCompare": 0,
"estimateVideoCpuv": 0
}
| Field | Meaning |
|---|---|
readMedian | Median read count for the creator's notes. |
interactionMedian / interactionBeyondRate | Median interaction count per note, and the share of creators the creator beats on interaction (11.2 in the sample). |
fans30GrowthRate / fans30GrowthBeyondRate | Follower growth rate over the last 30 days, and the share of creators the creator beats on that growth. Both come as strings. |
mAccumImpNum / mAccumImpCompare | Accumulated impressions figure and its comparison value. |
mEngagementNum / mEngagementNumCompare | Engagement count and its comparison value. |
mValidRawReadFeedNum / mValidRawReadFeedCompare | Valid read count from feed and its comparison value. |
noteNumber | Number of notes counted for this creator. |
noteType[].contentTag / noteType[].percent | Content tag name and the share of notes under that tag, as a string. |
kolAdvantage / kolAdvantageHover | Label for the creator's strength, with a short explanation. Both are returned in Chinese. |
activeDayInLast7 / isActive | Number of active days in the last 7 days, and whether the creator is currently active. |
userId as the creator's ID string, for example 64b898310000000014037b21. Find it with Xiaohongshu Pugongying Creator Search.business accepts DAILY_NOTE (default) or COOPERATE_NOTE. Call the API twice to compare both modes.estimateVideoCpm and estimatePictureCpm return 0 in the sample.dateKey is a date in YYYY-MM-DD format. For more detail, call Xiaohongshu Pugongying Follower Summary.$0.021429 per successful call. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v3-data-summary" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "64b898310000000014037b21",
"business": "DAILY_NOTE"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
userIdstringจำเป็นKOL's user ID.
businessstringBusiness type.
ค่าเริ่มต้น: "DAILY_NOTE"
ค่าที่เป็นไปได้: DAILY_NOTE, COOPERATE_NOTE
บันทึกตัวอย่างการตอบกลับสำหรับ 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-v3-data-summary โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.021429 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: userId (string). ตัวเลือก: business (หนึ่งใน DAILY_NOTE, COOPERATE_NOTE). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Xiaohongshu Pugongying Data Summary ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Xiaohongshu API แยกต่างหาก