userIdstringआवश्यक
KOL's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-cost-effectiveGet the Xiaohongshu Pugongying cost-effectiveness analysis for a known creator. Use it to assess cooperation efficiency when comparing creators for a campaign.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
This API returns cost-effectiveness figures for one Xiaohongshu Pugongying creator. It covers estimated CPM, engagement cost and read cost for picture notes and video notes. It needs the creator's userId.
videoSurpassRate or pictureSurpassRate to find the ones that beat most peers on cost.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-cost-effective" \
-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 | KOL's user ID. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"date": null,
"estimatePictureCpm": 20.004835835649338,
"estimatePictureCpmCompare": 0.29824561403508776,
"estimatePictureEngageCost": 0.5015363730895643,
"estimatePictureEngageCostCompare": 0.29239766081871343,
"estimateVideoCpm": 14.239646993455175,
"estimateVideoCpmCompare": 0.8771929824561403,
"estimateVideoEngageCost": 0.5981385926995191,
"estimateVideoEngageCostCompare": 0.8771929824561403,
"pictureCase": 0,
"pictureReadCost": "0.40",
"pictureSurpassRate": 37.59
}
| Field | Meaning |
|---|---|
estimatePictureCpm / estimateVideoCpm | Estimated CPM for picture notes and for video notes. A lower value means a lower estimated cost per thousand impressions. |
estimatePictureEngageCost / estimateVideoEngageCost | Estimated cost per engagement for picture notes and for video notes. |
estimatePictureCpmCompare / estimateVideoCpmCompare | Comparison values for the CPM of each note type, given as decimals between 0 and 1 in this response. |
estimatePictureEngageCostCompare / estimateVideoEngageCostCompare | Comparison values for the engagement cost of each note type, given as decimals between 0 and 1 in this response. |
pictureReadCost / videoReadCost | Read cost for picture notes and for video notes. The values are strings, such as 0.40 and 1.58. |
pictureSurpassRate / videoSurpassRate | Surpass rate for each note type, such as 37.59 and 90.45. A higher number means the creator surpasses more peers on this measure. |
pictureCase / videoCase | Case counts for picture and video notes. Both are 0 in this response. |
date | Date value for the data. It is null in this response. |
userId. You can find it with Xiaohongshu Pugongying Creator Search.pictureReadCost and videoReadCost come as strings. Convert them before you sort.$0.021429 per successful call. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-cost-effective" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "5a73c5fa4eacab4c4ccc9778"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
userIdstringआवश्यकKOL's user ID.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| 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 |
प्रश्न
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-cost-effective पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.021429 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: userId (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Xiaohongshu Pugongying Cost Effectiveness Analysis SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Xiaohongshu API access के लिए आवेदन करने की आवश्यकता नहीं है।