o_author_idstringobrigatório
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-convert-videos-or-productsReturns conversion details for a creator's videos or associated products on Douyin Xingtu. Filter by creator ID, item type, time range tier, and industry category.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Returns conversion details for one creator on Douyin Xingtu. With detail_type set to 1 (the default) it lists the creator's videos with click, sales and engagement stats. With 2 it lists associated products. The only required input is the creator ID in o_author_id.
industry_id to see conversion in one product category.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-convert-videos-or-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7589271892177518598"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator ID |
detail_type | integer | No | Detail type, 1=videos, 2=products, default 1 |
industry_id | integer | No | Industry ID, 0=unlimited, default 0 |
page | integer | No | Page number, default 1 |
platform_channel | integer | No | Platform channel, default 1 |
platform_source | integer | No | Platform source, default 1 |
time_range | integer | No | Time range tier, default 2 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"pagination": {
"has_more": false,
"limit": 10,
"page": 1,
"total_count": 1
},
"video_list": [
{
"click_rate": 0.0095,
"component_click_cnt": "2",
"gpm": "0",
"gpm_range": "0",
"industry_id": 1901,
"item_pay_amt": "0",
"item_pay_amt_range": "0",
"item_stats": {
"author_id": "1113181577281568",
"cover_uri": "tos-cn-i-dy/ebbf065864914a1e8aa0768fb2a44a0b",
"create_time": "1792826328",
"duration": 100.101,
"id": "7700087804163853610",
"stats": {
"avg_watch_dura": "0",
"comment_cnt": "59",
"favorite_cnt": "32",
"finish_rate": 0.0055,
"interact_rate": 0.00240234896343091,
"like_cnt": "282",
"share_cnt": "10",
"watch_cnt": "146107"
},
"title": "预估到手2219起 蚂蚁电竞 ANT272ZQE镜面屏来了 #京东1111电脑抢先购#电脑以旧换新#蚂蚁电竞ANT272ZQE#显示器推荐",
"url": "https://www.iesdouyin.com/share/video/7700087804163853610/?region=CN&mid=7700087…"
},
"prod_list": []
}
]
}
| Field | Meaning |
|---|---|
video_list[].item_stats.id | ID of the video, as a string. |
video_list[].item_stats.title | Video caption, including its hashtags. |
video_list[].item_stats.url | Share link to the video on Douyin. |
video_list[].item_stats.create_time | Video creation time as a Unix timestamp in seconds, returned as a string. |
video_list[].click_rate / video_list[].component_click_cnt | Click rate of the video and the number of clicks on its attached component. Both come from the video's conversion record. |
video_list[].gpm / video_list[].item_pay_amt | Sales figures for the video, returned as strings. Both are 0 in this example. |
video_list[].industry_id | ID of the industry category the video is tied to. |
video_list[].item_stats.stats.watch_cnt | Number of views of the video. |
video_list[].item_stats.stats.like_cnt / video_list[].item_stats.stats.comment_cnt / video_list[].item_stats.stats.share_cnt / video_list[].item_stats.stats.favorite_cnt | Counts of likes, comments, shares and favorites on the video. |
video_list[].item_stats.stats.finish_rate / video_list[].item_stats.stats.interact_rate | Completion rate and interaction rate of the video, as decimal fractions. |
pagination.has_more / pagination.total_count | Whether another page exists and the total number of records. |
o_author_id. If you only have a Douyin ID, call Douyin XingTu kolId by Douyin ID first.page to move through results. pagination.limit was 10 in the example, and has_more tells you when to stop.prod_list is an empty list inside each video entry in this example. Set detail_type to 2 to get product details.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
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-convert-videos-or-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "7589271892177518598"
}'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
detail_typeintegerDetail type, 1=videos, 2=products, default 1
industry_idintegerIndustry ID, 0=unlimited, default 0
pageintegerPage number, default 1
platform_channelintegerPlatform channel, default 1
platform_sourceintegerPlatform source, default 1
time_rangeintegerTime range tier, default 2
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 | $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-convert-videos-or-products 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: detail_type (integer), industry_id (integer), page (integer), platform_channel (integer), platform_source (integer) e time_range (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 Xingtu Creator Conversion Details 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.