date_windowinteger
Time window, 1 by hour 2 by day
預設: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": ""
}
}
]選擇一個範例,將其輸入與結果載入 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.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
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
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
date_windowintegerTime window, 1 by hour 2 by day
預設:24
keywordstringSearch keyword
預設:"抖音"
page_numintegerPage number
預設:1
page_sizeintegerNumber of items per page
預設:10
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"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": ""
}
}
]探索更多
| 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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/billboard/hot-total-search-list。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
不需要任何參數。 選填:date_window (integer), keyword (string), page_num (integer) 和 page_size (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Douyin Hot Total Search List 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。