o_author_idstringrequerido
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-videosGet Author Spread Videos on Douyin. Returns the platform data as structured JSON.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Returns a list of a Douyin creator's spread videos, with title, duration, publish time and engagement stats for each video. It needs the creator ID in o_author_id. platform_source and platform_channel both default to 1 (Douyin, short video).
interact_rate to find the content that drew the most engagement.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-videos" \
-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": ""
},
"spread_videos": [
{
"author_id": "78050876812",
"cover_uri": "tos-cn-i-0813c001/oYABexOFAf75I3BBLPADUIQGUAnG1ApEsve2jt",
"create_time": "1735039831",
"duration": 272.044,
"id": "7451907165419359488",
"stats": {
"avg_watch_dura": "0",
"comment_cnt": "22784",
"favorite_cnt": "55867",
"interact_rate": 0.0319,
"like_cnt": "567682",
"share_cnt": "378214",
"watch_cnt": "30308258"
},
"title": "头皮发麻#美妆 #好物分享 #化妆日常",
"url": "https://www.iesdouyin.com/share/video/7451907165419359488/?region=CN&mid=7451907…",
"video_id": "v0300fg10000ctl7nkfog65pgevhdio0"
}
]
}
| Field | Meaning |
|---|---|
spread_videos[].id | ID of the video. |
spread_videos[].video_id | Second video identifier, a string that starts with v0300. |
spread_videos[].title | Video caption, including its hashtags. |
spread_videos[].create_time | Publish time as a Unix timestamp in seconds, returned as a string. |
spread_videos[].duration | Length of the video. The values (for example 272.044) look like seconds. |
spread_videos[].stats.watch_cnt | Number of views the video has. |
spread_videos[].stats.like_cnt / spread_videos[].stats.comment_cnt / spread_videos[].stats.share_cnt / spread_videos[].stats.favorite_cnt | Counts of likes, comments, shares and favorites. They come back as strings. |
spread_videos[].stats.interact_rate | Interaction rate of the video as a decimal number, for example 0.0319. |
spread_videos[].url | Share link to the video on Douyin. |
spread_videos[].author_id | ID of the author the video belongs to. |
o_author_id is the creator ID used by Xingtu. If you only have a Douyin ID, look it up with Douyin XingTu kolId by Douyin ID.author_id inside each video (for example 78050876812) differs from the o_author_id you send in the request.avg_watch_dura was "0" for every video in this response, so do not rely on it.$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-spread-videos" \
-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 Spread VideosEsta 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-spread-videos 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 Spread Videos 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.