oAuthorIdstring必填
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-link-structGet Douyin Creator Marketplace (Xingtu) creator-link structure data for a specified creator and content channel. Use it to compare creator link structures during performance research.
您的输出将显示在这里
完成输入,然后点击运行。
Returns the link structure for one creator on Douyin Creator Marketplace (Xingtu). It needs the creator's oAuthorId and can take a platform value to pick the content channel.
种草, to match a creator to a seeding goal.relative_ratio value in step 5.SHORT_VIDEO and LIVE_STREAMING to see how the structure differs.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-link-struct" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "6870161898013196295"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Author's unique ID. |
platform | string | No | Platform type. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"author_link_type": "种草",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"link_struct": {
"1": {
"proportion": 0.16304054463905537,
"value": 95314367
},
"2": {
"proportion": 0.5087374275836838,
"value": 297410598
},
"3": {
"proportion": 0.32822010340197,
"value": 191879213
},
"4": {
"proportion": 1.9243752908618417e-06,
"value": 1125
},
"5": {
"rank_percent": 0,
"relative_ratio": -0.0208,
"value": 584605303
}
}
}
| Field | Meaning |
|---|---|
author_link_type | Text label for the creator's link type. The sample value is 种草. |
link_struct | Object keyed by step number from 1 to 5. Each key holds the numbers for that step. |
link_struct.1 / link_struct.2 / link_struct.3 / link_struct.4 | Each step has a value count and a proportion. In the sample the proportion values of steps 1 to 4 add up to about 1. |
link_struct.1.proportion / link_struct.2.proportion / link_struct.3.proportion / link_struct.4.proportion | Share of the total that each step holds, as a decimal between 0 and 1. In the sample, step 2 is the largest at about 0.51. |
link_struct.1.value / link_struct.2.value / link_struct.3.value / link_struct.4.value | Raw count for each step. In the sample, step 2 is 297410598 and step 4 is 1125. |
link_struct.5.value | Count for step 5. In the sample it equals the sum of the values in steps 1 to 3. |
link_struct.5.relative_ratio | Relative ratio for step 5. The sample value is -0.0208, a negative number. |
link_struct.5.rank_percent | Rank percent for step 5. The sample value is 0. |
base_resp.status_code / base_resp.status_message | Call status. 0 with an empty message means the call succeeded. |
platform as one of SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT or SHORT_DRAMA. It defaults to SHORT_VIDEO.oAuthorId with Douyin Xingtu Creator Search.$0.021429 per successful call. Failed calls are not charged.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-link-struct" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "SHORT_VIDEO",
"oAuthorId": "6870161898013196295"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
oAuthorIdstring必填Author's unique ID.
platformstringPlatform type.
默认值:"SHORT_VIDEO"
可选值:SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
Douyin | $0.021429 每次调用 | JSON |
Douyin | $0.021429 每次调用 | JSON |
Douyin | $0.021429 每次调用 | JSON |
Douyin | $0.021429 每次调用 | JSON |
Douyin | $0.071429 每次调用 | JSON |
Douyin | $0.021429 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-link-struct 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.021429,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:oAuthorId (string)。 可选:platform(SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA 之一)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Xingtu Creator Link Structure 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。