o_author_idstringwajib
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
}
}
}
]Pilih contoh untuk memuat input dan hasilnya ke playground.
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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'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 ID
platform_channelintegerPlatform channel, default 1
platform_sourceintegerPlatform source, default 1
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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
}
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin | $0.004 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-cp-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.004 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: platform_channel (integer) dan platform_source (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 Cooperation 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.