---
title: "더우인(TikTok China) 동영상 검색 API (V4)"
description: "키워드로 더우인(TikTok China) 동영상을 검색합니다. 정렬, 게시 시각, 재생 시간, 페이지를 지정할 수 있으며 다음 페이지에는 직전 검색 ID가 필요합니다. 콘텐츠 발굴과 트렌드 조사에 활용할 수 있습니다."
aiUsagePrompt: true
---

# 더우인\(TikTok China\) 동영상 검색 API \(V4\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/douyin/search-video/v4\"")'
  :summary='JSON.parse("\"동영상 검색 (V4)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/douyin-tiktok-china/video-search-v4-ko.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"이 API 서비스의 액세스 토큰입니다.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"keyword\",\"in\":\"query\",\"description\":\"검색 키워드입니다.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"sortType\",\"in\":\"query\",\"description\":\"검색 결과의 정렬 기준입니다.\\n\\n사용 가능한 값\\n- `_0`: 기본 순서\\n- `_1`: 좋아요 수가 많은 순서\\n- `_2`: 최신순\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"_0\",\"description\":\"Douyin - 동영상 검색 정렬 유형\",\"enum\":[\"_0\",\"_1\",\"_2\"]}},{\"name\":\"publishTime\",\"in\":\"query\",\"description\":\"동영상 게시 시각 범위로 필터링합니다.\\n\\n사용 가능한 값\\n- `_0`: 제한 없음\\n- `_1`: 지난 24시간\\n- `_7`: 지난 7일\\n- `_180`: 지난 6개월\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"_0\",\"description\":\"Douyin - 동영상 검색 게시 시간 필터\",\"enum\":[\"_0\",\"_1\",\"_7\",\"_180\"]}},{\"name\":\"duration\",\"in\":\"query\",\"description\":\"동영상 길이로 필터링합니다.\\n\\n사용 가능한 값\\n- `_0`: 제한 없음\\n- `_1`: 1분 미만\\n- `_2`: 1~5분\\n- `_3`: 5분 초과\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"_0\",\"description\":\"더우인 동영상 검색의 길이 필터\",\"enum\":[\"_0\",\"_1\",\"_2\",\"_3\"]}},{\"name\":\"page\",\"in\":\"query\",\"description\":\"페이지 번호입니다. 1부터 시작합니다.\",\"required\":false,\"schema\":{\"type\":\"integer\",\"format\":\"int32\",\"default\":1}},{\"name\":\"searchId\",\"in\":\"query\",\"description\":\"검색 ID입니다. 페이지 번호가 1보다 크면 필수입니다. 직전 응답의 data.business_config.next_page.search_id를 사용하며 data.business_config.has_more가 0이면 조회를 멈추세요.\",\"required\":false,\"schema\":{\"type\":\"string\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"정상 응답(OK)\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"type\":\"object\",\"description\":\"Douyin 키워드 검색 결과 및 페이지화 세부 정보.\",\"properties\":{\"business_data\":{\"type\":\"array\",\"description\":\"검색 결과 카드. 동일한 비디오가 여러 페이지에 나타날 수 있습니다. aweme_id를 사용하여 비디오 결과를 중복 제거합니다.\",\"items\":{\"type\":\"object\",\"description\":\"검색 결과 목록에 하나의 카드가 반환되었습니다.\",\"properties\":{\"data_id\":{\"type\":\"string\",\"description\":\"현재 응답 내 카드의 식별자입니다.\"},\"type\":{\"type\":\"integer\",\"description\":\"결과 유형 코드. 관찰된 유형으로는 비디오 결과에 대한 1과 관련 검색에 대한 66667가 있습니다.\"},\"data\":{\"type\":\"object\",\"description\":\"결과 카드에 제공된 콘텐츠. 필드는 카드 유형에 따라 달라집니다.\",\"properties\":{\"aweme_info\":{\"type\":\"object\",\"description\":\"카드에 이 비디오 결과가 포함된 경우, Douyin 비디오 결과입니다.\",\"properties\":{\"aweme_id\":{\"type\":\"string\",\"description\":\"문자열로 인코딩된 안정적인 Douyin 비디오 ID. 이 값을 사용하여 검색 페이지 전반에서 비디오를 식별합니다.\"},\"group_id\":{\"type\":\"string\",\"description\":\"게시물에 대해 보고된 그룹 식별자.\"},\"author_user_id\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"게시물 계정의 숫자 ID.\"},\"desc\":{\"type\":\"string\",\"description\":\"Douyin이 제공한 게시물 설명.\"},\"caption\":{\"type\":\"string\",\"description\":\"Douyin이 제공한 게시물 캡션.\"},\"item_title\":{\"type\":\"string\",\"description\":\"제공된 경우 게시물 제목.\"},\"preview_title\":{\"type\":\"string\",\"description\":\"게시물 미리보기에 제공된 제목.\"},\"create_time\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"비디오 게시 시간(유닉스 타임스탬프, 초 단위).\"},\"duration\":{\"type\":\"integer\",\"description\":\"비디오 길이(밀리초 단위).\"},\"aweme_type\":{\"type\":\"integer\",\"description\":\"Douyin이 보고한 게시물 유형 코드.\"},\"media_type\":{\"type\":\"integer\",\"description\":\"Douyin에서 보고된 미디어 유형 코드입니다.\"},\"ip_attribution\":{\"type\":\"string\",\"description\":\"Douyin에서 보고된 IP 지역 레이블, 사용 가능할 경우.\"},\"share_url\":{\"type\":\"string\",\"description\":\"비디오의 Douyin 공유 URL.\"},\"share_info\":{\"type\":\"object\",\"description\":\"비디오 공유를 위한 제공된 메타데이터입니다.\",\"properties\":{\"share_url\":{\"type\":\"string\",\"description\":\"비디오 공유에 제공된 URL.\"},\"share_title\":{\"type\":\"string\",\"description\":\"비디오 공유에 제공된 제목.\"},\"share_desc\":{\"type\":\"string\",\"description\":\"비디오 공유를 위해 제공된 설명.\"}}},\"text_extra\":{\"type\":[\"array\",\"null\"],\"description\":\"게시물 텍스트와 관련된 해시태그 및 사용자 언급. 이 목록은 null일 수 있습니다.\",\"items\":{\"type\":\"object\",\"description\":\"하나의 텍스트 주석이 있었습니다.\",\"properties\":{\"type\":{\"type\":\"integer\",\"description\":\"Douyin에서 보고된 주석 유형 코드.\"},\"hashtag_id\":{\"type\":\"string\",\"description\":\"주석이 해시태그를 나타낼 때 해시태그의 ID입니다.\"},\"hashtag_name\":{\"type\":\"string\",\"description\":\"주석이 달린 해시태그의 이름입니다.\"},\"user_id\":{\"type\":\"string\",\"description\":\"주석이 사용자를 언급할 때의 Douyin 계정 ID.\"},\"sec_uid\":{\"type\":\"string\",\"description\":\"언급된 사용자의 보조 Douyin 계정 ID.\"},\"is_commerce\":{\"type\":\"boolean\",\"description\":\"Douyin이 해시태그를 상업적으로 표시하는지 여부.\"}}}},\"cha_list\":{\"type\":[\"array\",\"null\"],\"description\":\"게시물과 관련된 주제 또는 챌린지 세부 정보. 이 목록은 null일 수 있습니다.\",\"items\":{\"type\":\"object\",\"description\":\"하나의 주제 또는 과제가 있었습니다.\",\"properties\":{\"cid\":{\"type\":\"string\",\"description\":\"이 통계와 관련된 Douyin 주제 또는 챌린지 ID.\"},\"cha_name\":{\"type\":\"string\",\"description\":\"주제 또는 챌린지 이름.\"},\"desc\":{\"type\":\"string\",\"description\":\"주제 또는 챌린지에 대한 설명.\"},\"is_commerce\":{\"type\":\"boolean\",\"description\":\"Douyin이 주제나 챌린지를 상업적으로 표시하는지 여부.\"}}}},\"author\":{\"type\":\"object\",\"description\":\"비디오와 함께 반환된 작가 프로필 정보.\",\"properties\":{\"uid\":{\"type\":\"string\",\"description\":\"문자열로 인코딩된 Douyin 계정 ID.\"},\"sec_uid\":{\"type\":\"string\",\"description\":\"사용자 프로필 엔드포인트에서 사용되는 보조 Douyin 계정 식별자.\"},\"nickname\":{\"type\":\"string\",\"description\":\"작가의 표시 이름.\"},\"unique_id\":{\"type\":\"string\",\"description\":\"사용 가능한 경우 공개 Douyin 계정 핸들.\"},\"short_id\":{\"type\":\"string\",\"description\":\"Douyin에서 보고된 간단한 계정 식별자.\"},\"follower_count\":{\"type\":\"integer\",\"description\":\"작가에 대한 보고된 팔로워 수.\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"Douyin이 작가를 인증된 것으로 보고하는지 여부.\"},\"verification_type\":{\"type\":\"integer\",\"description\":\"작성자에 대해 보고된 인증 카테고리 코드.\"},\"avatar_thumb\":{\"type\":\"object\",\"description\":\"작성자의 썸네일 아바타.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 높이(픽셀).\"}}},\"avatar_medium\":{\"type\":\"object\",\"description\":\"작성자의 중간 아바타.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 높이(픽셀).\"}}},\"avatar_larger\":{\"type\":\"object\",\"description\":\"작성자의 더 큰 아바타.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 높이(픽셀).\"}}}}},\"statistics\":{\"type\":\"object\",\"description\":\"비디오에 대한 보고된 참여 계수.\",\"properties\":{\"aweme_id\":{\"type\":\"string\",\"description\":\"이 통계와 관련된 Douyin 비디오 ID.\"},\"digg_count\":{\"type\":\"integer\",\"description\":\"비디오에 보고된 좋아요 수입니다.\"},\"comment_count\":{\"type\":\"integer\",\"description\":\"비디오에 보고된 댓글의 수입니다.\"},\"collect_count\":{\"type\":\"integer\",\"description\":\"비디오에 보고된 저장 수입니다.\"},\"share_count\":{\"type\":\"integer\",\"description\":\"동영상 공유 횟수입니다.\"},\"forward_count\":{\"type\":\"integer\",\"description\":\"응답에서 제공된 전달 수.\"},\"download_count\":{\"type\":\"integer\",\"description\":\"비디오에 보고된 다운로드 수입니다.\"}}},\"video\":{\"type\":\"object\",\"description\":\"비디오 메타데이터 및 사용 가능한 재생 리소스.\",\"properties\":{\"duration\":{\"type\":\"integer\",\"description\":\"비디오 길이(밀리초 단위).\"},\"width\":{\"type\":\"integer\",\"description\":\"Douyin에서 보고한 비디오 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"Douyin에서 보고한 비디오 높이(픽셀 단위).\"},\"format\":{\"type\":\"string\",\"description\":\"Douyin에서 보고한 비디오 형식.\"},\"ratio\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 해상도 라벨.\"},\"has_watermark\":{\"type\":\"boolean\",\"description\":\"비디오 메타데이터의 워터마크 플래그.\"},\"play_addr\":{\"type\":\"object\",\"description\":\"비디오에 제공된 주요 재생 주소.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 높이(픽셀).\"},\"data_size\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"메타데이터에 보고된 리소스 파일 크기(바이트).\"}}},\"play_addr_h264\":{\"type\":\"object\",\"description\":\"H.264 변형에 대한 제공된 주소입니다.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 높이(픽셀).\"},\"data_size\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"메타데이터에 보고된 리소스 파일 크기(바이트).\"}}},\"play_addr_265\":{\"type\":\"object\",\"description\":\"H.265 재생 필드에 제공된 주소입니다.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 높이(픽셀).\"},\"data_size\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"메타데이터에 보고된 리소스 파일 크기(바이트).\"}}},\"download_addr\":{\"type\":\"object\",\"description\":\"비디오에 대한 제공된 다운로드 주소.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 높이(픽셀).\"},\"data_size\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"메타데이터에 보고된 리소스 파일 크기(바이트).\"}}},\"cover\":{\"type\":\"object\",\"description\":\"비디오 커버 이미지.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 높이(픽셀).\"}}},\"origin_cover\":{\"type\":\"object\",\"description\":\"원본 커버 필드의 커버 이미지.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 높이(픽셀).\"}}},\"dynamic_cover\":{\"type\":\"object\",\"description\":\"사용 가능할 경우의 이동 가능 커버 리소스입니다.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 높이(픽셀).\"}}},\"animated_cover\":{\"type\":\"object\",\"description\":\"사용 가능한 경우 애니메이션 커버 리소스입니다.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}}}},\"bit_rate\":{\"type\":\"array\",\"description\":\"비디오에 제공된 재생 인코딩 및 비트레이트 메타데이터.\",\"items\":{\"type\":\"object\",\"description\":\"비디오에 대해 하나의 재생 인코딩이 제공되었습니다.\",\"properties\":{\"bit_rate\":{\"type\":\"integer\",\"description\":\"초당 비트 수의 인코딩 비트레이트.\"},\"FPS\":{\"type\":\"integer\",\"description\":\"초당 프레임 수의 프레임 레이트.\"},\"format\":{\"type\":\"string\",\"description\":\"이 인코딩에 보고된 미디어 형식입니다.\"},\"gear_name\":{\"type\":\"string\",\"description\":\"이 변형에 대해 보고된 인코더 사전 설정 라벨.\"},\"quality_type\":{\"type\":\"integer\",\"description\":\"이 인코딩에 보고된 품질 카테고리 코드.\"},\"is_h265\":{\"type\":\"integer\",\"description\":\"이 변형에 대한 H.265 인코딩 플래그가 보고되었습니다.\"},\"HDR_type\":{\"type\":\"string\",\"description\":\"인코딩에 대한 HDR 카테고리 레이블이 반환되었습니다.\"},\"HDR_bit\":{\"type\":\"string\",\"description\":\"인코딩에 대한 HDR 비트 깊이 레이블이 반환되었습니다.\"},\"play_addr\":{\"type\":\"object\",\"description\":\"이 인코딩의 재생 주소.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 높이(픽셀).\"},\"data_size\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"메타데이터에 보고된 리소스 파일 크기(바이트).\"}}}}}}}},\"music\":{\"type\":\"object\",\"description\":\"비디오와 관련된 음악 또는 사운드 메타데이터입니다.\",\"properties\":{\"id\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"음악의 숫자 ID. JavaScript에서 전체 값을 유지하기 위해 무손실 JSON 파서를 사용하세요.\"},\"id_str\":{\"type\":\"string\",\"description\":\"문자열로 인코딩된 음악 ID입니다.\"},\"mid\":{\"type\":\"string\",\"description\":\"중간 필드에서 반환된 음악 ID입니다.\"},\"title\":{\"type\":\"string\",\"description\":\"음악 트랙의 제목.\"},\"author\":{\"type\":\"string\",\"description\":\"트랙과 함께 반환된 아티스트 또는 음악 제작자 이름.\"},\"album\":{\"type\":\"string\",\"description\":\"제공된 경우 앨범 제목입니다.\"},\"is_original_sound\":{\"type\":\"boolean\",\"description\":\"Douyin이 트랙을 오리지널 사운드로 표시하는지 여부.\"},\"cover_thumb\":{\"type\":\"object\",\"description\":\"음악 트랙의 썸네일 커버.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"메타데이터에 보고된 리소스 높이(픽셀).\"}}},\"play_url\":{\"type\":\"object\",\"description\":\"사운드 또는 음악 트랙의 재생 리소스.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Douyin이 보고한 리소스 식별자.\"},\"url_list\":{\"type\":\"array\",\"description\":\"리소스에 제공된 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"리소스에 제공된 URL.\"}}}}}}}},\"related_word_list\":{\"type\":\"array\",\"description\":\"카드에 관련 검색어가 포함될 경우 제안된 관련 검색어.\",\"items\":{\"type\":\"object\",\"description\":\"하나의 관련 검색 제안이 있었습니다.\",\"properties\":{\"related_word\":{\"type\":\"string\",\"description\":\"제안된 관련 검색어.\"}}}}}}}}},\"business_config\":{\"type\":\"object\",\"description\":\"페이지 번호 및 쿼리 정보.\",\"properties\":{\"keyword\":{\"type\":\"string\",\"description\":\"이 검색에 보고된 키워드입니다.\"},\"card_count\":{\"type\":\"integer\",\"description\":\"이 결과 페이지에 보고된 카드의 수입니다.\"},\"has_more\":{\"type\":[\"integer\",\"string\"],\"description\":\"이 플래그가 0일 때, 검색 ID가 여전히 존재하더라도 검색을 중단합니다. 결과 종료 응답에는 페이지화 플래그만 포함될 수 있습니다.\"},\"next_page\":{\"type\":\"object\",\"description\":\"제공될 때의 계속 정보.\",\"properties\":{\"search_id\":{\"type\":\"string\",\"description\":\"다음 페이지의 검색 ID입니다. 이 값을 searchId로 전달하고 페이지 번호를 1 늘리세요. 검색어와 필터는 그대로 유지합니다. 연속된 페이지에서 같은 검색 ID가 반환될 수 있습니다.\"}}}}},\"status_code\":{\"type\":[\"number\",\"string\"],\"description\":\"제공될 때의 Douyin 검색 상태 코드.\"}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"유효하지 않은 요청 매개변수 또는 본문\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"유효하지 않거나 비활성화된 접근 토큰\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"권한 거부\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"요청 속도 또는 일일 할당량 한도 초과\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"내부 서버 오류\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"서비스 일시적으로 사용 불가\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"글로벌 프로덕션 API (기본)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/douyin/search-video/v4\"")' />

