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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/hot-search に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $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 key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。