userIdstringbắt buộc
Blogger's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/blogger-user-idGet a Xiaohongshu Pugongying creator profile and cooperation quote information for a known user ID. Use it to review a creator before campaign outreach or pricing comparison.
Đầ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 a Xiaohongshu Pugongying creator profile for one user ID. The response covers follower counts, cooperation status, note counts and estimated cost metrics. It needs only the creator's userId.
businessNoteCount.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/blogger-user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId": "5a73c5fa4eacab4c4ccc9778"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | Blogger's user ID. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"accumCommonImpMedinNum30d": 0,
"accumCoopImpMedinNum30d": 0,
"accumPicCommonImpMedinNum30d": 0,
"accumVideoCommonImpMedinNum30d": 0,
"activityList": [
"6adb6413e4b078c833452df1"
],
"algoRecommendReasons": null,
"authorityList": null,
"avgAgmv90d": 0.0,
"avgLiveViewerNum": 0.0,
"businessNoteCount": 181,
"buyerType": 1,
"classifyCode": null
}
| Field | Meaning |
|---|---|
fansCount / fansNum | Total follower count of the creator. Both fields show the same value in this response. |
businessNoteCount | Number of sponsored (business) notes recorded for the creator. |
coopNoteNum30d | Number of cooperation notes in the last 30 days, as the 30d suffix indicates. |
cooperateState / cooperType | Numeric codes for the creator's cooperation status and cooperation type. The response does not explain what each code means. |
currentLevel | Numeric level of the creator on the platform. The response does not explain the scale. |
clickMidNum / clickMidNumMcn | Median click count figures. In this response both fields hold the same value. |
fans30GrowthNum / fans30GrowthRate | Follower growth over the last 30 days, as a count and as a rate. The rate can be null. |
estimatePictureCpm / estimateVideoCpm | Estimated CPM for picture notes and for video notes. A value of 0.0 means no estimate is present. |
estimatePictureEngageCost / estimateVideoEngageCost | Estimated cost per engagement for picture notes and for video notes. |
clothingIndustryPrice.picturePrice / clothingIndustryPrice.videoPrice | Quoted prices for picture and video notes in the clothing industry. The matching pictureState and videoState fields hold state codes. |
null or 0 when the platform has no data for that creator, so check for empty values before comparing creators.userId, search for creators with Xiaohongshu Pugongying Creator Search.$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/blogger-user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "5a73c5fa4eacab4c4ccc9778"
}'Đặ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ộcBlogger's user ID.
Đâ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.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 |
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/blogger-user-id 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). 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 Creator Profile 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.