o_author_idstringrequerido
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distributionGet Author Video Distribution on Douyin. Returns the platform data as structured JSON.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator ID |
platform_channel | integer | No | Platform channel, 1 for short video |
platform_source | integer | No | Platform source, 1 for Douyin |
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
}
]
}
| Field | Meaning |
|---|---|
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[].name | Category name in Chinese, for example 生活家居 (home and living) or 时尚 (fashion). |
video_content_distribution[].cnt | Number of the creator's videos counted in this category. |
video_content_distribution[].proportion | Share of the counted videos that fall in this category, as a decimal. For example 0.6667 means about two thirds. |
video_content_distribution[].id | Category ID. It is "0" for every row in this response, so use name to tell categories apart. |
base_resp.status_code / base_resp.status_message | Status of the request. 0 with an empty message means it succeeded. |
proportion values add up to about 1, and the cnt values add up to the number of videos counted.platform_source at 1 for Douyin and platform_channel at 1 for short video.$0.002 per successful call. Failed calls are not charged.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
o_author_idstringrequeridoCreator ID
platform_sourceintegerPlatform source, 1 for Douyin
Valor predeterminado: 1
platform_channelintegerPlatform channel, 1 for short video
Valor predeterminado: 1
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Douyin Author Video DistributionEsta API Douyin | $0.002 por llamada | JSON |
Douyin | $0.002 por llamada | JSON |
Douyin | $0.002 por llamada | JSON |
Douyin | $0.01 por llamada | JSON |
Douyin | $0.003 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Preguntas
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.
$0.002 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
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.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
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.