keywordstring
Optional search keyword.
https://api.sandbase.ai/v1/api/douyin/hot-searchSearch Douyin (TikTok China) content with optional keyword, category, video-type, ranking, pagination, engagement, and creator-follower filters. Use it to support trend discovery and campaign research.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
This API returns a page of 10 Douyin videos with engagement stats and creator details. Every input is optional, so an empty request returns the default ranking across all content types. You can narrow results by keyword, contentType, videoType, engagement ranges and creator follower range.
FOOD or GAME for trend research.followerCountMin and followerCountMax to find videos from mid-sized creators for campaign planning.interact_rate and finish_rate across videos to see which ones hold viewers and drive engagement.keyword and rank by HIGH_LIKE to collect top-performing examples for a topic.curl -X POST "https://api.sandbase.ai/v1/api/douyin/hot-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
commentCountMax | integer | No | Maximum raw comment count. |
commentCountMin | integer | No | Minimum raw comment count. |
contentType | string | No | Top-level content type. Only one content type can be selected. |
followerCountMax | integer | No | Maximum raw creator follower count. |
followerCountMin | integer | No | Minimum raw creator follower count. |
interactionCountMax | integer | No | Maximum raw interaction count. |
interactionCountMin | integer | No | Minimum raw interaction count. |
keyword | string | No | Optional search keyword. |
likeCountMax | integer | No | Maximum raw like count. |
likeCountMin | integer | No | Minimum raw like count. |
page | integer | No | Page number (starting from 1). Page size is fixed at 10. |
shareCountMax | integer | No | Maximum raw share count. |
shareCountMin | integer | No | Minimum raw share count. |
sortType | string | No | Sorting criteria for hot content results. |
videoType | string | No | Video type filter. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"content_list": [
{
"attribute_datas": {
"comment_cnt_all": "20665",
"core_user_id": "57918142065",
"cover_image_uri": "tos-cn-p-0015c000-ce/oImMIBo9uAwdfrDsE4wFSy67Ef37qOEBWCzlJA",
"finish_rate": "0.140593",
"interact_cnt": "249138",
"interact_rate": "0.015762",
"is_star_item": "1",
"item_create_time": "1791614892"
},
"id": "7694927369400548849",
"object_type": 2,
"user_info": {
"avatar_url": "https://p11.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_1bc5360e6…",
"core_user_id": "57918142065",
"follower": "6830884",
"name": "My name is 伊森",
"star_id": "6972769927115571236"
}
}
],
"pagination": {
"has_more": true,
"limit": 10,
"page": 1,
"total_count": 2000
}
}
| Field | Meaning |
|---|---|
content_list[].id | ID of the video, returned as a string. |
content_list[].attribute_datas.interact_cnt | Total interaction count for the video. |
content_list[].attribute_datas.interact_rate | Interaction rate for the video, returned as a decimal string such as 0.015762. |
content_list[].attribute_datas.comment_cnt_all | Total comment count for the video. |
content_list[].attribute_datas.finish_rate | Finish rate for the video, returned as a decimal string. |
content_list[].attribute_datas.item_create_time | Creation time of the video as a Unix timestamp in seconds, returned as a string. |
content_list[].attribute_datas.is_star_item | Flag for the video. The sample values are 1. |
content_list[].attribute_datas.cover_image_uri | URI of the video cover image. |
content_list[].user_info.name / content_list[].user_info.follower | Creator display name and follower count. |
content_list[].user_info.core_user_id / content_list[].user_info.star_id | IDs of the creator. core_user_id also appears in attribute_datas. |
page to read more results, and check pagination.has_more to see if another page exists.pagination.total_count shows the total number of matching results, and pagination.limit shows the page size.content_list[].id, try Douyin Video Detail or Douyin Video Statistics.$0.028571 per successful call. Failed calls are not charged.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/hot-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sortType": "COMPREHENSIVE",
"videoType": "ALL",
"contentType": "ALL"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
keywordstringOptional search keyword.
contentTypestringTop-level content type. Only one content type can be selected.
預設:"ALL"
可能值:ALL, FASHION, TECHNOLOGY, SCIENCE, PHOTOGRAPHY, FOOD, MOTHER_BABY, PARENTING, DRAMA, GAME, AUTOMOTIVE, ANIMAL, TRAVEL, DANCE, TRADITIONAL_CULTURE, ART, SPORTS, MUSIC, LIFE_RECORD, HOME_LIVING, LEISURE_ENTERTAINMENT, WORKPLACE, AGRICULTURE, CASUAL, ACG, MOVIE, TV_SERIES, VARIETY_SHOW, CELEBRITY, HUMANITIES_SOCIAL_SCIENCE, EDUCATION_CAMPUS, EMOTION, FINANCE, PUBLIC_WELFARE
videoTypestringVideo type filter.
預設:"ALL"
可能值:ALL, XINGTU_VIDEO, NATURAL_VIDEO
sortTypestringSorting criteria for hot content results.
預設:"COMPREHENSIVE"
可能值:COMPREHENSIVE, HIGH_INTERACTION, HIGH_LIKE, HIGH_COMMENT, HIGH_SHARE
pageintegerPage number (starting from 1). Page size is fixed at 10.
預設:1
likeCountMinintegerMinimum raw like count.
likeCountMaxintegerMaximum raw like count.
commentCountMinintegerMinimum raw comment count.
commentCountMaxintegerMaximum raw comment count.
shareCountMinintegerMinimum raw share count.
shareCountMaxintegerMaximum raw share count.
interactionCountMinintegerMinimum raw interaction count.
interactionCountMaxintegerMaximum raw interaction count.
followerCountMinintegerMinimum raw creator follower count.
followerCountMaxintegerMaximum raw creator follower count.
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| API | 價格 | 回應 |
|---|---|---|
Douyin Hot Search此 API Douyin | 每次呼叫 $0.028571 | 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/hot-search。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.028571,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
不需要任何參數。 選填:keyword (string), contentType(ALL, FASHION, TECHNOLOGY, SCIENCE, PHOTOGRAPHY, FOOD, MOTHER_BABY, PARENTING, DRAMA, GAME, AUTOMOTIVE, ANIMAL, TRAVEL, DANCE, TRADITIONAL_CULTURE, ART, SPORTS, MUSIC, LIFE_RECORD, HOME_LIVING, LEISURE_ENTERTAINMENT, WORKPLACE, AGRICULTURE, CASUAL, ACG, MOVIE, TV_SERIES, VARIETY_SHOW, CELEBRITY, HUMANITIES_SOCIAL_SCIENCE, EDUCATION_CAMPUS, EMOTION, FINANCE, PUBLIC_WELFARE 之一), videoType(ALL, XINGTU_VIDEO, NATURAL_VIDEO 之一), sortType(COMPREHENSIVE, HIGH_INTERACTION, HIGH_LIKE, HIGH_COMMENT, HIGH_SHARE 之一), page (integer) 和 likeCountMin (integer),以及另外 9 個。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Douyin Hot Search 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。