date_windowinteger
Time window, 1 by hour 2 by day
Mặc định: 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": ""
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào 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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
date_windowintegerTime window, 1 by hour 2 by day
Mặc định: 24
keywordstringSearch keyword to filter the billboard, empty for all
Mặc định: ""
pageintegerPage number
Mặc định: 1
page_sizeintegerNumber of items per page
Mặc định: 10
tagsarraySub-level vertical category tag, empty for all, multiple tags need to be passed in
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"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": ""
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin Hot Topic BillboardAPI này Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/billboard/hot-total-topic-list với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Không có tham số bắt buộc. Tùy chọn: date_window (integer), keyword (string), page (integer), page_size (integer) và tags (array). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Douyin Hot Topic Billboard chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.