keyword_liststringobrigatório
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"
}
]
}
}
]Selecione um exemplo para carregar as entradas e o resultado no 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.
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/brand-valid-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword_list": "华为"
}'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.
keyword_liststringobrigatórioBrand name list, comma separated
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
[
{
"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 mais
| API | Preço | Resposta |
|---|---|---|
Douyin Brand Valid InformationEsta 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/brand-valid-info 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. Cada organização recebe 100 chamadas grátis por dia UTC, compartilhadas entre as APIs elegíveis da SandBase, incluindo esta; depois disso, cada chamada é cobrada nesse valor do seu saldo SandBase. Não há assinatura.
Obrigatórios: keyword_list (string). 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 Brand Valid Information 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.