o_author_idstringआवश्यक
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-cp-infoReturns Douyin Xingtu creator cooperation details for a specified author ID. Query profile and partnership data using creator IDs alongside optional platform channel filters.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"expect_cpe": {
"cpe_21_60": "124",
"cpe_60": "227"
},
"expect_cpm": {
"cpm_21_60": "5786",
"cpm_60": "10609"
},
"expect_vv": {
"value": 3110548
},
"hot_item": {
"value": 0
}
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns expected performance numbers for one Douyin Xingtu creator: expected cost per engagement (CPE), expected cost per thousand views (CPM), expected video views, and a hot item value. It needs a creator ID in o_author_id.
expect_vv.value.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-cp-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7029342444797820939"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator ID |
platform_channel | integer | No | Platform channel, default 1 |
platform_source | integer | No | Platform source, default 1 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"expect_cpe": {
"cpe_21_60": "100",
"cpe_60": "377"
},
"expect_cpm": {
"cpm_21_60": "1923",
"cpm_60": "7211"
},
"expect_vv": {
"value": 4160093
},
"hot_item": {
"value": 1000
}
}
| Field | Meaning |
|---|---|
expect_cpe.cpe_21_60 / expect_cpe.cpe_60 | Expected cost per engagement (CPE) for two video length groups. The key names suggest cpe_21_60 covers videos of 21 to 60 seconds and cpe_60 covers videos over 60 seconds. Values are strings. |
expect_cpm.cpm_21_60 / expect_cpm.cpm_60 | Expected cost per thousand views (CPM) for the same two video length groups. Values are strings. |
expect_vv.value | Expected video views (VV) for the creator, as a number. |
hot_item.value | A numeric value for the creator's hot item metric. The response does not show what unit it uses. |
base_resp.status_code | Status code of the call. 0 means the call succeeded. |
base_resp.status_message | Status message. It is an empty string when the call succeeds. |
o_author_id. If you only have a Douyin ID, call Douyin XingTu kolId by Douyin ID first to get it.platform_source and platform_channel are optional integers. Both default to 1.$0.004 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-cp-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "6677767167234015243"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
o_author_idstringआवश्यकCreator ID
platform_channelintegerPlatform channel, default 1
platform_sourceintegerPlatform source, default 1
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"expect_cpe": {
"cpe_21_60": "124",
"cpe_60": "227"
},
"expect_cpm": {
"cpm_21_60": "5786",
"cpm_60": "10609"
},
"expect_vv": {
"value": 3110548
},
"hot_item": {
"value": 0
}
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.004 प्रति कॉल | JSON |
Douyin | $0.002 प्रति कॉल | JSON |
Douyin | $0.002 प्रति कॉल | JSON |
Douyin | $0.01 प्रति कॉल | JSON |
Douyin | $0.003 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-cp-info पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.004 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: o_author_id (string)। वैकल्पिक: platform_channel (integer) और platform_source (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Xingtu Author Cooperation Info SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।