keywordstringobligatoire
Brand name keyword
https://api.sandbase.ai/v1/api/douyin/index/brand-suggestReturns a list of brand auto-complete suggestions based on a query keyword. Results include brand identifiers, names, categories, and logo image links.
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"suggestion_list": [
{
"brand_id": "9117",
"brand_name": "华为",
"category_id": "11",
"category_name": "手机",
"logo_url": "https://p1.douyinpic.com/large/ad-brand/9117.jpg"
},
{
"brand_id": "9117",
"brand_name": "华为",
"category_id": "28",
"category_name": "家用电器",
"logo_url": "https://p3.toutiaoimg.com/large/ad-brand/9117.jpg"
}
]
}
}
]Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
Returns a list of brand auto-complete suggestions on Douyin for a brand name keyword. Each suggestion has a brand ID, brand name, category, and logo image link. The only input is keyword.
华为 into a brand_id for other Douyin Index calls.curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/brand-suggest" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "华为"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Brand name keyword |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"suggestion_list": [
{
"brand_id": "9117",
"brand_name": "华为",
"category_id": "11",
"category_name": "手机",
"logo_url": "https://p1.douyinpic.com/large/ad-brand/9117.jpg"
}
]
}
| Field | Meaning |
|---|---|
suggestion_list | List of brand suggestions that match keyword. Each item is one brand and category pair. |
suggestion_list[].brand_id | ID of the brand, returned as a string. The same brand can appear in several items with the same ID. |
suggestion_list[].brand_name | Display name of the brand. |
suggestion_list[].category_id / suggestion_list[].category_name | ID and name of the category the brand is listed under, for example 手机 (phones) or 家用电器 (home appliances). |
suggestion_list[].logo_url | Link to the brand logo image. |
BaseResp.StatusCode | Status code of the response. 0 appears in a successful call. |
BaseResp.StatusMessage | Status text. It is an empty string in a successful call. |
brand_id can repeat across items when the brand has more than one category, so group by brand_id if you need unique brands.brand_id and brand_name from this response as input for brand analysis APIs such as Douyin Brand Popularity Cycles or Douyin Brand Trend Lines.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/brand-suggest" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "华为"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
keywordstringobligatoireBrand name keyword
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"suggestion_list": [
{
"brand_id": "9117",
"brand_name": "华为",
"category_id": "11",
"category_name": "手机",
"logo_url": "https://p1.douyinpic.com/large/ad-brand/9117.jpg"
},
{
"brand_id": "9117",
"brand_name": "华为",
"category_id": "28",
"category_name": "家用电器",
"logo_url": "https://p3.toutiaoimg.com/large/ad-brand/9117.jpg"
}
]
}
}
]Explorer plus
| API | Prix | Réponse |
|---|---|---|
Douyin Brand Search SuggestionsCette API Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/index/brand-suggest avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : keyword (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Douyin Brand Search Suggestions fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Douyin séparément.