category_codestring
Hot list category code, get from hot list category, empty for all
Valor predeterminado: ""
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": ""
}
}
]Seleccione un ejemplo para cargar sus entradas y el resultado en el 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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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": ""
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
category_codestringHot list category code, get from hot list category, empty for all
Valor predeterminado: ""
city_codestringCity code, get from city list, empty for all
Valor predeterminado: ""
end_dateintegerSnapshot end time format 10 digit timestamp
Valor predeterminado: 1735488000
start_dateintegerSnapshot start time format 10 digit timestamp
Valor predeterminado: 1734902400
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
[
{
"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": ""
}
}
]Explorar más
| API | Precio | Respuesta |
|---|---|---|
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/billboard/hot-calendar-list con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
No se requieren parámetros. Opcionales: category_code (string), city_code (string), end_date (integer) y start_date (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Douyin Billboard Hot Calendar List funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Douyin por separado.