<p>키워드로 더우인(TikTok China) 동영상을 검색합니다. 정렬, 게시 시각, 재생 시간, 페이지를 지정할 수 있으며 다음 페이지에는 직전 검색 ID가 필요합니다. 콘텐츠 발굴과 트렌드 조사에 활용할 수 있습니다.</p>

## 요청 파라미터

<div class="api-doc-table api-doc-table--params">

| 이름 | 위치 | 유형 | 필수 | 기본값 | 설명 |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | 예 | - | 이 API 서비스의 액세스 토큰입니다. |
| <code>keyword</code> | query | <code>string</code> | 예 | - | 검색 키워드입니다. |
| <code>sortType</code> | query | <code>string</code> | 아니요 | <code>_0</code> | 검색 결과의 정렬 기준입니다.<br /><br><br>사용 가능한 값<br /><br>- <code>_0</code>: 기본 순서<br /><br>- <code>_1</code>: 좋아요 수가 많은 순서<br /><br>- <code>_2</code>: 최신순 |
| <code>publishTime</code> | query | <code>string</code> | 아니요 | <code>_0</code> | 동영상 게시 시각 범위로 필터링합니다.<br /><br><br>사용 가능한 값<br /><br>- <code>_0</code>: 제한 없음<br /><br>- <code>_1</code>: 지난 24시간<br /><br>- <code>_7</code>: 지난 7일<br /><br>- <code>_180</code>: 지난 6개월 |
| <code>duration</code> | query | <code>string</code> | 아니요 | <code>_0</code> | 동영상 길이로 필터링합니다.<br /><br><br>사용 가능한 값<br /><br>- <code>_0</code>: 제한 없음<br /><br>- <code>_1</code>: 1분 미만<br /><br>- <code>_2</code>: 1~5분<br /><br>- <code>_3</code>: 5분 초과 |
| <code>page</code> | query | <code>integer</code> | 아니요 | <code>1</code> | 페이지 번호입니다. 1부터 시작합니다. |
| <code>searchId</code> | query | <code>string</code> | 아니요 | - | 검색 ID입니다. 페이지 번호가 1보다 크면 필수입니다. 직전 응답의 data.business_config.next_page.search_id를 사용하며 data.business_config.has_more가 0이면 조회를 멈추세요. |

