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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform 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 key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ 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 นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin Hot SearchAPI นี้ 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 ไปที่ https://api.sandbase.ai/v1/api/douyin/hot-search โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน 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 ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Hot Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก