Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Douyin Brand Search Suggestions

Tài liệu 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.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
Brand name keyword
Đầu raVí dụ
Phản hồioutputs · 586 B · 26 dòng
[
  {
    "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"
        }
      ]
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Douyin API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Douyin Brand Search Suggestions?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/index/brand-suggest với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Douyin Brand Search Suggestions có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Douyin Brand Search Suggestions chấp nhận những tham số nào?

Bắt buộc: keyword (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Brand Search Suggestions trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?

Không. Douyin Brand Search Suggestions chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.