Douyin Batch Video Information (Web)
https://api.sandbase.ai/v1/api/douyin/web/multi-videoRetrieves details for multiple Douyin videos in a single batch request via the web interface. Accepts an array of video identifiers in the request payload.
- Prix
- $0.05USD / appel
- Méthode
- POST
- Réponse
- JSON
- Paramètres
- 1 obligatoires · 0 facultatifs
Bac à sable
[
{
"data": {
"aweme_details": [
{
"activity_video_type": 0,
"anchors": null,
"authentication_token": "MS4wLjAAAAAAXOFGQ-q8wDoBsdf9wVMKb3fdmrFLI-X8Pleuzhb-PhMLcULAfRdTymAbuyfZgTIslFLHS51Uz6CODo0GvovaVLXg3imD05iIH90Z8x17U8Eo-qAhQ5KEhrEZDbBFdSDcg_EB1O40QzQTEtglJAAth-lcXYnW8oRoev8rfRgW6VpkXY9h5Uy3k1ijj2i55mh_kAV31ESdIMAysI6OVrUY-pppBRnQuwe-5bS2fs0ixYRjcyDH6rRoR16PmNTyumQTu8v0tgrUdH0Nu6vImdmzyw",
"author": {
"accept_private_policy": false,
"account_region": "",
"ad_cover_url": null,
"apple_account": 0,
"authority_status": 0,
"avatar_168x168": {
"height": 720,
"uri": "168x168/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"url_list": [
"https://p3-pc.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b~c5_168x168.jpeg?from=327834062"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "300x300/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"url_list": [
"https://p3-pc.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b~c5_300x300.jpeg?from=327834062"
],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b.jpeg?from=327834062"
],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "720x720/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b.jpeg?from=327834062"
],
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b.jpeg?from=327834062"
],
"width": 720
},
"avatar_uri": "aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_count": 588,
"aweme_hotsoon_auth": 1,
"awemehts_greet_info": "",
"ban_user_functions": [],
"can_set_geofencing": null,
"card_entries": null,
"card_entries_not_display": null,
"card_sort_priority": null,
"cf_list": null,
"cha_list": null,
"close_friend_type": 0,
"comment_filter_status": 0,
"comment_setting": 0,
"commerce_user_level": 0,
"constellation": 8,
"contacts_status": 2,
"contrail_list": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1791896400&x-signature=OP3LJDAX2fC2XqIosU0N1kc4YPs%3D&from=327834062"
],
"width": 720
}
],
"create_time": 0,
"custom_verify": "",
"cv_level": "",
"data_label_list": null,
"display_info": null,
"download_prompt_ts": 0,
"download_setting": -1,
"duet_setting": 0,
"enable_nearby_visible": false,
"endorsement_info_list": null,
"…": "132 more fields in the full response"
},
"author_mask_tag": 0,
"author_user_id": 95823111667,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7372484719365098803",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"true\",\"copyright_reason\":\"not_intercept\",\"copyright_tag_hit\":\"0\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"false\",\"hit_high_risk\":\"false\",\"media_type\":\"4\",\"reason\":\"hit_ab_0\",\"show\":\"false\"}"
},
"aweme_type": 0,
"aweme_type_tags": "",
"bodydance_score": 0,
"boost_status": 0,
"can_be_oc_cover": true,
"can_cache_to_local": true,
"caption": "你对我的好我一直记得 因为只有你把我当小孩#双子座",
"cf_assets_type": 0,
"cf_recheck_ts": 0,
"cha_list": [
{
"author": {
"ad_cover_url": null,
"avatar_168x168": {
"height": 720,
"uri": "",
"url_list": "… 0 items in the full response",
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "",
"url_list": "… 0 items in the full response",
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "",
"url_list": "… 0 items in the full response",
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "",
"url_list": "… 0 items in the full response",
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "",
"url_list": "… 0 items in the full response",
"width": 720
},
"avatar_uri": "",
"aweme_control": {},
"ban_user_functions": null,
"bind_phone": "",
"birthday": "",
"can_set_geofencing": null,
"card_entries": null,
"card_entries_not_display": null,
"card_sort_priority": null,
"cf_list": null,
"cha_list": null,
"constellation": 0,
"contrail_list": null,
"cover_url": [],
"create_time": 0,
"data_label_list": null,
"display_info": null,
"endorsement_info_list": null,
"follow_status": 0,
"follower_list_secondary_information_struct": null,
"followers_detail": null,
"gender": 0,
"has_email": false,
"homepage_bottom_toast": null,
"im_role_ids": null,
"interest_tags": null,
"is_block": false,
"is_phone_binded": false,
"item_list": null,
"language": "",
"link_item_list": null,
"need_points": null,
"new_story_cover": null,
"nickname": "",
"…": "23 more fields in the full response"
},
"banner_list": null,
"cha_attrs": null,
"cha_name": "双子座",
"cid": "1570162538341377",
"collect_stat": 0,
"connect_music": [],
"desc": "",
"extra_attr": {
"is_live": false
},
"hashtag_profile": "image-cut-tos/ff11d2e86f2db32dacc9555b6f7c8714.jpg",
"is_challenge": 0,
"is_commerce": false,
"is_pgcshow": false,
"schema": "aweme://aweme/challenge/detail?cid=1570162538341377",
"search_impr": {
"entity_id": "1570162538341377"
},
"share_info": {
"bool_persist": 0,
"share_desc": "在抖音,记录美好生活",
"share_desc_info": "我在抖音参与话题讨论#双子座 ",
"share_quote": "",
"share_signature_desc": "",
"share_signature_url": "",
"share_title": "我在抖音参与话题讨论#双子座 ",
"share_title_myself": "",
"share_title_other": "",
"share_url": "https://www.iesdouyin.com/share/challenge/1570162538341377/?u_code=ekll0iajm6l3id&from_ssr=1",
"share_weibo_desc": "我在抖音参与话题讨论#双子座 "
},
"show_items": null,
"sub_type": 0,
"type": 0,
"user_count": 0,
"view_count": 0
}
],
"challenge_position": null,
"chapter_list": null,
"city": "330100",
"cmt_swt": false,
"collect_stat": 0,
"collection_corner_mark": 0,
"comment_gid": 7372484719365098000,
"comment_list": null,
"comment_permission_info": {
"can_comment": true,
"comment_permission_status": 0,
"item_detail_entry": false,
"press_entry": false,
"toast_guide": false
},
"commerce_config_data": null,
"commerce_info": {
"ad_type": 0,
"is_ad": false
},
"component_info_v2": "{\"desc_lines_limit\":0,\"hide_marquee\":false}",
"cover_labels": null,
"create_time": 1716540374,
"danmaku_control": {
"activities": [
{
"id": 1224,
"type": 1
}
],
"danmaku_cnt": 29,
"enable_danmaku": true,
"first_danmaku_offset": 589,
"is_post_denied": false,
"last_danmaku_offset": 7776,
"pass_through_params": "{\"first_danmaku_offset\":589,\"has_danmaku\":1}",
"post_denied_reason": "",
"post_privilege_level": 0,
"skip_danmaku": false,
"smart_mode_decision": 0
},
"desc": "你对我的好我一直记得 因为只有你把我当小孩#双子座",
"desc_language": "zh",
"disable_relation_bar": 0,
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"distance": "",
"…": "144 more fields in the full response"
}
],
"emoji_list": null,
"extra": {
"fatal_item_ids": [],
"logid": "20260929215105989A3E20D44A13E8E7D6",
"now": 1790689865000
},
"filter_list": [
{
"aweme_id": "7519111924212780338",
"reason": 8
}
],
"log_pb": {
"impr_id": "20260929215105989A3E20D44A13E8E7D6"
},
"status_code": 0,
"verification_filter_list": null
}
}
]Exemples
Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
README de l'API
Douyin Batch Video Information (Web) API
Call this endpoint to retrieve information for multiple Douyin videos at once. Provide an array of target video identifiers in the body parameter.
Use cases
- Retrieve video metadata for a list of Douyin posts.
- Gather details for multiple video items in bulk.
- Inspect Douyin video attributes without making individual requests.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/multi-video" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body": "<body>"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
body | array | Yes | — |
Notes
- If this web interface fails, consider using the APP interface instead.
Pricing
Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Commencer à construire
Envoyez votre première requête
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/web/multi-video" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"body": [
"7372484719365098803",
"7519111924212780338"
]
}'2. Authentification
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.
3. Paramètres
4. Réponse
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
[
{
"data": {
"aweme_details": [
{
"activity_video_type": 0,
"anchors": null,
"authentication_token": "MS4wLjAAAAAAXOFGQ-q8wDoBsdf9wVMKb3fdmrFLI-X8Pleuzhb-PhMLcULAfRdTymAbuyfZgTIslFLHS51Uz6CODo0GvovaVLXg3imD05iIH90Z8x17U8Eo-qAhQ5KEhrEZDbBFdSDcg_EB1O40QzQTEtglJAAth-lcXYnW8oRoev8rfRgW6VpkXY9h5Uy3k1ijj2i55mh_kAV31ESdIMAysI6OVrUY-pppBRnQuwe-5bS2fs0ixYRjcyDH6rRoR16PmNTyumQTu8v0tgrUdH0Nu6vImdmzyw",
"author": {
"accept_private_policy": false,
"account_region": "",
"ad_cover_url": null,
"apple_account": 0,
"authority_status": 0,
"avatar_168x168": {
"height": 720,
"uri": "168x168/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"url_list": [
"https://p3-pc.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b~c5_168x168.jpeg?from=327834062"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "300x300/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"url_list": [
"https://p3-pc.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b~c5_300x300.jpeg?from=327834062"
],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b.jpeg?from=327834062"
],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "720x720/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b.jpeg?from=327834062"
],
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b.jpeg?from=327834062"
],
"width": 720
},
"avatar_uri": "aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_count": 588,
"aweme_hotsoon_auth": 1,
"awemehts_greet_info": "",
"ban_user_functions": [],
"can_set_geofencing": null,
"card_entries": null,
"card_entries_not_display": null,
"card_sort_priority": null,
"cf_list": null,
"cha_list": null,
"close_friend_type": 0,
"comment_filter_status": 0,
"comment_setting": 0,
"commerce_user_level": 0,
"constellation": 8,
"contacts_status": 2,
"contrail_list": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1791896400&x-signature=OP3LJDAX2fC2XqIosU0N1kc4YPs%3D&from=327834062"
],
"width": 720
}
],
"create_time": 0,
"custom_verify": "",
"cv_level": "",
"data_label_list": null,
"display_info": null,
"download_prompt_ts": 0,
"download_setting": -1,
"duet_setting": 0,
"enable_nearby_visible": false,
"endorsement_info_list": null,
"…": "132 more fields in the full response"
},
"author_mask_tag": 0,
"author_user_id": 95823111667,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7372484719365098803",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"true\",\"copyright_reason\":\"not_intercept\",\"copyright_tag_hit\":\"0\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"false\",\"hit_high_risk\":\"false\",\"media_type\":\"4\",\"reason\":\"hit_ab_0\",\"show\":\"false\"}"
},
"aweme_type": 0,
"aweme_type_tags": "",
"bodydance_score": 0,
"boost_status": 0,
"can_be_oc_cover": true,
"can_cache_to_local": true,
"caption": "你对我的好我一直记得 因为只有你把我当小孩#双子座",
"cf_assets_type": 0,
"cf_recheck_ts": 0,
"cha_list": [
{
"author": {
"ad_cover_url": null,
"avatar_168x168": {
"height": 720,
"uri": "",
"url_list": "… 0 items in the full response",
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "",
"url_list": "… 0 items in the full response",
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "",
"url_list": "… 0 items in the full response",
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "",
"url_list": "… 0 items in the full response",
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "",
"url_list": "… 0 items in the full response",
"width": 720
},
"avatar_uri": "",
"aweme_control": {},
"ban_user_functions": null,
"bind_phone": "",
"birthday": "",
"can_set_geofencing": null,
"card_entries": null,
"card_entries_not_display": null,
"card_sort_priority": null,
"cf_list": null,
"cha_list": null,
"constellation": 0,
"contrail_list": null,
"cover_url": [],
"create_time": 0,
"data_label_list": null,
"display_info": null,
"endorsement_info_list": null,
"follow_status": 0,
"follower_list_secondary_information_struct": null,
"followers_detail": null,
"gender": 0,
"has_email": false,
"homepage_bottom_toast": null,
"im_role_ids": null,
"interest_tags": null,
"is_block": false,
"is_phone_binded": false,
"item_list": null,
"language": "",
"link_item_list": null,
"need_points": null,
"new_story_cover": null,
"nickname": "",
"…": "23 more fields in the full response"
},
"banner_list": null,
"cha_attrs": null,
"cha_name": "双子座",
"cid": "1570162538341377",
"collect_stat": 0,
"connect_music": [],
"desc": "",
"extra_attr": {
"is_live": false
},
"hashtag_profile": "image-cut-tos/ff11d2e86f2db32dacc9555b6f7c8714.jpg",
"is_challenge": 0,
"is_commerce": false,
"is_pgcshow": false,
"schema": "aweme://aweme/challenge/detail?cid=1570162538341377",
"search_impr": {
"entity_id": "1570162538341377"
},
"share_info": {
"bool_persist": 0,
"share_desc": "在抖音,记录美好生活",
"share_desc_info": "我在抖音参与话题讨论#双子座 ",
"share_quote": "",
"share_signature_desc": "",
"share_signature_url": "",
"share_title": "我在抖音参与话题讨论#双子座 ",
"share_title_myself": "",
"share_title_other": "",
"share_url": "https://www.iesdouyin.com/share/challenge/1570162538341377/?u_code=ekll0iajm6l3id&from_ssr=1",
"share_weibo_desc": "我在抖音参与话题讨论#双子座 "
},
"show_items": null,
"sub_type": 0,
"type": 0,
"user_count": 0,
"view_count": 0
}
],
"challenge_position": null,
"chapter_list": null,
"city": "330100",
"cmt_swt": false,
"collect_stat": 0,
"collection_corner_mark": 0,
"comment_gid": 7372484719365098000,
"comment_list": null,
"comment_permission_info": {
"can_comment": true,
"comment_permission_status": 0,
"item_detail_entry": false,
"press_entry": false,
"toast_guide": false
},
"commerce_config_data": null,
"commerce_info": {
"ad_type": 0,
"is_ad": false
},
"component_info_v2": "{\"desc_lines_limit\":0,\"hide_marquee\":false}",
"cover_labels": null,
"create_time": 1716540374,
"danmaku_control": {
"activities": [
{
"id": 1224,
"type": 1
}
],
"danmaku_cnt": 29,
"enable_danmaku": true,
"first_danmaku_offset": 589,
"is_post_denied": false,
"last_danmaku_offset": 7776,
"pass_through_params": "{\"first_danmaku_offset\":589,\"has_danmaku\":1}",
"post_denied_reason": "",
"post_privilege_level": 0,
"skip_danmaku": false,
"smart_mode_decision": 0
},
"desc": "你对我的好我一直记得 因为只有你把我当小孩#双子座",
"desc_language": "zh",
"disable_relation_bar": 0,
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"distance": "",
"…": "144 more fields in the full response"
}
],
"emoji_list": null,
"extra": {
"fatal_item_ids": [],
"logid": "20260929215105989A3E20D44A13E8E7D6",
"now": 1790689865000
},
"filter_list": [
{
"aweme_id": "7519111924212780338",
"reason": 8
}
],
"log_pb": {
"impr_id": "20260929215105989A3E20D44A13E8E7D6"
},
"status_code": 0,
"verification_filter_list": null
}
}
]Explorer plus
APIs associées
| API | Prix | Réponse |
|---|---|---|
Douyin Batch Video Information (Web)Cette API Douyin | $0.05 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.03 par appel | JSON |
Questions
FAQ
Comment utiliser l’API Douyin Batch Video Information (Web) ?
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/web/multi-video 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.
Combien coûte l’API Douyin Batch Video Information (Web) ?
$0.05 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Quels paramètres l’API Douyin Batch Video Information (Web) accepte-t-elle ?
Obligatoire : body (array). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Que renvoie l’API Douyin Batch Video Information (Web) ?
Une réponse JSON renvoyée dans la même requête HTTP (synchrone).
Ai-je besoin d’un compte développeur ou d’une clé API Douyin ?
Non. Douyin Batch Video Information (Web) 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.
