o_author_idstringआवश्यक
Creator/author ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-infoRetrieves commercial spread and reach capability data for a specific creator. Accepts filtering by time range, video type, flow type, and assignment status.
[
{
"data": {
"avg_duration": "20100",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"comment_avg": "1825",
"expect_cpe": {
"cpe_21_60": "124",
"cpe_60": "227"
},
"expect_cpm": {
"cpm_21_60": "5786",
"cpm_60": "10609"
},
"interact_rate": {
"label": "美食",
"overtake": 6712,
"value": 392
},
"item_num": "7",
"item_rate": {
"interact_rate": {},
"item_num": {
"label": "",
"overtake": 6700,
"value": 7
},
"play_mid": {
"label": "",
"overtake": 9998,
"value": 4038696
}
},
"like_avg": "111069",
"play_mid": "4038696",
"play_over_rate": {
"label": "美食",
"overtake": 3937,
"value": 526
},
"play_stability": {
"label": "美食"
},
"sales_expect_cpm": {
"cpm_21_60": "7062",
"cpm_60": "12947"
},
"share_avg": "60849"
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns commercial spread metrics for one Douyin Xingtu creator, such as median plays, average likes, comments and shares, and expected CPM and CPE. It needs the creator's o_author_id. You can narrow the data by time range, video type, flow type and assigned-only videos.
item_num.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7589271892177518598"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator/author ID |
flow_type | integer | No | Flow type, default 0 |
only_assign | boolean | No | Only assigned videos, default False |
platform_channel | integer | No | Platform channel, default 1 |
platform_source | integer | No | Platform source, default 1 |
range | integer | No | Time range, 2=last 30 days, 3=last 90 days |
type | integer | No | Video type, 1=personal video |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"avg_duration": "5800",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"comment_avg": "35",
"expect_cpe": {
"cpe_21_60": "6153",
"cpe_60": "7692"
},
"expect_cpm": {
"cpm_21_60": "776699",
"cpm_60": "970873"
},
"interact_rate": {
"overtake": 1555,
"value": 50
},
"item_num": "5",
"item_rate": {
"interact_rate": {},
"item_num": {
"label": "",
"value": 5
},
"play_mid": {
"label": "",
"overtake": 7588,
"value": 986
}
},
"like_avg": "61",
"play_mid": "986",
"play_over_rate": {
"overtake": 1701,
"value": 185
},
"play_stability": {}
}
| Field | Meaning |
|---|---|
play_mid | Median play count of the creator's videos in the selected window. |
like_avg / comment_avg / share_avg | Average likes, comments and shares per video. Values are returned as strings. |
avg_duration | Average video duration. The response does not show the unit. |
item_num | Number of videos counted in these stats. |
expect_cpm.cpm_21_60 / expect_cpm.cpm_60 | Expected CPM for videos of 21 to 60 seconds and for videos over 60 seconds. |
expect_cpe.cpe_21_60 / expect_cpe.cpe_60 | Expected CPE for the same two video length bands. |
sales_expect_cpm.cpm_21_60 / sales_expect_cpm.cpm_60 | Expected CPM in the sales context for the same two video length bands. |
interact_rate.value / interact_rate.overtake | The creator's interaction rate value and an overtake figure that shows how the creator ranks against others. |
play_over_rate.value / play_over_rate.overtake | The creator's play-over rate value and its overtake ranking figure. |
item_rate.play_mid.value / item_rate.play_mid.overtake | Median plays with its overtake ranking figure, grouped under item_rate. |
o_author_id is required. Add range (2 for 30 days, 3 for 90 days) to change the time window.play_mid and like_avg come back as strings, while overtake and value inside rate objects are numbers.play_stability and item_rate.interact_rate can come back as empty objects.$0.002 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-spread-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "6677767167234015243",
"range": 2,
"type": 1
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
o_author_idstringआवश्यकCreator/author ID
flow_typeintegerFlow type, default 0
only_assignbooleanOnly assigned videos, default False
platform_channelintegerPlatform channel, default 1
platform_sourceintegerPlatform source, default 1
rangeintegerTime range, 2=last 30 days, 3=last 90 days
typeintegerVideo type, 1=personal video
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"avg_duration": "20100",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"comment_avg": "1825",
"expect_cpe": {
"cpe_21_60": "124",
"cpe_60": "227"
},
"expect_cpm": {
"cpm_21_60": "5786",
"cpm_60": "10609"
},
"interact_rate": {
"label": "美食",
"overtake": 6712,
"value": 392
},
"item_num": "7",
"item_rate": {
"interact_rate": {},
"item_num": {
"label": "",
"overtake": 6700,
"value": 7
},
"play_mid": {
"label": "",
"overtake": 9998,
"value": 4038696
}
},
"like_avg": "111069",
"play_mid": "4038696",
"play_over_rate": {
"label": "美食",
"overtake": 3937,
"value": 526
},
"play_stability": {
"label": "美食"
},
"sales_expect_cpm": {
"cpm_21_60": "7062",
"cpm_60": "12947"
},
"share_avg": "60849"
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.002 प्रति कॉल | 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-spread-info पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.002 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: o_author_id (string)। वैकल्पिक: flow_type (integer), only_assign (boolean), platform_channel (integer), platform_source (integer), range (integer) और type (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Xingtu Author Spread Info SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।