keywordstringwajib
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"
}
]
}
}
]Pilih contoh untuk memuat input dan hasilnya ke 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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": "华为"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
keywordstringwajibBrand name keyword
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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"
}
]
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/index/brand-suggest dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: keyword (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Brand Search Suggestions berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.