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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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 key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
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 के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए 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 |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/hot-search पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.028571 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: 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 table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Hot Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।