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

Douyin Video Detail

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

Get the full data of a single Douyin post by ID (video, photo or article): description, author, hashtags, music, statistics and play URLs.

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

Playground

輸入
Video id
輸出範例
回應outputs · 11.9 KB · 301 行
[
  {
    "data": {
      "aweme_detail": {
        "activity_video_type": -1,
        "anchors": null,
        "authentication_token": "MS4wLjAAAAAAj7cn1S1XN6JeBavbHV_f6cyRLfQmNM_xIlsvWfIxdf8D-BoX6Ro1il2FwWnyphz5KrzQQPnEO4BIHpMM-moUOdDLiiRKSl5jsqXFm5xT8V2bwOOAMLy1DPWniGFfgl5I6HnQsYGAmxGFQwX61qyQELCycUuu2bq33BThMDY8yyudJ4efGbOxrZcqQV1_CJo8Pck2KI_jaMWu1X4hYiz-j5eBSm3naTtMPkiV3x-3MAivLPUAlEQK8owdvzJdcW_g",
        "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-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A",
            "url_list": [
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A~c5_168x168.webp?from=327834062",
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A~c5_168x168.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_300x300": {
            "height": 720,
            "uri": "300x300/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A",
            "url_list": [
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A~c5_300x300.webp?from=327834062",
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A~c5_300x300.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_larger": {
            "height": 720,
            "uri": "1080x1080/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A",
            "url_list": [
              "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A.webp?from=327834062",
              "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_medium": {
            "height": 720,
            "uri": "720x720/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A",
            "url_list": [
              "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A.webp?from=327834062",
              "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_thumb": {
            "height": 720,
            "uri": "100x100/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A",
            "url_list": [
              "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A.webp?from=327834062",
              "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_uri": "aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A",
          "aweme_control": {
            "can_comment": true,
            "can_forward": true,
            "can_share": true,
            "can_show_comment": true
          },
          "aweme_count": 26,
          "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=1788372000&x-signature=nCN9Ew6QRiPlnSGaZDoxX7p441k%3D&from=327834062"
              ],
              "width": 720
            }
          ],
          "create_time": 0,
          "custom_verify": "",
          "cv_level": "",
          "data_label_list": null,
          "display_info": null,
          "…": "138 more fields in the full response"
        },
        "author_mask_tag": 0,
        "author_user_id": 704154224300736,
        "aweme_control": {
          "can_comment": true,
          "can_forward": true,
          "can_share": true,
          "can_show_comment": true
        },
        "aweme_id": "7662510757757603122",
        "aweme_listen_struct": {
          "listen_diversion": {
            "popup_scene": 4,
            "side_desc": "听更多精彩内容",
            "sub_title_type": "relation"
          },
          "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\":\"exclude_play_tag_4\",\"duration_over\":\"false\",\"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": true,
        "can_cache_to_local": true,
        "caption": "#百young非遗计划 #一见爱上传统文化 #抖音精选计划 #悬空寺",
        "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": "1778252371485708",
            "collect_stat": 0,
            "connect_music": [],
            "desc": "「抖音精选计划」是由抖音发起的长期优质创作倡议,旨在持续发现和鼓励更多受用户喜爱的好作品,并为相关作品提供流量扶持或现金激励。\n不负热爱,创作常新,期待未来有更多好作品被看见,更多创作者在热爱中闪闪发光。",
            "extra_attr": {
              "is_live": false
            },
            "hashtag_profile": "douyin-admin-obj/d9ea9786c8d20aabde483dc188adf27c",
            "is_challenge": 1,
            "is_commerce": false,
            "is_pgcshow": false,
            "schema": "aweme://aweme/challenge/detail?cid=1778252371485708",
            "search_impr": {
              "entity_id": "1778252371485708"
            },
            "share_info": {
              "bool_persist": 0,
              "share_desc": "「抖音精选计划」是由抖音发起的长期优质创作倡议,旨在持续发现和鼓励更多受用户喜爱的好作品,并为相关作品提供流量扶持或现金激励。\n不负热爱,创作常新,期待未来有更多好作品被看见,更多创作者在热爱中闪闪发光。",
              "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/1778252371485708/?u_code=-1&from_ssr=1",
              "share_weibo_desc": "我在抖音参与话题讨论#抖音精选计划 "
            },
            "show_items": null,
            "sub_type": 0,
            "type": 2,
            "user_count": 0,
            "view_count": 0
          }
        ],
        "challenge_position": null,
        "chapter_list": null,
        "city": "620700",
        "cmt_swt": false,
        "collect_stat": 0,
        "collection_corner_mark": 0,
        "comment_gid": 7662510757757603000,
        "comment_list": null,
        "comment_permission_info": {
          "can_comment": true,
          "comment_permission_status": 0,
          "item_detail_entry": false,
          "press_entry": false,
          "toast_guide": false
        },
        "comment_words_recommend": {},
        "commerce_config_data": null,
        "commerce_info": {
          "ad_type": 0,
          "is_ad": false
        },
        "common_bar_info": "[{\"id\":\"related_search_anchor\",\"view_type\":3,\"business_type\":1,\"schema\":\"\",\"separator_dot\":{\"show\":1},\"main_content\":{\"text\":\"相关搜索\"},\"tail_icon\":{\"url\":\"\",\"show\":1,\"icon_url\":{\"uri\":\"tos-cn-i-3a9ajr9h4x/ic_s_s_arrowright_outlined_12.png\",\"url_list\":[\"https://p3-sign.douyinpic.com/tos-cn-i-3a9ajr9h4x…",
        "component_control": {
          "data_source_url": "/aweme/v1/aweme/detail/"
        },
        "component_info_v2": "{\"desc_lines_limit\":0,\"hide_marquee\":false}",
        "cover_labels": null,
        "create_time": 1784067329,
        "danmaku_control": {
          "activities": [
            {
              "id": 1224,
              "type": 1
            }
          ],
          "danmaku_cnt": 858,
          "enable_danmaku": true,
          "first_danmaku_offset": 239,
          "is_post_denied": false,
          "last_danmaku_offset": 72416,
          "pass_through_params": "{\"first_danmaku_offset\":239,\"has_danmaku\":1}",
          "post_denied_reason": "",
          "post_privilege_level": 0,
          "skip_danmaku": false,
          "smart_mode_decision": 0
        },
        "desc": "悬崖上的寺庙,凭啥千年不倒? #百young非遗计划 #一见爱上传统文化 #抖音精选计划 #悬空寺",
        "desc_language": "zh",
        "…": "153 more fields in the full response"
      },
      "extra": {
        "fatal_item_ids": [],
        "logid": "20260820023424928524DD45651AF2800C",
        "now": 1787164464000
      },
      "log_pb": {
        "impr_id": "20260820023424928524DD45651AF2800C"
      },
      "status_code": 0
    }
  }

範例

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

API README

Douyin Video Detail API

This API looks up a single Douyin post by its aweme_id. For a post that can be viewed, it returns the description, author, hashtags, music, statistics and play URLs. For a post that cannot be viewed, it returns a short notice with the reason instead.

Use cases

  • Check whether a Douyin post is still public before you save or analyze it.
  • Find out why a post cannot be viewed by reading the notice and filter reason.
  • Fetch the details of a post whose ID came from a search, hashtag or user video list.
  • Archive the description, author and media URLs of a public post.

Request

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

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.

{
  "extra": {
    "fatal_item_ids": [],
    "logid": "2026110315313840D96157933C965B7D7E",
    "now": 1793691098000
  },
  "filter_detail": {
    "aweme_id": "7592116912205630761",
    "detail_msg": "因作品权限或已被删除,无法观看,去看看其他作品吧",
    "filter_reason": "status_self_see",
    "icon": "https://p3.douyinpic.com/aweme-server-static-resource/reflow_notice_icon1.png~tp…",
    "notice": "抱歉,作品不见了"
  },
  "log_pb": {
    "impr_id": "2026110315313840D96157933C965B7D7E"
  },
  "status_code": 0
}

Response fields

FieldMeaning
status_codeStatus of the request. 0 appears in this response.
filter_detail.aweme_idID of the post that was looked up. It matches the aweme_id you sent.
filter_detail.filter_reasonShort code that says why the post is hidden. This response shows status_self_see.
filter_detail.notice / filter_detail.detail_msgText shown to the viewer when the post cannot be watched. notice is the short title and detail_msg is the longer message. Both are in Chinese.
filter_detail.iconURL of the icon shown with the notice.
extra.fatal_item_idsList of post IDs that failed with a fatal error. It is empty in this response.
extra.logid / log_pb.impr_idRequest identifiers. Keep them if you need to trace a specific call.
extra.nowServer time in the response, as a 13-digit number that looks like Unix milliseconds.

Notes

  • The aweme_id is the numeric ID of the post, for example 7592116912205630761. It appears in Douyin share links of the form /share/video/<aweme_id>/.
  • When a post is hidden, the response has a filter_detail object and no aweme_detail object. Check for filter_detail before you read post fields.
  • To resolve a share link into a post, use Douyin Single Video by Share URL.
  • To get only counts for many posts, use Douyin Video Statistics (Batch).

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 Video Detail API?

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

Douyin Video Detail API 的費用是多少?

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

Douyin Video Detail API 接受哪些參數?

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

Douyin Video Detail API 會回傳什麼?

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

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

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