</div>

## 코드 예제

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE'
```

```text [🤖 AI 프롬프트]
JustOneAPI의 "동영상 검색 (V4)" API를 사용하고 싶습니다.
기본 URL: https://api.justoneapi.com.
API 경로: /api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE
API 주소: BASE_URL + /api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE
HTTP 메서드: GET
인증: URL에 "token" 쿼리 파라미터를 추가하세요.
OpenAPI 정의: https://docs.justoneapi.com/openapi/douyin-tiktok-china/video-search-v4-ko.json

요청 파라미터:
- token (query): 이 API 서비스의 액세스 토큰입니다. (필수)
- keyword (query): 검색 키워드입니다. (필수)
- sortType (query): 검색 결과의 정렬 기준입니다.

사용 가능한 값
- `_0`: 기본 순서
- `_1`: 좋아요 수가 많은 순서
- `_2`: 최신순
- publishTime (query): 동영상 게시 시각 범위로 필터링합니다.

사용 가능한 값
- `_0`: 제한 없음
- `_1`: 지난 24시간
- `_7`: 지난 7일
- `_180`: 지난 6개월
- duration (query): 동영상 길이로 필터링합니다.

사용 가능한 값
- `_0`: 제한 없음
- `_1`: 1분 미만
- `_2`: 1~5분
- `_3`: 5분 초과
- page (query): 페이지 번호입니다. 1부터 시작합니다.
- searchId (query): 검색 ID입니다. 페이지 번호가 1보다 크면 필수입니다. 직전 응답의 data.business_config.next_page.search_id를 사용하며 data.business_config.has_more가 0이면 조회를 멈추세요.

