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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/billboard/hot-challenge-list に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: page (integer) と page_size (integer)。 任意: keyword (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Hot Challenge List は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。