category_codestring
Hot list category code, get from hot list category, empty for all
डिफ़ॉल्ट: ""
https://api.sandbase.ai/v1/api/douyin/billboard/hot-calendar-listRetrieves the Douyin trending activity calendar with event details, schedules, and categories. Supports filtering by date range, city code, and category code.
[
{
"data": {
"code": 0,
"data": {
"event_list": [
{
"category_name": "美食",
"city_name": "",
"cover_url": "http://p6-dyhot.byteimg.com/tos-cn-i-jid1fmi4d3/b2a4e31229c85f2d04b83278a2ce2082.png",
"end_date": 1735660799,
"event_ids": null,
"event_status": -1,
"hot_title": "冬日与干净饮食的适配度",
"id": 1549,
"is_favorite": 0,
"level_code": 2,
"parent_id": 1462,
"publish_cnt": 0,
"related_topics": "",
"sentence": "",
"start_date": 1730304000,
"tags": [],
"timeline": null
},
{
"category_name": "美食",
"city_name": "",
"cover_url": "http://p6-dyhot.byteimg.com/tos-cn-i-jid1fmi4d3/b2a4e31229c85f2d04b83278a2ce2082.png",
"end_date": 1735574399,
"event_ids": null,
"event_status": -1,
"hot_title": "无辣不欢的美食小城",
"id": 1557,
"is_favorite": 0,
"level_code": 2,
"parent_id": 1029,
"publish_cnt": 0,
"related_topics": "",
"sentence": "",
"start_date": 1729785600,
"tags": [],
"timeline": null
},
{
"category_name": "美食",
"city_name": "",
"cover_url": "http://p6-dyhot.byteimg.com/tos-cn-i-jid1fmi4d3/b2a4e31229c85f2d04b83278a2ce2082.png",
"end_date": 1735574399,
"event_ids": null,
"event_status": -1,
"hot_title": "嘎嘎好吃的东北小城",
"id": 1590,
"is_favorite": 0,
"level_code": 2,
"parent_id": 0,
"publish_cnt": 0,
"related_topics": "",
"sentence": "",
"start_date": 1730044800,
"tags": [],
"timeline": null
},
"… 32 more items in the full response"
],
"topic_list": [
{
"category_name": "",
"city_name": "",
"cover_url": "",
"end_date": 1738339199,
"event_ids": [
1690
],
"event_status": -1,
"hot_title": "dou有民歌计划",
"id": 1689,
"is_favorite": 0,
"level_code": 1,
"parent_id": 0,
"publish_cnt": 0,
"related_topics": "",
"sentence": "",
"start_date": 1732636800,
"tags": [],
"timeline": null
},
{
"category_name": "",
"city_name": "",
"cover_url": "",
"end_date": 1738684799,
"event_ids": [
1718
],
"event_status": -1,
"hot_title": "抖音生活新年季",
"id": 1717,
"is_favorite": 0,
"level_code": 1,
"parent_id": 0,
"publish_cnt": 0,
"related_topics": "",
"sentence": "",
"start_date": 1734624000,
"tags": [],
"timeline": null
},
{
"category_name": "",
"city_name": "",
"cover_url": "",
"end_date": 1735660799,
"event_ids": [
1549
],
"event_status": -1,
"hot_title": "干净饮食",
"id": 1462,
"is_favorite": 0,
"level_code": 1,
"parent_id": 0,
"publish_cnt": 0,
"related_topics": "",
"sentence": "",
"start_date": 1724774400,
"tags": [],
"timeline": null
}
]
},
"extra": {
"now": 1791290413000
},
"message": ""
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns the Douyin trending activity calendar as two lists: scheduled events and the larger topics they belong to. All inputs are optional. You can filter by start_date, end_date, city_code and category_code.
start_date and end_date.curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-calendar-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
category_code | string | No | Hot list category code, get from hot list category, empty for all |
city_code | string | No | City code, get from city list, empty for all |
end_date | integer | No | Snapshot end time format 10 digit timestamp |
start_date | integer | No | Snapshot start time format 10 digit timestamp |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"event_list": [
{
"category_name": "美食",
"city_name": "",
"cover_url": "http://p6-dyhot.byteimg.com/tos-cn-i-jid1fmi4d3/b2a4e31229c85f2d04b83278a2ce2082…",
"end_date": 1735660799,
"event_ids": null,
"event_status": -1,
"hot_title": "冬日与干净饮食的适配度",
"id": 1549,
"is_favorite": 0,
"level_code": 2,
"parent_id": 1462,
"publish_cnt": 0
}
],
"topic_list": [
{
"category_name": "",
"city_name": "",
"cover_url": "",
"end_date": 1738684799,
"event_ids": [
1718
],
"event_status": -1,
"hot_title": "抖音生活新年季",
"id": 1717,
"is_favorite": 0,
"level_code": 1,
"parent_id": 0,
"publish_cnt": 0
}
]
},
"extra": {
"now": 1793691106000
},
"message": ""
}
| Field | Meaning |
|---|---|
data.event_list[].hot_title | Title of the scheduled event. |
data.event_list[].category_name | Content category of the event, such as food. The topic entries in topic_list leave it empty. |
data.event_list[].start_date / data.event_list[].end_date | Start and end of the event as 10-digit Unix timestamps. |
data.event_list[].id | ID of the event. Topic entries list it in event_ids. |
data.event_list[].parent_id | ID of the topic the event belongs to. The value 0 means no parent topic appears in the response. |
data.event_list[].cover_url | Cover image URL for the event. It is an empty string for topics. |
data.topic_list[].hot_title | Title of a larger topic or campaign that groups events. |
data.topic_list[].event_ids | List of event IDs that belong to this topic. |
data.topic_list[].level_code | Level marker of the entry. Topics show 1 and events show 2 in this response. |
data.event_list[].city_name / data.event_list[].event_status / data.event_list[].publish_cnt | City name, status code and publish count of the event. In the sample they are empty, -1 and 0. |
start_date and end_date as 10-digit Unix timestamps in seconds.city_code and category_code empty to get all cities and all categories.city_code values from Douyin Billboard City List and category_code values from Douyin Billboard Hot Category List.$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/billboard/hot-calendar-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"end_date": 1735488000,
"city_code": "",
"start_date": 1734902400,
"category_code": ""
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
category_codestringHot list category code, get from hot list category, empty for all
डिफ़ॉल्ट: ""
city_codestringCity code, get from city list, empty for all
डिफ़ॉल्ट: ""
end_dateintegerSnapshot end time format 10 digit timestamp
डिफ़ॉल्ट: 1735488000
start_dateintegerSnapshot start time format 10 digit timestamp
डिफ़ॉल्ट: 1734902400
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"code": 0,
"data": {
"event_list": [
{
"category_name": "美食",
"city_name": "",
"cover_url": "http://p6-dyhot.byteimg.com/tos-cn-i-jid1fmi4d3/b2a4e31229c85f2d04b83278a2ce2082.png",
"end_date": 1735660799,
"event_ids": null,
"event_status": -1,
"hot_title": "冬日与干净饮食的适配度",
"id": 1549,
"is_favorite": 0,
"level_code": 2,
"parent_id": 1462,
"publish_cnt": 0,
"related_topics": "",
"sentence": "",
"start_date": 1730304000,
"tags": [],
"timeline": null
},
{
"category_name": "美食",
"city_name": "",
"cover_url": "http://p6-dyhot.byteimg.com/tos-cn-i-jid1fmi4d3/b2a4e31229c85f2d04b83278a2ce2082.png",
"end_date": 1735574399,
"event_ids": null,
"event_status": -1,
"hot_title": "无辣不欢的美食小城",
"id": 1557,
"is_favorite": 0,
"level_code": 2,
"parent_id": 1029,
"publish_cnt": 0,
"related_topics": "",
"sentence": "",
"start_date": 1729785600,
"tags": [],
"timeline": null
},
{
"category_name": "美食",
"city_name": "",
"cover_url": "http://p6-dyhot.byteimg.com/tos-cn-i-jid1fmi4d3/b2a4e31229c85f2d04b83278a2ce2082.png",
"end_date": 1735574399,
"event_ids": null,
"event_status": -1,
"hot_title": "嘎嘎好吃的东北小城",
"id": 1590,
"is_favorite": 0,
"level_code": 2,
"parent_id": 0,
"publish_cnt": 0,
"related_topics": "",
"sentence": "",
"start_date": 1730044800,
"tags": [],
"timeline": null
},
"… 32 more items in the full response"
],
"topic_list": [
{
"category_name": "",
"city_name": "",
"cover_url": "",
"end_date": 1738339199,
"event_ids": [
1690
],
"event_status": -1,
"hot_title": "dou有民歌计划",
"id": 1689,
"is_favorite": 0,
"level_code": 1,
"parent_id": 0,
"publish_cnt": 0,
"related_topics": "",
"sentence": "",
"start_date": 1732636800,
"tags": [],
"timeline": null
},
{
"category_name": "",
"city_name": "",
"cover_url": "",
"end_date": 1738684799,
"event_ids": [
1718
],
"event_status": -1,
"hot_title": "抖音生活新年季",
"id": 1717,
"is_favorite": 0,
"level_code": 1,
"parent_id": 0,
"publish_cnt": 0,
"related_topics": "",
"sentence": "",
"start_date": 1734624000,
"tags": [],
"timeline": null
},
{
"category_name": "",
"city_name": "",
"cover_url": "",
"end_date": 1735660799,
"event_ids": [
1549
],
"event_status": -1,
"hot_title": "干净饮食",
"id": 1462,
"is_favorite": 0,
"level_code": 1,
"parent_id": 0,
"publish_cnt": 0,
"related_topics": "",
"sentence": "",
"start_date": 1724774400,
"tags": [],
"timeline": null
}
]
},
"extra": {
"now": 1791290413000
},
"message": ""
}
}
]और जानें
| 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/billboard/hot-calendar-list पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: category_code (string), city_code (string), end_date (integer) और start_date (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Billboard Hot Calendar List SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।