Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Douyin Single Video Details

API 文件
https://api.sandbase.ai/v1/api/douyin/app-v3/one-video

Returns detailed metadata for a single Douyin video or photo post using its video ID. Includes video stream formats, bitrates, and quality options.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 0 個選填
每天 100 次免費呼叫每天前 100 次呼叫免費(按組織共用)· 於 UTC 00:00 重設。之後按次收費。

Playground

輸入
Video id
輸出範例
回應outputs · 12.0 KB · 316 行
[
  {
    "data": {
      "aweme_detail": {
        "activity_video_type": -1,
        "admire_auth": {
          "admire_button": 0,
          "author_can_admire": 1,
          "exit_admire_in_aweme_post": 0,
          "is_admire": 0,
          "is_click_admire_icon_recently": 0,
          "is_fifty_admire_author_stable_fans": 0,
          "is_iron_fans_in_aweme_post": 0,
          "is_show_admire_button": 0,
          "is_show_admire_tab": 0
        },
        "anchors": null,
        "authentication_token": "MS4wLjAAAAAA4fwPUXhx8WkI-hYV-ltdMmigXsfahEY-w6v6XhK7e-Pqk_vW3ocOOtGtIGpBoA76G-EjLaT2251tBtWd7gktB_8x5IiFxucy_XbwdMktEx-IKAtUQy-re61PA6aLIm2l2-mUZGM0tfPxHIjgurqqkpmf67BCbLqS09a-pI77i7FUn2kFk3zSuYCpr36l-StKPpoB6U2Y9An5Y8aXi1RM7euletIM8Z7lsAu-NycktHa655KfPp55x9xIULySc2iz",
        "author": {
          "accept_private_policy": false,
          "account_cert_info": "{}",
          "account_region": "",
          "ad_cover_url": null,
          "allow_story_normal_like": false,
          "apple_account": 0,
          "authority_status": 0,
          "avatar_168x168": {
            "height": 720,
            "uri": "168x168/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
            "url_list": [
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D~c5_168x168.webp?from=327834062",
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D~c5_168x168.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_300x300": {
            "height": 720,
            "uri": "300x300/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
            "url_list": [
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D~c5_300x300.webp?from=327834062",
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D~c5_300x300.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_larger": {
            "height": 720,
            "uri": "1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
            "url_list": [
              "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.webp?from=327834062",
              "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_medium": {
            "height": 720,
            "uri": "720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
            "url_list": [
              "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.webp?from=327834062",
              "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_thumb": {
            "height": 720,
            "uri": "100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
            "url_list": [
              "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.webp?from=327834062",
              "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_uri": "aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
          "aweme_control": {
            "can_comment": true,
            "can_forward": true,
            "can_share": true,
            "can_show_comment": true
          },
          "aweme_count": 88,
          "aweme_hotsoon_auth": 1,
          "aweme_hotsoon_auth_relation": 1,
          "awemehts_greet_info": "",
          "ban_user_functions": [],
          "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,
          "close_friend_type": 0,
          "comment_filter_status": 0,
          "comment_setting": 0,
          "commerce_user_level": 0,
          "constellation": 0,
          "contacts_status": 2,
          "contrail_list": null,
          "cover_url": [
            {
              "height": 720,
              "uri": "c8510002be9a3a61aad2",
              "url_list": [
                "https://p3-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1788426000&x-signature=JvJ3QRyF5z8K0MAjsm3BIcA4sFg%3D&from=327834062"
              ],
              "width": 720
            }
          ],
          "create_time": 0,
          "custom_verify": "",
          "cv_level": "",
          "data_label_list": null,
          "display_info": null,
          "…": "139 more fields in the full response"
        },
        "author_mask_tag": 0,
        "author_user_id": 2557909361237356,
        "aweme_acl": {
          "download_mask_panel": {
            "code": 1,
            "show_type": 0
          }
        },
        "aweme_control": {
          "can_comment": true,
          "can_forward": true,
          "can_share": true,
          "can_show_comment": true
        },
        "aweme_id": "7448118827402972455",
        "aweme_listen_struct": {
          "listen_diversion": {
            "extra": [
              {
                "key": "new_guide_prefix",
                "val": "下载汽水"
              },
              {
                "key": "old_guide_prefix",
                "val": "打开汽水"
              }
            ],
            "popup_scene": 4,
            "side_desc": "听更多精彩内容",
            "sub_title_type": "relation"
          },
          "music_cover_listen": 1,
          "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\":\"item_tag_whitelist\",\"duration_over\":\"true\",\"hit_high_risk\":\"false\",\"luna_attr\":{\"suitable\":true},\"media_type\":\"…"
        },
        "aweme_type": 0,
        "aweme_type_tags": "",
        "bodydance_score": 0,
        "boost_status": 0,
        "can_be_oc_cover": false,
        "can_cache_to_local": true,
        "caption": "#并发编程 #多线程 本期视频深入探讨了线程在单核与多核处理器系统中的作用,并重点分析了并发与并行的区别及其实现方式。我们讨论了线程如何利用多核心处理器实现真正的并行化,提升程序性能。此外,还介绍了并行的两种类型:数据并行与任务并行,并通过实际案例演示了它们的应用场景和优势。\n视频还强调了多线程设计中需要考虑的资源竞争问题,以及如何在不同核心上分配任务以最大化效率。通过这些讲解,我们了解了多核系统中线程并行的重要性及其对编程的深远影响。",
        "caption_template_id": 0,
        "cf_assets_type": 0,
        "cf_recheck_ts": 0,
        "cha_list": [
          {
            "author": {
              "ad_cover_url": null,
              "avatar_168x168": {
                "height": 720,
                "uri": "",
                "url_list": [],
                "width": 720
              },
              "avatar_300x300": {
                "height": 720,
                "uri": "",
                "url_list": [],
                "width": 720
              },
              "avatar_larger": {
                "height": 720,
                "uri": "",
                "url_list": [],
                "width": 720
              },
              "avatar_medium": {
                "height": 720,
                "uri": "",
                "url_list": [],
                "width": 720
              },
              "avatar_thumb": {
                "height": 720,
                "uri": "",
                "url_list": [],
                "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": "1684082100470791",
            "collect_stat": 0,
            "connect_music": [],
            "desc": "",
            "extra_attr": {
              "is_live": false
            },
            "hashtag_profile": "image-cut-tos/ed7f9b9560c7c66ab4cef446842e6eb8.jpg",
            "is_challenge": 0,
            "is_commerce": false,
            "is_pgcshow": false,
            "schema": "aweme://aweme/challenge/detail?cid=1684082100470791",
            "search_impr": {
              "entity_id": "1684082100470791"
            },
            "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/1684082100470791/?u_code=-1&from_ssr=1",
              "share_weibo_desc": "我在抖音参与话题讨论#并发编程 "
            },
            "show_items": null,
            "sub_type": 0,
            "type": 1,
            "user_count": 0,
            "view_count": 0
          }
        ],
        "challenge_position": null,
        "chapter_list": null,
        "city": "460100",
        "cmt_swt": false,
        "collect_stat": 0,
        "collection_corner_mark": 0,
        "comment_gid": 7448118827402972000,
        "comment_list": null,
        "comment_permission_info": {
          "can_comment": true,
          "comment_permission_status": 0,
          "item_detail_entry": true,
          "press_entry": true,
          "toast_guide": false
        },
        "comment_words_recommend": {},
        "commerce_config_data": null,
        "commerce_info": {
          "ad_type": 0,
          "is_ad": false
        },
        "component_control": {},
        "component_info_v2": "{\"desc_lines_limit\":0,\"hide_marquee\":false}",
        "cover_labels": null,
        "create_time": 1734150565,
        "danmaku_control": {
          "activities": [
            {
              "id": 1224,
              "type": 1
            }
          ],
          "danmaku_cnt": 7,

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Douyin Single Video Details API

Returns detailed metadata for one Douyin video or photo post. The only input is the post ID in aweme_id. The response covers the caption, author, hashtags, creation time and comment and danmaku settings.

Use cases

  • Pull the caption, hashtags and author details for a Douyin post when you already know its ID.
  • Check whether comments, sharing and danmaku are enabled on a post before you build a workflow around it.
  • Read the hashtag IDs on a post to look up related topic pages.
  • Store the post creation time and author ID to track a creator's content.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/one-video" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"aweme_id": "7448118827402972455"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
aweme_idstringYesVideo id

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "aweme_detail": {
    "activity_video_type": -1,
    "admire_auth": {
      "admire_button": 1,
      "author_can_admire": 0,
      "exit_admire_in_aweme_post": 0,
      "is_admire": 0,
      "is_click_admire_icon_recently": 0,
      "is_fifty_admire_author_stable_fans": 0,
      "is_iron_fans_in_aweme_post": 0,
      "is_show_admire_button": 0,
      "is_show_admire_tab": 0
    },
    "anchors": null,
    "authentication_token": "MS4wLjAA…",
    "author": {
      "accept_private_policy": false,
      "account_cert_info": "{}",
      "account_region": "",
      "ad_cover_url": null,
      "allow_story_normal_like": false,
      "apple_account": 0,
      "authority_status": 0,
      "avatar_168x168": {
        "height": 720,
        "uri": "168x168/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
        "url_list": [
          "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0…"
        ],
        "width": 720
      },
      "avatar_300x300": {
        "height": 720,
        "uri": "300x300/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
        "url_list": [
          "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0…"
        ],
        "width": 720
      },
      "avatar_larger": {
        "height": 720,
        "uri": "1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
        "url_list": [
          "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVF…"
        ],
        "width": 720
      },
      "avatar_medium": {
        "height": 720,
        "uri": "720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
        "url_list": [
          "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFAp…"
        ],
        "width": 720
      },
      "avatar_thumb": {
        "height": 720,
        "uri": "100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFApMfIA8eW6A0AfIFfANnCa8h1D",
        "url_list": [
          "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_ooQ2tkQ4kDVFAp…"
        ],
        "width": 720
      }
    },
    "author_mask_tag": 0,
    "author_user_id": 2557909361237356,
    "aweme_acl": {
      "download_mask_panel": {
        "code": 1,
        "show_type": 0
      }
    },
    "aweme_control": {
      "can_comment": true,
      "can_forward": true,
      "can_share": true,
      "can_show_comment": true
    },
    "aweme_id": "7448118827402972455",
    "aweme_listen_struct": {
      "listen_diversion": {
        "extra": [
          {
            "key": "new_guide_prefix",
            "val": "下载汽水"
          }
        ],
        "popup_scene": 4,
        "side_desc": "听更多精彩内容",
        "sub_title_type": "relation"
      },
      "music_cover_listen": 1,
      "trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"has_listen_cp_new\",\"copyrigh…"
    },
    "aweme_type": 0
  }
}

Response fields

FieldMeaning
aweme_detail.aweme_idThe ID of the post. It matches the aweme_id you sent.
aweme_detail.captionThe text of the post, including hashtags written as #tag.
aweme_detail.create_timeCreation time of the post. The value 1734150565 looks like a Unix timestamp in seconds.
aweme_detail.author_user_idNumeric ID of the account that posted the video.
aweme_detail.author.aweme_countNumber of posts shown for the author account.
aweme_detail.author.avatar_thumb / aweme_detail.author.avatar_medium / aweme_detail.author.avatar_largerAuthor avatar images in different sizes. Each has url_list, width and height.
aweme_detail.cha_list[].cha_nameName of a hashtag (challenge) attached to the post.
aweme_detail.cha_list[].cidID of the hashtag. Use it to look up the hashtag elsewhere.
aweme_detail.aweme_control.can_comment / aweme_detail.aweme_control.can_share / aweme_detail.aweme_control.can_forwardFlags that show whether commenting, sharing and forwarding are allowed on the post.
aweme_detail.danmaku_control.enable_danmaku / aweme_detail.danmaku_control.danmaku_cntWhether danmaku (scrolling comments) are on, and how many exist for the post.

Notes

  • Send the post ID in aweme_id as a string, for example 7448118827402972455.
  • The response is large and includes many nested author and display fields. Most fields you need sit directly under aweme_detail.
  • To look up a hashtag found in aweme_detail.cha_list[], call Douyin Hashtag Details.
  • If you only have a share link, use Douyin Single Video by Share URL instead.

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.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Single Video Details API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/app-v3/one-video。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Douyin Single Video Details API 的費用是多少?

每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。

Douyin Single Video Details API 接受哪些參數?

必要:aweme_id (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin Single Video Details API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Douyin 開發者帳號或 API 金鑰嗎?

不需要。Douyin Single Video Details 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。