o_author_idstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
o_author_idstringobligatoireCreator 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
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Douyin | $0.002 par appel | JSON |
Douyin | $0.002 par appel | JSON |
Douyin | $0.002 par appel | JSON |
Douyin | $0.01 par appel | JSON |
Douyin | $0.003 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-convert-videos-or-products avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.002 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : o_author_id (string). Facultatif : detail_type (integer), industry_id (integer), page (integer), platform_channel (integer), platform_source (integer) et time_range (integer). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Douyin Xingtu Creator Conversion Details fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Douyin séparément.