# 抖音 合集详情 API (douyin.mix_detail)

- Canonical page: [https://everyinfra.com/douyin-api/mix_detail](https://everyinfra.com/douyin-api/mix_detail?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "douyin", "action": "mix_detail", "params": {...}}
- Price: $0.000556 per call ($0.56 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=douyin&action=mix_detail

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| mix_id | not declared | yes | not declared | 抖音合集 ID，纯数字，取自 user_mixes 返回行的 mix_id；也收 https://www.douyin.com/collection/<ID> 链接。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| mix_id | 抖音合集 ID（user_mixes、mix_detail），传给 mix_posts 的 mix_id 取合集里的作品。 |
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| description | 简介或描述，通常比 text 短。 |
| url | 该记录在原平台上的可访问链接。 |
| cover_image_url | 封面图链接：search / user_posts / posts_batch / related_posts / mix_posts / music_posts / media_links 是作品封面，music_search / music_detail 是音乐封面，billboard_topic_hot 是话题配图，user_mixes 是合集封面，live_room 是直播间封面；带签名的会过期。 |
| episode_count | 一共几集：user_mixes、mix_detail 是合集的集数，series_feed、series_detail、user_series 是短剧的总集数。 |
| play_count | 仅热点宝视频榜单和合集上是真实播放数。在 billboard_video_hot、billboard_low_fan_explosion、billboard_high_completion 上是抖音平台自己统计的播放数，mix_posts 是这一集作品的播放数，user_mixes 是整个合集的播放数；其余能力上抖音不对外公开播放量，值多为 0，不代表真实播放，热度请看点赞、评论、分享数。 |
| collect_count | 收藏数。null 表示不公开，不等于 0。 |
| author_id | 作者在原平台的唯一 ID。 |
| author_uid | 作者（评论里是评论者）的数字用户 ID；author_id 是 secUid，两者是同一个人的两种 ID。 |
| author_name | 作者昵称（显示名）。 |
| author_douyin_id | 作者抖音号。 |
| author_avatar_url | 作者头像链接：search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts 行上是博主的，live_room 上是主播的，comments 行上是评论者的。 |
| author_is_verified | 作者是否认证（search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts 行上；live_room 上是主播是否认证；comments 行上是评论者是否认证）。 |
| author_follower_count | 作者粉丝数。null 表示不公开。 |
| created_at | 创建时间，格式同 posted_at。 |
| updated_at | 最近一次更新的时间（ISO 8601，UTC）：user_mixes、mix_detail 是合集的，series_feed、series_detail、user_series 是短剧的。 |
| is_complete | 合集资料是否取全（mix_detail）。为 false 时 play_count、collect_count、description、created_at、updated_at 没有取到：这位作者合集很多，要补全用 user_mixes 翻页找到这个 mix_id。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "douyin",
  "action": "mix_detail",
  "params": {
    "mix_id": "7631984690945067058"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "douyin",
        "action": "mix_detail",
        "params": {
            "mix_id": "7631984690945067058",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-11-21T07:17:52Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "douyin",
  "action": "mix_detail",
  "results": {
    "mix_id": "7631984690945067058",
    "name": "肩背手臂",
    "url": "https://www.douyin.com/collection/7631984690945067058",
    "cover_image_url": "https://p26-sign.douyinpic.com/obj/tos-cn-i-dy/8a817b1a7fde4c9eb3ea233a9db61525?lk3s=f3356eed&x-expires=1795266000&x-signature=F%2FuS3k2nvCzB7rWBN5q53VqoLzY%3D&from=4080365293&s=PackSourceEnum_MIX_PUBLISH&se=false&sc=mix_cover&biz_tag=aweme_mix&l=2026112115181301C2C9B3594360895F6…",
    "episode_count": 10,
    "play_count": 167640,
    "collect_count": 3,
    "author_id": "•••",
    "author_uid": "•••",
    "author_name": "薇•••养",
    "author_avatar_url": "https://p3-pc.douyinpic.com/•••",
    "author_is_verified": false,
    "author_follower_count": 43198,
    "created_at": "2026-04-23T15:58:27+00:00",
    "updated_at": "2026-04-24T03:17:05+00:00",
    "is_complete": true,
    "platform": "douyin"
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=douyin
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
