end_datestringआवश्यक
End date YYYYMMDD. **Must be a Sunday only when period=7**; any day for period=1/3
https://api.sandbase.ai/v1/api/douyin/index/content-creative-topicReturns trending creative topics for a specific Douyin category. Filter results by category ID, evaluation period, ranking metric, and end date.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns a list of trending creative topics (hashtags) for one Douyin content category. Each topic comes with engagement totals and a few sample videos. You send a tag_id and an end_date.
index, digg_cnt and item_cnt to pick tags for new videos.rank_type to rise to find topics that are growing fastest.curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/content-creative-topic" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"end_date": "20260405", "tag_id": "601"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
end_date | string | Yes | End date YYYYMMDD. Must be a Sunday only when period=7; any day for period=1/3 |
tag_id | string | Yes | Category ID (same as category_id in fetch_item_query) |
period | string | No | "1" / "3" / "7" |
rank_type | string | No | "index" or "rise" |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"topic_list": [
{
"digg_cnt": "171445435",
"id": "1635669004810253",
"index": "201575639",
"item_cnt": "19739286",
"item_list": [
{
"img": "https://p9-byteindex-sign.byteimg.com/tos-cn-p-0015c000-ce/oAfEB3pEBb9bEEkAFmALx…",
"item_id": "7621900494017844389",
"title": "仅用了0秒就接受了自己的新身份#vlog十亿流量扶持计划 #内容太过真实 #vlog日常 #搞笑 #学生时代",
"url": "https://www.douyin.com/share/video/7621900494017844389"
}
],
"name": "搞笑",
"vv": "9700000928"
}
]
}
| Field | Meaning |
|---|---|
topic_list[].name | Topic name, shown as a hashtag-style label such as 搞笑. |
topic_list[].id | ID of the topic. |
topic_list[].index | Index score used to rank the topic. Higher values mean a higher rank under rank_type index. |
topic_list[].digg_cnt | Total like count for videos under the topic. |
topic_list[].item_cnt | Number of videos under the topic. |
topic_list[].vv | View count for the topic. |
topic_list[].item_list[].title | Caption of a sample video, including its hashtags. |
topic_list[].item_list[].item_id | ID of the sample video. |
topic_list[].item_list[].url | Share link to the sample video on douyin.com. |
topic_list[].item_list[].img | Cover image URL of the sample video. The link is signed and carries an expiry in its query string. |
digg_cnt, index and vv come back as strings.end_date uses the format YYYYMMDD. It must be a Sunday when period is 7. Any day works for 1 or 3.tag_id is the same value as category_id in the video search APIs. Douyin Index Video Search is a related call.$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/index/content-creative-topic" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"period": "7",
"tag_id": "601",
"end_date": "20260405",
"rank_type": "index"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
end_datestringआवश्यकEnd date YYYYMMDD. **Must be a Sunday only when period=7**; any day for period=1/3
tag_idstringआवश्यकCategory ID (same as category_id in fetch_item_query)
periodstring"1" / "3" / "7"
डिफ़ॉल्ट: "7"
संभावित मान: 1, 3, 7
rank_typestring"index" or "rise"
डिफ़ॉल्ट: "index"
संभावित मान: index, rise
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| 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/index/content-creative-topic पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: end_date (string) और tag_id (string)। वैकल्पिक: period (1, 3, 7 में से एक) और rank_type (index, rise में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Content Creative Topics SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।