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": "参数不合法"
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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 key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
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 के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"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 पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: query_id (string)। वैकल्पिक: billboard_type (integer), limit (integer) और offset (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Material Center Related Videos SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।