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

Douyin Single Video by Share URL

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

Returns detailed video metadata and playback stream specifications for a specific Douyin post using its public share link.

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

Playground

輸入
Share link
輸出範例
回應outputs · 12.5 KB · 310 行
[
  {
    "data": {
      "aweme_detail": {
        "activity_video_type": 0,
        "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": "MS4wLjAAAAAAdjnpTN7YAlTeEpMC2QSjHgl7TVUa5HZ5e1KOxiw3wIfhmynbnL-Gm3HMnfv4cJuOr1R4l5CmLJDH61TzNiCFoENNN4Pt_AazHIL8XmhPZbqpVLvVIYYgWhlapvPvIiWdAAMtzKmEm5LUIhRvC-w1ss84BHzYJL-5eJMxSNpWJJmm6fLWbj8hsnVMea6GKbZrpOPXNb3vo_vmb4uoKA9tdTuypRLPIzou_1pV97thskF2ePkxJGs4rRIsb2vgGuIC",
        "author": {
          "accept_private_policy": false,
          "account_cert_info": "{}",
          "account_region": "",
          "ad_cover_url": null,
          "allow_story_normal_like": true,
          "apple_account": 0,
          "authority_status": 0,
          "avatar_168x168": {
            "height": 720,
            "uri": "168x168/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
            "url_list": [
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843~c5_168x168.webp?from=327834062&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=avatar&biz_tag=aweme_avatar&l=202608201744486BA6CA13DC58D020ED4E",
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843~c5_168x168.jpeg?from=327834062&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=avatar&biz_tag=aweme_avatar&l=202608201744486BA6CA13DC58D020ED4E"
            ],
            "width": 720
          },
          "avatar_300x300": {
            "height": 720,
            "uri": "300x300/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
            "url_list": [
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843~c5_300x300.webp?from=327834062&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=avatar&biz_tag=aweme_avatar&l=202608201744486BA6CA13DC58D020ED4E",
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843~c5_300x300.jpeg?from=327834062&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=avatar&biz_tag=aweme_avatar&l=202608201744486BA6CA13DC58D020ED4E"
            ],
            "width": 720
          },
          "avatar_larger": {
            "height": 720,
            "uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
            "url_list": [
              "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843.webp?from=327834062&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=avatar&biz_tag=aweme_avatar&l=202608201744486BA6CA13DC58D020ED4E",
              "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843.jpeg?from=327834062&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=avatar&biz_tag=aweme_avatar&l=202608201744486BA6CA13DC58D020ED4E"
            ],
            "width": 720
          },
          "avatar_medium": {
            "height": 720,
            "uri": "720x720/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
            "url_list": [
              "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843.webp?from=327834062&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=avatar&biz_tag=aweme_avatar&l=202608201744486BA6CA13DC58D020ED4E",
              "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843.jpeg?from=327834062&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=avatar&biz_tag=aweme_avatar&l=202608201744486BA6CA13DC58D020ED4E"
            ],
            "width": 720
          },
          "avatar_thumb": {
            "height": 720,
            "uri": "100x100/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
            "url_list": [
              "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843.webp?from=327834062&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=avatar&biz_tag=aweme_avatar&l=202608201744486BA6CA13DC58D020ED4E",
              "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843.jpeg?from=327834062&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=avatar&biz_tag=aweme_avatar&l=202608201744486BA6CA13DC58D020ED4E"
            ],
            "width": 720
          },
          "avatar_uri": "aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
          "aweme_control": {
            "can_comment": true,
            "can_forward": true,
            "can_share": true,
            "can_show_comment": true
          },
          "aweme_count": 75,
          "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": 7,
          "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": 3635433641882579,
        "aweme_control": {
          "can_comment": true,
          "can_forward": true,
          "can_share": true,
          "can_show_comment": true
        },
        "aweme_id": "7512756548356492544",
        "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"
          },
          "trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"not_intercept\",\"copyright_tag_hit\":\"0\",\"copyright_use_aed_default\":\"true\",\"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\":\"4\",…"
        },
        "aweme_type": 0,
        "aweme_type_tags": "",
        "bodydance_score": 0,
        "boost_status": 0,
        "can_be_oc_cover": true,
        "can_cache_to_local": true,
        "caption": "#neo浪漫蓝调",
        "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": "neo浪漫蓝调",
            "cid": "7455242338168735785",
            "collect_stat": 0,
            "connect_music": [],
            "desc": "",
            "extra_attr": {
              "is_live": false
            },
            "hashtag_profile": "image-cut-tos/b310845de0c6af7c2219f470c178d27d.jpg",
            "is_challenge": 0,
            "is_commerce": false,
            "is_pgcshow": false,
            "schema": "aweme://aweme/challenge/detail?cid=7455242338168735785",
            "search_impr": {
              "entity_id": "7455242338168735785"
            },
            "share_info": {
              "bool_persist": 0,
              "share_desc": "在抖音,记录美好生活",
              "share_desc_info": "我在抖音参与话题讨论#neo浪漫蓝调 ",
              "share_quote": "",
              "share_signature_desc": "",
              "share_signature_url": "",
              "share_title": "我在抖音参与话题讨论#neo浪漫蓝调 ",
              "share_title_myself": "",
              "share_title_other": "",
              "share_url": "https://www.iesdouyin.com/share/challenge/7455242338168735785/?u_code=-1&from_ssr=1",
              "share_weibo_desc": "我在抖音参与话题讨论#neo浪漫蓝调 "
            },
            "show_items": null,
            "sub_type": 0,
            "type": 1,
            "user_count": 0,
            "view_count": 0
          }
        ],
        "challenge_position": null,
        "chapter_list": null,
        "city": "420200",
        "cmt_swt": false,
        "collect_stat": 0,
        "collection_corner_mark": 0,
        "comment_gid": 7512756548356492000,
        "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": 1749199950,
        "danmaku_control": {
          "activities": [
            {
              "id": 1224,
              "type": 1
            }
          ],
          "danmaku_cnt": 8,
          "enable_danmaku": true,
          "first_danmaku_offset": 277,
          "is_post_denied": false,
          "last_danmaku_offset": 12657,
          "pass_through_params": "{\"first_danmaku_offset\":277,\"has_danmaku\":1}",
          "post_denied_reason": "",
          "post_privilege_level": 0,

範例

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

API README

Douyin Single Video by Share URL API

Get a Douyin video's full details straight from a share link (douyin.com/video/<id> or a v.douyin.com short link copied from the app): caption, stats, author, music and play URLs.

Use cases

  • Handle links pasted by users without parsing them yourself.
  • Look up engagement and author for a shared video.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/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": {
    "aweme_id": "7512756548356492544",
    "desc": "#neo浪漫蓝调",
    "create_time": 1749199950,
    "statistics": {
      "digg_count": 190359,
      "comment_count": 1456,
      "collect_count": 10797,
      "share_count": 27894
    },
    "author": {
      "nickname": "栗子味",
      "uid": "3635433641882579",
      "sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_sma…",
      "unique_id": "Wuf666"
    },
    "video": {
      "duration": 12634,
      "width": 1024,
      "height": 576,
      "play_addr": {
        "url_list": [
          "https://v9-colds.douyinvod.com/0783179606d7b480c2e57136bba54…"
        ]
      }
    }
  }
}

Response fields

FieldMeaning
aweme_idVideo ID.
descCaption with hashtags.
create_timePublish time, Unix seconds.
statisticsdigg_count (likes), comment_count, collect_count (saves), share_count.
authornickname, numeric uid, sec_uid (used by profile APIs) and unique_id (抖音号).
video.play_addr.url_listPlay URLs; signed and temporary.
video.durationLength in milliseconds.

Notes

Pricing

$0.001 per successful call. Failed calls, including lookups whose target does not exist, 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 by Share URL API?

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

Douyin Single Video by Share URL API 的費用是多少?

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

Douyin Single Video by Share URL API 接受哪些參數?

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

Douyin Single Video by Share URL API 會回傳什麼?

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

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

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