end_datestringobrigatório
End date YYYYMMDD. **Must be a Sunday only when period=7**; any day for period=1/3
https://api.sandbase.ai/v1/api/douyin/index/content-creative-topicReturns trending creative topics for a specific Douyin category. Filter results by category ID, evaluation period, ranking metric, and end date.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Returns a list of trending creative topics (hashtags) for one Douyin content category. Each topic comes with engagement totals and a few sample videos. You send a tag_id and an end_date.
index, digg_cnt and item_cnt to pick tags for new videos.rank_type to rise to find topics that are growing fastest.curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/content-creative-topic" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"end_date": "20260405", "tag_id": "601"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
end_date | string | Yes | End date YYYYMMDD. Must be a Sunday only when period=7; any day for period=1/3 |
tag_id | string | Yes | Category ID (same as category_id in fetch_item_query) |
period | string | No | "1" / "3" / "7" |
rank_type | string | No | "index" or "rise" |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"topic_list": [
{
"digg_cnt": "171445435",
"id": "1635669004810253",
"index": "201575639",
"item_cnt": "19739286",
"item_list": [
{
"img": "https://p9-byteindex-sign.byteimg.com/tos-cn-p-0015c000-ce/oAfEB3pEBb9bEEkAFmALx…",
"item_id": "7621900494017844389",
"title": "仅用了0秒就接受了自己的新身份#vlog十亿流量扶持计划 #内容太过真实 #vlog日常 #搞笑 #学生时代",
"url": "https://www.douyin.com/share/video/7621900494017844389"
}
],
"name": "搞笑",
"vv": "9700000928"
}
]
}
| Field | Meaning |
|---|---|
topic_list[].name | Topic name, shown as a hashtag-style label such as 搞笑. |
topic_list[].id | ID of the topic. |
topic_list[].index | Index score used to rank the topic. Higher values mean a higher rank under rank_type index. |
topic_list[].digg_cnt | Total like count for videos under the topic. |
topic_list[].item_cnt | Number of videos under the topic. |
topic_list[].vv | View count for the topic. |
topic_list[].item_list[].title | Caption of a sample video, including its hashtags. |
topic_list[].item_list[].item_id | ID of the sample video. |
topic_list[].item_list[].url | Share link to the sample video on douyin.com. |
topic_list[].item_list[].img | Cover image URL of the sample video. The link is signed and carries an expiry in its query string. |
digg_cnt, index and vv come back as strings.end_date uses the format YYYYMMDD. It must be a Sunday when period is 7. Any day works for 1 or 3.tag_id is the same value as category_id in the video search APIs. Douyin Index Video Search is a related call.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
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/index/content-creative-topic" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"period": "7",
"tag_id": "601",
"end_date": "20260405",
"rank_type": "index"
}'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.
end_datestringobrigatórioEnd date YYYYMMDD. **Must be a Sunday only when period=7**; any day for period=1/3
tag_idstringobrigatórioCategory ID (same as category_id in fetch_item_query)
periodstring"1" / "3" / "7"
Padrão: "7"
Valores possíveis: 1, 3, 7
rank_typestring"index" or "rise"
Padrão: "index"
Valores possíveis: index, rise
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 Content Creative TopicsEsta API 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 |
Douyin | $0.001 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/index/content-creative-topic 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.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: end_date (string) e tag_id (string). Opcionais: period (um de 1, 3, 7) e rank_type (um de index, rise). 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 Content Creative Topics 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.