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

Douyin Web Music Videos

API 文档
https://api.sandbase.ai/v1/api/douyin/web/music-aweme

Retrieves music videos from Douyin Web based on pagination settings. Returns a list of video items using the specified count and refresh index parameters.

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

Playground

输入
Number per page, default is 16
Paging index, default is 1
输出示例
响应outputs · 6.4 KB · 162 行
[
  {
    "data": {
      "aweme_list": [
        {
          "ad_candidates": null,
          "ai_follow_images": null,
          "anchors": null,
          "authentication_token": "MS4wLjAAAAAA8hJcVanhrv5b1_5Jy2TdTcUUVE93ERJFIgnR-x2FpzOzftyOR3EKiTez-IU9jxsOYxresnLlpbbMEO0qs7SX5FLkJHT30KWfDn3qehBVs8WHaicKWh51TCAV5KVaLUWmX-CGccGaQx-ebXaknL92Ko20Ix1pB0u2P-DGlOkB8xW81cKI2UMumN6hQE8sIsZrLMMzwgJBT56W2mQmv4ZagzL6X1tbVYDA2xrj15eJ96dokXgY8LSrhPickT-at_0L",
          "author": {
            "avatar_thumb": {
              "height": 720,
              "uri": "100x100/aweme-avatar/tos-cn-i-0813c000-ce_o0EAA2FHvFAAqBbAEQED9zfaIA46gZjbJ8Oee7",
              "url_list": [
                "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c000-ce_o0EAA2FHvFAAqBbAEQED9zfaIA46gZjbJ8Oee7.jpeg?from=327834062&se=false&biz_tag=feed_avatar&l=20260820174343F174C8063A7BA2D43822"
              ],
              "width": 720
            },
            "cha_list": null,
            "common_interest": 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
              }
            ],
            "custom_verify": "",
            "enterprise_verify_reason": "",
            "follow_status": 0,
            "follower_status": 0,
            "nickname": "乐感音乐徐老师",
            "not_seen_item_id_list": null,
            "prevent_download": false,
            "private_relation_list": null,
            "region": "CN",
            "sec_uid": "MS4wLjABAAAAO2HJUJalEzO_XpqWwsma4lY8UaFa3-t3cg_xs_nzeIWXqHXUuNvdVC0M70v1GIna",
            "secret": 0,
            "share_info": {
              "share_desc": "",
              "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": "70663389021",
            "signature": "这是一个音乐全内容博主,已经做了这些系列!\n🎞乐坛盘点|✈音乐旅行|📰乐坛资讯|🎹零基础钢琴|🎵专辑MV解读\n合作👀抖音号,请注明来意!!!\n永远的神:@方大同",
            "uid": "2610703807575915",
            "unique_id": "yuegan_X",
            "verification_type": 1
          },
          "author_user_id": 2610703807575915,
          "aweme_control": {
            "can_comment": true,
            "can_forward": true,
            "can_share": true,
            "can_show_comment": true
          },
          "aweme_id": "7653145117871705379",
          "aweme_listen_struct": {
            "trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"label_risk_music_or_speech\",\"copyright_tag_hit\":\"6060504\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"true\",\"hit_high_risk\":\"true\",\"media_type\":\"4\",\"reason\":\"hit_listen_video_sta…"
          },
          "aweme_type": 0,
          "can_cache_to_local": true,
          "caption": "欢迎收看华语乐坛编年史,第一期我们从2000年开始! #周杰伦 #孙燕姿 #陈奕迅 #林俊杰 #华语乐坛天花板",
          "challenge_position": null,
          "chapter_abstract": "",
          "chapter_bar_color": null,
          "chapter_data": {
            "ad_chapter_auto_skip_index_list": null,
            "ad_chapter_index_list": null,
            "recommend_type": ""
          },
          "chapter_list": [
            {
              "desc": "2000年",
              "detail": "",
              "points": null,
              "timestamp": 14000,
              "url": "https://p3-pc-sign.douyinpic.com/obj/tos-cn-p-0015/508102aa23b84e79ad1ad701282d0f0c?lk3s=138a59ce&x-expires=1787238000&x-signature=n7Ypg403yH0jX6zFAnSyFQBDZKY%3D&from=327834062"
            },
            {
              "desc": "2001年",
              "detail": "",
              "points": null,
              "timestamp": 84000,
              "url": "https://p3-pc-sign.douyinpic.com/obj/tos-cn-p-0015/dcd964a4b2304db0a381b4aca1874c6d?lk3s=138a59ce&x-expires=1787238000&x-signature=4O469ErHW2DdclLl8WS974Xd5Pc%3D&from=327834062"
            },
            "… 4 more items in the full response"
          ],
          "chapter_review_status": 2,
          "collect_stat": 0,
          "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,
          "commerce_top_labels": null,
          "create_scale_type": null,
          "create_time": 1781971200,
          "desc": "华语乐坛神作之下的第二名,真的没人记得吗? 欢迎收看华语乐坛编年史,第一期我们从2000年开始! #周杰伦 #孙燕姿 #陈奕迅 #林俊杰 #华语乐坛天花板",
          "dislike_dimension_list": null,
          "dislike_dimension_list_v2": null,
          "diversion_bar_info": null,
          "douyin_p_c_video_extra": "{\"ai_summary\":1,\"ai_summary_mashup\":1,\"video_highlight_bar\":1}",
          "duet_aggregate_in_music_tab": false,
          "duration": 444220,
          "effect_inflow_effects": null,
          "encrypt_interest_point_list": null,
          "encrypt_key_phrase_list": null,
          "entertainment_product_info": {
            "biz": 0,
            "market_info": {
              "limit_free": {
                "in_free": false
              },
              "marketing_tag": null
            },
            "sub_title": null
          },
          "feed_comment_config": {
            "input_config_text": "善语结善缘,恶言伤人心"
          },
          "feed_comment_panel_ai_tab": {
            "fit_ai_summarize": true,
            "show_comment_ai_tab": true
          },
          "follow_shot_assets": null,
          "friend_recommend_info": {
            "friend_recommend_source": 5,
            "label_user_list": null,
            "recommend_predict_rate": -1,
            "recommend_predict_score": 0
          },
          "…": "75 more fields in the full response"
        }
      ],
      "chime_video_list": null,
      "filter_infos": null,
      "log_pb": {
        "impr_id": "20260820174343F174C8063A7BA2D43822"
      },
      "status_code": 0,
      "video_cover_image_list": null,
      "video_cover_url_list": null
    }
  }
]

