pageintegerbắt buộc
Page number
https://api.sandbase.ai/v1/api/douyin/billboard/hot-challenge-listReturns trending Douyin challenge leaderboard entries with rank, hot score, and video counts. Supports filtering by keyword and page-based pagination.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns the Douyin hot challenge leaderboard as a ranked list. Each entry has a rank, a hot score, a video count, and a short hot score history. The request needs page and page_size, and accepts an optional keyword.
trends list.keyword to find challenges on one theme.sentence_id values to join challenge entries with data from other Douyin APIs.curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-challenge-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"page": 1, "page_size": 10}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
page | integer | Yes | Page number |
page_size | integer | Yes | Number of items per page |
keyword | string | No | Hot search term |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"last_update_time": "20261103152500",
"objs": [
{
"SnapshotID": 20261103152500,
"SnapshotSubType": "hotspot_challenge",
"SnapshotType": 2,
"allow_publish": false,
"city_code": 0,
"city_name": "",
"create_at": 1793592534,
"first_item_cover_url": "",
"hot_score": 9088842,
"index": 1,
"is_favorite": false,
"item_list": null
}
],
"page": {
"page": 1,
"page_size": 100,
"total": 50
}
},
"extra": {
"now": 1793691107000
},
"message": ""
}
| Field | Meaning |
|---|---|
data.objs[].sentence | Name of the challenge topic, as Douyin shows it on the leaderboard. |
data.objs[].sentence_id | Numeric ID of the challenge topic. |
data.objs[].rank / data.objs[].index | Position of the entry on the leaderboard, starting at 1. |
data.objs[].hot_score | Current hot score of the challenge. Higher scores rank higher. |
data.objs[].video_count | Video count for the challenge entry, as returned on the leaderboard. |
data.objs[].trends[].datetime / data.objs[].trends[].hot_score | Past hot score samples. datetime uses the format YYYYMMDDHHMMSS. |
data.objs[].create_at | Unix timestamp in seconds for the entry. |
data.objs[].sentence_tag | Numeric tag code for the challenge. sentence_tag_name is empty in this response. |
data.last_update_time | Time of the latest leaderboard snapshot, in the format YYYYMMDDHHMMSS. |
data.page.page / data.page.page_size / data.page.total | Pagination info. total is the number of entries in the leaderboard. |
page and page_size are both required. Increase page to read further entries.page.page_size value in the response can differ from the page_size you sent, so check the number of items in objs.SnapshotID has the same format as last_update_time, so you can use it to see which snapshot an entry came from.$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-challenge-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"keyword": "",
"page_size": 10
}'Đặ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.
pageintegerbắt buộcPage number
page_sizeintegerbắt buộcNumber of items per page
keywordstringHot search term
Mặc định: ""
Đâ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.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin Hot Challenge 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-challenge-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ý.
Bắt buộc: page (integer) và page_size (integer). Tùy chọn: keyword (string). 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 Challenge 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.