o_author_idstringwajib
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"
}
}
]Pilih contoh untuk memuat input dan hasilnya ke playground.
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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
o_author_idstringwajibCreator/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
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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"
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin | $0.002 per panggilan | JSON |
Douyin | $0.002 per panggilan | JSON |
Douyin | $0.002 per panggilan | JSON |
Douyin | $0.01 per panggilan | JSON |
Douyin | $0.003 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-info dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.002 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: o_author_id (string). Opsional: flow_type (integer), only_assign (boolean), platform_channel (integer), platform_source (integer), range (integer) dan type (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Xingtu Author Spread Info berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.