示例

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

API README

Douyin Web Music Videos API

Returns a page of music-related videos from Douyin Web as a list of video items in aweme_list. It needs only count, the number of items per page. You can add refresh_index to move through pages.

Use cases

  • Build a feed of long-form music videos on Douyin, such as artist profiles and concert retrospectives.
  • Track which hashtags and captions appear on music videos by reading caption and desc.
  • Collect aweme_id values and author IDs to feed into video detail or user lookups.
  • Compare video lengths across a music feed using duration.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/music-aweme" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"count": 16, "refresh_index": 1}'

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

Parameters

NameTypeRequiredDescription
countintegerYesNumber per page, default is 16
refresh_indexintegerNoPaging index, default is 1

Example response

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

{
  "aweme_list": [
    {
      "ad_candidates": null,
      "ai_follow_images": null,
      "anchors": null,
      "authentication_token": "MS4wLjAA…",
      "author": {
        "avatar_thumb": {
          "height": 720,
          "uri": "100x100/aweme-avatar/tos-cn-i-0813_41ceaf508ceb46e0a555bec09f119930",
          "url_list": [
            "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_41ceaf508ce…"
          ],
          "width": 720
        },
        "cha_list": null,
        "common_interest": null,
        "cover_url": [
          {
            "height": 720,
            "uri": "c8510002be9a3a61aad2",
            "url_list": [
              "https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expire…"
            ],
            "width": 720
          }
        ],
        "custom_verify": "",
        "enterprise_verify_reason": "",
        "follow_status": 0,
        "follower_status": 0
      },
      "author_user_id": 102008689680,
      "aweme_control": {
        "can_comment": true,
        "can_forward": true,
        "can_share": true,
        "can_show_comment": true
      },
      "aweme_id": "7673013362283891977",
      "aweme_listen_struct": {
        "trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"has_listen_cp_new\",\"copyrigh…"
      },
      "aweme_type": 0,
      "can_cache_to_local": true,
      "caption": "#地下八英里 结束了,是时候从头到尾好好说一下这场比赛的历史了#说唱 #说场比赛 #抖音创作者大会 #贝贝李京泽"
    }
  ],
  "chime_video_list": null,
  "filter_infos": null,
  "log_pb": {
    "impr_id": "202611031532328B5907C61486A95FC51D"
  },
  "status_code": 0,
  "video_cover_image_list": null,
  "video_cover_url_list": null
}

Response fields

FieldMeaning
aweme_list[]The list of video items on this page.
aweme_list[].aweme_idThe ID of the video, as a string. Use it to look up the video in other APIs.
aweme_list[].desc / aweme_list[].captionThe video text, including hashtags. desc can be longer than caption.
aweme_list[].create_timeWhen the video was created, as a Unix timestamp in seconds.
aweme_list[].durationThe video length. The values look like milliseconds, for example 535175 for a video of about nine minutes.
aweme_list[].author_user_idThe numeric user ID of the video author.
aweme_list[].author.avatar_thumb.url_list[]URLs of the author's avatar thumbnail image.
aweme_list[].chapter_list[]Chapters for videos that have them. Each has a desc title, a detail summary, a timestamp and a url for an image. timestamp values look like milliseconds.
aweme_list[].chapter_abstractA text summary of the video content, present only on some videos.
aweme_list[].aweme_control.can_comment / aweme_list[].aweme_control.can_shareFlags that show whether commenting and sharing are allowed on the video.

Notes

  • count is required. refresh_index is the paging index and starts at 1.
  • Many fields are null on some items, and chapter_list is null for videos without chapters. Check for null before reading nested values.
  • To get full details for a video, pass its aweme_id to Douyin Single Video Details (V1).
  • To read comments on a video, 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 Web Music Videos API?

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

Douyin Web Music Videos API 的价格是多少?

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

Douyin Web Music Videos API 接受哪些参数?

必填:count (integer)。 可选:refresh_index (integer)。 Parameters 表和本页的 Playground 列出了每个字段。

Douyin Web Music Videos API 返回什么?

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

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

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