응답 형식: 실제 Content-Type에 따라 JSON 또는 텍스트를 안전하게 처리하세요.

응답 처리 및 오류 코드
1. 응답 본문의 "code" 필드에서 처리 결과를 확인하세요. 0은 성공을 뜻합니다.
2. 권장 요청 제한 시간은 120초입니다. 120초가 너무 길다면 최소 60초로 설정하세요. 일부 요청은 응답을 받기 전에 시간 초과될 수 있습니다.
3. API 결과 코드
   - 0: 성공
   - 100: 유효하지 않거나 비활성화된 토큰
   - 301: 데이터 수집에 실패했습니다. 다시 시도해 주세요.
   - 302: 호출 빈도 제한 초과
   - 303: 일일 호출 한도 초과
   - 400: 잘못된 파라미터
   - 500: 서버 내부 오류
   - 600: 호출 권한 없음
   - 601: 계정 잔액 부족
   - 602: API 토큰의 누적 예산 한도 초과
4. 601은 공유 계정 잔액이 부족하다는 뜻입니다. 602는 현재 API 토큰의 누적 예산 한도에 도달했다는 뜻입니다. 토큰 예산을 설정해도 공유 계정 잔액은 별도로 배정되지 않습니다.

제가 사용하는 프로그래밍 언어로 이 API를 호출하고 응답을 처리하는 스크립트를 작성해 주세요.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # OpenAPI 서버 설정에서 제공

