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 Valid Information

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/index/brand-valid-info

Returns brand details including brand ID and category information on Douyin. Queries are filtered using comma-separated brand keywords.

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
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
Brand name list, comma separated
Đầu raVí dụ
Phản hồioutputs · 629 B · 31 dòng
[
  {
    "data": {
      "BaseResp": {
        "StatusCode": 0,
        "StatusMessage": ""
      },
      "keyword_info": [
        {
          "brand_info": [
            {
              "brand_id": "9117",
              "brand_name": "华为",
              "category_id": "11",
              "category_name": "手机"
            },
            {
              "brand_id": "9117",
              "brand_name": "华为",
              "category_id": "28",
              "category_name": "家用电器"
            }
          ],
          "brand_status": "1",
          "keyword": "华为",
          "yuntu_status": "1"
        }
      ]
    }
  }
]

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 Valid Information API

Returns the Douyin brand records that match each keyword you send, including brand_id and the categories the brand is listed under. It needs one input, keyword_list, a comma-separated string of brand names.

Use cases

  • Check whether a brand name such as 华为 is a recognized Douyin brand before you query other brand endpoints.
  • Get the brand_id for a brand name so you can store it or pass it to later lookups.
  • List every category a brand appears in, for example 手机 and 家用电器 for 华为.
  • Check brand_status and yuntu_status for a batch of brand names in one call.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/brand-valid-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword_list": "华为"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keyword_liststringYesBrand name list, comma separated

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "BaseResp": {
    "StatusCode": 0,
    "StatusMessage": ""
  },
  "keyword_info": [
    {
      "brand_info": [
        {
          "brand_id": "9117",
          "brand_name": "华为",
          "category_id": "11",
          "category_name": "手机"
        }
      ],
      "brand_status": "1",
      "keyword": "华为",
      "yuntu_status": "1"
    }
  ]
}

Response fields

FieldMeaning
keyword_info[].keywordThe keyword from your request that this result belongs to.
keyword_info[].brand_info[]List of brand and category matches for the keyword. The same brand can appear more than once, once per category.
keyword_info[].brand_info[].brand_idID of the brand, returned as a string. It stays the same across the category rows of one brand.
keyword_info[].brand_info[].brand_nameName of the matched brand.
keyword_info[].brand_info[].category_id / keyword_info[].brand_info[].category_nameID and name of a category the brand is listed under, such as 手机 (11) or 家用电器 (28).
keyword_info[].brand_statusStatus flag for the brand, returned as a string. 1 for 华为.
keyword_info[].yuntu_statusStatus flag named yuntu_status, returned as a string. 1 for 华为.
BaseResp.StatusCode / BaseResp.StatusMessageStatus of the call. 0 with an empty message means the request succeeded.

Notes

  • Send several brand names in keyword_list as one comma-separated string. Each name gets its own entry in keyword_info.
  • If a brand has several categories, brand_info holds one row per category with the same brand_id.
  • If you do not know the exact brand name, call Douyin Brand Search Suggestions first.
  • To see popularity data for a brand, use Douyin Brand Trend Lines.

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 Valid Information?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/index/brand-valid-info 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 Valid Information có giá bao nhiêu?

$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

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

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

API Douyin Brand Valid Information 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 Valid Information 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.