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.
- Giá
- $0.05USD / lượt gọi
- Phương thức
- POST
- Phản hồi
- JSON
- Tham số
- 1 bắt buộc · 0 tùy chọn
Phòng thử nghiệm
[
{
"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
}
}
]Ví dụ
Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
README 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.
Bắt đầu xây dựng
Gửi request đầu tiên của bạn
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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. Xác thực
Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
3. Tham số
4. Phản hồi
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"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
}
}
]Khám phá thêm
APIs liên quan
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.05 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.03 mỗi lần gọi | JSON |
Câu hỏi
FAQ
Làm thế nào để dùng API Douyin Batch Video Information (Web)?
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/web/multi-video với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
API Douyin Batch Video Information (Web) có giá bao nhiêu?
$0.05 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
API Douyin Batch Video Information (Web) chấp nhận những tham số nào?
Bắt buộc: body (array). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
API Douyin Batch Video Information (Web) trả về gì?
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).
Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?
Không. Douyin Batch Video Information (Web) chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.
