Douyin Account short dramas API
POST
API 상태
- 24시간 상태
- 정상
- 양호 / 정상
- 사용 가능
- 제한적
- 대부분 작동 중단
정상
최근 24시간
최근 30일
List the short dramas a Douyin account has published, from its secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link, up to 20 per page. Rows have the same fields as series_detail; sub_genres is often missing here, so read series_detail for it.
POST https://api.everyinfra.com/api/v1/social을 보내고 platform은 douyin, action은 user_series로 설정합니다. 요금은 요청 1,000개당 $0.79(호출당 $0.000792)입니다. 실패한 호출과 빈 결과에는 과금하지 않습니다. 동기 방식입니다. 오래 걸리는 작업은 요청 본문에 "mode": "async"를 추가하고 job_id를 받아 폴링하세요.
AI 프롬프트
#EveryInfra Douyin Account short dramas 엔드포인트(douyin/user_series)를 사용하는 데이터 수집 스크립트 작성을 도와주세요.
엔드포인트 사용 방법:
- 요청: Authorization: Bearer <API 키> 헤더와 함께 POST https://api.everyinfra.com/api/v1/social로 보냅니다. 키는 EVERYINFRA_API_KEY 환경 변수에서 읽고, 절대 하드코딩하지 마세요.
- 요청 본문에서 platform은 douyin, action은 user_series로 설정하고, 파라미터는 params 안에 넣습니다.
- 필수 파라미터:
- user_id: The account whose short dramas you want: its secUid (starting MS4w) or a profile link https://www.douyin.com/user/<secUid>. Nicknames, Douyin IDs and short links are not accepted.
- 선택 파라미터:
- page_token: Page token for user_series. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, keeping the other inputs unchanged. Tokens last 24 hours.
- 레코드 목록을 반환합니다. 각 레코드의 주요 필드: series_id, name (컬렉션 이름입니다(user_mixes)), description (컬렉션 설명입니다(user_mixes)), url, cover_image_url (커버 이미지 URL입니다), genres, sub_genres, status_text, episode_count (컬렉션의 회차 수입니다(user_mixes)), updated_to_episode, play_count (실제 재생수는 Hot Spot Treasure와 컬렉션에만 있습니다), collect_count; 전체 필드 27개, 전체 목록은 https://api.everyinfra.com/api/v1/social/catalog?platform=douyin.
- 요청 본문 예시:
{
"platform": "douyin",
"action": "user_series",
"params": {
"user_id": "https://www.douyin.com/user/MS4wLjABAAAAxKtExlVPfMALHjIWbFLJ1HhhJUebELJXNU6UQw42-kY"
}
}
- 요금: 요청 1,000개당 $0.79. 실패하거나 빈 결과에는 과금하지 않습니다.
- 대상이 수십~수백 개라면 요청 본문에 "mode": "async"를 추가하세요. job_id를 즉시 받은 뒤 GET https://api.everyinfra.com/api/v1/jobs/{job_id}를 폴링해 결과를 가져옵니다.
- 422가 반환되면 오류에 제시된 파라미터 이름과 허용 값을 참고해 요청을 수정하고, 429 또는 503이 반환되면 Retry-After만큼 기다린 뒤 다시 시도합니다.
코드를 작성하기 전에 필요한 대상과 수량, 필드, 원하는 출력 형식을 먼저 물어봐 주세요. 그런 다음 계획과 대략적인 비용을 저와 확인해 주세요.요청 파라미터
#| 이름 | 위치 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|---|
Authorization | header | string | 예 | - | Bearer 뒤에 API 키를 붙여 입력합니다. API 키는 콘솔에서 생성하며, URL이나 코드 저장소에 절대 넣지 마세요. |
platform | body | string | 예 | douyin | 플랫폼 식별자이며 고정값입니다. |
action | body | string | 예 | user_series | 기능 식별자이며 고정값입니다. |
user_id | body.params | string | 예 | - | The account whose short dramas you want: its secUid (starting MS4w) or a profile link https://www.douyin.com/user/<secUid>. Nicknames, Douyin IDs and short links are not accepted. |
page_token | body.params | string | 아니요 | - | Page token for user_series. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, keeping the other inputs unchanged. Tokens last 24 hours; the last page has no next_page_token. A page holds up to 20 dramas. |
코드 샘플
#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": "user_series",
"params": {
"user_id": "https://www.douyin.com/user/MS4wLjABAAAAxKtExlVPfMALHjIWbFLJ1HhhJUebELJXNU6UQw42-kY"
}
}'OpenAPI 정의(JSON)샘플 코드는 EVERYINFRA_API_KEY 환경 변수에서 키를 읽으므로, 복사한 코드에는 API 키가 포함되지 않습니다.
응답 예시
#November 21, 2026 at 07:17(UTC)에 위 코드 샘플의 파라미터로 이 API를 호출해 수집한 응답입니다. results와 count는 해당 호출의 실제 응답이며, 개인정보(이름, 핸들, 아바타, 프로필 링크, 연락처)는 제거했습니다(목록은 처음 2개만 표시). id, billing, quota는 호출할 때마다 달라지므로 형태만 표시합니다.
json
{ "id": "req_…", "platform": "douyin", "action": "user_series", "results": [ { "series_id": "7709817571482011689", "name": "短剧 · 远赴边城相见,才知他另有牵挂", "description": "结婚五年、求子多年的林茵终于等来怀孕。她揣着孕检单坐了二十多个小时车,去西北边城给驻守项目的丈夫贺临惊喜,却在挂满红灯笼的小院里听见另一个孩子喊他爸爸。贺临解释是报答救命恩人、照顾工友遗孀。林茵从画册、照片和招待所登记本里,一点点拼出他在边城的四年。她藏起孕检单追问到项目部,真相浮出——安安与贺临、许曼关系不简单。她不再哭闹,面对以孩子为由的挽留和长辈劝说,她会如何选择?", "url": "https://www.iesdouyin.com/share/playlet/detail/7709817571482011689/?schema_type=43&object_id=7709817571482011689&from_ssr=1", "cover_image_url": "https://p3-sign.douyinpic.com/tos-cn-i-dy/b78f360b14c95f2af5ee2ac6868adb59~tplv-dy-resize-walign-adapt-aq:640:q80.webp?lk3s=f3356eed&x-expires=1795417200&x-signature=GMqnVuqf2dF9fu4Dqn67sGSaVLc%3D&from=4080365293&s=PackSourceEnum_SERIES_PUBLISH&se=false&sc=series_cover&biz_tag=aw…", "genres": [ "其他" ], "episode_count": 67, "updated_to_episode": 0, "play_count": 0, "collect_count": 0, "is_paid": true, "paid_episode_count": 66, "icp_number": "(抖音)微短剧备字(2026)第116470号", "author_id": "MS4wLjABAAAAxKtExlVPfMALHjIWbFLJ1HhhJUebELJXNU6UQw42-kY", "author_uid": "•••", "author_name": "月•••场", "author_douyin_id": "•••", "author_avatar_url": "https://p3-pc.douyinpic.com/•••", "author_is_verified": true, "author_follower_count": 0, "created_at": "2026-11-19T09:49:47+00:00", "updated_at": "2026-11-20T10:08:46+00:00", "last_episode_at": "2026-11-19T10:30:33+00:00", "platform": "douyin" }, { "series_id": "7709794114602010678", "name": "短剧 · 我大专毕业当柜姐,亮出实力后他们慌了", "description": "大专毕业的苏念隐去家世,在珠宝店做柜姐,实则是雕刻泰斗苏万钧的孙女,承袭一手月牙雕刻绝技。她凭实力拿下大客户,却因戳破前男友未婚妻高价买下注油祖母绿的真相,遭投诉刁难。结识方家后,她受邀做订婚宴珠宝顾问,却在鉴定藏品时发现有人调包变卖。停职危机压来,她不肯低头——而鉴赏会上,那个姓氏背后的秘密,才刚刚浮出水面。", "url": "https://www.iesdouyin.com/share/playlet/detail/7709794114602010678/?schema_type=43&object_id=7709794114602010678&from_ssr=1", "cover_image_url": "https://p3-sign.douyinpic.com/tos-cn-i-dy/56aefa2df51ff3eed392f5c4730b17ef~tplv-dy-resize-walign-adapt-aq:640:q80.webp?lk3s=f3356eed&x-expires=1795417200&x-signature=hLrAC3m%2BXRdN%2BSDVWSL9yEUBCpM%3D&from=4080365293&s=PackSourceEnum_SERIES_PUBLISH&se=false&sc=series_cover&biz_ta…", "genres": [ "其他" ], "episode_count": 96, "updated_to_episode": 0, "play_count": 0, "collect_count": 0, "is_paid": true, "paid_episode_count": 95, "icp_number": "(抖音)微短剧备字(2026)第115873号", "author_id": "MS4wLjABAAAAxKtExlVPfMALHjIWbFLJ1HhhJUebELJXNU6UQw42-kY", "author_uid": "•••", "author_name": "月•••场", "author_douyin_id": "•••", "author_avatar_url": "https://p3-pc.douyinpic.com/•••", "author_is_verified": true, "author_follower_count": 0, "created_at": "2026-11-19T08:18:46+00:00", "updated_at": "2026-11-20T11:03:07+00:00", "last_episode_at": "2026-11-19T08:32:27+00:00", "platform": "douyin" } ], "next_page_token": …, "pagination": { … }, "count": 20, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
응답 필드
#비즈니스 데이터는 results에 담깁니다. 아래 표는 레코드에 포함될 수 있는 필드를 나열하며, 플랫폼에 표시되지 않는 값을 임의로 만들어 넣지 않습니다.
| 필드 | 의미 |
|---|---|
series_id | 플랫폼 자체의 의미를 따름 |
name | 컬렉션 이름입니다(user_mixes). |
description | 컬렉션 설명입니다(user_mixes). |
url | 플랫폼에서 해당 레코드로 연결되는 링크입니다. |
cover_image_url | 커버 이미지 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에서는 방 커버입니다. 서명된 링크는 만료됩니다. |
genres | 플랫폼 자체의 의미를 따름 |
sub_genres | 플랫폼 자체의 의미를 따름 |
status_text | 플랫폼 자체의 의미를 따름 |
episode_count | 컬렉션의 회차 수입니다(user_mixes). |
updated_to_episode | 플랫폼 자체의 의미를 따름 |
play_count | 실제 재생수는 Hot Spot Treasure와 컬렉션에만 있습니다. 순위표 billboard_video_hot, billboard_low_fan_explosion, billboard_high_completion에서는 Douyin 자체 재생 수치입니다. mix_posts에서는 해당 회차의 재생수, user_mixes에서는 컬렉션 전체의 재생수입니다. 그 외에는 Douyin이 재생수를 공개하지 않으므로 값은 보통 0이며 실제 재생수가 아닙니다. 도달 범위는 좋아요, 댓글, 공유 수로 판단하세요. |
collect_count | 저장 또는 즐겨찾기 수입니다. null은 비공개라는 뜻이며, 0이 아닙니다. |
is_paid | 플랫폼 자체의 의미를 따름 |
paid_episode_count | 플랫폼 자체의 의미를 따름 |
episode_price_cny | 플랫폼 자체의 의미를 따름 |
full_price_cny | 플랫폼 자체의 의미를 따름 |
icp_number | 플랫폼 자체의 의미를 따름 |
author_id | 플랫폼에서 작성자의 고유 ID입니다. |
author_uid | 작성자(comments에서는 댓글 작성자)의 숫자 사용자 ID입니다. author_id는 secUid이며, 둘 다 같은 사람을 식별합니다. |
author_name | 작성자의 표시 이름입니다. |
author_douyin_id | 작성자의 Douyin ID입니다. |
author_avatar_url | 작성자 아바타 이미지 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 | 컬렉션이 마지막으로 업데이트된 시각입니다(user_mixes, ISO 8601, UTC). |
last_episode_at | 플랫폼 자체의 의미를 따름 |
platform | 출처 플랫폼 식별자로, 요청의 platform과 같습니다(예: xiaohongshu, tiktok). |
오류 및 과금
#- 401
- 키가 없거나 유효하지 않습니다.
- 402
- 잔액이 부족합니다. 먼저 충전하세요.
- 422
- 파라미터 이름 또는 값이 올바르지 않습니다. 오류에 제시된 제안을 참고해 수정하세요. 과금되지 않습니다.
- 429
- 분당 요청 속도 제한에 도달했습니다. Retry-After만큼 기다린 뒤 다시 시도하세요.
- 503
- 처리를 완료하지 못했습니다. 보류된 금액은 잔액으로 반환됩니다. 결과가 불확실하면 재시도하기 전에 먼저 확인하세요.
- 200 빈 결과
- 데이터가 없습니다. 과금되지 않습니다.