billboard_typestringrequerido
Billboard type
https://api.sandbase.ai/v1/api/douyin/billboard/hot-category-listReturns category IDs and popularity metrics from Douyin hot list billboards. Supports filtering by billboard type, search keywords, and snapshot time ranges.
[
{
"data": {
"code": 0,
"data": [
{
"label": "美食",
"num": 120,
"value": [
9000
]
},
{
"label": "旅行",
"num": 434,
"value": [
10000
]
},
{
"label": "站内玩法",
"num": 426,
"value": [
1004,
1000,
1002,
"… 2 more items in the full response"
]
},
"… 20 more items in the full response"
],
"extra": {
"now": 1790689544000
},
"message": ""
}
}
]Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.
Returns a list of Douyin hot list categories for a given billboard type, with a category label, a count, and numeric category IDs. It needs one input, billboard_type (for example rise). You can narrow results with keyword, snapshot_time, or a start_date and end_date range.
rise billboard to build a category filter for other billboard calls.num counts across categories such as food and travel to see which categories have more entries.snapshot_time values to compare how the category list looks at different times.keyword to check which categories a hot search term falls under.curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-category-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"billboard_type": "rise"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
billboard_type | string | Yes | Billboard type |
end_date | string | No | Snapshot end time |
keyword | string | No | Hot search term |
snapshot_time | string | No | Snapshot time |
start_date | string | No | Snapshot start time |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
{
"label": "美食",
"num": 74,
"value": [
9000
]
}
],
"extra": {
"now": 1793691107000
},
"message": ""
}
| Field | Meaning |
|---|---|
data[].label | Category name in Chinese, for example 美食 (food) or 旅行 (travel). |
data[].num | A count for the category. Larger numbers appear for broader categories, such as 326 for 站内玩法. |
data[].value[] | List of numeric category IDs for this label. Most labels have one ID, and some have several, such as 1004, 1000 and 1002. |
code / message | code is 0 on success. message is an empty string in this response. |
extra.now | Server time of the response as a Unix timestamp in milliseconds. |
billboard_type is the only required parameter. The example uses rise.snapshot_time for a single snapshot, or start_date and end_date for a range.$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-category-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"billboard_type": "rise"
}'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.
billboard_typestringrequeridoBillboard type
end_datestringSnapshot end time
keywordstringHot search term
snapshot_timestringSnapshot time
start_datestringSnapshot start time
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
[
{
"data": {
"code": 0,
"data": [
{
"label": "美食",
"num": 120,
"value": [
9000
]
},
{
"label": "旅行",
"num": 434,
"value": [
10000
]
},
{
"label": "站内玩法",
"num": 426,
"value": [
1004,
1000,
1002,
"… 2 more items in the full response"
]
},
"… 20 more items in the full response"
],
"extra": {
"now": 1790689544000
},
"message": ""
}
}
]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-category-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. Cada organización obtiene 100 llamadas gratis por día UTC, compartidas entre las APIs elegibles de SandBase, incluida esta; después, cada llamada se factura a este precio desde tu saldo de SandBase. No hay suscripción.
Requeridos: billboard_type (string). Opcionales: end_date (string), keyword (string), snapshot_time (string) y start_date (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 Billboard Hot Category List 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.