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": ""
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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 ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
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 นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"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 |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/billboard/hot-calendar-list โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: category_code (string), city_code (string), end_date (integer) และ start_date (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Billboard Hot Calendar List ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก