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

Douyin Single Video Data (Web)

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

Returns detailed metadata for a single Douyin video using its video identifier. The endpoint provides video properties such as bit rate and stream quality tiers.

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

Playground

输入
Video id
输出示例
响应outputs · 6.0 KB · 163 行
[
  {
    "data": {
      "aweme_detail": {
        "activity_video_type": 0,
        "anchors": null,
        "authentication_token": "MS4wLjAAAAAAyzcEgaHROrJCjWpZwU8ZkkxQTjyqbbR7jImQCiEIaTAGepNtUW7Bc0ntSjmsnSoSr-W0AOthfejlseIqhJ5AWScvkT33YnzrU4mjFETp5BzHGqoVtj81NndMr29PSwdJ9eUYQFMw1wTPqLzXpX_Jei5TWW_Si-5p3mRCZ-4itdHvIsyB2LcWy0uUac1Keg2L42EK2Q4yJjFYd0SmmFHeQhcQiNsT6s1ofGkfPdpZxjIIzMWWNT_tpx_9omws7bRo",
        "author": {
          "avatar_thumb": {
            "height": 720,
            "uri": "100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
            "url_list": [
              "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b.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=1788426000&x-signature=HpVZ04fWlIIyWQ796gm1v3%2BBjOc%3D&from=327834062"
              ],
              "width": 720
            }
          ],
          "create_time": 0,
          "custom_verify": "",
          "data_label_list": null,
          "endorsement_info_list": null,
          "enterprise_verify_reason": "",
          "favoriting_count": 37,
          "follow_status": 0,
          "follower_count": 2679826,
          "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": "MS4wLjABAAAAGhTVHcr1tmaen43gOCk7JxI2ZHioZL3UzgmydgHUFFQ",
          "secret": 0,
          "share_info": {
            "share_desc": "",
            "share_desc_info": "",
            "share_qrcode_url": {
              "height": 720,
              "uri": "6f9700050be821261267",
              "url_list": [
                "https://p3-pc-sign.douyinpic.com/obj/6f9700050be821261267?lk3s=138a59ce&x-expires=1787238000&x-signature=6tuDOTyGjLgjVkhBb2Hoh0M80C0%3D&from=327834062"
              ],
              "width": 720
            },
            "share_title": "",
            "share_title_myself": "",
            "share_title_other": "",
            "share_url": "",
            "share_weibo_desc": ""
          },
          "short_id": "612808329",
          "signature": "唯一小号@萧萧又怎么了",
          "signature_extra": null,
          "special_follow_status": 0,
          "…": "13 more fields in the full response"
        },
        "author_mask_tag": 0,
        "author_user_id": 95823111667,
        "aweme_control": {
          "can_comment": true,
          "can_forward": true,
          "can_share": true,
          "can_show_comment": true
        },
        "aweme_id": "7372484719365098803",
        "aweme_listen_struct": {
          "trace_info": "{\"copyright_not_speech\":\"true\",\"copyright_reason\":\"not_intercept\",\"copyright_tag_hit\":\"0\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"false\",\"hit_high_risk\":\"false\",\"media_type\":\"4\",\"reason\":\"hit_ab_0\",\"show\":\"false\"}"
        },
        "aweme_type": 0,
        "aweme_type_tags": "",
        "boost_status": 0,
        "can_be_oc_cover": true,
        "can_cache_to_local": true,
        "caption": "你对我的好我一直记得 因为只有你把我当小孩#双子座",
        "cf_assets_type": 0,
        "cf_recheck_ts": 0,
        "challenge_position": null,
        "chapter_list": null,
        "collect_stat": 0,
        "collection_corner_mark": 0,
        "comment_gid": 7372484719365098000,
        "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,
        "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": 1716540374,
        "danmaku_control": {
          "activities": [
            {
              "id": 1224,
              "type": 1
            }
          ],
          "danmaku_cnt": 29,
          "enable_danmaku": true,
          "first_danmaku_offset": 589,
          "is_post_denied": false,
          "last_danmaku_offset": 7776,
          "pass_through_params": "{\"first_danmaku_offset\":589,\"has_danmaku\":1}",
          "post_denied_reason": "",
          "post_privilege_level": 0,
          "skip_danmaku": false,
          "smart_mode_decision": 0
        },
        "desc": "你对我的好我一直记得 因为只有你把我当小孩#双子座",
        "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_pc_video_extra_seo": "",
        "duet_aggregate_in_music_tab": false,
        "duration": 8010,
        "…": "106 more fields in the full response"
      },
      "log_pb": {
        "impr_id": "20260820174304AFFE6A0FFD761CBEF5D4"
      },
      "status_code": 0
    }
  }
]

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Douyin Single Video Data (Web) API

