date_windowinteger
Time window, 1 by hour 2 by day
默认值:24
https://api.sandbase.ai/v1/api/douyin/billboard/hot-total-topic-listReturns trending topic rankings and historical trend metrics from Douyin. Results can be filtered by keyword, vertical category tags, and time window.
[
{
"data": {
"code": 0,
"data": {
"objs": [
{
"avg_play_cnt": 8716,
"challenge_id": "7686779365815764998",
"challenge_name": "我的长长长假",
"challenge_type": 3,
"cover_url": "https://p5-ex-gddgtc-sign.douyinpic.com/douyin-admin-obj/5df01348e55a467880f9fa833098badd~c5_200x200.jpeg?x-expires=1791892800&x-signature=3gTrKWVBxlywIOYF6sNMYh%2BT%2BV8%3D&from=3370593410",
"create_time": 1789717815,
"is_favorite": false,
"is_recommend": false,
"item_list": null,
"origin_rank": 1,
"origin_trend_str": "20261005:2.3765732E7,20260924:3926709.0,20261004:2.2080427E7,20260930:1.2117205E7,20260922:2289584.0,20260928:8563855.0,20260923:2593889.0,20260926:6292832.0,20261002:2.1055883E7,20261003:2.2761791E7,20260925:7277866.0,20260927:7264533.0,20261001:1.2699848E7,20260929:1.0608295E7",
"play_cnt": 18480041908,
"publish_cnt": 2120001,
"real_rank": 1,
"related_event": null,
"score": 23765732,
"show_rank": 1,
"trends": [
{
"date": "20260922",
"value": 2289584
},
{
"date": "20260923",
"value": 2593889
},
{
"date": "20260924",
"value": 3926709
},
"… 11 more items in the full response"
]
},
{
"avg_play_cnt": 23785,
"challenge_id": "1585672555537437",
"challenge_name": "雨爱",
"challenge_type": 0,
"cover_url": "https://p26-sign.douyinpic.com/aweme/200x200/image-cut-tos/d01ab47727824ab48e2d2190edd58fcb.jpg.jpeg?x-expires=1791892800&x-signature=HgwslTfgB5zwmt8cGrqV7yuzOL0%3D&from=3370593410",
"create_time": 1512215190,
"is_favorite": false,
"is_recommend": false,
"item_list": null,
"origin_rank": 2,
"origin_trend_str": "20261005:2.2687767E7,20260925:3040953.0,20261001:4321532.0,20260922:783955.0,20260928:1894578.0,20260923:1632954.0,20260924:1630034.0,20261003:4773990.0,20260927:2434492.0,20260929:2621298.0,20261004:1.7503469E7,20261002:4981553.0,20260926:2184781.0,20260930:3591967.0",
"play_cnt": 7752222519,
"publish_cnt": 325926,
"real_rank": 2,
"related_event": null,
"score": 22687767,
"show_rank": 2,
"trends": [
{
"date": "20260922",
"value": 783955
},
{
"date": "20260923",
"value": 1632954
},
{
"date": "20260924",
"value": 1630034
},
"… 11 more items in the full response"
]
},
{
"avg_play_cnt": 6166,
"challenge_id": "7690162054898386953",
"challenge_name": "我的假期生活图鉴",
"challenge_type": 3,
"cover_url": "https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/oIA3Ei09mrMGAQBxDpBa6FPAAqwpCQBVAIiP0~c5_200x200.jpeg?x-expires=1791892800&x-signature=7RjOdj1FEWpgjgOYaGNnAuHBlDo%3D&from=3370593410",
"create_time": 1790505386,
"is_favorite": false,
"is_recommend": false,
"item_list": null,
"origin_rank": 3,
"origin_trend_str": "20260929:3813207.0,20261003:1.212336E7,20261001:8115188.0,20261004:1.4764988E7,20261002:8703418.0,20260928:349635.0,20260930:6661656.0,20261005:1.7813145E7",
"play_cnt": 11608566022,
"publish_cnt": 1882629,
"real_rank": 3,
"related_event": null,
"score": 17813145,
"show_rank": 3,
"trends": [
{
"date": "20260928",
"value": 349635
},
{
"date": "20260929",
"value": 3813207
},
{
"date": "20260930",
"value": 6661656
},
"… 5 more items in the full response"
]
},
"… 7 more items in the full response"
],
"page": {
"page": 1,
"page_size": 10,
"total": 1000
}
},
"extra": {
"now": 1791290411000
},
"message": ""
}
}
]选择一个示例,将其输入和结果加载到 playground 中。
Returns a ranked list of trending Douyin topics (challenges) with play counts, post counts, and daily trend values. All inputs are optional: you can filter by keyword, vertical category tags, and a time window set with date_window.
score for a daily trend report.trends values of a topic to see when it started to rise.play_cnt and publish_cnt across topics to find topics with many views but few posts.keyword to check whether a brand or event name appears on the topic billboard.curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-total-topic-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 |
|---|---|---|---|
date_window | integer | No | Time window, 1 by hour 2 by day |
keyword | string | No | Search keyword to filter the billboard, empty for all |
page | integer | No | Page number |
page_size | integer | No | Number of items per page |
tags | array | No | Sub-level vertical category tag, empty for all, multiple tags need to be passed in |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"objs": [
{
"avg_play_cnt": 38079,
"challenge_id": "1595429526316039",
"challenge_name": "灭霸",
"challenge_type": 0,
"cover_url": "https://p26-sign.douyinpic.com/aweme/200x200/image-cut-tos/b2179d18e9b91ba0d9221…",
"create_time": 1521520163,
"is_favorite": false,
"is_recommend": false,
"item_list": null,
"origin_rank": 1,
"origin_trend_str": "20261020:3370532.0,20261028:1.7237847E7,20261021:5037043.0,20261022:4111507.0,20…",
"play_cnt": 5227547011
}
],
"page": {
"page": 1,
"page_size": 10,
"total": 1000
}
},
"extra": {
"now": 1793691110000
},
"message": ""
}
| Field | Meaning |
|---|---|
data.objs[].challenge_name | Name of the topic (challenge), as shown on Douyin. |
data.objs[].challenge_id | ID of the topic, returned as a string. |
data.objs[].real_rank / show_rank / origin_rank | Rank values of the topic on the billboard. In this response all three are equal for each item. |
data.objs[].score | Hotness score for the topic in the selected window. Items are listed in descending order of this score. |
data.objs[].play_cnt | Total play count for the topic. |
data.objs[].publish_cnt | Number of posts published under the topic. |
data.objs[].avg_play_cnt | Average play count per post for the topic. |
data.objs[].trends[].date / trends[].value | Daily trend points for the topic. date is formatted as YYYYMMDD and value is the metric for that day. |
data.objs[].create_time | Creation time of the topic as a Unix timestamp in seconds. |
data.page.total | Total number of items available for the query, along with the current page and page_size. |
data.objs[].origin_trend_str repeats the trend data as one string of date:value pairs separated by commas. Use trends for easier parsing.page and page_size. The response returns the current values in data.page.tags values from Douyin Billboard Vertical Content Tags.data.objs[].cover_url is a signed image link that contains an x-expires parameter, so download the image soon after you fetch it.$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-total-topic-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"keyword": "",
"page_size": 10,
"date_window": 24
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
date_windowintegerTime window, 1 by hour 2 by day
默认值:24
keywordstringSearch keyword to filter the billboard, empty for all
默认值:""
pageintegerPage number
默认值:1
page_sizeintegerNumber of items per page
默认值:10
tagsarraySub-level vertical category tag, empty for all, multiple tags need to be passed in
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"code": 0,
"data": {
"objs": [
{
"avg_play_cnt": 8716,
"challenge_id": "7686779365815764998",
"challenge_name": "我的长长长假",
"challenge_type": 3,
"cover_url": "https://p5-ex-gddgtc-sign.douyinpic.com/douyin-admin-obj/5df01348e55a467880f9fa833098badd~c5_200x200.jpeg?x-expires=1791892800&x-signature=3gTrKWVBxlywIOYF6sNMYh%2BT%2BV8%3D&from=3370593410",
"create_time": 1789717815,
"is_favorite": false,
"is_recommend": false,
"item_list": null,
"origin_rank": 1,
"origin_trend_str": "20261005:2.3765732E7,20260924:3926709.0,20261004:2.2080427E7,20260930:1.2117205E7,20260922:2289584.0,20260928:8563855.0,20260923:2593889.0,20260926:6292832.0,20261002:2.1055883E7,20261003:2.2761791E7,20260925:7277866.0,20260927:7264533.0,20261001:1.2699848E7,20260929:1.0608295E7",
"play_cnt": 18480041908,
"publish_cnt": 2120001,
"real_rank": 1,
"related_event": null,
"score": 23765732,
"show_rank": 1,
"trends": [
{
"date": "20260922",
"value": 2289584
},
{
"date": "20260923",
"value": 2593889
},
{
"date": "20260924",
"value": 3926709
},
"… 11 more items in the full response"
]
},
{
"avg_play_cnt": 23785,
"challenge_id": "1585672555537437",
"challenge_name": "雨爱",
"challenge_type": 0,
"cover_url": "https://p26-sign.douyinpic.com/aweme/200x200/image-cut-tos/d01ab47727824ab48e2d2190edd58fcb.jpg.jpeg?x-expires=1791892800&x-signature=HgwslTfgB5zwmt8cGrqV7yuzOL0%3D&from=3370593410",
"create_time": 1512215190,
"is_favorite": false,
"is_recommend": false,
"item_list": null,
"origin_rank": 2,
"origin_trend_str": "20261005:2.2687767E7,20260925:3040953.0,20261001:4321532.0,20260922:783955.0,20260928:1894578.0,20260923:1632954.0,20260924:1630034.0,20261003:4773990.0,20260927:2434492.0,20260929:2621298.0,20261004:1.7503469E7,20261002:4981553.0,20260926:2184781.0,20260930:3591967.0",
"play_cnt": 7752222519,
"publish_cnt": 325926,
"real_rank": 2,
"related_event": null,
"score": 22687767,
"show_rank": 2,
"trends": [
{
"date": "20260922",
"value": 783955
},
{
"date": "20260923",
"value": 1632954
},
{
"date": "20260924",
"value": 1630034
},
"… 11 more items in the full response"
]
},
{
"avg_play_cnt": 6166,
"challenge_id": "7690162054898386953",
"challenge_name": "我的假期生活图鉴",
"challenge_type": 3,
"cover_url": "https://p26-sign.douyinpic.com/tos-cn-i-0813c000-ce/oIA3Ei09mrMGAQBxDpBa6FPAAqwpCQBVAIiP0~c5_200x200.jpeg?x-expires=1791892800&x-signature=7RjOdj1FEWpgjgOYaGNnAuHBlDo%3D&from=3370593410",
"create_time": 1790505386,
"is_favorite": false,
"is_recommend": false,
"item_list": null,
"origin_rank": 3,
"origin_trend_str": "20260929:3813207.0,20261003:1.212336E7,20261001:8115188.0,20261004:1.4764988E7,20261002:8703418.0,20260928:349635.0,20260930:6661656.0,20261005:1.7813145E7",
"play_cnt": 11608566022,
"publish_cnt": 1882629,
"real_rank": 3,
"related_event": null,
"score": 17813145,
"show_rank": 3,
"trends": [
{
"date": "20260928",
"value": 349635
},
{
"date": "20260929",
"value": 3813207
},
{
"date": "20260930",
"value": 6661656
},
"… 5 more items in the full response"
]
},
"… 7 more items in the full response"
],
"page": {
"page": 1,
"page_size": 10,
"total": 1000
}
},
"extra": {
"now": 1791290411000
},
"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-total-topic-list 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
无需参数。 可选:date_window (integer), keyword (string), page (integer), page_size (integer) 和 tags (array)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Hot Topic Billboard 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。