pageinteger必填
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.
您的输出将显示在这里
完成输入,然后点击运行。
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.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
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
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
pageinteger必填Page number
page_sizeinteger必填Number of items per page
keywordstringHot search term
默认值:""
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| 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 |
问题
向 https://api.sandbase.ai/v1/api/douyin/billboard/hot-challenge-list 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:page (integer) 和 page_size (integer)。 可选:keyword (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Hot Challenge List 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。