end_datestringrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento 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"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
end_datestringrequeridoEnd date YYYYMMDD. **Must be a Sunday only when period=7**; any day for period=1/3
tag_idstringrequeridoCategory ID (same as category_id in fetch_item_query)
periodstring"1" / "3" / "7"
Valor predeterminado: "7"
Valores posibles: 1, 3, 7
rank_typestring"index" or "rise"
Valor predeterminado: "index"
Valores posibles: index, rise
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Douyin Content Creative TopicsEsta API Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/index/content-creative-topic con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: end_date (string) y tag_id (string). Opcionales: period (una de 1, 3, 7) y rank_type (una de index, rise). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Douyin Content Creative Topics funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Douyin por separado.