# 抖音 短剧分集 API (douyin.series_posts)

- Canonical page: [https://everyinfra.com/douyin-api/series_posts](https://everyinfra.com/douyin-api/series_posts?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "douyin", "action": "series_posts", "params": {...}}
- Price: $0.000792 per call ($0.79 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, one page of up to 20 per call; the number of rows varies from page to page and a short page is not the end (limit is ignored; pass the top-level next_page_token from the response as page_token for the next page; no next_page_token means the end)
- Pagination: pass next_page_token back as page_token for the next page, other params unchanged; one call per page, tokens last 24 hours
- 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=series_posts

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| series_id | not declared | yes | not declared | 抖音短剧 ID，纯数字，取自 series_feed、user_series 返回行的 series_id；也收短剧分享链接 https://www.iesdouyin.com/share/playlet/detail/<ID>。 |
| page_token | not declared | no | not declared | 翻页令牌。不传是第 1 页；之后把上一页响应里的 next_page_token 原样传回取下一页，其余参数不变。令牌 24 小时内有效；翻到底时没有 next_page_token。一页最多 20 集，按集数从前往后。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| media_type | 媒体类型。 |
| video_url | 视频播放地址（带签名、会过期，要留存请及时下载）；图文笔记或来源没给时为 null。 |
| like_count | 点赞数。null 表示该平台或该接口不公开此数据，不等于 0。 |
| comment_count | 评论数。null 表示不公开，不等于 0。 |
| share_count | 分享/转发数。null 表示不公开，不等于 0。 |
| collect_count | 收藏数。null 表示不公开，不等于 0。 |
| author_name | 作者昵称（显示名）。 |
| author_id | 作者在原平台的唯一 ID。 |
| author_douyin_id | 作者抖音号。 |
| author_bio | 作者主页简介（search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts 行上）。 |
| author_avatar_url | 作者头像链接：search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts 行上是博主的，live_room 上是主播的，comments 行上是评论者的。 |
| author_follower_count | 作者粉丝数。null 表示不公开。 |
| author_following_count | 作者关注数（search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts 行上）。 |
| author_like_count | 作者主页获赞总数（search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts / transcript）。 |
| author_video_count | 作者作品总数（search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts 行上）。 |
| author_is_verified | 作者是否认证（search / user_posts / video / posts_batch / related_posts / mix_posts / music_posts 行上；live_room 上是主播是否认证；comments 行上是评论者是否认证）。 |
| 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 是直播间封面；带签名的会过期。 |
| video_width | 视频画面宽度（像素）。 |
| video_height | 视频画面高度（像素）。 |
| video_bitrates | 各清晰度播放地址：[{quality（清晰度名）, bitrate（码率，bps）, fps, is_h265（是否 H.265 编码）, width, height（像素）, url}]，来源没给的项不出现；地址带签名、会过期（见 video_url_expires_at）。 |
| has_watermark | 平台对这条作品视频文件的水印标记（true 表示带水印）。 |
| duration_sec | 视频时长（秒）。 |
| duration_seconds | 时长，单位秒。非视频/音频内容为 null。 |
| hashtags | 正文里的话题标签数组，按出现顺序；没有时不出现这个字段。 |
| posted_at | 发布时间，ISO 8601 格式、UTC 时区（如 2026-08-07T12:34:56+00:00）。平台只给非标准字符串时原样透传，解析前建议做容错。null 表示平台未公开。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| music | 作品背景音乐：id、title（曲名）、author（演唱/作者）、is_original（是否原声）、duration_sec（秒）、cover_url、play_url（音频地址，可能会过期）；没有音乐信息时没有这个键。 |
| location | 作品定位的地点（POI）：id、name、category（地点分类）、address、district、city、province、country、city_code、latitude、longitude、cover_url、popularity_text（如 327人想去）、view_count、post_count（该地点下的作品数）、collect_count、visitor_count；作品没带定位时没有这个键。 |
| image_urls | 图片链接数组，按平台展示顺序；没有图片时不出现这个字段。 |
| is_deleted | 作品已被删除时为 true；抖音在作品行上标了才有这个键。 |
| is_private | 作品仅自己可见（私密）时为 true；抖音在作品行上标了才有这个键。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |
| episode | 这条作品是第几集，从 1 开始：mix_posts 是合集里的，series_posts 是短剧里的。 |
| series_id | 抖音短剧 ID（series_feed、series_detail、user_series、series_posts），传给 series_detail、series_posts 的 series_id。 |
| is_paid | 是否付费：series_feed、series_detail、user_series 是这部短剧有没有付费集；series_posts 是这一集要不要付费（付费集的视频链接是加密的，下载后无法播放）；live_session、user_live 是这一场是不是付费直播。 |

## 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": "series_posts",
  "params": {
    "series_id": "7703828515069626394"
  }
}'
```

```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": "series_posts",
        "params": {
            "series_id": "7703828515069626394",
        },
    },
    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; the list keeps the first 2 of 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "douyin",
  "action": "series_posts",
  "results": [
    {
      "id": "•••",
      "url": "https://www.douyin.com/video/7703828500301565211",
      "text": "《温柔以待，终有回甘》 【现代温情】中秋夜继子浑身湿透怯生生敲门，挺着孕肚的她一把拉住：这是你爸的家，想住就住！面黄肌瘦、衣服不合身，每周只给五十块生活费——这孩子从没吃饱过！短剧《温柔以待，终有回甘》#因为一个片段看了整部剧 #抖音短剧新番计划 #短剧 #家庭 #温柔以待终有回甘",
      "media_type": "video",
      "video_url": "https://v3-dy-o.zjcdn.com/3da3ae87fce4e8ff5906f075906cf14d/6b0297c1/video/tos/cn/tos-cn-ve-15/ow29BfeGEIfI7sVBaSUUP0PvtCwA9I5iLQWxEA/?a=6383&ch=0&cr=3&dr=0&er=0&cd=0%7C0%7C0%7C3&cv=1&br=1226&bt=1226&cs=0&ds=4&ft=c2b7g_QTQO-UXmcusiHFSJcSYFq.raDtGx-UUDRq8_45a&mime_type=video_mp4&qs…",
      "like_count": 87989,
      "comment_count": 1574,
      "share_count": 7258,
      "collect_count": 45233,
      "author_name": "月•••场",
      "author_id": "•••",
      "author_douyin_id": "•••",
      "author_bio": "•••",
      "author_avatar_url": "https://p3-pc.douyinpic.com/•••",
      "author_follower_count": 0,
      "author_following_count": 0,
      "author_like_count": 0,
      "author_video_count": 0,
      "author_is_verified": true,
      "cover_image_url": "https://p3-pc-sign.douyinpic.com/image-cut-tos-priv/a5d7f7e3643ab1b2597d9413fa3cd08d~tplv-dy-resize-origshort-autoq-75:330.jpeg?lk3s=138a59ce&x-expires=2110604400&x-signature=H4X6sOZA0gfnw2QNCSNxSyOG03o%3D&from=327834062&s=PackSourceEnum_SERIES_AWEME&se=false&sc=cover&biz_tag=pcw…",
      "video_width": 1080,
      "video_height": 1920,
      "video_bitrates": [
        {
          "bitrate": 1255744,
          "width": 1080,
          "height": 1920,
          "url": "https://v3-dy-o.zjcdn.com/3da3ae87fce4e8ff5906f075906cf14d/6b0297c1/video/tos/cn/tos-cn-ve-15/ow29BfeGEIfI7sVBaSUUP0PvtCwA9I5iLQWxEA/?a=6383&ch=0&cr=3&dr=0&er=0&cd=0%7C0%7C0%7C3&cv=1&br=1226&bt=1226&cs=0&ds=4&ft=c2b7g_QTQO-UXmcusiHFSJcSYFq.raDtGx-UUDRq8_45a&mime_type=video_mp4&qs…"
        },
        {
          "bitrate": 1013582,
          "width": 576,
          "height": 1024,
          "url": "https://v3-dy-o.zjcdn.com/20e5ebf4086fb947fa3914d3500a1951/6b0297c1/video/tos/cn/tos-cn-ve-15/o0L5WSpV0A0sBPxQIf9vH7NCE4teEAfMBaUAIG/?a=6383&ch=0&cr=3&dr=0&er=0&cd=0%7C0%7C0%7C3&cv=1&br=989&bt=989&cs=0&ds=6&ft=c2b7g_QTQO-UXmcusiHFSJcSYFq.raDtGx-UUDRq8_45a&mime_type=video_mp4&qs=0…"
        },
        {
          "bitrate": 951491,
          "width": 720,
          "height": 1280,
          "url": "https://v3-dy-o.zjcdn.com/46718b45735e8a4044eed46901db081a/6b0297c1/video/tos/cn/tos-cn-ve-15/o0rw9gMxQXA5I1C0ogQEJfBiB9v887eSV33nAe/?a=6383&ch=0&cr=3&dr=0&er=0&cd=0%7C0%7C0%7C3&cv=1&br=929&bt=929&cs=0&ds=3&ft=c2b7g_QTQO-UXmcusiHFSJcSYFq.raDtGx-UUDRq8_45a&mime_type=video_mp4&qs=0…"
        }
      ],
      "has_watermark": false,
      "duration_sec": 151,
      "hashtags": [
        "因为一个片段看了整部剧",
        "抖音短剧新番计划",
        "短剧"
      ],
      "posted_at": "2026-11-06T02:00:07+00:00",
      "title": "《温柔以待，终有回甘》 【现代温情】中秋夜继子浑身湿透怯生生敲门，挺着孕肚的她一把拉住：这是你爸的家，想住就住！面黄肌瘦、衣服不合身，每周只给五十块生活费——这孩子从没吃饱过！短剧《温柔以待，终有回甘》#因为一个片段看了整部剧 #抖音短剧新番计划 #短剧 #家庭 #温柔以待终有回甘",
      "music": {
        "id": "•••",
        "title": "@•••",
        "author": "月•••场",
        "is_original": true,
        "duration_sec": 150,
        "cover_url": "https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-ke512zj2cu_88d4450285154a308fd4e0afa6a580a9.jpeg?from=327834062",
        "play_url": "https://sf6-cdn-tos.douyinstatic.com/obj/ies-music/7703828583453674281.mp3"
      },
      "is_deleted": false,
      "is_private": false,
      "platform": "douyin",
      "episode": 1,
      "series_id": "7703828515069626394",
      "is_paid": false,
      "duration_seconds": 151
    },
    {
      "id": "•••",
      "url": "https://www.douyin.com/video/7703828517959552290",
      "text": "《温柔以待，终有回甘》 【现代温情】中秋夜继子浑身湿透怯生生敲门，挺着孕肚的她一把拉住：这是你爸的家，想住就住！面黄肌瘦、衣服不合身，每周只给五十块生活费——这孩子从没吃饱过！短剧《温柔以待，终有回甘》#因为一个片段看了整部剧 #抖音短剧新番计划 #短剧 #家庭 #温柔以待终有回甘",
      "media_type": "video",
      "video_url": "https://v3-dy-o.zjcdn.com/c0b2281c06c2d8fd0cb479c4a5cecc16/6b029765/video/tos/cn/tos-cn-ve-15/oQvCJf7eXt7VLBArI5697WsGAIWBaoQB5f0OEF/?a=6383&ch=0&cr=3&dr=0&er=0&cd=0%7C0%7C0%7C3&cv=1&br=1274&bt=1274&cs=0&ds=4&ft=c2b7g_QTQO-UXmcusiHFSJcSYFq.raDtGx-UUDRq8_45a&mime_type=video_mp4&qs…",
      "like_count": 33380,
      "comment_count": 458,
      "share_count": 1640,
      "collect_count": 13467,
      "author_name": "月•••场",
      "author_id": "•••",
      "author_douyin_id": "•••",
      "author_bio": "•••",
      "author_avatar_url": "https://p3-pc.douyinpic.com/•••",
      "author_follower_count": 0,
      "author_following_count": 0,
      "author_like_count": 0,
      "author_video_count": 0,
      "author_is_verified": true,
      "cover_image_url": "https://p3-pc-sign.douyinpic.com/image-cut-tos-priv/ca39cf70869db9f0da75aef5f30e6b76~tplv-dy-resize-origshort-autoq-75:330.jpeg?lk3s=138a59ce&x-expires=2110604400&x-signature=yI88VOEPXUc0DWyDLWEDN1NZyNE%3D&from=327834062&s=PackSourceEnum_SERIES_AWEME&se=false&sc=cover&biz_tag=pcw…",
      "video_width": 1080,
      "video_height": 1920,
      "video_bitrates": [
        {
          "bitrate": 1305274,
          "width": 1080,
          "height": 1920,
          "url": "https://v3-dy-o.zjcdn.com/c0b2281c06c2d8fd0cb479c4a5cecc16/6b029765/video/tos/cn/tos-cn-ve-15/oQvCJf7eXt7VLBArI5697WsGAIWBaoQB5f0OEF/?a=6383&ch=0&cr=3&dr=0&er=0&cd=0%7C0%7C0%7C3&cv=1&br=1274&bt=1274&cs=0&ds=4&ft=c2b7g_QTQO-UXmcusiHFSJcSYFq.raDtGx-UUDRq8_45a&mime_type=video_mp4&qs…"
        },
        {
          "bitrate": 1036153,
          "width": 576,
          "height": 1024,
          "url": "https://v3-dy-o.zjcdn.com/f9e3ce47cb765892d8a5569819de4a12/6b029765/video/tos/cn/tos-cn-ve-15/oEZt7v6HVQaOBaBXNC0Xdf5QIfMgyjAf7A8hgD/?a=6383&ch=0&cr=3&dr=0&er=0&cd=0%7C0%7C0%7C3&cv=1&br=1011&bt=1011&cs=0&ds=6&ft=c2b7g_QTQO-UXmcusiHFSJcSYFq.raDtGx-UUDRq8_45a&mime_type=video_mp4&qs…"
        },
        {
          "bitrate": 993216,
          "width": 720,
          "height": 1280,
          "url": "https://v3-dy-o.zjcdn.com/fea21356fc0e4e4e33eef91c93efffc8/6b029765/video/tos/cn/tos-cn-ve-15/o0eAHStpguAkfSAAit7Yo3f9fnf3zvXl6EH4Jq/?a=6383&ch=0&cr=3&dr=0&er=0&cd=0%7C0%7C0%7C3&cv=1&br=969&bt=969&cs=0&ds=3&ft=c2b7g_QTQO-UXmcusiHFSJcSYFq.raDtGx-UUDRq8_45a&mime_type=video_mp4&qs=0…"
        }
      ],
      "has_watermark": false,
      "duration_sec": 58,
      "hashtags": [
        "因为一个片段看了整部剧",
        "抖音短剧新番计划",
        "短剧"
      ],
      "posted_at": "2026-11-06T02:00:09+00:00",
      "title": "《温柔以待，终有回甘》 【现代温情】中秋夜继子浑身湿透怯生生敲门，挺着孕肚的她一把拉住：这是你爸的家，想住就住！面黄肌瘦、衣服不合身，每周只给五十块生活费——这孩子从没吃饱过！短剧《温柔以待，终有回甘》#因为一个片段看了整部剧 #抖音短剧新番计划 #短剧 #家庭 #温柔以待终有回甘",
      "music": {
        "id": "•••",
        "title": "@•••",
        "author": "月•••场",
        "is_original": true,
        "duration_sec": 58,
        "cover_url": "https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-ke512zj2cu_88d4450285154a308fd4e0afa6a580a9.jpeg?from=327834062",
        "play_url": "https://sf6-cdn-tos.douyinstatic.com/obj/ies-music/7703828581427759891.mp3"
      },
      "is_deleted": false,
      "is_private": false,
      "platform": "douyin",
      "episode": 2,
      "series_id": "7703828515069626394",
      "is_paid": false,
      "duration_seconds": 58
    }
  ],
  "next_page_token": …,
  "pagination": { … },
  "count": 20,
  "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
