user_idstringbắt buộc
Blogger user ID
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes-rateReturns overall note performance metrics from a creator's data overview on Pugongying. Supports filtering by date range, note format, and advertising traffic.
[
{
"data": {
"code": 0,
"data": {
"collectMedian": 0,
"commentMedian": 0,
"hundredLikePercent": "0.0",
"impMedian": 0,
"impMedianBeyondRate": "27.3",
"interactionBeyondRate": "16.7",
"interactionMedian": 0,
"interactionRate": "0.0",
"likeMedian": 0,
"longTermCommonNoteVo": {
"endPublishTime": "2026-04-09",
"longTermFindPagePercent": "0.3",
"longTermFollowPagePercent": "9.9",
"longTermKolHomePagePercent": "17.1",
"longTermOtherPagePercent": "4.8",
"longTermReadBeyondRate": "39.1",
"longTermReadNum": 144,
"longTermSearchPagePercent": "67.9",
"noteNumber": 32,
"recentFindPagePercent": "55.0",
"recentFollowPagePercent": "26.7",
"recentKolHomePagePercent": "7.2",
"recentOtherPagePercent": "3.0",
"recentReadBeyondRate": "12.0",
"recentReadNum": 193,
"recentSearchPagePercent": "8.1",
"startPublishTime": "2026-02-08"
},
"longTermCooperateNoteVo": {
"endPublishTime": "2026-04-09",
"longTermFindPagePercent": null,
"longTermFollowPagePercent": null,
"longTermKolHomePagePercent": null,
"longTermOtherPagePercent": null,
"longTermReadBeyondRate": null,
"longTermReadNum": null,
"longTermSearchPagePercent": null,
"noteNumber": 0,
"recentFindPagePercent": null,
"recentFollowPagePercent": null,
"recentKolHomePagePercent": null,
"recentOtherPagePercent": null,
"recentReadBeyondRate": null,
"recentReadNum": null,
"recentSearchPagePercent": null,
"startPublishTime": "2026-02-08"
},
"mEngagementNum": 0,
"mFollowCnt": 0,
"mengagementNum": 0,
"mfollowCnt": 0,
"noteNumber": 0,
"noteType": [],
"notes": null,
"pagePercentVo": null,
"picture3sViewRate": "0.0",
"readMedian": 0,
"readMedianBeyondRate": "14.4",
"shareMedian": 0,
"thousandLikePercent": "0.0",
"tradeNames": null,
"videoFullViewBeyondRate": "0.0",
"videoFullViewRate": "0.0",
"videoNoteNumber": 0
},
"guid": null,
"msg": "成功",
"success": true
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Retrieve aggregated note performance statistics for a specific creator using user_id. Optional parameters filter metrics by date window, note format, and traffic source.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-notes-rate" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "60b137080000000001000301"}'
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Blogger user ID |
date_type | integer | No | Date range (~1=7d, 2=30d, 3=90d) |
note_type | integer | No | Note type, 1=image, 2=video, 3=all (default) |
advertise_switch | integer | No | Traffic type, 1=all (incl. ads), 0=organic only |
date_type to set the analysis window: 1 for 7 days, 2 for 30 days, or 3 for 90 days.note_type filters by format: 1 for image, 2 for video, or 3 for all notes.advertise_switch controls whether traffic includes advertising (1) or organic views only (0).Flat price per call. Failed calls, including lookups whose target does not exist, 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/blogger-notes-rate" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "60b137080000000001000301"
}'Đặ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.
user_idstringbắt buộcBlogger user ID
advertise_switchintegerTraffic type, 1=all (incl. ads), 0=organic only
Giá trị có thể dùng: 0, 1
date_typeintegerDate range (~1=7d, 2=30d, 3=90d)
note_typeintegerNote type, 1=image, 2=video, 3=all (default)
Giá trị có thể dùng: 1, 2, 3
Đâ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.
[
{
"data": {
"code": 0,
"data": {
"collectMedian": 0,
"commentMedian": 0,
"hundredLikePercent": "0.0",
"impMedian": 0,
"impMedianBeyondRate": "27.3",
"interactionBeyondRate": "16.7",
"interactionMedian": 0,
"interactionRate": "0.0",
"likeMedian": 0,
"longTermCommonNoteVo": {
"endPublishTime": "2026-04-09",
"longTermFindPagePercent": "0.3",
"longTermFollowPagePercent": "9.9",
"longTermKolHomePagePercent": "17.1",
"longTermOtherPagePercent": "4.8",
"longTermReadBeyondRate": "39.1",
"longTermReadNum": 144,
"longTermSearchPagePercent": "67.9",
"noteNumber": 32,
"recentFindPagePercent": "55.0",
"recentFollowPagePercent": "26.7",
"recentKolHomePagePercent": "7.2",
"recentOtherPagePercent": "3.0",
"recentReadBeyondRate": "12.0",
"recentReadNum": 193,
"recentSearchPagePercent": "8.1",
"startPublishTime": "2026-02-08"
},
"longTermCooperateNoteVo": {
"endPublishTime": "2026-04-09",
"longTermFindPagePercent": null,
"longTermFollowPagePercent": null,
"longTermKolHomePagePercent": null,
"longTermOtherPagePercent": null,
"longTermReadBeyondRate": null,
"longTermReadNum": null,
"longTermSearchPagePercent": null,
"noteNumber": 0,
"recentFindPagePercent": null,
"recentFollowPagePercent": null,
"recentKolHomePagePercent": null,
"recentOtherPagePercent": null,
"recentReadBeyondRate": null,
"recentReadNum": null,
"recentSearchPagePercent": null,
"startPublishTime": "2026-02-08"
},
"mEngagementNum": 0,
"mFollowCnt": 0,
"mengagementNum": 0,
"mfollowCnt": 0,
"noteNumber": 0,
"noteType": [],
"notes": null,
"pagePercentVo": null,
"picture3sViewRate": "0.0",
"readMedian": 0,
"readMedianBeyondRate": "14.4",
"shareMedian": 0,
"thousandLikePercent": "0.0",
"tradeNames": null,
"videoFullViewBeyondRate": "0.0",
"videoFullViewRate": "0.0",
"videoNoteNumber": 0
},
"guid": null,
"msg": "成功",
"success": true
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Xiaohongshu | $0.02 mỗi lần gọi | JSON |
Xiaohongshu | $0.02 mỗi lần gọi | JSON |
Xiaohongshu | $0.02 mỗi lần gọi | JSON |
Xiaohongshu | $0.02 mỗi lần gọi | JSON |
Xiaohongshu | $0.02 mỗi lần gọi | JSON |
Xiaohongshu | $0.02 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/blogger-notes-rate 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.02 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: user_id (string). Tùy chọn: advertise_switch (một trong số 0, 1), date_type (integer) và note_type (một trong số 1, 2, 3). 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ộ).
Không. Xiaohongshu (RED) PGY Blogger Note Rates 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.