date_windowinteger
Time window, 1 by hour 2 by day
Mặc định: 24
https://api.sandbase.ai/v1/api/douyin/billboard/hot-total-hot-word-listReturns trending content words and popularity scores from Douyin billboards. Supports filtering by search keyword, time window, and pagination parameters.
[
{
"data": {
"code": 0,
"data": {
"total_count": 1293,
"word_list": [
{
"favorite_id": 0,
"id": "OgfmEKEBoYl6zwhY5vp0",
"is_favorite": false,
"query_day": "20261005",
"rising_ratio": 0,
"rising_speed": "",
"score": 83,
"title": "抖音音",
"trends": [
{
"date": "20261005",
"value": 8354
}
]
},
{
"favorite_id": 0,
"id": "WUHnEKEBXfdyFZxbAAxj",
"is_favorite": false,
"query_day": "20261005",
"rising_ratio": 0,
"rising_speed": "",
"score": 35,
"title": "抖音抖一抖",
"trends": [
{
"date": "20261005",
"value": 3537.4601190476183
}
]
},
{
"favorite_id": 0,
"id": "BnHmEKEBjgz1wI4EyyrV",
"is_favorite": false,
"query_day": "20261005",
"rising_ratio": 0,
"rising_speed": "",
"score": 204,
"title": "抖音上",
"trends": [
{
"date": "20260905",
"value": 2105.6512820512817
},
{
"date": "20260906",
"value": 1372.974074074074
},
{
"date": "20261005",
"value": 15575.521428571428
}
]
},
"… 7 more items in the full response"
]
},
"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 billboard content words that match a search keyword. Each word has a popularity score and a daily trend series. The request takes optional keyword, date_window, page_num and page_size values.
人工智能 is on Douyin compared with similar words.curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-total-hot-word-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": [
{
"favorite_id": 0,
"id": "NRsKn6EBoYl6zwhYLhSC",
"is_favorite": false,
"query_day": "20261102",
"rising_ratio": 0,
"rising_speed": "",
"score": 112,
"title": "抖音音乐",
"trends": [
{
"date": "20260928",
"value": 9177.417093277045
}
]
}
],
"total_count": 1268,
"word_list": [
{
"favorite_id": 0,
"id": "NRsKn6EBoYl6zwhYLhSC",
"is_favorite": false,
"query_day": "20261102",
"rising_ratio": 0,
"rising_speed": "",
"score": 112,
"title": "抖音音乐",
"trends": [
{
"date": "20260928",
"value": 9177.417093277045
}
]
}
]
},
"extra": {
"now": 1793691109000
},
"message": ""
}
| Field | Meaning |
|---|---|
data.word_list[].title | The content word text. |
data.word_list[].score | Popularity score of the word. Higher values mean a more popular word. |
data.word_list[].id | Identifier of the word entry. |
data.word_list[].query_day | Day of the query, as a YYYYMMDD string. |
data.word_list[].trends[].date / data.word_list[].trends[].value | One point of the trend series. date is a YYYYMMDD string and value is the metric number for that day. |
data.word_list[].rising_ratio / data.word_list[].rising_speed | Rise indicators for the word. They were 0 and an empty string in this sample. |
data.word_list[].is_favorite / data.word_list[].favorite_id | Favorite state of the word for the account. They were false and 0 in this sample. |
data.total_count | Total number of words that match the request. Use it to work out how many pages exist. |
data.objs[] | Holds the same items as data.word_list[]. |
date_window to 1 for hourly data or 2 for daily data.page_num and page_size. Compare data.total_count with the number of items you have fetched.query_day and trends[].date use the YYYYMMDD format.$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-hot-word-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": {
"total_count": 1293,
"word_list": [
{
"favorite_id": 0,
"id": "OgfmEKEBoYl6zwhY5vp0",
"is_favorite": false,
"query_day": "20261005",
"rising_ratio": 0,
"rising_speed": "",
"score": 83,
"title": "抖音音",
"trends": [
{
"date": "20261005",
"value": 8354
}
]
},
{
"favorite_id": 0,
"id": "WUHnEKEBXfdyFZxbAAxj",
"is_favorite": false,
"query_day": "20261005",
"rising_ratio": 0,
"rising_speed": "",
"score": 35,
"title": "抖音抖一抖",
"trends": [
{
"date": "20261005",
"value": 3537.4601190476183
}
]
},
{
"favorite_id": 0,
"id": "BnHmEKEBjgz1wI4EyyrV",
"is_favorite": false,
"query_day": "20261005",
"rising_ratio": 0,
"rising_speed": "",
"score": 204,
"title": "抖音上",
"trends": [
{
"date": "20260905",
"value": 2105.6512820512817
},
{
"date": "20260906",
"value": 1372.974074074074
},
{
"date": "20261005",
"value": 15575.521428571428
}
]
},
"… 7 more items in the full response"
]
},
"extra": {
"now": 1791290412000
},
"message": ""
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin Hot Content WordsAPI 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-hot-word-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. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạ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 Content Words 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.