userIdstringbắt buộc
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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp 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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
userIdstringbắt buộcKOL's user ID.
businessstringBusiness type.
Mặc định: "DAILY_NOTE"
Giá trị có thể dùng: DAILY_NOTE, COOPERATE_NOTE
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Xiaohongshu | $0.021429 mỗi lần gọi | JSON |
Xiaohongshu | $0.021429 mỗi lần gọi | JSON |
Xiaohongshu | $0.071429 mỗi lần gọi | JSON |
Xiaohongshu | $0.021429 mỗi lần gọi | JSON |
Xiaohongshu | $0.021429 mỗi lần gọi | JSON |
Xiaohongshu | $0.021429 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v3-data-summary với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.021429 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: userId (string). Tùy chọn: business (một trong số DAILY_NOTE, COOPERATE_NOTE). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Xiaohongshu Pugongying Data Summary chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Xiaohongshu.