Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Douyin Xingtu KOL Link Structure

Документация 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.

Цена
$0.02USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 0 необязательных

Песочница

Ввод
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`
ВыходПример
Ответoutputs · 782 B · 38 строк
[
  {
    "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
        }
      }
    }
  }
]

Примеры

Выберите пример, чтобы загрузить его входные данные и результат в 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.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Douyin$0.02 за запросJSON
Douyin$0.02 за запросJSON
Douyin$0.02 за запросJSON
Douyin$0.02 за запросJSON
Douyin$0.02 за запросJSON
Douyin$0.02 за запросJSON

Руководства:Best Douyin API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Douyin Xingtu KOL Link Structure?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/douyin/xingtu/kol-link-struct-v1, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Douyin Xingtu KOL Link Structure?

$0.02 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Douyin Xingtu KOL Link Structure?

Обязательные: kolId (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Douyin Xingtu KOL Link Structure?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Douyin или API key?

Нет. Douyin Xingtu KOL Link Structure работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Douyin.