o_author_idstringobrigatório
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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento 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
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
o_author_idstringobrigatórioCreator ID
platform_sourceintegerPlatform source, 1 for Douyin
Padrão: 1
platform_channelintegerPlatform channel, 1 for short video
Padrão: 1
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Douyin Author Spread VideosEsta API Douyin | $0.002 por chamada | JSON |
Douyin | $0.002 por chamada | JSON |
Douyin | $0.002 por chamada | JSON |
Douyin | $0.01 por chamada | JSON |
Douyin | $0.003 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-videos 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.
$0.002 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
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.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Douyin Author Spread Videos 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.