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

Douyin Author Video Distribution

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

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

Entorno de pruebas

Entrada
Creator ID
Platform source, 1 for Douyin
Platform channel, 1 for short video
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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 más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Douyin$0.002 por llamadaJSON
Douyin$0.002 por llamadaJSON
Douyin$0.002 por llamadaJSON
Douyin$0.01 por llamadaJSON
Douyin$0.003 por llamadaJSON
Douyin$0.001 por llamadaJSON

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

Preguntas

FAQ

¿Cómo uso la API de Douyin Author Video Distribution?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution 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 Author Video Distribution?

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

Requeridos: o_author_id (string). Opcionales: platform_source (integer) y platform_channel (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Douyin Author Video Distribution?

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