share_urlstringобязательно
Share link
https://api.sandbase.ai/v1/api/douyin/web/one-video-by-share-urlReturns detailed video information and available stream bitrate qualities for a single Douyin video using its web sharing link.
[
{
"data": {
"aweme_detail": {
"activity_video_type": -1,
"ad_charge_passive_unlock_config": {
"broadcast_btn_config": {
"btn_show_frequency": 1,
"btn_show_second": 5,
"btn_text": "秒后解锁下一集",
"show_second_type": 2
},
"trial_btn_config": {
"btn_show_frequency": 1,
"btn_show_second": 3,
"btn_text": "秒后解锁本集",
"show_second_type": 2
}
},
"anchors": null,
"authentication_token": "MS4wLjAAAAAAJaH5STEzZuTneRoV25-PrXpmVB4idy3DF1opZDuVl-1ARhpuWyjakZDX425_vlLR0w9VfM6cx2attcdU-XB_Hu_QbNz0iRziiWZSg3c-Od_9mQ0BUz2pKIG09chfx4KEZJSblVzv2TUQAZY2lbE2CaPPNma9MKCt1rGjVtEthrMZfCcVHxhDDdtGNo7ZnqYlqu82oiUy4Xid5r2afZgHTWVfCXBXhQfOU3s4WYvMqkY_-VGUxWYHpyqyeGF0uxKiw_Bf0DJkhY_7OMIUABR0PQ",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-i-c9aec8xkvj_84768d40f55a4438a2d4f4af49ab34bc",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-c9aec8xkvj_84768d40f55a4438a2d4f4af49ab34bc.jpeg?from=327834062"
],
"width": 720
},
"awemehts_greet_info": "",
"cf_list": null,
"close_friend_type": 0,
"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=1788372000&x-signature=ebviaYQWniPMN8SvcSHCZ0Yp3fY%3D&from=327834062"
],
"width": 720
}
],
"create_time": 0,
"custom_verify": "",
"data_label_list": null,
"endorsement_info_list": null,
"enterprise_verify_reason": "",
"favoriting_count": 147,
"follow_status": 0,
"follower_count": 45236,
"follower_list_secondary_information_struct": null,
"follower_status": 0,
"following_count": 0,
"hide_others_recommend_interest": 0,
"hide_self_recommend_interest": 0,
"im_role_ids": null,
"is_ad_fake": false,
"is_blocked_v2": false,
"is_blocking_v2": false,
"is_cf": 0,
"live_high_value": 0,
"mate_add_permission": 1,
"max_follower_count": 0,
"nickname": "麦麦动画",
"offline_info_list": null,
"personal_tag_list": null,
"prevent_download": false,
"risk_notice_text": "",
"sec_uid": "MS4wLjABAAAAdniNeKI_lfTexRzxLKlpK6fL4kWjt7N5eAtrnT641fF-9fwEz-wnxLo75FIsBNEd",
"secret": 0,
"share_info": {
"share_desc": "",
"share_desc_info": "",
"share_qrcode_url": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"share_title": "",
"share_title_myself": "",
"share_title_other": "",
"share_url": "",
"share_weibo_desc": ""
},
"short_id": "91061130323",
"signature": "正在更新(夫人不要啊)@QQ阅读 \n独家博主,搬运作品将直接法律制裁\n没收所有收益\n学习/合作:xiran916",
"signature_extra": null,
"special_follow_status": 0,
"…": "13 more fields in the full response"
},
"author_mask_tag": 0,
"author_user_id": 7514362675516179000,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7673244904679591194",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"has_listen_cp_new\",\"copyright_tag_hit\":\"\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"true\",\"hit_high_risk\":\"false\",\"media_type\":\"4\",\"reason\":\"hit_ab_0\",\"show\":\"false\"}"
},
"aweme_type": 0,
"aweme_type_tags": "",
"boost_status": 2,
"can_be_oc_cover": true,
"can_cache_to_local": true,
"caption": "#抖音创作者大会 #原创动漫 #ai漫剧 #夫人不要啊",
"cf_assets_type": 0,
"cf_recheck_ts": 0,
"challenge_position": null,
"chapter_list": null,
"collect_stat": 0,
"collection_corner_mark": 0,
"comment_gid": 7673244904679591000,
"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,
"common_button": {
"button_list": [
{
"basic_info": {
"btn_name": "playlet_iaa_next",
"btn_type": "entertainment",
"btn_ui_style": 0,
"buttons": [
"…"
],
"exemptions": [
1,
2
]
},
"priority": 200400
}
]
},
"component_control": {
"data_source_url": "/aweme/v1/web/aweme/detail/"
},
"component_info_v2": "{\"desc_lines_limit\":0,\"hide_marquee\":false}",
"cover_labels": null,
"create_time": 1786579200,
"danmaku_control": {
"activities": [
{
"id": 1224,
"type": 1
}
],
"danmaku_cnt": 22,
"enable_danmaku": true,
"first_danmaku_offset": 9,
"is_post_denied": false,
"last_danmaku_offset": 212725,
"pass_through_params": "{\"first_danmaku_offset\":9,\"has_danmaku\":1}",
"post_denied_reason": "",
"post_privilege_level": 0,
"skip_danmaku": false,
"smart_mode_decision": 0
},
"desc": "【夫人不要啊】P11:裴少卿升职加薪?? #抖音创作者大会 #原创动漫 #ai漫剧 #夫人不要啊",
"disable_relation_bar": 0,
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"distribute_circle": {
"campus_block_interaction": false,
"distribute_type": 0,
"is_campus": false
},
"diversion_bar_info": [],
"douplus_user_type": 0,
"douyin_p_c_video_extra": "{\"ai_summary\":1,\"ai_summary_v2\":1}",
"…": "115 more fields in the full response"
},
"log_pb": {
"impr_id": "20260820024314AC18F42583D1BD6CD33A"
},
"status_code": 0
}
}
]Выберите пример, чтобы загрузить его входные данные и результат в playground.
Returns the details of one Douyin video, including the caption, author profile, creation time and duration. It needs one input, a Douyin web share link passed as share_url.
aweme_id and sec_uid for a video to use in other Douyin calls.curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/one-video-by-share-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"share_url": "https://www.douyin.com/video/7512756548356492544"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
share_url | string | Yes | Share link |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_detail": {
"activity_video_type": 0,
"anchors": null,
"authentication_token": "MS4wLjAA…",
"author": {
"account_cert_info": "{}",
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_9186d2f6f…"
],
"width": 720
},
"awemehts_greet_info": "",
"cf_list": null,
"close_friend_type": 0,
"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-expire…"
],
"width": 720
}
],
"create_time": 0,
"custom_verify": "",
"data_label_list": null,
"endorsement_info_list": null
},
"author_mask_tag": 0,
"author_user_id": 3635433641882579,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7512756548356492544",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"not_intercept\",\"copyright_ta…"
},
"aweme_type": 0,
"aweme_type_tags": "",
"boost_status": 0
},
"log_pb": {
"impr_id": "202611031532295F7C784015B58FD80C2B"
},
"status_code": 0
}
| Field | Meaning |
|---|---|
aweme_detail.aweme_id | ID of the video. It matches the number at the end of the share link. |
aweme_detail.desc / aweme_detail.caption | Text of the video post. In this example both hold the hashtag #neo浪漫蓝调. |
aweme_detail.create_time | Creation time of the video as a Unix timestamp in seconds. |
aweme_detail.duration | Length of the video. The example value is 12634. |
aweme_detail.author.nickname | Display name of the author. |
aweme_detail.author.sec_uid | Secure user ID of the author. Use it to look up the author's profile or posts. |
aweme_detail.author.follower_count | Number of followers the author has. |
aweme_detail.author.signature | Bio text of the author. |
aweme_detail.aweme_control.can_comment / aweme_detail.aweme_control.can_share | Booleans that show whether commenting and sharing are allowed on the video. |
aweme_detail.danmaku_control.danmaku_cnt | Number of danmaku (on-screen comments) on the video. It is enable_danmaku that shows whether danmaku are turned on. |
https://www.douyin.com/video/7512756548356492544 in share_url.aweme_detail.author.sec_uid.aweme_detail.author.cover_url[].url_list, are signed and carry an x-expires value.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/one-video-by-share-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"share_url": "https://static.sandbase.ai/examples/359eb7d4-4fa9-4d07-8f2c-1848998bd134/input/ff5ce252-e396-407c-b39c-b43cbd50b1d7.bin"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
share_urlstringобязательноShare link
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
[
{
"data": {
"aweme_detail": {
"activity_video_type": -1,
"ad_charge_passive_unlock_config": {
"broadcast_btn_config": {
"btn_show_frequency": 1,
"btn_show_second": 5,
"btn_text": "秒后解锁下一集",
"show_second_type": 2
},
"trial_btn_config": {
"btn_show_frequency": 1,
"btn_show_second": 3,
"btn_text": "秒后解锁本集",
"show_second_type": 2
}
},
"anchors": null,
"authentication_token": "MS4wLjAAAAAAJaH5STEzZuTneRoV25-PrXpmVB4idy3DF1opZDuVl-1ARhpuWyjakZDX425_vlLR0w9VfM6cx2attcdU-XB_Hu_QbNz0iRziiWZSg3c-Od_9mQ0BUz2pKIG09chfx4KEZJSblVzv2TUQAZY2lbE2CaPPNma9MKCt1rGjVtEthrMZfCcVHxhDDdtGNo7ZnqYlqu82oiUy4Xid5r2afZgHTWVfCXBXhQfOU3s4WYvMqkY_-VGUxWYHpyqyeGF0uxKiw_Bf0DJkhY_7OMIUABR0PQ",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-i-c9aec8xkvj_84768d40f55a4438a2d4f4af49ab34bc",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-c9aec8xkvj_84768d40f55a4438a2d4f4af49ab34bc.jpeg?from=327834062"
],
"width": 720
},
"awemehts_greet_info": "",
"cf_list": null,
"close_friend_type": 0,
"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=1788372000&x-signature=ebviaYQWniPMN8SvcSHCZ0Yp3fY%3D&from=327834062"
],
"width": 720
}
],
"create_time": 0,
"custom_verify": "",
"data_label_list": null,
"endorsement_info_list": null,
"enterprise_verify_reason": "",
"favoriting_count": 147,
"follow_status": 0,
"follower_count": 45236,
"follower_list_secondary_information_struct": null,
"follower_status": 0,
"following_count": 0,
"hide_others_recommend_interest": 0,
"hide_self_recommend_interest": 0,
"im_role_ids": null,
"is_ad_fake": false,
"is_blocked_v2": false,
"is_blocking_v2": false,
"is_cf": 0,
"live_high_value": 0,
"mate_add_permission": 1,
"max_follower_count": 0,
"nickname": "麦麦动画",
"offline_info_list": null,
"personal_tag_list": null,
"prevent_download": false,
"risk_notice_text": "",
"sec_uid": "MS4wLjABAAAAdniNeKI_lfTexRzxLKlpK6fL4kWjt7N5eAtrnT641fF-9fwEz-wnxLo75FIsBNEd",
"secret": 0,
"share_info": {
"share_desc": "",
"share_desc_info": "",
"share_qrcode_url": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"share_title": "",
"share_title_myself": "",
"share_title_other": "",
"share_url": "",
"share_weibo_desc": ""
},
"short_id": "91061130323",
"signature": "正在更新(夫人不要啊)@QQ阅读 \n独家博主,搬运作品将直接法律制裁\n没收所有收益\n学习/合作:xiran916",
"signature_extra": null,
"special_follow_status": 0,
"…": "13 more fields in the full response"
},
"author_mask_tag": 0,
"author_user_id": 7514362675516179000,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7673244904679591194",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"has_listen_cp_new\",\"copyright_tag_hit\":\"\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"true\",\"hit_high_risk\":\"false\",\"media_type\":\"4\",\"reason\":\"hit_ab_0\",\"show\":\"false\"}"
},
"aweme_type": 0,
"aweme_type_tags": "",
"boost_status": 2,
"can_be_oc_cover": true,
"can_cache_to_local": true,
"caption": "#抖音创作者大会 #原创动漫 #ai漫剧 #夫人不要啊",
"cf_assets_type": 0,
"cf_recheck_ts": 0,
"challenge_position": null,
"chapter_list": null,
"collect_stat": 0,
"collection_corner_mark": 0,
"comment_gid": 7673244904679591000,
"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,
"common_button": {
"button_list": [
{
"basic_info": {
"btn_name": "playlet_iaa_next",
"btn_type": "entertainment",
"btn_ui_style": 0,
"buttons": [
"…"
],
"exemptions": [
1,
2
]
},
"priority": 200400
}
]
},
"component_control": {
"data_source_url": "/aweme/v1/web/aweme/detail/"
},
"component_info_v2": "{\"desc_lines_limit\":0,\"hide_marquee\":false}",
"cover_labels": null,
"create_time": 1786579200,
"danmaku_control": {
"activities": [
{
"id": 1224,
"type": 1
}
],
"danmaku_cnt": 22,
"enable_danmaku": true,
"first_danmaku_offset": 9,
"is_post_denied": false,
"last_danmaku_offset": 212725,
"pass_through_params": "{\"first_danmaku_offset\":9,\"has_danmaku\":1}",
"post_denied_reason": "",
"post_privilege_level": 0,
"skip_danmaku": false,
"smart_mode_decision": 0
},
"desc": "【夫人不要啊】P11:裴少卿升职加薪?? #抖音创作者大会 #原创动漫 #ai漫剧 #夫人不要啊",
"disable_relation_bar": 0,
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"distribute_circle": {
"campus_block_interaction": false,
"distribute_type": 0,
"is_campus": false
},
"diversion_bar_info": [],
"douplus_user_type": 0,
"douyin_p_c_video_extra": "{\"ai_summary\":1,\"ai_summary_v2\":1}",
"…": "115 more fields in the full response"
},
"log_pb": {
"impr_id": "20260820024314AC18F42583D1BD6CD33A"
},
"status_code": 0
}
}
]Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Douyin | $0.001 за запрос | JSON |
Douyin | $0.001 за запрос | JSON |
Douyin | $0.001 за запрос | JSON |
Douyin | $0.001 за запрос | JSON |
Douyin | $0.001 за запрос | JSON |
Douyin | $0.03 за запрос | JSON |
Руководства:Best Douyin API in 2026: Pricing Compared
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/douyin/web/one-video-by-share-url, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: share_url (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Douyin Video Details by Share URL работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Douyin.