item_idstringobligatoire
Video (item) ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-detailGet Item Report Detail on Douyin. Returns the platform data as structured JSON.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Returns a report for one Douyin video on Xingtu. The report covers the video's counts, rates, music and author summary. It needs one input, the video item_id.
finish_rate and interact_rate across several videos to see which content holds viewers best.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"item_id": "7372484719365098803"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | Video (item) ID |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"author_info": {
"author_id": "6811013757230120974",
"avatar_uri": "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_f96ccdf24e…",
"city": "杭州市",
"content_tags": {
"随拍": [
"随拍"
]
},
"core_user_id": "95823111667",
"follower": "2606021",
"gender": 2,
"industry_tags": [],
"ink_cnt": "237487",
"is_star": 1,
"link_cnt": "926519",
"name": "萧萧不吃辣"
},
"base_resp": {
"status_code": 0,
"status_message": ""
},
"video_info": {
"collect_cnt": "19905",
"comment_cnt": "4071",
"create_time": "1716540374",
"duration": 8.01,
"finish_rate": 0.138603596,
"head_image_uri": "tos-cn-i-0813c001/o4AAWPm4AU97EUKAFFAB8EIDQg9DUAcCfSfT9n",
"interact_cnt": "397010",
"interact_rate": 0.101,
"item_id": "7372484719365098803",
"like_cnt": "312973",
"music_info": {
"album": "",
"author": "KD_B Music",
"cover_uri": "100x100/aweme-avatar/tos-cn-i-0813_oMDhlc4OEhKACgeCH1nztAM9h0AfAArgAzpkId",
"cover_url": [
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_oMDhlc4OEhKACg…"
],
"create_time": "1711050340",
"duration": "29",
"music_id": "7348905216869174025",
"play_url": "https://sf11-cdn-tos.douyinstatic.com/obj/ies-music/7348905229246532379.mp3",
"source_platform": 0,
"title": "@KD_B Music创作的原声",
"used_count": "0"
},
"share_cnt": "79966"
}
}
| Field | Meaning |
|---|---|
video_info.title | Video caption text, including hashtags. |
video_info.vv_cnt | View count of the video, returned as a string. |
video_info.like_cnt / comment_cnt / share_cnt / collect_cnt | Counts of likes, comments, shares and collects. Values are strings. |
video_info.interact_cnt / interact_rate | Total interaction count and the interaction rate of the video. |
video_info.finish_rate | Finish rate of the video as a decimal fraction, for example 0.1386. |
video_info.duration | Video length. The value 8.01 is a number. |
video_info.create_time | Creation time as a Unix timestamp string, in seconds. |
video_info.music_info.title / author / music_id | Name, author and ID of the sound used in the video. |
author_info.name / author_id / core_user_id | Name of the creator and the creator's IDs. |
author_info.follower / city / gender | Follower count (string), city and gender code of the creator. |
item_id is the numeric Douyin video ID, such as 7372484719365098803. It also appears in the video_info.url share link.author_info.author_id with Douyin Xingtu Author Base Info to get more on the creator.$0.002 per successful call. Failed calls are not charged.
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/item-report-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"item_id": "7372484719365098803"
}'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.
item_idstringobligatoireVideo (item) ID
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 Item Report DetailCette API 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/item-report-detail 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 : item_id (string). 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 Item Report Detail 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.