keywordstringआवश्यक
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"
}
]
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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": "华为"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
keywordstringआवश्यकBrand name keyword
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"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"
}
]
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/index/brand-suggest पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: keyword (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Brand Search Suggestions SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।