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

Douyin Author Video Distribution

Docs da API
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution

Get Author Video Distribution on Douyin. Returns the platform data as structured JSON.

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

Playground

Entrada
Creator ID
Platform source, 1 for Douyin
Platform channel, 1 for short video
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

Douyin Author Video Distribution API

This API returns the content category breakdown of one Douyin creator's short videos, as listed on Xingtu. It needs the creator ID in o_author_id. Each row shows a category name, a video count, and that category's share of the total.

Use cases

  • Check whether a creator's videos match the category of your product before you plan a campaign.
  • Compare the main content categories of several creators to build a shortlist for a brand.
  • Spot creators whose output is spread across many categories versus those who focus on one.
  • Add a category mix column to an internal creator database.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"o_author_id": "7112600044674482187", "platform_source": 1, "platform_channel": 1}'

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

Parameters

NameTypeRequiredDescription
o_author_idstringYesCreator ID
platform_channelintegerNoPlatform channel, 1 for short video
platform_sourceintegerNoPlatform source, 1 for Douyin

Example response

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

{
  "base_resp": {
    "status_code": 0,
    "status_message": ""
  },
  "video_content_distribution": [
    {
      "cnt": 4,
      "id": "0",
      "name": "生活家居",
      "proportion": 0.6667
    }
  ]
}

Response fields

FieldMeaning
video_content_distribution[]One entry per content category found in the creator's videos. The list is sorted from the largest share to the smallest in the sample.
video_content_distribution[].nameCategory name in Chinese, for example 生活家居 (home and living) or 时尚 (fashion).
video_content_distribution[].cntNumber of the creator's videos counted in this category.
video_content_distribution[].proportionShare of the counted videos that fall in this category, as a decimal. For example 0.6667 means about two thirds.
video_content_distribution[].idCategory ID. It is "0" for every row in this response, so use name to tell categories apart.
base_resp.status_code / base_resp.status_messageStatus of the request. 0 with an empty message means it succeeded.

Notes

Pricing

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

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 Author Video Distribution?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution 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 Author Video Distribution?

$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 Author Video Distribution aceita?

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

O que a API Douyin Author Video Distribution 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 Author Video Distribution 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.