query_idstringwajib
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": "参数不合法"
}
}
]Pilih contoh untuk memuat input dan hasilnya ke 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'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.
query_idstringwajibQuery 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)
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"data": {
"status_code": 5,
"status_msg": "参数不合法"
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/creator/creator-material-center-related 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.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: query_id (string). Opsional: billboard_type (integer), limit (integer) dan offset (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 Material Center Related Videos 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.