keyword_liststringrequerido
Brand name list, comma separated
https://api.sandbase.ai/v1/api/douyin/index/brand-valid-infoReturns brand details including brand ID and category information on Douyin. Queries are filtered using comma-separated brand keywords.
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"keyword_info": [
{
"brand_info": [
{
"brand_id": "9117",
"brand_name": "华为",
"category_id": "11",
"category_name": "手机"
},
{
"brand_id": "9117",
"brand_name": "华为",
"category_id": "28",
"category_name": "家用电器"
}
],
"brand_status": "1",
"keyword": "华为",
"yuntu_status": "1"
}
]
}
}
]Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.
Returns the Douyin brand records that match each keyword you send, including brand_id and the categories the brand is listed under. It needs one input, keyword_list, a comma-separated string of brand names.
华为 is a recognized Douyin brand before you query other brand endpoints.brand_id for a brand name so you can store it or pass it to later lookups.手机 and 家用电器 for 华为.brand_status and yuntu_status for a batch of brand names in one call.curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/brand-valid-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword_list": "华为"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword_list | string | Yes | Brand name list, comma separated |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"keyword_info": [
{
"brand_info": [
{
"brand_id": "9117",
"brand_name": "华为",
"category_id": "11",
"category_name": "手机"
}
],
"brand_status": "1",
"keyword": "华为",
"yuntu_status": "1"
}
]
}
| Field | Meaning |
|---|---|
keyword_info[].keyword | The keyword from your request that this result belongs to. |
keyword_info[].brand_info[] | List of brand and category matches for the keyword. The same brand can appear more than once, once per category. |
keyword_info[].brand_info[].brand_id | ID of the brand, returned as a string. It stays the same across the category rows of one brand. |
keyword_info[].brand_info[].brand_name | Name of the matched brand. |
keyword_info[].brand_info[].category_id / keyword_info[].brand_info[].category_name | ID and name of a category the brand is listed under, such as 手机 (11) or 家用电器 (28). |
keyword_info[].brand_status | Status flag for the brand, returned as a string. 1 for 华为. |
keyword_info[].yuntu_status | Status flag named yuntu_status, returned as a string. 1 for 华为. |
BaseResp.StatusCode / BaseResp.StatusMessage | Status of the call. 0 with an empty message means the request succeeded. |
keyword_list as one comma-separated string. Each name gets its own entry in keyword_info.brand_info holds one row per category with the same brand_id.$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/brand-valid-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword_list": "华为"
}'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.
keyword_liststringrequeridoBrand name list, comma separated
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"keyword_info": [
{
"brand_info": [
{
"brand_id": "9117",
"brand_name": "华为",
"category_id": "11",
"category_name": "手机"
},
{
"brand_id": "9117",
"brand_name": "华为",
"category_id": "28",
"category_name": "家用电器"
}
],
"brand_status": "1",
"keyword": "华为",
"yuntu_status": "1"
}
]
}
}
]Explorar más
| API | Precio | Respuesta |
|---|---|---|
Douyin Brand Valid InformationEsta 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/brand-valid-info 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: keyword_list (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 Brand Valid Information 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.