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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
keywordstringOptional search keyword.
contentTypestringTop-level content type. Only one content type can be selected.
Padrão: "ALL"
Valores possíveis: 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.
Padrão: "ALL"
Valores possíveis: ALL, XINGTU_VIDEO, NATURAL_VIDEO
sortTypestringSorting criteria for hot content results.
Padrão: "COMPREHENSIVE"
Valores possíveis: COMPREHENSIVE, HIGH_INTERACTION, HIGH_LIKE, HIGH_COMMENT, HIGH_SHARE
pageintegerPage number (starting from 1). Page size is fixed at 10.
Padrão: 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.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Douyin Hot SearchEsta API Douyin | $0.028571 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/hot-search com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.028571 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Nenhum parâmetro é obrigatório. Opcionais: keyword (string), contentType (um de 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 (um de ALL, XINGTU_VIDEO, NATURAL_VIDEO), sortType (um de COMPREHENSIVE, HIGH_INTERACTION, HIGH_LIKE, HIGH_COMMENT, HIGH_SHARE), page (integer) e likeCountMin (integer) e mais 9. A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Douyin Hot Search funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Douyin separadamente.