query_idstring必填
Query ID (topic_id / hot_id obtained from billboard endpoints)
https://api.sandbase.ai/v1/api/douyin/creator/creator-material-center-relatedReturns related videos for a specific topic, hot spot, prop, or music entry from the Douyin creator material center. Supports pagination controls and filtering by billboard type.
[
{
"data": {
"status_code": 5,
"status_msg": "参数不合法"
}
}
]选择一个示例,将其输入和结果加载到 playground 中。
Returns a page of related videos for one topic, hot spot, prop, or music entry from the Douyin creator material center. Each item has a video ID and a cover image. The only required input is query_id.
item_id values to a video detail API to get full video data.curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/creator-material-center-related" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query_id": "2488260"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query_id | string | Yes | Query ID (topic_id / hot_id obtained from billboard endpoints) |
billboard_type | integer | No | Billboard type |
limit | integer | No | Items per page (default 20, range 1-100) |
offset | integer | No | Offset (starting position for pagination) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"has_more": true,
"item_list": [
{
"cover": {
"uri": "tos-cn-i-0813/oMBvhpgRAAPibABGCovoqEAAgIaa4kiwCwAKI",
"url_list": [
"https://p11-sign.douyinpic.com/tos-cn-i-0813/oMBvhpgRAAPibABGCovoqEAAgIaa4kiwCwA…"
]
},
"item_id": "7638565167143477106",
"sec_item_id": "@ifZv67JOREr5tclG6L3ots14py+WYSjzLKkqOKVpjpj5rnq+EGQpezfFbyAFrlLw"
}
],
"status_code": 0,
"status_msg": "",
"total": 500
}
| Field | Meaning |
|---|---|
item_list[] | The list of related videos on this page. |
item_list[].item_id | The ID of the video, as a numeric string. |
item_list[].sec_item_id | An encoded form of the video ID. It starts with @. |
item_list[].cover.uri | The storage path of the cover image. |
item_list[].cover.url_list[] | Signed cover image URLs for the same image. The URLs use different hosts and include an expiry value. |
has_more | true when more videos are available after this page. |
total | The total count of related videos for this query_id. The sample shows 500. |
status_code / status_msg | The status of the call. 0 with an empty message appears on success. |
query_id from a billboard endpoint. It is the topic_id or hot_id of an entry. Try Douyin Creator Material Center Billboard or Douyin Creator Hot Topic Billboard.limit (1 to 100, default 20) and offset. Keep requesting while has_more is true.item_id to get more about a video.billboard_type is an optional integer filter.$0.001 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/creator/creator-material-center-related" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query_id": "example"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
query_idstring必填Query ID (topic_id / hot_id obtained from billboard endpoints)
billboard_typeintegerBillboard type
limitintegerItems per page (default 20, range 1-100)
offsetintegerOffset (starting position for pagination)
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"status_code": 5,
"status_msg": "参数不合法"
}
}
]探索更多
| API | 价格 | 响应 |
|---|---|---|
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/douyin/creator/creator-material-center-related 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:query_id (string)。 可选:billboard_type (integer), limit (integer) 和 offset (integer)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Material Center Related Videos 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。