Douyin Collection details API
API 상태
- 24시간 상태
- 정상
- 양호 / 정상
- 사용 가능
- 제한적
- 대부분 작동 중단
최근 24시간
최근 30일
Read one Douyin collection (mix) from its numeric mix_id (from user_mixes; a https://www.douyin.com/collection/<ID> link also works). You get name, description, url, cover_image_url, episode_count, play_count, collect_count, the author, created_at, updated_at and is_complete. When is_complete is false, play_count, collect_count, description, created_at and updated_at are missing: page through user_mixes to the same mix_id for them. List the videos with mix_posts.
POST https://api.everyinfra.com/api/v1/social을 보내고 platform은 douyin, action은 mix_detail로 설정합니다. 요금은 요청 1,000개당 $0.56(호출당 $0.000556)입니다. 실패한 호출과 빈 결과에는 과금하지 않습니다. 동기 방식입니다. 오래 걸리는 작업은 요청 본문에 "mode": "async"를 추가하고 job_id를 받아 폴링하세요.
AI 프롬프트
#EveryInfra Douyin Collection details 엔드포인트(douyin/mix_detail)를 사용하는 데이터 수집 스크립트 작성을 도와주세요.
엔드포인트 사용 방법:
- 요청: Authorization: Bearer <API 키> 헤더와 함께 POST https://api.everyinfra.com/api/v1/social로 보냅니다. 키는 EVERYINFRA_API_KEY 환경 변수에서 읽고, 절대 하드코딩하지 마세요.
- 요청 본문에서 platform은 douyin, action은 mix_detail로 설정하고, 파라미터는 params 안에 넣습니다.
- 필수 파라미터:
- mix_id: A numeric Douyin collection ID, from the mix_id of user_mixes rows; a https://www.douyin.com/collection/<ID> link also works.
- 단일 객체를 반환합니다. 주요 필드: mix_id (Douyin 컬렉션 ID입니다(user_mixes)), name (컬렉션 이름입니다(user_mixes)), description (컬렉션 설명입니다(user_mixes)), url, cover_image_url (커버 이미지 URL입니다), episode_count (컬렉션의 회차 수입니다(user_mixes)), play_count (실제 재생수는 Hot Spot Treasure와 컬렉션에만 있습니다), collect_count, author_id, author_uid (작성자(comments에서는 댓글 작성자)의 숫자 사용자 ID입니다), author_name, author_douyin_id (작성자의 Douyin ID입니다); 전체 필드 18개, 전체 목록은 https://api.everyinfra.com/api/v1/social/catalog?platform=douyin.
- 요청 본문 예시:
{
"platform": "douyin",
"action": "mix_detail",
"params": {
"mix_id": "7631984690945067058"
}
}
- 요금: 요청 1,000개당 $0.56. 실패하거나 빈 결과에는 과금하지 않습니다.
- 대상이 수십~수백 개라면 요청 본문에 "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 | 예 | mix_detail | 기능 식별자이며 고정값입니다. |
mix_id | body.params | string | 예 | - | A numeric Douyin collection ID, from the mix_id of user_mixes rows; a https://www.douyin.com/collection/<ID> link also works. |
코드 샘플
#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"
}
}'OpenAPI 정의(JSON)샘플 코드는 EVERYINFRA_API_KEY 환경 변수에서 키를 읽으므로, 복사한 코드에는 API 키가 포함되지 않습니다.
응답 예시
#{ "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": { … }}
응답 필드
#비즈니스 데이터는 results에 담깁니다. 아래 표는 레코드에 포함될 수 있는 필드를 나열하며, 플랫폼에 표시되지 않는 값을 임의로 만들어 넣지 않습니다.
| 필드 | 의미 |
|---|---|
mix_id | Douyin 컬렉션 ID입니다(user_mixes). mix_posts에 mix_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에서는 방 커버입니다. 서명된 링크는 만료됩니다. |
episode_count | 컬렉션의 회차 수입니다(user_mixes). |
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이 아닙니다. |
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). |
is_complete | 플랫폼 자체의 의미를 따름 |
platform | 출처 플랫폼 식별자로, 요청의 platform과 같습니다(예: xiaohongshu, tiktok). |
오류 및 과금
#- 401
- 키가 없거나 유효하지 않습니다.
- 402
- 잔액이 부족합니다. 먼저 충전하세요.
- 422
- 파라미터 이름 또는 값이 올바르지 않습니다. 오류에 제시된 제안을 참고해 수정하세요. 과금되지 않습니다.
- 429
- 분당 요청 속도 제한에 도달했습니다. Retry-After만큼 기다린 뒤 다시 시도하세요.
- 503
- 처리를 완료하지 못했습니다. 보류된 금액은 잔액으로 반환됩니다. 결과가 불확실하면 재시도하기 전에 먼저 확인하세요.
- 200 빈 결과
- 데이터가 없습니다. 과금되지 않습니다.