Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Douyin XingTu kolId by Douyin ID

Docs da API
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/xingtu-kolid-by-unique-id

Returns Xingtu author profile details and platform identifiers matching a specified Douyin unique identifier.

Preço
$0.002USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 0 opcionais

Playground

Entrada
Douyin unique_id
SaídaExemplo
Respostaoutputs · 129 B · 8 linhas
[
  {
    "data": {
      "exist": false,
      "message": "用户不存在或未加入星图/User does not exist or has not joined Xingtu"
    }
  }
]

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da API

Douyin XingTu kolId by Douyin ID API

Returns the Xingtu author record that matches a Douyin unique_id. The response has the Xingtu author id, the core_user_id, the nickname, the avatar URL and a content tag. The only input is unique_id.

Use cases

  • Convert a Douyin unique_id into the Xingtu author id before calling other Xingtu author APIs.
  • Check the tag and nick_name of a creator before adding them to a campaign list.
  • Match a list of Douyin handles to Xingtu authors and store the core_user_id for each one.
  • Get the avatar URL of a Xingtu author for a creator roster.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/xingtu-kolid-by-unique-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"unique_id": "dyczxzs"}'

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

Parameters

NameTypeRequiredDescription
unique_idstringYesDouyin unique_id

Example response

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

{
  "avatar_uri": "https://p11.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_3beaaeb52…",
  "base_resp": {
    "status_code": 0,
    "status_message": "Success"
  },
  "core_user_id": "92769419069",
  "finish_rate_ovr": 0,
  "hot_list_ranks": [],
  "id": "6870164585236660237",
  "nick_name": "抖音作者助手",
  "tag": "教育培训"
}

Response fields

FieldMeaning
idXingtu author ID as a string. Use this value as the author ID in other Xingtu author APIs.
core_user_idCore user ID of the account, returned as a string.
nick_nameDisplay name of the creator.
tagContent category label of the creator. The example value is 教育培训 (education and training).
avatar_uriURL of the creator's avatar image.
finish_rate_ovrNumeric completion rate value. It is 0 in the example response, and the response does not state its unit.
hot_list_ranksList of hot list rankings for the creator. It is empty in the example response.
base_resp.status_code / base_resp.status_messageResult status of the lookup. 0 and Success mean the call worked.

Notes

Pricing

$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Douyin$0.002 por chamadaJSON
Douyin$0.002 por chamadaJSON
Douyin$0.002 por chamadaJSON
Douyin$0.01 por chamadaJSON
Douyin$0.003 por chamadaJSON
Douyin$0.001 por chamadaJSON

Guias:Best Douyin API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Douyin XingTu kolId by Douyin ID?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/xingtu-v2/xingtu-kolid-by-unique-id com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Douyin XingTu kolId by Douyin ID?

$0.002 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Douyin XingTu kolId by Douyin ID aceita?

Obrigatórios: unique_id (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Douyin XingTu kolId by Douyin ID retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Douyin ou de uma chave de API?

Não. Douyin XingTu kolId by Douyin ID funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Douyin separadamente.