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

Douyin Xingtu KOL Link Structure

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/xingtu/kol-link-struct-v1

Returns the link structure data for a Douyin Xingtu creator. Queries the platform structure by specifying the creator's KOL identifier.

Giá
$0.02USD / 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
User kolId, can be obtained from the following interfaces: `douyin/xingtu/xingtu-kolid-by-uid`; `douyin/xingtu/xingtu-kolid-by-sec-user-id`; `douyin/xingtu/xingtu-kolid-by-unique-id`
Đầu raVí dụ
Phản hồioutputs · 782 B · 38 dòng
[
  {
    "data": {
      "author_link_type": "种草",
      "base_resp": {
        "status_code": 0,
        "status_message": ""
      },
      "link_struct": {
        "1": {
          "proportion": 0.3333333333333333,
          "same_industry_median": 7375,
          "value": 4
        },
        "2": {
          "proportion": 0.16666666666666666,
          "same_industry_median": 1973,
          "value": 2
        },
        "3": {
          "proportion": 0.5,
          "same_industry_median": 692,
          "value": 6
        },
        "4": {
          "proportion": 0,
          "same_industry_median": 0,
          "value": 0
        },
        "5": {
          "rank_percent": 0.9596,
          "relative_ratio": 0.2,
          "value": 12
        }
      }
    }
  }
]

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 Xingtu KOL Link Structure API

Returns the link structure for one Douyin Xingtu creator. The response has a link type label and five numbered entries with values, proportions and same-industry comparisons. The only input is the creator's kolId.

Use cases

  • Check the author_link_type label of a creator before adding them to a Xingtu shortlist.
  • Compare the proportion split across entries 1 to 4 for different creators.
  • Compare a creator's same_industry_median numbers with the industry medians for the same entries.
  • Pull rank_percent for entry 5 to sort a list of candidate creators.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/kol-link-struct-v1" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kolId": "7048929565493690398"}'

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

Parameters

NameTypeRequiredDescription
kolIdstringYesUser kolId, can be obtained from the following interfaces: douyin/xingtu/xingtu-kolid-by-uid; douyin/xingtu/xingtu-kolid-by-sec-user-id; douyin/xingtu/xingtu-kolid-by-unique-id

Example response

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

{
  "author_link_type": "种草",
  "base_resp": {
    "status_code": 0,
    "status_message": ""
  },
  "link_struct": {
    "1": {
      "proportion": 0.3,
      "same_industry_median": 7393,
      "value": 3
    },
    "2": {
      "proportion": 0.2,
      "same_industry_median": 1913,
      "value": 2
    },
    "3": {
      "proportion": 0.5,
      "same_industry_median": 653,
      "value": 5
    },
    "4": {
      "proportion": 0,
      "same_industry_median": 0,
      "value": 0
    },
    "5": {
      "rank_percent": 0.9634,
      "relative_ratio": -0.2308,
      "value": 10
    }
  }
}

Response fields

FieldMeaning
author_link_typeText label for the creator's link type. The sample value is the Chinese label 种草.
link_struct.1.value / link_struct.2.value / link_struct.3.value / link_struct.4.valueNumber for each of entries 1 to 4. In the sample they are 3, 2, 5 and 0.
link_struct.1.proportion / link_struct.2.proportion / link_struct.3.proportion / link_struct.4.proportionShare of each entry as a decimal. In the sample they are 0.3, 0.2, 0.5 and 0, and they add up to 1.
link_struct.1.same_industry_median / link_struct.2.same_industry_median / link_struct.3.same_industry_median / link_struct.4.same_industry_medianMedian for creators in the same industry, for each entry. Use it as a benchmark next to the creator's own numbers.
link_struct.5.valueNumber for entry 5. In the sample it is 10, which equals the sum of the values in entries 1 to 4.
link_struct.5.rank_percentRank percentile for entry 5 as a decimal. The sample value is 0.9634.
link_struct.5.relative_ratioRelative ratio for entry 5. The value can be negative, as in the sample -0.2308.
base_resp.status_code / base_resp.status_messageStatus of the request. A status_code of 0 with an empty status_message appears in the sample response.

Notes

Pricing

$0.02 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.02 mỗi lần gọiJSON
Douyin$0.02 mỗi lần gọiJSON
Douyin$0.02 mỗi lần gọiJSON
Douyin$0.02 mỗi lần gọiJSON
Douyin$0.02 mỗi lần gọiJSON
Douyin$0.02 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 Xingtu KOL Link Structure?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu/kol-link-struct-v1 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 Xingtu KOL Link Structure có giá bao nhiêu?

$0.02 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 Xingtu KOL Link Structure chấp nhận những tham số nào?

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

API Douyin Xingtu KOL Link Structure 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 Xingtu KOL Link Structure 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.