> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keyapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 获取指定音乐的详情数据

> 获取指定音乐的详情数据

<div className="inline-flex items-center gap-2 px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg">
  <span className="text-base">🪙</span>
  <span className="text-sm font-medium text-yellow-900 dark:text-yellow-100"><span className="font-semibold">1 credit</span><span className="text-yellow-700 dark:text-yellow-300 ml-1">每次请求</span></span>
</div>

## Copy for AI

<div className="my-6 rounded-xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-800 dark:bg-gray-900/40">
  <div className="min-w-0">
    <p className="text-base font-semibold text-gray-900 dark:text-gray-100">🤖 让 AI 帮你写调用代码</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">点击按钮复制一段结构化提示词，可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。</p>
  </div>

  <div className="mt-4">
    <button
      type="button"
      className="inline-flex items-center gap-2 rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 text-sm font-medium text-emerald-800 hover:bg-emerald-100 dark:border-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-100 dark:hover:bg-emerald-900/50"
      onClick={() => navigator.clipboard.writeText(`我需要调用以下 KeyAPI 接口，请根据提供的接口信息生成一份可直接运行的 Python 示例代码。

## 接口信息

Endpoint: GET https://api.keyapi.ai/v1/douyin/app/fetch_music_detail
Summary: 获取指定音乐的详情数据

Required Headers:
- Authorization: Bearer <YOUR_API_KEY>

Parameters:
- music_id (Required): 音乐id. Example: 7136850194742315016


## 代码要求

- 使用 Python \`requests\` 库
- 提供完整、可直接运行的示例
- 处理 HTTP 请求异常、超时以及非 2xx 响应
- 处理 JSON 解析异常
- 示例参数优先使用接口信息中提供的 Example
- 保持代码简洁，避免不必要的封装和复杂设计
`)}
    >
      ✨ 复制给 AI
    </button>
  </div>
</div>


## OpenAPI

````yaml zh/douyin-app.zh.openapi.json GET /v1/douyin/app/fetch_music_detail
openapi: 3.0.1
info:
  title: Douyin App API 中文文档
  description: Douyin App API 的中文参考文档。
  version: 1.0.0
servers:
  - url: https://api.keyapi.ai
    description: Production
security:
  - JWT Bearer: []
