Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Douyin Xingtu KOL Link Structure

Documentación de la 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.

Precio
$0.02USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
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`
SalidaEjemplo
Respuestaoutputs · 782 B · 38 líneas
[
  {
    "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
        }
      }
    }
  }
]

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Douyin$0.02 por llamadaJSON
Douyin$0.02 por llamadaJSON
Douyin$0.02 por llamadaJSON
Douyin$0.02 por llamadaJSON
Douyin$0.02 por llamadaJSON
Douyin$0.02 por llamadaJSON

Guías:Best Douyin API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Douyin Xingtu KOL Link Structure?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/xingtu/kol-link-struct-v1 con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Douyin Xingtu KOL Link Structure?

$0.02 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Douyin Xingtu KOL Link Structure?

Requeridos: kolId (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Douyin Xingtu KOL Link Structure?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Douyin?

No. Douyin Xingtu KOL Link Structure funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Douyin por separado.