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.
开始构建
具备统一身份验证和使用情况跟踪的平台 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 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_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 |
问题
向 https://api.sandbase.ai/v1/api/douyin/billboard/hot-calendar-list 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
无需参数。 可选:category_code (string), city_code (string), end_date (integer) 和 start_date (integer)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Billboard Hot Calendar List 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。