tags: []
paths:
  /v1/douyin/app/fetch_music_detail:
    get:
      tags: []
      summary: 获取指定音乐的详情数据
      description: 获取指定音乐的详情数据
      parameters:
        - name: music_id
          in: query
          description: 音乐id
          required: true
          example: '7136850194742315016'
          schema:
            type: string
            example: '7136850194742315016'
      responses:
        '200':
          description: 请求成功
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                code: 0
                message: success
                data:
                  status_code: 0
                  msg: success
                  music_info:
                    id: '7136850194742315016'
                    id_str: '7136850194742315016'
                    title: 深海
                    author: FRESH_ye
                    album: ''
                    cover_hd:
                      uri: tos-cn-v-2774c002/7fab9610e0424ef4a78de1ec6b00faa9
                      url_list:
                        - >-
                          https://p3.douyinpic.com/tos-cn-v-2774c002/7fab9610e0424ef4a78de1ec6b00faa9~tplv-dy-resize-walign-adapt-aq:1080:q75.heic?biz_tag=aweme_music&s=PackSourceEnum_MUSIC_DETAIL&sc=cover
                      width: 720
                      height: 720
                    cover_large:
                      uri: tos-cn-v-2774c002/7fab9610e0424ef4a78de1ec6b00faa9
                      url_list:
                        - >-
                          https://p3.douyinpic.com/tos-cn-v-2774c002/7fab9610e0424ef4a78de1ec6b00faa9~tplv-dy-resize-walign-adapt-aq:720:q75.heic?biz_tag=aweme_music&s=PackSourceEnum_MUSIC_DETAIL&sc=cover
                      width: 720
                      height: 720
                    cover_medium:
                      uri: tos-cn-v-2774c002/7fab9610e0424ef4a78de1ec6b00faa9
                      url_list:
                        - >-
                          https://p3.douyinpic.com/tos-cn-v-2774c002/7fab9610e0424ef4a78de1ec6b00faa9~tplv-dy-resize-walign-adapt-aq:200:q75.heic?biz_tag=aweme_music&s=PackSourceEnum_MUSIC_DETAIL&sc=cover
                      width: 720
                      height: 720
                    cover_thumb:
                      uri: tos-cn-v-2774c002/7fab9610e0424ef4a78de1ec6b00faa9
                      url_list:
                        - >-
                          https://p3.douyinpic.com/tos-cn-v-2774c002/7fab9610e0424ef4a78de1ec6b00faa9~tplv-dy-resize-walign-adapt-aq:100:q75.heic?biz_tag=aweme_music&s=PackSourceEnum_MUSIC_DETAIL&sc=cover
                      width: 720
                      height: 720
                    play_url:
                      uri: >-
                        https://sf6-cdn-tos.douyinstatic.com/obj/tos-cn-ve-2774/o46YfRnIh8C4R3BHMADD5vtMAR9wbZufklBRgW
                      url_list:
                        - >-
                          https://v5-dy-ov-experiment.zjcdn.com/48e47cc37e365d0c60771a892927d6b0/6aae0598/video/tos/cn/tos-cn-ve-2774/o46YfRnIh8C4R3BHMADD5vtMAR9wbZufklBRgW/?a=1128&ch=0&cr=3&dr=0&er=2&cd=0%7C0%7C0%7C3&br=126&bt=126&ft=LoM-81H7sQOCCp5Sup-Q6_Mme-rLWa5eF2KjUCd-IJmVjqkwUBMEq&mime_type=audio_mp4&qs=6&rc=ZWU4ODQ8Nzs8O2U5ZzRkM0BpajhoZDc6ZjV3ajMzNDlkM0AuLTJfYmNhXmMxMTMxYTM2YSNlYF9jcjQwcGNgLS1kYTBzcw%3D%3D&btag=c0010e000a8000&cquery=100h&dy_q=1787197384&l=20260820114304FA7F95680024B00B8470
                        - >-
                          https://v5-hl-zenl-ov.zjcdn.com/338a7799cf9bf3c0c5148d626721eba4/6aae0598/video/tos/cn/tos-cn-ve-2774/o46YfRnIh8C4R3BHMADD5vtMAR9wbZufklBRgW/?a=1128&ch=0&cr=3&dr=0&er=2&cd=0%7C0%7C0%7C3&br=126&bt=126&ft=LoM-81H7sQOCCp5Sup-Q6_Mme-rLWa5eF2KjUCd-IJmVjqkwUBMEq&mime_type=audio_mp4&qs=6&rc=ZWU4ODQ8Nzs8O2U5ZzRkM0BpajhoZDc6ZjV3ajMzNDlkM0AuLTJfYmNhXmMxMTMxYTM2YSNlYF9jcjQwcGNgLS1kYTBzcw%3D%3D&btag=c0010e000a8000&cquery=100h&dy_q=1787197384&l=20260820114304FA7F95680024B00B8470
                        - >-
                          https://api-play.amemv.com/aweme/v1/play/music/?video_id=v03ad6g10000cgfts23c77u4fabec5hg&line=0&file_id=906ad14d664b48f9a8d4f9e1b5550b1b&sign=ec55d5d0f11db38a54a81b56deea7475&is_play_url=1&source=PackSourceEnum_MUSIC_DETAIL
                      width: 720
                      height: 720
                      url_key: 906ad14d664b48f9a8d4f9e1b5550b1b
                      data_size: 3380848
                    source_platform: 25
                    duration: 208
                    extra: >-
                      {"is_aed_music":0,"dsp_switch":0,"review_unshelve_reason":0,"hotsoon_review_time":-1,"reviewed":0,"music_label_id":1112,"aggregate_exempt_conf":[],"cover_colors":{"rgb":[43,43,43]},"music_tagging":{"Languages":["non_vocal"],"Moods":["Miss","Memory"],"Genres":["Easy
                      Listening"],"Themes":null,"AEDs":["non_vocal"],"SingingVersions":null,"Instruments":null},"long_pic_video_usable":true,"loudness":"-14.396366","peak":"1.0097046","image_beats_url":"https://sf11-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/o4fgAPvQgA4mBRK2aAEekaKeaFz0vFOdHQkCAW","beats":{"audio_effect_onset":"https://sf6-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/ogFXCQkQnEIXzBadgDbeCTAAm87OAlAtgo0ZSe","beats_tracker":"https://sf11-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/o4fgAPvQgA4mBRK2aAEekaKeaFz0vFOdHQkCAW","energy_trace":"https://sf11-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/oIvvP2CKaHzEQ8aeTAKA4CNeQzzmFAWEFBvAqe","merged_beats":"https://sf6-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/o8M3AnXQsA8zASlbtgKenNleaFZKXC7VDQtBAV"},"douyin_beats_info":{},"is_subsidy_exp":false,"aigc_clip":false,"with_aed_model":0,"has_edited":0,"schedule_search_time":0,"is_red":0}
                    user_count: 28860
                    position: null
                    share_info:
                      share_url: >-
                        https://www.iesdouyin.com/share/music/7136850194742315016?from_ssr=1
                      share_weibo_desc: 《深海》>>
                      share_desc: 在抖音，记录美好生活
                      share_title: 《深海》>>
                      bool_persist: 0
                      share_title_myself: ''
                      share_title_other: ''
                      share_signature_url: ''
                      share_signature_desc: ''
                      share_quote: ''
                      share_desc_info: 《深海》>>
                    collect_stat: 0
                    status: 1
                    offline_desc: ''
                    owner_id: '103125294335'
                    owner_nickname: ''
                    is_original: true
                    mid: '7136850194742315016'
                    binded_challenge_id: 0
                    is_restricted: false
                    author_deleted: false
                    is_del_video: false
                    is_video_self_see: false
                    owner_handle: ''
                    author_position: null
                    prevent_download: false
                    strong_beat_url:
                      uri: >-
                        https://sf6-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/o0nDEZEtCBilWgAA9rCBfi00eANhkEnvZa2ixA
                      url_list:
                        - >-
                          https://sf6-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/o0nDEZEtCBilWgAA9rCBfi00eANhkEnvZa2ixA
                        - >-
                          https://sf11-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/o0nDEZEtCBilWgAA9rCBfi00eANhkEnvZa2ixA
                      width: 720
                      height: 720
                    unshelve_countries: null
                    prevent_item_download_status: 0
                    external_song_info: []
                    sec_uid: MS4wLjABAAAAnlQY0AxmWa32-TITF_r9INsmcPDtFztDbqZfgW7CFk4
                    avatar_thumb:
                      uri: >-
                        100x100/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea
                      url_list:
                        - >-
                          https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea.webp?from=889713528
                        - >-
                          https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea.jpeg?from=889713528
                      width: 720
                      height: 720
                    avatar_medium:
                      uri: >-
                        720x720/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea
                      url_list:
                        - >-
                          https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea.webp?from=889713528
                        - >-
                          https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea.jpeg?from=889713528
                      width: 720
                      height: 720
                    avatar_large:
                      uri: >-
                        1080x1080/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea
                      url_list:
                        - >-
                          https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea.webp?from=889713528
                        - >-
                          https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea.jpeg?from=889713528
                      width: 720
                      height: 720
                    preview_start_time: 0
                    preview_end_time: 0
                    is_commerce_music: false
                    is_original_sound: false
                    audition_duration: 208
                    shoot_duration: 208
                    reason_type: 0
                    artists: []
                    lyric_short_position: null
                    mute_share: false
                    tag_list: null
                    dmv_auto_show: false
                    is_pgc: true
                    is_matched_metadata: false
                    is_audio_url_with_cookie: false
                    music_chart_ranks: null
                    can_background_play: true
                    music_status: 1
                    video_duration: 6000
                    cover_color_hsv:
                      h: 0
                      s: 0
                      v: 17
                    pgc_music_type: 1
                    original_musician_display_name: FRESH_ye
                    author_status: 1
                    song:
                      id: '7136850194742298632'
                      id_str: '7136850194742298632'
                      title: 深海
                      artists: null
                      chorus:
                        start_ms: 25152
                        duration_ms: 68352
                      chorus_v3_infos: null
                    artist_user_infos: null
                    bit_rate: null
                    dsp_status: 10
                    musician_user_infos:
                      - uid: '103125294335'
                        short_id: '2372333282'
                        nickname: FRESH_ye
                        gender: 0
                        signature: 形容不上来的就叫感觉
                        avatar_larger:
                          uri: >-
                            1080x1080/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea
                          url_list:
                            - >-
                              https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea.webp?from=889713528
                            - >-
                              https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea.jpeg?from=889713528
                          width: 720
                          height: 720
                        avatar_thumb:
                          uri: >-
                            100x100/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea
                          url_list:
                            - >-
                              https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea.webp?from=889713528
                            - >-
                              https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea.jpeg?from=889713528
                          width: 720
                          height: 720
                        avatar_medium:
                          uri: >-
                            720x720/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea
                          url_list:
                            - >-
                              https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea.webp?from=889713528
                            - >-
                              https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea.jpeg?from=889713528
                          width: 720
                          height: 720
                        is_verified: true
                        follow_status: 0
                        aweme_count: 0
                        following_count: 0
                        follower_count: 0
                        favoriting_count: 0
                        total_favorited: 0
                        is_block: false
                        hide_search: false
                        constellation: 10
                        location: ''
                        hide_location: false
                        weibo_verify: ''
                        custom_verify: ''
                        unique_id: FRESHye69513
                        bind_phone: ''
                        special_lock: 1
                        need_recommend: 0
                        is_binded_weibo: false
                        weibo_name: ''
                        weibo_schema: ''
                        weibo_url: ''
                        story_open: false
                        story_count: 0
                        has_facebook_token: false
                        has_twitter_token: false
                        fb_expire_time: 0
                        tw_expire_time: 0
                        has_youtube_token: false
                        youtube_expire_time: 0
                        room_id: 0
                        live_verify: 0
                        authority_status: 0
                        verify_info: ''
                        shield_follow_notice: 0
                        shield_digg_notice: 0
                        shield_comment_notice: 0
                        school_name: ''
                        school_poi_id: ''
                        school_type: 0
                        share_info:
                          share_url: ''
                          share_weibo_desc: ''
                          share_desc: ''
                          share_title: ''
                          share_qrcode_url:
                            uri: 2d02e0002dfa22d297931
                            url_list:
                              - >-
                                https://p3-sign.douyinpic.com/obj/2d02e0002dfa22d297931?lk3s=3507f378&x-expires=1787216400&x-signature=6%2BiK%2FLPFRDughJhhoclL8r2dD1M%3D&from=889713528
                            width: 720
                            height: 720
                          share_title_myself: ''
                          share_title_other: ''
                          share_desc_info: ''
                        with_commerce_entry: false
                        verification_type: 2
                        enterprise_verify_reason: ''
                        is_ad_fake: false
                        followers_detail: null
                        region: CN
                        account_region: ''
                        sync_to_toutiao: 0
                        commerce_user_level: 0
                        live_agreement: 0
                        platform_sync_info: null
                        with_shop_entry: false
                        is_discipline_member: false
                        secret: 0
                        has_orders: false
                        prevent_download: false
                        show_image_bubble: false
                        geofencing: []
                        unique_id_modify_time: 1787197384
                        video_icon:
                          uri: ''
                          url_list: []
                          width: 720
                          height: 720
                        ins_id: ''
                        google_account: ''
                        youtube_channel_id: ''
                        youtube_channel_title: ''
                        apple_account: 0
                        with_dou_entry: false
                        with_fusion_shop_entry: false
                        is_phone_binded: false
                        accept_private_policy: false
                        twitter_id: ''
                        twitter_name: ''
                        user_canceled: false
                        has_email: false
                        is_gov_media_vip: false
                        live_agreement_time: 0
                        status: 1
                        create_time: 1565550486
                        avatar_uri: >-
                          aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea
                        follower_status: 0
                        neiguang_shield: 0
                        comment_setting: 0
                        duet_setting: 0
                        reflow_page_gid: 0
                        reflow_page_uid: 0
                        user_rate: 1
                        download_setting: -1
                        download_prompt_ts: 0
                        react_setting: 0
                        live_commerce: false
                        cover_url:
                          - uri: c8510002be9a3a61aad2
                            url_list:
                              - >-
                                https://p3-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=3507f378&x-expires=1788404400&x-signature=W0Qz%2Fj0450szrC5EUsoRzvcEKT8%3D&from=889713528
                            width: 720
                            height: 720
                        language: zh-Hans
                        has_insights: false
                        share_qrcode_uri: 2d02e0002dfa22d297931
                        item_list: null
                        user_mode: 0
                        user_period: 0
                        has_unread_story: false
                        new_story_cover: null
                        is_star: false
                        cv_level: ''
                        type_label: null
                        ad_cover_url: null
                        comment_filter_status: 0
                        avatar_168x168:
                          uri: >-
                            168x168/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea
                          url_list:
                            - >-
                              https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea~c5_168x168.webp?from=889713528
                            - >-
                              https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea~c5_168x168.jpeg?from=889713528
                          width: 720
                          height: 720
                        avatar_300x300:
                          uri: >-
                            300x300/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea
                          url_list:
                            - >-
                              https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea~c5_300x300.webp?from=889713528
                            - >-
                              https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c001_4db71235c8ef44bdab93b15496e3b8ea~c5_300x300.jpeg?from=889713528
                          width: 720
                          height: 720
                        relative_users: null
                        cha_list: null
                        sec_uid: >-
                          MS4wLjABAAAAnlQY0AxmWa32-TITF_r9INsmcPDtFztDbqZfgW7CFk4
                        need_points: null
                        homepage_bottom_toast: null
                        aweme_hotsoon_auth: 1
                        can_set_geofencing: null
                        room_id_str: '0'
                        white_cover_url: null
                        user_tags: null
                        stitch_setting: 0
                        is_mix_user: false
                        enable_nearby_visible: false
                        ban_user_functions: []
                        aweme_control:
                          can_forward: true
                          can_share: true
                          can_comment: true
                          can_show_comment: true
                        user_not_show: 1
                        ky_only_predict: 0
                        user_not_see: 0
                        card_entries: null
                        signature_display_lines: 5
                        display_info: null
                        follower_request_status: 0
                        live_status: 0
                        is_not_show: false
                        card_entries_not_display: null
                        card_sort_priority: null
                        show_nearby_active: false
                        interest_tags: null
                        school_id: ''
                        school_category: 0
                        search_impr:
                          entity_id: '103125294335'
                        link_item_list: null
                        user_permissions: null
                        offline_info_list: null
                        is_cf: 0
                        is_blocking_v2: false
                        is_blocked_v2: false
                        close_friend_type: 0
                        signature_extra: null
                        max_follower_count: 0
                        personal_tag_list: null
                        cf_list: null
                        im_role_ids: null
                        not_seen_item_id_list: null
                        user_age: 126
                        contacts_status: 2
                        risk_notice_text: ''
                        follower_list_secondary_information_struct: null
                        endorsement_info_list: null
                        text_extra: null
                        contrail_list: null
                        data_label_list: null
                        not_seen_item_id_list_v2: null
                        is_ban: false
                        special_people_labels: null
                        special_follow_status: 0
                        familiar_visitor_user: null
                        live_high_value: 0
                        follow_status_err_code: 1
                        awemehts_greet_info: ''
                        avatar_schema_list: null
                        profile_mob_params: null
                        disable_image_comment_saved: 0
                        verification_permission_ids: null
                        batch_unfollow_relation_desc: null
                        batch_unfollow_contain_tabs: null
                        creator_tag_list: null
                        account_cert_info: '{"label_style":3,"label_text":"抖音音乐人、音乐制作人"}'
                        private_relation_list: null
                        mate_relation:
                          mate_status: 0
                          mate_apply_forward: 0
                          mate_apply_reverse: 0
                        mate_add_permission: 0
                        familiar_confidence: 0
                        mate_count: 0
                        social_real_relation_type: 0
                        identity_labels: null
                        profile_component_disabled: null
                        story_ttl: 0
                        story_interactive: 0
                        house_talent_info: 0
                        allow_story_normal_like: false
                        story25_comment: 0
                        profile_signature_components: null
                        webcast_preview_labels: null
                    luna_info:
                      is_luna_user: false
                      has_copyright: true
                    music_image_beats:
                      music_image_beats_url:
                        uri: >-
                          tos-cn-v-2774c002/o4fgAPvQgA4mBRK2aAEekaKeaFz0vFOdHQkCAW
                        url_list:
                          - >-
                            https://sf11-cdn-tos.douyinstatic.com/obj/tos-cn-v-2774c002/o4fgAPvQgA4mBRK2aAEekaKeaFz0vFOdHQkCAW
                        width: 720
                        height: 720
                    music_collect_count: 0
                    music_cover_atmosphere_color_value: ''
                    luna_song:
                      luna_song_id: '7136850194742298632'
                      luna_song_id_str: '7136850194742298632'
                      luna_copyright: true
                    unified_music_group:
                      song_id: '7136850194742298632'
                      title: 深海
                      author: FRESH_ye
                      medium_cover_url:
                        uri: tos-cn-v-2774c002/7fab9610e0424ef4a78de1ec6b00faa9
                        url_list:
                          - >-
                            https://p3.douyinpic.com/tos-cn-v-2774c002/7fab9610e0424ef4a78de1ec6b00faa9~tplv-dy-resize-walign-adapt-aq:200:q75.heic?biz_tag=aweme_music&s=PackSourceEnum_MUSIC_DETAIL&sc=cover
                    show_origin_clip: false
                  rec_list: []
                  extra:
                    now: 1787197384000
                    logid: 20260820114304FA7F95680024B00B8470
                    fatal_item_ids: []
                    scenes: null
                  log_pb:
                    impr_id: 20260820114304FA7F95680024B00B8470
                  small_banner: []
                  feature_data: {}
                  related_musics: null
                  related_effects: null
                  trends_infos: null
                  disable_music_activity_setting: false
                  music_activity_resource_infos: null
                  lora_model_ids: null
                  follow_shoot_buttons: null
                  detail_page_labels: null
                requestId: 2c59c78f-a0fc-4adc-8201-d801a05b8412
          headers: {}
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '402':
          $ref: '#/components/responses/402'
        '429':
          $ref: '#/components/responses/429'
        '500':
          $ref: '#/components/responses/500'
      deprecated: false
      security:
        - JWT Bearer: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl --request GET \
              --url 'https://api.keyapi.ai/v1/douyin/app/fetch_music_detail?music_id=7136850194742315016' \
              --header 'Authorization: Bearer <YOUR_API_KEY>'
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.get(
                'https://api.keyapi.ai/v1/douyin/app/fetch_music_detail',
                params={"music_id": "7136850194742315016"},
                headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
            )
            print(response.json())
        - lang: javascript
          label: JavaScript
          source: >-
            const params = new URLSearchParams({"music_id":
            "7136850194742315016"});


            const response = await
            fetch(`https://api.keyapi.ai/v1/douyin/app/fetch_music_detail?${params}`,
            {
              method: 'GET',
              headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
            });

            const data = await response.json();

            console.log(data);
components:
  responses:
    '400':
      description: Bad Request
      content:
        application/json:
          schema:
            type: object
            example:
              code: 400
              data: null
              message: 'Missing required parameter: handle'
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            example:
              code: 401
              data: null
              message: apiKey is null
    '402':
      description: Payment Required
      content:
        application/json:
          schema:
            type: object
            example:
              code: 402
              data: null
              message: apiKey quota is not enough
    '429':
      description: Too Many Requests
      content:
        application/json:
          schema:
            type: object
            example:
              code: 429
              data: null
              message: qps limit exceeded
    '500':
      description: Internal Server Error
      content:
        application/json:
          schema:
            type: object
            example:
              code: 500
              data: null
              message: Internal server error
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        接口鉴权凭证。请在请求 Header 中传入 `Authorization: Bearer <YOUR_API_KEY>`。
        可在 [Dashboard](https://keyapi.ai/app/dashboard) 获取你的 API Key。

````