url = BASE_URL + "/api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // OpenAPI 서버 설정에서 제공
const url = BASE_URL + "/api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // OpenAPI 서버 설정에서 제공
        final String url = BASE_URL + "/api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // OpenAPI 서버 설정에서 제공

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // OpenAPI 서버 설정에서 제공
$url = $BASE_URL . '/api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/douyin-tiktok-china/video-search-v4-ko.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[OpenAPI 정의(JSON)]</a>
</div>

## 응답 필드

성공 응답(`code = 0`)의 주요 필드입니다.

<div class="api-doc-table api-doc-table--response">

| 필드 경로 | 유형 | 설명 |
| --- | --- | --- |
| <code>data</code> | <code>object</code> | Douyin 키워드 검색 결과 및 페이지화 세부 정보. |
| <code>data.business_data</code> | <code>array</code> | 검색 결과 카드. 동일한 비디오가 여러 페이지에 나타날 수 있습니다. aweme_id를 사용하여 비디오 결과를 중복 제거합니다. |
| <code>data.business_data[]</code> | <code>object</code> | 검색 결과 목록에 하나의 카드가 반환되었습니다. |
| <code>data.business_data[].data_id</code> | <code>string</code> | 현재 응답 내 카드의 식별자입니다. |
| <code>data.business_data[].type</code> | <code>integer</code> | 결과 유형 코드. 관찰된 유형으로는 비디오 결과에 대한 1과 관련 검색에 대한 66667가 있습니다. |
| <code>data.business_data[].data</code> | <code>object</code> | 결과 카드에 제공된 콘텐츠. 필드는 카드 유형에 따라 달라집니다. |
| <code>data.business_data[].data.aweme_info</code> | <code>object</code> | 카드에 이 비디오 결과가 포함된 경우, Douyin 비디오 결과입니다. |
| <code>data.business_data[].data.aweme_info.aweme_id</code> | <code>string</code> | 문자열로 인코딩된 안정적인 Douyin 비디오 ID. 이 값을 사용하여 검색 페이지 전반에서 비디오를 식별합니다. |
| <code>data.business_data[].data.aweme_info.group_id</code> | <code>string</code> | 게시물에 대해 보고된 그룹 식별자. |
| <code>data.business_data[].data.aweme_info.author_user_id</code> | <code>integer</code> | 게시물 계정의 숫자 ID. |
| <code>data.business_data[].data.aweme_info.desc</code> | <code>string</code> | Douyin이 제공한 게시물 설명. |
| <code>data.business_data[].data.aweme_info.caption</code> | <code>string</code> | Douyin이 제공한 게시물 캡션. |
| <code>data.business_data[].data.aweme_info.item_title</code> | <code>string</code> | 제공된 경우 게시물 제목. |
| <code>data.business_data[].data.aweme_info.preview_title</code> | <code>string</code> | 게시물 미리보기에 제공된 제목. |
| <code>data.business_data[].data.aweme_info.create_time</code> | <code>integer</code> | 비디오 게시 시간(유닉스 타임스탬프, 초 단위). |
| <code>data.business_data[].data.aweme_info.duration</code> | <code>integer</code> | 비디오 길이(밀리초 단위). |
| <code>data.business_data[].data.aweme_info.aweme_type</code> | <code>integer</code> | Douyin이 보고한 게시물 유형 코드. |
| <code>data.business_data[].data.aweme_info.media_type</code> | <code>integer</code> | Douyin에서 보고된 미디어 유형 코드입니다. |
| <code>data.business_data[].data.aweme_info.ip_attribution</code> | <code>string</code> | Douyin에서 보고된 IP 지역 레이블, 사용 가능할 경우. |
| <code>data.business_data[].data.aweme_info.share_url</code> | <code>string</code> | 비디오의 Douyin 공유 URL. |
| <code>data.business_data[].data.aweme_info.share_info</code> | <code>object</code> | 비디오 공유를 위한 제공된 메타데이터입니다. |
| <code>data.business_data[].data.aweme_info.share_info.share_url</code> | <code>string</code> | 비디오 공유에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.share_info.share_title</code> | <code>string</code> | 비디오 공유에 제공된 제목. |
| <code>data.business_data[].data.aweme_info.share_info.share_desc</code> | <code>string</code> | 비디오 공유를 위해 제공된 설명. |
| <code>data.business_data[].data.aweme_info.text_extra</code> | <code>array &#124; null</code> | 게시물 텍스트와 관련된 해시태그 및 사용자 언급. 이 목록은 null일 수 있습니다. |
| <code>data.business_data[].data.aweme_info.text_extra[]</code> | <code>object</code> | 하나의 텍스트 주석이 있었습니다. |
| <code>data.business_data[].data.aweme_info.text_extra[].type</code> | <code>integer</code> | Douyin에서 보고된 주석 유형 코드. |
| <code>data.business_data[].data.aweme_info.text_extra[].hashtag_id</code> | <code>string</code> | 주석이 해시태그를 나타낼 때 해시태그의 ID입니다. |
| <code>data.business_data[].data.aweme_info.text_extra[].hashtag_name</code> | <code>string</code> | 주석이 달린 해시태그의 이름입니다. |
| <code>data.business_data[].data.aweme_info.text_extra[].user_id</code> | <code>string</code> | 주석이 사용자를 언급할 때의 Douyin 계정 ID. |
| <code>data.business_data[].data.aweme_info.text_extra[].sec_uid</code> | <code>string</code> | 언급된 사용자의 보조 Douyin 계정 ID. |
| <code>data.business_data[].data.aweme_info.text_extra[].is_commerce</code> | <code>boolean</code> | Douyin이 해시태그를 상업적으로 표시하는지 여부. |
| <code>data.business_data[].data.aweme_info.cha_list</code> | <code>array &#124; null</code> | 게시물과 관련된 주제 또는 챌린지 세부 정보. 이 목록은 null일 수 있습니다. |
| <code>data.business_data[].data.aweme_info.cha_list[]</code> | <code>object</code> | 하나의 주제 또는 과제가 있었습니다. |
| <code>data.business_data[].data.aweme_info.cha_list[].cid</code> | <code>string</code> | 이 통계와 관련된 Douyin 주제 또는 챌린지 ID. |
| <code>data.business_data[].data.aweme_info.cha_list[].cha_name</code> | <code>string</code> | 주제 또는 챌린지 이름. |
| <code>data.business_data[].data.aweme_info.cha_list[].desc</code> | <code>string</code> | 주제 또는 챌린지에 대한 설명. |
| <code>data.business_data[].data.aweme_info.cha_list[].is_commerce</code> | <code>boolean</code> | Douyin이 주제나 챌린지를 상업적으로 표시하는지 여부. |
| <code>data.business_data[].data.aweme_info.author</code> | <code>object</code> | 비디오와 함께 반환된 작가 프로필 정보. |
| <code>data.business_data[].data.aweme_info.author.uid</code> | <code>string</code> | 문자열로 인코딩된 Douyin 계정 ID. |
| <code>data.business_data[].data.aweme_info.author.sec_uid</code> | <code>string</code> | 사용자 프로필 엔드포인트에서 사용되는 보조 Douyin 계정 식별자. |
| <code>data.business_data[].data.aweme_info.author.nickname</code> | <code>string</code> | 작가의 표시 이름. |
| <code>data.business_data[].data.aweme_info.author.unique_id</code> | <code>string</code> | 사용 가능한 경우 공개 Douyin 계정 핸들. |
| <code>data.business_data[].data.aweme_info.author.short_id</code> | <code>string</code> | Douyin에서 보고된 간단한 계정 식별자. |
| <code>data.business_data[].data.aweme_info.author.follower_count</code> | <code>integer</code> | 작가에 대한 보고된 팔로워 수. |
| <code>data.business_data[].data.aweme_info.author.is_verified</code> | <code>boolean</code> | Douyin이 작가를 인증된 것으로 보고하는지 여부. |
| <code>data.business_data[].data.aweme_info.author.verification_type</code> | <code>integer</code> | 작성자에 대해 보고된 인증 카테고리 코드. |
| <code>data.business_data[].data.aweme_info.author.avatar_thumb</code> | <code>object</code> | 작성자의 썸네일 아바타. |
| <code>data.business_data[].data.aweme_info.author.avatar_thumb.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.author.avatar_thumb.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.author.avatar_thumb.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.author.avatar_thumb.width</code> | <code>integer</code> | 메타데이터에 보고된 리소스 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.author.avatar_thumb.height</code> | <code>integer</code> | 메타데이터에 보고된 리소스 높이(픽셀). |
| <code>data.business_data[].data.aweme_info.author.avatar_medium</code> | <code>object</code> | 작성자의 중간 아바타. |
| <code>data.business_data[].data.aweme_info.author.avatar_medium.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.author.avatar_medium.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.author.avatar_medium.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.author.avatar_medium.width</code> | <code>integer</code> | 메타데이터에 보고된 리소스 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.author.avatar_medium.height</code> | <code>integer</code> | 메타데이터에 보고된 리소스 높이(픽셀). |
| <code>data.business_data[].data.aweme_info.author.avatar_larger</code> | <code>object</code> | 작성자의 더 큰 아바타. |
| <code>data.business_data[].data.aweme_info.author.avatar_larger.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.author.avatar_larger.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.author.avatar_larger.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.author.avatar_larger.width</code> | <code>integer</code> | 메타데이터에 보고된 리소스 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.author.avatar_larger.height</code> | <code>integer</code> | 메타데이터에 보고된 리소스 높이(픽셀). |
| <code>data.business_data[].data.aweme_info.statistics</code> | <code>object</code> | 비디오에 대한 보고된 참여 계수. |
| <code>data.business_data[].data.aweme_info.statistics.aweme_id</code> | <code>string</code> | 이 통계와 관련된 Douyin 비디오 ID. |
| <code>data.business_data[].data.aweme_info.statistics.digg_count</code> | <code>integer</code> | 비디오에 보고된 좋아요 수입니다. |
| <code>data.business_data[].data.aweme_info.statistics.comment_count</code> | <code>integer</code> | 비디오에 보고된 댓글의 수입니다. |
| <code>data.business_data[].data.aweme_info.statistics.collect_count</code> | <code>integer</code> | 비디오에 보고된 저장 수입니다. |
| <code>data.business_data[].data.aweme_info.statistics.share_count</code> | <code>integer</code> | 동영상 공유 횟수입니다. |
| <code>data.business_data[].data.aweme_info.statistics.forward_count</code> | <code>integer</code> | 응답에서 제공된 전달 수. |
| <code>data.business_data[].data.aweme_info.statistics.download_count</code> | <code>integer</code> | 비디오에 보고된 다운로드 수입니다. |
| <code>data.business_data[].data.aweme_info.video</code> | <code>object</code> | 비디오 메타데이터 및 사용 가능한 재생 리소스. |
| <code>data.business_data[].data.aweme_info.video.duration</code> | <code>integer</code> | 비디오 길이(밀리초 단위). |
| <code>data.business_data[].data.aweme_info.video.width</code> | <code>integer</code> | Douyin에서 보고한 비디오 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.video.height</code> | <code>integer</code> | Douyin에서 보고한 비디오 높이(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.video.format</code> | <code>string</code> | Douyin에서 보고한 비디오 형식. |
| <code>data.business_data[].data.aweme_info.video.ratio</code> | <code>string</code> | Douyin이 보고한 해상도 라벨. |
| <code>data.business_data[].data.aweme_info.video.has_watermark</code> | <code>boolean</code> | 비디오 메타데이터의 워터마크 플래그. |
| <code>data.business_data[].data.aweme_info.video.play_addr</code> | <code>object</code> | 비디오에 제공된 주요 재생 주소. |
| <code>data.business_data[].data.aweme_info.video.play_addr.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.video.play_addr.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.video.play_addr.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.video.play_addr.width</code> | <code>integer</code> | 메타데이터에 보고된 리소스 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.video.play_addr.height</code> | <code>integer</code> | 메타데이터에 보고된 리소스 높이(픽셀). |
| <code>data.business_data[].data.aweme_info.video.play_addr.data_size</code> | <code>integer</code> | 메타데이터에 보고된 리소스 파일 크기(바이트). |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264</code> | <code>object</code> | H.264 변형에 대한 제공된 주소입니다. |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264.width</code> | <code>integer</code> | 메타데이터에 보고된 리소스 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264.height</code> | <code>integer</code> | 메타데이터에 보고된 리소스 높이(픽셀). |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264.data_size</code> | <code>integer</code> | 메타데이터에 보고된 리소스 파일 크기(바이트). |
| <code>data.business_data[].data.aweme_info.video.play_addr_265</code> | <code>object</code> | H.265 재생 필드에 제공된 주소입니다. |
| <code>data.business_data[].data.aweme_info.video.play_addr_265.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.video.play_addr_265.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.video.play_addr_265.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.video.play_addr_265.width</code> | <code>integer</code> | 메타데이터에 보고된 리소스 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.video.play_addr_265.height</code> | <code>integer</code> | 메타데이터에 보고된 리소스 높이(픽셀). |
| <code>data.business_data[].data.aweme_info.video.play_addr_265.data_size</code> | <code>integer</code> | 메타데이터에 보고된 리소스 파일 크기(바이트). |
| <code>data.business_data[].data.aweme_info.video.download_addr</code> | <code>object</code> | 비디오에 대한 제공된 다운로드 주소. |
| <code>data.business_data[].data.aweme_info.video.download_addr.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.video.download_addr.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.video.download_addr.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.video.download_addr.width</code> | <code>integer</code> | 메타데이터에 보고된 리소스 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.video.download_addr.height</code> | <code>integer</code> | 메타데이터에 보고된 리소스 높이(픽셀). |
| <code>data.business_data[].data.aweme_info.video.download_addr.data_size</code> | <code>integer</code> | 메타데이터에 보고된 리소스 파일 크기(바이트). |
| <code>data.business_data[].data.aweme_info.video.cover</code> | <code>object</code> | 비디오 커버 이미지. |
| <code>data.business_data[].data.aweme_info.video.cover.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.video.cover.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.video.cover.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.video.cover.width</code> | <code>integer</code> | 메타데이터에 보고된 리소스 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.video.cover.height</code> | <code>integer</code> | 메타데이터에 보고된 리소스 높이(픽셀). |
| <code>data.business_data[].data.aweme_info.video.origin_cover</code> | <code>object</code> | 원본 커버 필드의 커버 이미지. |
| <code>data.business_data[].data.aweme_info.video.origin_cover.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.video.origin_cover.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.video.origin_cover.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.video.origin_cover.width</code> | <code>integer</code> | 메타데이터에 보고된 리소스 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.video.origin_cover.height</code> | <code>integer</code> | 메타데이터에 보고된 리소스 높이(픽셀). |
| <code>data.business_data[].data.aweme_info.video.dynamic_cover</code> | <code>object</code> | 사용 가능할 경우의 이동 가능 커버 리소스입니다. |
| <code>data.business_data[].data.aweme_info.video.dynamic_cover.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.video.dynamic_cover.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.video.dynamic_cover.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.video.dynamic_cover.width</code> | <code>integer</code> | 메타데이터에 보고된 리소스 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.video.dynamic_cover.height</code> | <code>integer</code> | 메타데이터에 보고된 리소스 높이(픽셀). |
| <code>data.business_data[].data.aweme_info.video.animated_cover</code> | <code>object</code> | 사용 가능한 경우 애니메이션 커버 리소스입니다. |
| <code>data.business_data[].data.aweme_info.video.animated_cover.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.video.animated_cover.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.video.animated_cover.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.video.bit_rate</code> | <code>array</code> | 비디오에 제공된 재생 인코딩 및 비트레이트 메타데이터. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[]</code> | <code>object</code> | 비디오에 대해 하나의 재생 인코딩이 제공되었습니다. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].bit_rate</code> | <code>integer</code> | 초당 비트 수의 인코딩 비트레이트. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].FPS</code> | <code>integer</code> | 초당 프레임 수의 프레임 레이트. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].format</code> | <code>string</code> | 이 인코딩에 보고된 미디어 형식입니다. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].gear_name</code> | <code>string</code> | 이 변형에 대해 보고된 인코더 사전 설정 라벨. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].quality_type</code> | <code>integer</code> | 이 인코딩에 보고된 품질 카테고리 코드. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].is_h265</code> | <code>integer</code> | 이 변형에 대한 H.265 인코딩 플래그가 보고되었습니다. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].HDR_type</code> | <code>string</code> | 인코딩에 대한 HDR 카테고리 레이블이 반환되었습니다. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].HDR_bit</code> | <code>string</code> | 인코딩에 대한 HDR 비트 깊이 레이블이 반환되었습니다. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr</code> | <code>object</code> | 이 인코딩의 재생 주소. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr.width</code> | <code>integer</code> | 메타데이터에 보고된 리소스 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr.height</code> | <code>integer</code> | 메타데이터에 보고된 리소스 높이(픽셀). |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr.data_size</code> | <code>integer</code> | 메타데이터에 보고된 리소스 파일 크기(바이트). |
| <code>data.business_data[].data.aweme_info.music</code> | <code>object</code> | 비디오와 관련된 음악 또는 사운드 메타데이터입니다. |
| <code>data.business_data[].data.aweme_info.music.id</code> | <code>integer</code> | 음악의 숫자 ID. JavaScript에서 전체 값을 유지하기 위해 무손실 JSON 파서를 사용하세요. |
| <code>data.business_data[].data.aweme_info.music.id_str</code> | <code>string</code> | 문자열로 인코딩된 음악 ID입니다. |
| <code>data.business_data[].data.aweme_info.music.mid</code> | <code>string</code> | 중간 필드에서 반환된 음악 ID입니다. |
| <code>data.business_data[].data.aweme_info.music.title</code> | <code>string</code> | 음악 트랙의 제목. |
| <code>data.business_data[].data.aweme_info.music.author</code> | <code>string</code> | 트랙과 함께 반환된 아티스트 또는 음악 제작자 이름. |
| <code>data.business_data[].data.aweme_info.music.album</code> | <code>string</code> | 제공된 경우 앨범 제목입니다. |
| <code>data.business_data[].data.aweme_info.music.is_original_sound</code> | <code>boolean</code> | Douyin이 트랙을 오리지널 사운드로 표시하는지 여부. |
| <code>data.business_data[].data.aweme_info.music.cover_thumb</code> | <code>object</code> | 음악 트랙의 썸네일 커버. |
| <code>data.business_data[].data.aweme_info.music.cover_thumb.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.music.cover_thumb.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.music.cover_thumb.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.aweme_info.music.cover_thumb.width</code> | <code>integer</code> | 메타데이터에 보고된 리소스 너비(픽셀 단위). |
| <code>data.business_data[].data.aweme_info.music.cover_thumb.height</code> | <code>integer</code> | 메타데이터에 보고된 리소스 높이(픽셀). |
| <code>data.business_data[].data.aweme_info.music.play_url</code> | <code>object</code> | 사운드 또는 음악 트랙의 재생 리소스. |
| <code>data.business_data[].data.aweme_info.music.play_url.uri</code> | <code>string</code> | Douyin이 보고한 리소스 식별자. |
| <code>data.business_data[].data.aweme_info.music.play_url.url_list</code> | <code>array</code> | 리소스에 제공된 URL들. |
| <code>data.business_data[].data.aweme_info.music.play_url.url_list[]</code> | <code>string</code> | 리소스에 제공된 URL. |
| <code>data.business_data[].data.related_word_list</code> | <code>array</code> | 카드에 관련 검색어가 포함될 경우 제안된 관련 검색어. |
| <code>data.business_data[].data.related_word_list[]</code> | <code>object</code> | 하나의 관련 검색 제안이 있었습니다. |
| <code>data.business_data[].data.related_word_list[].related_word</code> | <code>string</code> | 제안된 관련 검색어. |
| <code>data.business_config</code> | <code>object</code> | 페이지 번호 및 쿼리 정보. |
| <code>data.business_config.keyword</code> | <code>string</code> | 이 검색에 보고된 키워드입니다. |
| <code>data.business_config.card_count</code> | <code>integer</code> | 이 결과 페이지에 보고된 카드의 수입니다. |
| <code>data.business_config.has_more</code> | <code>integer &#124; string</code> | 이 플래그가 0일 때, 검색 ID가 여전히 존재하더라도 검색을 중단합니다. 결과 종료 응답에는 페이지화 플래그만 포함될 수 있습니다. |
| <code>data.business_config.next_page</code> | <code>object</code> | 제공될 때의 계속 정보. |
| <code>data.business_config.next_page.search_id</code> | <code>string</code> | 다음 페이지의 검색 ID입니다. 이 값을 searchId로 전달하고 페이지 번호를 1 늘리세요. 검색어와 필터는 그대로 유지합니다. 연속된 페이지에서 같은 검색 ID가 반환될 수 있습니다. |
| <code>data.status_code</code> | <code>number &#124; string</code> | 제공될 때의 Douyin 검색 상태 코드. |

</div>

## 응답 예시

<ApiExampleSection :api='JSON.parse("\"/api/douyin/search-video/v4\"")' />

