sec_uidstringrequerido
User sec_id
https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-fans-interest-topic-listReturns the top ten topics that an account's followers were interested in over the last three days based on a specified user ID.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Returns up to ten topics (hashtags) that followers of a Douyin account were interested in over the last three days. It needs one input, the account's sec_uid.
sec_uid.trends values.curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-fans-interest-topic-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
sec_uid | string | Yes | User sec_id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
{
"challenge_base_info": {
"avg_play_cnt": 126318,
"challenge_id": "1609320153042948",
"challenge_name": "theshy",
"challenge_type": 1,
"cover_url": "https://p26-sign.douyinpic.com/aweme/200x200/image-cut-tos/a612fcb74474ed514f978…",
"create_time": 1534767297,
"fancy_qrcode": "https://p11-sign.douyinpic.com/aweme-qrcode/SEWOcX7703835840601917194~c5_200x200…",
"play_cnt": 60937251819
},
"challenge_data": {
"challenge_id": 1609320153042948,
"comment_cnt": 97727,
"hot_score": 1169147,
"like_cnt": 897683,
"plav_avg": 3538.751681000782,
"play_cnt": 67890951,
"publish_cnt": 19185
},
"trends": [
{
"datetime": 1785686400,
"value": 878729
}
]
}
],
"extra": {
"now": 1793691105000
},
"message": ""
}
| Field | Meaning |
|---|---|
data[].challenge_base_info.challenge_name | Name of the topic or hashtag. |
data[].challenge_base_info.challenge_id | ID of the topic, returned as a string. |
data[].challenge_base_info.play_cnt / data[].challenge_base_info.avg_play_cnt | Play count figures for the topic. play_cnt is the larger total and avg_play_cnt is a per-item average. |
data[].challenge_base_info.challenge_type | Numeric type code of the topic. Values seen are 0, 1 and 2. The response does not explain what each code means. |
data[].challenge_base_info.create_time | Unix timestamp in seconds for when the topic was created. |
data[].challenge_base_info.cover_url / data[].challenge_base_info.fancy_qrcode | Links to the topic cover image and a QR code image. |
data[].challenge_data.hot_score | Heat score for the topic. It is 0 when no recent data is returned for that topic. |
data[].challenge_data.publish_cnt / play_cnt / like_cnt / comment_cnt | Recent activity counts for the topic: videos published, plays, likes and comments. All are 0 when no recent data is returned. |
data[].trends[].datetime / data[].trends[].value | One point per day in the topic trend. datetime is a Unix timestamp in seconds. The list is empty for some topics. |
sec_uid as a string. Use the same account ID format shown in the example, which starts with MS4w.data list has no pagination parameters. The request takes only sec_uid.0 in every challenge_data field and an empty trends list. Use challenge_base_info for those topics.$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/billboard/hot-account-fans-interest-topic-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"
}'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.
sec_uidstringrequeridoUser sec_id
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 | $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/billboard/hot-account-fans-interest-topic-list 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: sec_uid (string). 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 Account Fan Interest 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.