Returns metadata for one Douyin video, including the caption, author profile, posting time, duration, comment and danmaku settings. It needs the video's aweme_id.

Use cases

  • Read the caption, author nickname and follower count for a Douyin video you already have the ID for.
  • Check whether comments, sharing and forwarding are enabled on a video before building a workflow around it.
  • Convert create_time into a posting date to sort or filter a list of Douyin videos.
  • Count danmaku (on-screen comments) on a video and see when the first and last ones appear.

Request

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

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": 0,
    "anchors": null,
    "authentication_token": "MS4wLjAA…",
    "author": {
      "avatar_thumb": {
        "height": 720,
        "uri": "100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
        "url_list": [
          "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24…"
        ],
        "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,
      "enterprise_verify_reason": ""
    },
    "author_mask_tag": 0,
    "author_user_id": 95823111667,
    "aweme_control": {
      "can_comment": true,
      "can_forward": true,
      "can_share": true,
      "can_show_comment": true
    },
    "aweme_id": "7372484719365098803",
    "aweme_listen_struct": {
      "trace_info": "{\"copyright_not_speech\":\"true\",\"copyright_reason\":\"not_intercept\",\"copyright_tag…"
    },
    "aweme_type": 0,
    "aweme_type_tags": "",
    "boost_status": 0
  },
  "log_pb": {
    "impr_id": "202611031532283EA01F15D8322E3D0328"
  },
  "status_code": 0
}

Response fields

FieldMeaning
aweme_detail.aweme_idThe ID of the video. It matches the aweme_id you sent.
aweme_detail.desc / aweme_detail.captionThe video text, including hashtags such as #双子座.
aweme_detail.create_timePosting time of the video. The value 1716540374 looks like a Unix timestamp in seconds.
aweme_detail.durationLength of the video. The value 8010 is likely in milliseconds, so about 8 seconds.
aweme_detail.author.nickname / aweme_detail.author.sec_uidThe display name of the author and their sec_uid, the ID used to look up the author's profile and posts.
aweme_detail.author.follower_countNumber of followers the author has.
aweme_detail.author.signatureThe author's profile bio text.
aweme_detail.aweme_control.can_comment / can_forward / can_shareFlags that show whether commenting, forwarding and sharing are allowed on the video.
aweme_detail.danmaku_control.danmaku_cntNumber of danmaku (on-screen comments) on the video. enable_danmaku shows whether danmaku is turned on.
aweme_detail.author.avatar_thumb.url_list[]URLs of the author's small avatar image.

Notes

  • Send the video ID in aweme_id. The example value is 7372484719365098803.
  • The response includes status_code, where 0 is shown for a successful call, and log_pb.impr_id as a request identifier.
  • To get the author's profile, pass aweme_detail.author.sec_uid to Douyin User Profile (Web).
  • To read the video's comments, use Douyin Video Comments (Web).

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 Single Video Data (Web) API?

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

Douyin Single Video Data (Web) API 的价格是多少?

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

Douyin Single Video Data (Web) API 接受哪些参数?

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

Douyin Single Video Data (Web) API 返回什么?

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

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

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