Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Douyin Video Details by Share URL

API 文档
https://api.sandbase.ai/v1/api/douyin/web/one-video-by-share-url

Returns detailed video information and available stream bitrate qualities for a single Douyin video using its web sharing link.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 0 个可选

Playground

输入
Share link
输出示例
响应outputs · 6.7 KB · 192 行
[
  {
    "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 中。

API README

Douyin Video Details by Share URL API

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.

Use cases

  • Look up the caption, author and posting time of a Douyin video from its web link.
  • Check the follower count of a video's author at the time of the lookup.
  • Read the comment permission and danmaku settings of a single video.
  • Get the aweme_id and sec_uid for a video to use in other Douyin calls.

Request

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.

Parameters

NameTypeRequiredDescription
share_urlstringYesShare link

Example response

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
}

Response fields

FieldMeaning
aweme_detail.aweme_idID of the video. It matches the number at the end of the share link.
aweme_detail.desc / aweme_detail.captionText of the video post. In this example both hold the hashtag #neo浪漫蓝调.
aweme_detail.create_timeCreation time of the video as a Unix timestamp in seconds.
aweme_detail.durationLength of the video. The example value is 12634.
aweme_detail.author.nicknameDisplay name of the author.
aweme_detail.author.sec_uidSecure user ID of the author. Use it to look up the author's profile or posts.
aweme_detail.author.follower_countNumber of followers the author has.
aweme_detail.author.signatureBio text of the author.
aweme_detail.aweme_control.can_comment / aweme_detail.aweme_control.can_shareBooleans that show whether commenting and sharing are allowed on the video.
aweme_detail.danmaku_control.danmaku_cntNumber of danmaku (on-screen comments) on the video. It is enable_danmaku that shows whether danmaku are turned on.

Notes

  • Pass a full video link such as https://www.douyin.com/video/7512756548356492544 in share_url.
  • Fetch the video's danmaku with Douyin Video Danmaku.
  • Fetch the author's profile with Douyin User Profile (Web), using the value in aweme_detail.author.sec_uid.
  • Image URLs in the response, such as aweme_detail.author.cover_url[].url_list, are signed and carry an x-expires value.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
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

问题

常见问题

如何使用 Douyin Video Details by Share URL API?

向 https://api.sandbase.ai/v1/api/douyin/web/one-video-by-share-url 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Douyin Video Details by Share URL API 的价格是多少?

每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Douyin Video Details by Share URL API 接受哪些参数?

必填:share_url (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Douyin Video Details by Share URL API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Douyin 开发者账户或 API key 吗?

不需要。Douyin Video Details by Share URL 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。