Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Douyin Brand Search Suggestions

Dokumentacja API
https://api.sandbase.ai/v1/api/douyin/index/brand-suggest

Returns a list of brand auto-complete suggestions based on a query keyword. Results include brand identifiers, names, categories, and logo image links.

Cena
$0.001USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 0 opcjonalnych

Playground

Wejście
Brand name keyword
WyjściePrzykład
Odpowiedźoutputs · 586 B · 26 wierszy
[
  {
    "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"
        }
      ]
    }
  }
]

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

README API

Douyin Brand Search Suggestions API

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.

Use cases

  • Fill a brand search box with live suggestions as a user types.
  • Convert a typed brand name such as 华为 into a brand_id for other Douyin Index calls.
  • List every category a brand appears under, such as phones and home appliances.
  • Show brand logos next to suggestion labels in a discovery tool.

Request

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.

Parameters

NameTypeRequiredDescription
keywordstringYesBrand name keyword

Example response

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"
    }
  ]
}

Response fields

FieldMeaning
suggestion_listList of brand suggestions that match keyword. Each item is one brand and category pair.
suggestion_list[].brand_idID of the brand, returned as a string. The same brand can appear in several items with the same ID.
suggestion_list[].brand_nameDisplay name of the brand.
suggestion_list[].category_id / suggestion_list[].category_nameID and name of the category the brand is listed under, for example 手机 (phones) or 家用电器 (home appliances).
suggestion_list[].logo_urlLink to the brand logo image.
BaseResp.StatusCodeStatus code of the response. 0 appears in a successful call.
BaseResp.StatusMessageStatus text. It is an empty string in a successful call.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON

Przewodniki:Best Douyin API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Douyin Brand Search Suggestions?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/index/brand-suggest z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Douyin Brand Search Suggestions?

$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Douyin Brand Search Suggestions?

Wymagane: keyword (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Douyin Brand Search Suggestions?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Douyin lub klucza API?

Nie. Douyin Brand Search Suggestions działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Douyin.