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
}
}
}
]选择一个示例,将其输入和结果加载到 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.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
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 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
o_author_idstring必填Creator ID
platform_channelintegerPlatform channel, default 1
platform_sourceintegerPlatform source, default 1
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"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 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.004,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:o_author_id (string)。 可选:platform_channel (integer) 和 platform_source (integer)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Xingtu Author Cooperation Info 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。