Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Douyin Video Details by Share URL

Docs da 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.

Preço
$0.001USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 0 opcionais

Playground

Entrada
Share link
SaídaExemplo
Respostaoutputs · 6.7 KB · 192 linhas
[
  {
    "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
    }
  }
]

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da API

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.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.03 por chamadaJSON

Guias:Best Douyin API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Douyin Video Details by Share URL?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/web/one-video-by-share-url com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Douyin Video Details by Share URL?

$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Douyin Video Details by Share URL aceita?

Obrigatórios: share_url (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Douyin Video Details by Share URL retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Douyin ou de uma chave de API?

Não. Douyin Video Details by Share URL funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Douyin separadamente.