date_windowinteger
Time window, 1 by hour 2 by day
Mặc định: 24
https://api.sandbase.ai/v1/api/douyin/billboard/hot-total-search-listReturns Douyin billboard search hot list rankings and search trend metrics. Supports filtering by keyword, date window timeframe, and pagination.
[
{
"data": {
"code": 0,
"data": {
"page_num": 1,
"page_size": 10,
"search_list": [
{
"key_word": "抖音",
"search_score": 4043128,
"trends": [
{
"date": "20260922",
"value": 3360688
},
{
"date": "20260923",
"value": 3449986
},
{
"date": "20260924",
"value": 3761638
},
"… 11 more items in the full response"
]
},
{
"key_word": "听抖音",
"search_score": 6027814,
"trends": [
{
"date": "20260922",
"value": 5933830
},
{
"date": "20260923",
"value": 5934028
},
{
"date": "20260924",
"value": 5872978
},
"… 11 more items in the full response"
]
},
{
"key_word": "蔡康永抖音",
"search_score": 4377286,
"trends": [
{
"date": "20260922",
"value": 1090
},
{
"date": "20260923",
"value": 2806
},
{
"date": "20260924",
"value": 5314
},
"… 11 more items in the full response"
]
},
"… 7 more items in the full response"
],
"total_count": 841
},
"extra": {
"now": 1791290412000
},
"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 Douyin search keywords from the billboard, each with a search score and a short daily trend. It takes an optional keyword, a date_window mode, and pagination parameters. The default keyword is 抖音.
抖音客服 and 抖音热门 in one call.date_window between hourly and daily mode to compare short-term and longer-term search interest.curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-total-search-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 |
page_num | integer | No | Page number |
page_size | integer | No | Number of items per page |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"objs": [
{
"key_word": "抖音",
"search_score": 3542056,
"trends": [
{
"date": "20261020",
"value": 3322408
}
]
}
],
"page_num": 1,
"page_size": 10,
"search_list": [
{
"key_word": "抖音",
"search_score": 3542056,
"trends": [
{
"date": "20261020",
"value": 3322408
}
]
}
],
"total_count": 820
},
"extra": {
"now": 1793691110000
},
"message": ""
}
| Field | Meaning |
|---|---|
data.search_list[].key_word | The search keyword for this ranking row. |
data.search_list[].search_score | The search score of the keyword. Higher values mean more search interest. Rows come ordered from highest to lowest score. |
data.search_list[].trends[].date | The date of the trend point as a YYYYMMDD string, for example 20261022. |
data.search_list[].trends[].value | The search value for the keyword on that date. |
data.objs[] | Holds the same rows as data.search_list[], with the same key_word, search_score and trends fields. |
data.total_count | The total number of keywords that match the request, across all pages. |
data.page_num / data.page_size | The page number and page size that the response used. |
extra.now | A millisecond timestamp attached to the response. |
page_num and page_size to walk through the list. Compare data.total_count with the number of rows you have read to know when to stop.date_window takes 1 for hourly mode or 2 for daily mode.data.objs and data.search_list hold the same rows, so read only one of them.$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-search-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "人工智能",
"page_num": 1,
"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
Mặc định: "抖音"
page_numintegerPage number
Mặc định: 1
page_sizeintegerNumber of items per page
Mặc định: 10
Đâ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": {
"page_num": 1,
"page_size": 10,
"search_list": [
{
"key_word": "抖音",
"search_score": 4043128,
"trends": [
{
"date": "20260922",
"value": 3360688
},
{
"date": "20260923",
"value": 3449986
},
{
"date": "20260924",
"value": 3761638
},
"… 11 more items in the full response"
]
},
{
"key_word": "听抖音",
"search_score": 6027814,
"trends": [
{
"date": "20260922",
"value": 5933830
},
{
"date": "20260923",
"value": 5934028
},
{
"date": "20260924",
"value": 5872978
},
"… 11 more items in the full response"
]
},
{
"key_word": "蔡康永抖音",
"search_score": 4377286,
"trends": [
{
"date": "20260922",
"value": 1090
},
{
"date": "20260923",
"value": 2806
},
{
"date": "20260924",
"value": 5314
},
"… 11 more items in the full response"
]
},
"… 7 more items in the full response"
],
"total_count": 841
},
"extra": {
"now": 1791290412000
},
"message": ""
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin Hot Total Search ListAPI 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-search-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_num (integer) và page_size (integer). 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 Total Search List 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.