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.
- 價格
- $0.05美元/次呼叫
- 方法
- POST
- 回應
- JSON
- 參數
- 1 個必填 · 0 個選填
Playground
[
{
"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
}
}
]範例
選擇一個範例,將其輸入與結果載入 playground。
API README
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.
開始建置
送出您的第一個請求
具備統一驗證與用量追蹤的平台 API 端點。
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. 驗證
請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
3. 參數
4. 回應
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"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
}
}
]探索更多
相關 APIs
| API | 價格 | 回應 |
|---|---|---|
Douyin | 每次呼叫 $0.05 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.03 | JSON |
問題
常見問題
我要如何使用 Douyin Batch Video Information (Web) API?
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/web/multi-video。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
Douyin Batch Video Information (Web) API 的費用是多少?
每次 $0.05,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
Douyin Batch Video Information (Web) API 接受哪些參數?
必要:body (array)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
Douyin Batch Video Information (Web) API 會回傳什麼?
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。
我需要 Douyin 開發者帳號或 API 金鑰嗎?
不需要。Douyin Batch Video Information (Web) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。
