> ## 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_video_mix_detail
Summary: 获取抖音视频合集详情数据

Required Headers:
- Authorization: Bearer <YOUR_API_KEY>

Parameters:
- mix_id (Required): 合集id. Example: 7302011174286002217


## 代码要求

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


## OpenAPI

````yaml zh/douyin-app.zh.openapi.json GET /v1/douyin/app/fetch_video_mix_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_video_mix_detail:
    get:
      tags: []
      summary: 获取抖音视频合集详情数据
      description: 获取抖音视频合集详情数据
      parameters:
        - name: mix_id
          in: query
          description: 合集id
          required: true
          example: '7302011174286002217'
          schema:
            type: string
            example: '7302011174286002217'
      responses:
        '200':
          description: 请求成功
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                code: 0
                message: success
                data:
                  status_code: 0
                  status_msg: ''
                  mix_info:
                    mix_id: '7302011174286002217'
                    mix_name: 我炼气我无敌
                    cover_url:
                      uri: tos-cn-i-dy/a2d6a6f46af8453489767e4d5d55f489
                      url_list:
                        - >-
                          https://p3-sign.douyinpic.com/obj/tos-cn-i-dy/a2d6a6f46af8453489767e4d5d55f489?lk3s=f3356eed&x-expires=1787216400&x-signature=kwXrInrPxlT1K8maKOhU4yf2cSI%3D&from=4080365293&s=PackSourceEnum_MIX_DETAIL&se=false&sc=mix_cover&biz_tag=aweme_mix&l=20260820114153B4C7B3C12F97C7FC0575
                      width: 720
                      height: 720
                    status:
                      status: 2
                      is_collected: 0
                    statis:
                      play_vv: 65262808
                      collect_vv: 17353
                      current_episode: 0
                      updated_to_episode: 72
                      last_read_episode: 0
                    desc: ''
                    author:
                      uid: '369034170734263'
                      short_id: '63119291962'
                      nickname: 阿丙漫剧
                      gender: 0
                      signature: 更新优质Ai漫剧，感谢支持！
                      avatar_larger:
                        uri: >-
                          1080x1080/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05
                        url_list:
                          - >-
                            https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05.webp?from=4080365293
                          - >-
                            https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05.jpeg?from=4080365293
                        width: 720
                        height: 720
                      avatar_thumb:
                        uri: >-
                          100x100/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05
                        url_list:
                          - >-
                            https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05.webp?from=4080365293
                          - >-
                            https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05.jpeg?from=4080365293
                        width: 720
                        height: 720
                      avatar_medium:
                        uri: >-
                          720x720/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05
                        url_list:
                          - >-
                            https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05.webp?from=4080365293
                          - >-
                            https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05.jpeg?from=4080365293
                        width: 720
                        height: 720
                      birthday: ''
                      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: true
                      constellation: 10
                      location: ''
                      hide_location: false
                      weibo_verify: ''
                      custom_verify: ''
                      unique_id: HYV5_
                      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
                      with_commerce_entry: false
                      verification_type: 1
                      enterprise_verify_reason: 成都舜垣文化传播有限公司
                      is_ad_fake: false
                      followers_detail: null
                      region: ''
                      account_region: ''
                      sync_to_toutiao: 0
                      commerce_user_level: 1
                      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: 1787197313
                      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: 0
                      avatar_uri: >-
                        aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05
                      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=f3356eed&x-expires=1788404400&x-signature=W0Qz%2Fj0450szrC5EUsoRzvcEKT8%3D&from=4080365293
                          width: 720
                          height: 720
                      language: zh-Hans
                      has_insights: false
                      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-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05
                        url_list:
                          - >-
                            https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05~c5_168x168.webp?from=4080365293
                          - >-
                            https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05~c5_168x168.jpeg?from=4080365293
                        width: 720
                        height: 720
                      avatar_300x300:
                        uri: >-
                          300x300/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05
                        url_list:
                          - >-
                            https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05~c5_300x300.webp?from=4080365293
                          - >-
                            https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_18451f99ea4d0fb03c524f2c8fa44c05~c5_300x300.jpeg?from=4080365293
                        width: 720
                        height: 720
                      relative_users: null
                      cha_list: null
                      sec_uid: MS4wLjABAAAA9amfVS5taLxREK7GB4URQnro_NcbwLTNqwFIK5TC0pk
                      need_points: null
                      homepage_bottom_toast: null
                      aweme_hotsoon_auth: 1
                      aweme_hotsoon_auth_relation: 1
                      can_set_geofencing: null
                      room_id_str: '0'
                      white_cover_url: null
                      user_tags: null
                      stitch_setting: 0
                      is_mix_user: true
                      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: '369034170734263'
                      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: -1
                      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
                      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
                      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
                    extra: >-
                      {"content_sub_type":0,"sub_type":0,"game_content_collection_id":"","top_item_content_label":{"-1":1,"2014":71},"is_author_set_self_see":0,"series_type":"","is_author_set_self_see_playlet":0}
                    share_info:
                      share_url: >-
                        https://www.iesdouyin.com/share/mix/detail/7302011174286002217/?schema_type=24&object_id=7302011174286002217&from_ssr=1
                      share_weibo_desc: >-
                        5.89 sRx:/ 10/19 X@M.jc
                        我正在看【我炼气我无敌】长按复制此条消息，打开抖音搜索，一起看合集~
                      share_desc: >-
                        5.38 12/01 dAT:/ j@C.HI
                        我正在看【我炼气我无敌】长按复制此条消息，打开抖音搜索，一起看合集~
                      share_title: 这么有趣的合集，不能只有我一个人知道吧
                      share_title_myself: ''
                      share_title_other: ''
                      share_desc_info: >-
                        5.89 sRx:/ 10/19 X@M.jc
                        我正在看【我炼气我无敌】长按复制此条消息，打开抖音搜索，一起看合集~
                    mix_type: 0
                    create_time: 1700131961
                    update_time: 1723711054
                    ids: null
                    watched_item: ''
                    is_serial_mix: 0
                    has_recommend_mix: 1
                    mix_pic_type: 0
                    is_iaa: 0
                    paid_episodes: null
                    vip_info: {}
                  extra:
                    fatal_item_ids: []
                    logid: 20260820114153B4C7B3C12F97C7FC0575
                    now: 1787197313000
                  log_pb:
                    impr_id: 20260820114153B4C7B3C12F97C7FC0575
                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_video_mix_detail?mix_id=7302011174286002217' \
              --header 'Authorization: Bearer <YOUR_API_KEY>'
        - lang: python
          label: Python
          source: |-
            import requests

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


            const response = await
            fetch(`https://api.keyapi.ai/v1/douyin/app/fetch_video_mix_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。

````