---
title: "샤오홍슈(RedNote) 키워드로 게시물 검색 API (V2)"
description: "샤오홍슈(RedNote) 노트를 키워드로 검색합니다. 페이지 번호로 조회하며 정렬과 노트 유형 필터를 지원합니다. V2의 noteTime 필터는 선택한 기간 밖의 노트도 반환할 수 있습니다. 이 엔드포인트는 사용자 계정을 검색하지 않습니다."
aiUsagePrompt: true
---

# 샤오홍슈\(RedNote\) 키워드로 게시물 검색 API \(V2\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/xiaohongshu/search-note/v2\"")'
  :summary='JSON.parse("\"키워드로 게시물 검색 (V2)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/xiaohongshu-rednote/note-search-v2-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\":\"page\",\"in\":\"query\",\"description\":\"페이지네이션에 사용할 페이지 번호입니다. 1부터 시작하고 키워드와 필터는 유지한 채 page를 늘리세요.\",\"required\":false,\"schema\":{\"type\":\"integer\",\"format\":\"int32\",\"default\":1}},{\"name\":\"sort\",\"in\":\"query\",\"description\":\"결과의 정렬 순서입니다.\\n\\n사용 가능한 값\\n- `general`: 기본 순서\\n- `popularity_descending`: 인기도 내림차순\\n- `time_descending`: 게시 시각 내림차순\\n- `comment_descending`: 댓글 수 내림차순\\n- `collect_descending`: 즐겨찾기 수 내림차순\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"general\",\"description\":\"샤오홍슈 노트 검색의 정렬 기준\",\"enum\":[\"general\",\"popularity_descending\",\"time_descending\",\"comment_descending\",\"collect_descending\"]}},{\"name\":\"noteType\",\"in\":\"query\",\"description\":\"노트 유형 필터입니다.\\n\\n사용 가능한 값\\n- `_0`: 전체\\n- `_1`: 동영상\\n- `_2`: 일반 노트\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"_0\",\"description\":\"샤오홍슈 노트 검색의 노트 유형\",\"enum\":[\"_0\",\"_1\",\"_2\"]}},{\"name\":\"noteTime\",\"in\":\"query\",\"description\":\"노트 게시 시각 필터입니다. 결과에 선택한 기간 밖에 게시된 노트가 포함될 수 있습니다.\\n\\n사용 가능한 값\\n- `ONE_DAY`: 하루 이내\\n- `ONE_WEEK`: 일주일 이내\\n- `HALF_YEAR`: 반년 이내\",\"required\":false,\"schema\":{\"type\":\"string\",\"description\":\"샤오홍슈 노트 검색의 게시 시각 필터\",\"enum\":[\"ONE_DAY\",\"ONE_WEEK\",\"HALF_YEAR\"]}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"정상 응답(OK)\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"description\":\"샤오홍쓰 키워드 메모 검색 결과에 결과 페이지가 포함될 경우 반환되는 필드들.\",\"properties\":{\"items\":{\"type\":\"array\",\"description\":\"요청된 검색 페이지의 결과. 성공적인 응답에는 빈 목록이 포함될 수 있으며, 노트는 페이지 간에 중복될 수 있습니다.\",\"items\":{\"type\":\"object\",\"description\":\"검색 결과 카드.\",\"properties\":{\"model_type\":{\"type\":\"string\",\"description\":\"Xiaohongshu에서 보고된 카드 모델 유형. 관찰된 카드는 노트와 광고 포함.\"},\"note\":{\"type\":\"object\",\"description\":\"일반 노트 카드와 관련된 메모가 있는 경우.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Xiaohongshu 메모 ID.\"},\"type\":{\"type\":\"string\",\"description\":\"Xiaohongshu가 보고한 노트 유형. 관찰된 값에는 이미지 노트의 경우 ‘normal’이고 비디오 노트의 경우 ‘video’가 포함됩니다.\"},\"title\":{\"type\":\"string\",\"description\":\"반환된 노트 제목.\"},\"desc\":{\"type\":\"string\",\"description\":\"검색 카드와 함께 반환된 노트 텍스트 또는 설명.\"},\"timestamp\":{\"type\":\"integer\",\"description\":\"결과와 함께 반환된 노트 타임스탬프, Unix 타임스탬프(초 단위).\"},\"update_time\":{\"type\":\"integer\",\"description\":\"검색 결과에 대한 업데이트 타임스탬프, 밀리초 단위의 Unix 타임스탬프 형식.\"},\"last_update_time\":{\"type\":\"integer\",\"description\":\"게시물의 마지막 업데이트 시각을 Unix 초 단위 타임스탬프로 반환합니다. 값은 0일 수 있습니다.\"},\"liked_count\":{\"type\":\"integer\",\"description\":\"검색 카드에 대한 좋아요 수.\"},\"nice_count\":{\"type\":\"integer\",\"description\":\"Xiaohongshu가 보고한 노트에 대한 별도의 ‘nice’ 카운트.\"},\"comments_count\":{\"type\":\"integer\",\"description\":\"노트에 대한 보고된 댓글 수.\"},\"collected_count\":{\"type\":\"integer\",\"description\":\"노트에 대한 보고된 저장 수.\"},\"shared_count\":{\"type\":\"integer\",\"description\":\"노트에 대한 보고된 공유 수.\"},\"liked\":{\"type\":\"boolean\",\"description\":\"현재 응답 컨텍스트에서 Xiaohongshu에서 보고된 좋아요 상태.\"},\"niced\":{\"type\":\"boolean\",\"description\":\"현재 응답 컨텍스트에 Xiaohongshu가 보고한 별도의 ‘nice’ 상태.\"},\"collected\":{\"type\":\"boolean\",\"description\":\"현재 응답 컨텍스트에 Xiaohongshu가 보고한 저장 상태.\"},\"has_music\":{\"type\":\"boolean\",\"description\":\"응답이 음악이 음표와 관련되어 있음을 나타내는지 여부.\"},\"video_duration\":{\"type\":\"string\",\"description\":\"표시된 텍스트로 반환된 비디오 지속 시간, 예: 1:05.\"},\"cover_image_index\":{\"type\":\"integer\",\"description\":\"images_list에서 커버 이미지에 대한 보고된 인덱스.\"},\"note_attributes\":{\"type\":\"array\",\"description\":\"샤오홍쓰에서 보고된 노트 속성입니다.\",\"items\":{\"type\":\"string\",\"description\":\"Xiaohongshu가 반환한 메모 속성 값.\"}},\"xsec_token\":{\"type\":\"string\",\"description\":\"메모 링크와 관련된 Xiaohongshu 토큰, 반환된 경우.\"},\"user\":{\"type\":\"object\",\"description\":\"메모에 대한 작성자 정보.\",\"properties\":{\"userid\":{\"type\":\"string\",\"description\":\"게시물 작성자의 샤오홍슈 사용자 ID입니다.\"},\"red_id\":{\"type\":\"string\",\"description\":\"작가의 Xiaohongshu 계정 ID가 표시된 형태.\"},\"nickname\":{\"type\":\"string\",\"description\":\"작가의 표시 이름.\"},\"images\":{\"type\":\"string\",\"description\":\"작가의 프로필 아바타 URL.\"},\"followed\":{\"type\":\"boolean\",\"description\":\"현재 응답 컨텍스트에서 작가에 대해 반환된 팔로우 플래그.\"},\"red_official_verified\":{\"type\":\"boolean\",\"description\":\"플랫폼이 반환하는 작성자의 공식 인증 플래그입니다.\"},\"red_official_verify_type\":{\"type\":\"integer\",\"description\":\"작성자의 공식 인증 유형 코드입니다.\"},\"show_red_official_verify_icon\":{\"type\":\"boolean\",\"description\":\"플랫폼이 공식 인증 아이콘을 표시해야 한다고 나타내는지 여부.\"}}},\"at_user_list\":{\"type\":\"array\",\"description\":\"메모에 언급된 계정, 반환될 경우.\",\"items\":{\"type\":\"object\",\"description\":\"메모에 언급된 계정.\",\"properties\":{\"user_id\":{\"type\":\"string\",\"description\":\"언급된 계정의 Xiaohongshu 사용자 ID.\"},\"nickname\":{\"type\":\"string\",\"description\":\"언급된 계정에 대해 반환된 표시 이름.\"}}}},\"images_list\":{\"type\":\"array\",\"description\":\"비디오 노트와 관련된 이미지로, 비디오 노트의 커버 이미지도 포함될 수 있습니다.\",\"items\":{\"type\":\"object\",\"description\":\"메모와 관련된 이미지.\",\"properties\":{\"fileid\":{\"type\":\"string\",\"description\":\"이미지의 플랫폼 파일 ID.\"},\"width\":{\"type\":\"integer\",\"description\":\"이미지를 위한 반환된 너비 값.\"},\"height\":{\"type\":\"integer\",\"description\":\"이미지에 대해 반환된 높이 값.\"},\"url\":{\"type\":\"string\",\"description\":\"표시를 위해 반환된 이미지 URL.\"},\"original\":{\"type\":\"string\",\"description\":\"반환된 원본 이미지 URL.\"},\"url_size_large\":{\"type\":\"string\",\"description\":\"반환된 경우의 대형 이미지 URL.\"},\"live_photo_file_id\":{\"type\":\"string\",\"description\":\"라이브 포토에 대한 플랫폼 파일 ID, 반환된 경우.\"},\"live_photo\":{\"type\":\"object\",\"description\":\"이미지에 대한 라이브 포토 메타데이터가 사용 가능할 경우 반환됩니다.\",\"properties\":{\"media\":{\"type\":\"object\",\"description\":\"라이브 포토에 대한 재생 메타데이터가 제공됩니다.\",\"properties\":{\"video_id\":{\"type\":\"integer\",\"description\":\"라이브 포토에 대한 보고된 숫자 플랫폼 비디오 ID.\"},\"video\":{\"type\":\"object\",\"description\":\"라이브 포토와 관련된 비디오 메타데이터.\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"비디오 너비, 픽셀 단위.\"},\"height\":{\"type\":\"integer\",\"description\":\"비디오 높이, 픽셀 단위.\"},\"duration\":{\"type\":\"integer\",\"description\":\"전체 초 단위로 보고된 비디오 지속 시간.\"},\"drm_type\":{\"type\":\"integer\",\"description\":\"비디오에 대한 원시 DRM 카테고리 코드가 보고됩니다.\"},\"hdr_type\":{\"type\":\"integer\",\"description\":\"비디오에 대한 원시 HDR 카테고리 코드가 보고됩니다.\"},\"stream_types\":{\"type\":\"array\",\"description\":\"비디오에 대해 보고된 스트림 유형 코드.\",\"items\":{\"type\":\"integer\",\"description\":\"비디오에 대한 원시 스트림 유형 코드가 보고됩니다.\"}}}},\"stream\":{\"type\":\"object\",\"description\":\"Xiaohongshu에서 반환된 코덱 라벨별로 그룹화된 스트림 변형.\",\"properties\":{\"h264\":{\"type\":\"array\",\"description\":\"라이브 포토에 대한 H.264 스트림이 반환되었습니다.\",\"items\":{\"type\":\"object\",\"description\":\"하나의 H.264 라이브 포토 스트림에 대한 메타데이터입니다.\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"이 스트림에 대한 주요 URL이 제공됩니다.\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"스트림에 대한 대체 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"스트림에 대한 대체 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"스트림 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"스트림 높이(픽셀 단위).\"},\"fps\":{\"type\":\"integer\",\"description\":\"스트림에 대한 프레임 속도.\"},\"format\":{\"type\":\"string\",\"description\":\"스트림에 대한 미디어 형식이 보고됩니다.\"},\"video_codec\":{\"type\":\"string\",\"description\":\"스트림에 보고된 비디오 코덱.\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"스트림에 대한 오디오 코덱. 비어 있을 수 있음.\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"스트림에 보고된 오디오 채널 수입니다.\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"스트림에 대한 평균 비트레이트 값.\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"스트림에 보고된 비디오 비트레이트 값.\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"스트림에 대한 오디오 비트레이트 값.\"},\"quality_type\":{\"type\":\"string\",\"description\":\"스트림에 대한 원시 품질 라벨이 보고됩니다.\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"샤오홍쓰에서 스트림에 대한 설명.\"},\"duration\":{\"type\":\"integer\",\"description\":\"Xiaohongshu에서 보고된 스트림 지속 시간 값.\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"스트림에 보고된 비디오 지속 시간 값.\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"스트림에 대한 오디오 지속 시간 값.\"},\"size\":{\"type\":\"integer\",\"description\":\"Xiaohongshu에서 보고된 스트림 크기 값.\"}}}},\"h265\":{\"type\":\"array\",\"description\":\"라이브 포토에 대한 H.265 스트림이 반환되었습니다.\"},\"h266\":{\"type\":\"array\",\"description\":\"샤오홍쓰에서 반환된 H.266 스트림 목록입니다. 비어 있을 수 있습니다.\"},\"av1\":{\"type\":\"array\",\"description\":\"샤오홍쓰에서 반환된 AV1 스트림 목록. 비어 있을 수 있음.\"}}}}}}}}}},\"video_info_v2\":{\"type\":\"object\",\"description\":\"메모에 대해 반환된 비디오 메타데이터 및 미디어 스트림, 사용 가능한 경우.\",\"properties\":{\"image\":{\"type\":\"object\",\"description\":\"비디오에 대한 미리보기 이미지가 반환됩니다.\",\"properties\":{\"first_frame\":{\"type\":\"string\",\"description\":\"첫 번째 프레임 이미지를 위한 반환된 URL.\"},\"thumbnail\":{\"type\":\"string\",\"description\":\"반환된 축소판 이미지 URL.\"},\"thumbnail_dim\":{\"type\":\"string\",\"description\":\"비디오에 대한 추가 축소판 URL.\"}}},\"media\":{\"type\":\"object\",\"description\":\"메모에 대한 비디오 및 재생 스트림 메타데이터.\",\"properties\":{\"video\":{\"type\":\"object\",\"description\":\"비디오 메모와 관련된 비디오 메타데이터.\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"비디오 너비, 픽셀 단위.\"},\"height\":{\"type\":\"integer\",\"description\":\"비디오 높이, 픽셀 단위.\"},\"duration\":{\"type\":\"integer\",\"description\":\"전체 초 단위로 보고된 비디오 지속 시간.\"},\"drm_type\":{\"type\":\"integer\",\"description\":\"비디오에 대한 원시 DRM 카테고리 코드가 보고됩니다.\"},\"hdr_type\":{\"type\":\"integer\",\"description\":\"비디오에 대한 원시 HDR 카테고리 코드가 보고됩니다.\"},\"stream_types\":{\"type\":\"array\",\"description\":\"비디오에 대해 보고된 스트림 유형 코드.\",\"items\":{\"type\":\"integer\",\"description\":\"비디오에 대한 원시 스트림 유형 코드가 보고됩니다.\"}},\"md5\":{\"type\":\"string\",\"description\":\"비디오 메타데이터에 보고된 MD5 값입니다.\"}}},\"stream\":{\"type\":\"object\",\"description\":\"Xiaohongshu에서 반환된 코덱 라벨별로 그룹화된 스트림 변형.\",\"properties\":{\"h264\":{\"type\":\"array\",\"description\":\"비디오 노트에 대한 H.264 스트림이 반환되었습니다.\",\"items\":{\"type\":\"object\",\"description\":\"하나의 H.264 비디오 스트림에 대한 메타데이터입니다.\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"이 스트림에 대한 주요 URL이 제공됩니다.\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"스트림에 대한 대체 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"스트림에 대한 대체 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"스트림 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"스트림 높이(픽셀 단위).\"},\"fps\":{\"type\":\"integer\",\"description\":\"비디오의 프레임 속도는 초당 프레임으로 보고됩니다.\"},\"format\":{\"type\":\"string\",\"description\":\"스트림에 대한 미디어 형식이 보고됩니다.\"},\"video_codec\":{\"type\":\"string\",\"description\":\"스트림에 보고된 비디오 코덱.\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"스트림에 대한 오디오 코덱. 비어 있을 수 있음.\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"스트림에 보고된 오디오 채널 수입니다.\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"초당 비트 단위로 표시된 평균 스트림 비트레이트.\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"비디오 트랙에 대한 비트레이트, 초당 비트 단위.\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"오디오 트랙에 대한 비트레이트, 초당 비트 단위.\"},\"quality_type\":{\"type\":\"string\",\"description\":\"스트림에 대한 원시 품질 라벨이 보고됩니다.\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"샤오홍쓰에서 스트림에 대한 설명.\"},\"duration\":{\"type\":\"integer\",\"description\":\"밀리초 단위의 총 스트림 지속 시간.\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"비디오 트랙의 지속 시간(밀리초).\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"오디오 트랙 길이(밀리초)입니다. 0은 오디오 트랙이 없음을 나타낼 수 있습니다.\"},\"size\":{\"type\":\"integer\",\"description\":\"스트림 파일 크기(바이트 단위).\"}}}},\"h265\":{\"type\":\"array\",\"description\":\"비디오 노트에 대한 H.265 스트림이 반환되었습니다.\",\"items\":{\"type\":\"object\",\"description\":\"하나의 H.265 비디오 스트림에 대한 메타데이터입니다.\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"이 스트림에 대한 주요 URL이 제공됩니다.\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"스트림에 대한 대체 URL들.\",\"items\":{\"type\":\"string\",\"description\":\"스트림에 대한 대체 URL.\"}},\"width\":{\"type\":\"integer\",\"description\":\"스트림 너비(픽셀 단위).\"},\"height\":{\"type\":\"integer\",\"description\":\"스트림 높이(픽셀 단위).\"},\"fps\":{\"type\":\"integer\",\"description\":\"비디오의 프레임 속도는 초당 프레임으로 보고됩니다.\"},\"format\":{\"type\":\"string\",\"description\":\"스트림에 대한 미디어 형식이 보고됩니다.\"},\"video_codec\":{\"type\":\"string\",\"description\":\"스트림에 보고된 비디오 코덱.\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"스트림에 대한 오디오 코덱. 비어 있을 수 있음.\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"스트림에 보고된 오디오 채널 수입니다.\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"초당 비트 단위로 표시된 평균 스트림 비트레이트.\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"비디오 트랙에 대한 비트레이트, 초당 비트 단위.\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"오디오 트랙에 대한 비트레이트, 초당 비트 단위.\"},\"quality_type\":{\"type\":\"string\",\"description\":\"스트림에 대한 원시 품질 라벨이 보고됩니다.\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"샤오홍쓰에서 스트림에 대한 설명.\"},\"duration\":{\"type\":\"integer\",\"description\":\"밀리초 단위의 총 스트림 지속 시간.\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"비디오 트랙의 지속 시간(밀리초).\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"오디오 트랙 길이(밀리초)입니다. 0은 오디오 트랙이 없음을 나타낼 수 있습니다.\"},\"size\":{\"type\":\"integer\",\"description\":\"스트림 파일 크기(바이트 단위).\"}}}},\"h266\":{\"type\":\"array\",\"description\":\"샤오홍쓰에서 반환된 H.266 스트림 목록입니다. 비어 있을 수 있습니다.\"},\"av1\":{\"type\":\"array\",\"description\":\"샤오홍쓰에서 반환된 AV1 스트림 목록. 비어 있을 수 있음.\"}}},\"video_id\":{\"type\":\"integer\",\"description\":\"비디오 메타데이터와 함께 반환된 숫자 플랫폼 비디오 ID.\"}}},\"capa\":{\"type\":\"object\",\"description\":\"비디오에 대한 추가 메타데이터.\",\"properties\":{\"duration\":{\"type\":\"integer\",\"description\":\"이 메타데이터에서의 비디오 지속 시간, 초 단위.\"}}},\"consumer\":{\"type\":\"object\",\"description\":\"비디오에 대한 재생 옵션이 보고됩니다.\",\"properties\":{\"can_super_resolution\":{\"type\":\"boolean\",\"description\":\"재생 메타데이터가 슈퍼해상도 지원을 보고하는지 여부.\"}}}}}}},\"ads\":{\"type\":\"object\",\"description\":\"광고 카드와 관련된 광고 정보(존재하는 경우).\",\"properties\":{\"ads_id\":{\"type\":\"string\",\"description\":\"광고에 대해 보고된 식별자.\"},\"model_type\":{\"type\":\"string\",\"description\":\"광고에 보고된 모델 유형 코드.\"},\"ad_tag\":{\"type\":\"string\",\"description\":\"광고에 대해 반환된 표시 태그 텍스트.\"},\"show_tag\":{\"type\":\"boolean\",\"description\":\"플랫폼이 광고 태그를 표시해야 한다고 나타내는지 여부.\"},\"note\":{\"type\":\"object\",\"description\":\"광고와 관련된 Xiaohongshu 메모, 반환된 경우.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Xiaohongshu 메모 ID.\"},\"type\":{\"type\":\"string\",\"description\":\"Xiaohongshu가 보고한 노트 유형. 관찰된 값에는 이미지 노트의 경우 ‘normal’이고 비디오 노트의 경우 ‘video’가 포함됩니다.\"},\"title\":{\"type\":\"string\",\"description\":\"반환된 노트 제목.\"},\"desc\":{\"type\":\"string\",\"description\":\"검색 카드와 함께 반환된 노트 텍스트 또는 설명.\"},\"timestamp\":{\"type\":\"integer\",\"description\":\"결과와 함께 반환된 노트 타임스탬프, Unix 타임스탬프(초 단위).\"},\"update_time\":{\"type\":\"integer\",\"description\":\"검색 결과에 대한 업데이트 타임스탬프, 밀리초 단위의 Unix 타임스탬프 형식.\"},\"last_update_time\":{\"type\":\"integer\",\"description\":\"게시물의 마지막 업데이트 시각을 Unix 초 단위 타임스탬프로 반환합니다. 값은 0일 수 있습니다.\"},\"liked_count\":{\"type\":\"integer\",\"description\":\"검색 카드에 대한 좋아요 수.\"},\"nice_count\":{\"type\":\"integer\",\"description\":\"Xiaohongshu가 보고한 노트에 대한 별도의 ‘nice’ 카운트.\"},\"comments_count\":{\"type\":\"integer\",\"description\":\"노트에 대한 보고된 댓글 수.\"},\"collected_count\":{\"type\":\"integer\",\"description\":\"노트에 대한 보고된 저장 수.\"},\"shared_count\":{\"type\":\"integer\",\"description\":\"노트에 대한 보고된 공유 수.\"},\"liked\":{\"type\":\"boolean\",\"description\":\"현재 응답 컨텍스트에서 Xiaohongshu에서 보고된 좋아요 상태.\"},\"niced\":{\"type\":\"boolean\",\"description\":\"현재 응답 컨텍스트에 Xiaohongshu가 보고한 별도의 ‘nice’ 상태.\"},\"collected\":{\"type\":\"boolean\",\"description\":\"현재 응답 컨텍스트에 Xiaohongshu가 보고한 저장 상태.\"},\"has_music\":{\"type\":\"boolean\",\"description\":\"응답이 음악이 음표와 관련되어 있음을 나타내는지 여부.\"},\"cover_image_index\":{\"type\":\"integer\",\"description\":\"images_list에서 커버 이미지에 대한 보고된 인덱스.\"},\"note_attributes\":{\"type\":\"array\",\"description\":\"샤오홍쓰에서 보고된 노트 속성입니다.\"},\"xsec_token\":{\"type\":\"string\",\"description\":\"메모 링크와 관련된 Xiaohongshu 토큰, 반환된 경우.\"},\"user\":{\"type\":\"object\",\"description\":\"메모에 대한 작성자 정보.\",\"properties\":{\"userid\":{\"type\":\"string\",\"description\":\"게시물 작성자의 샤오홍슈 사용자 ID입니다.\"},\"red_id\":{\"type\":\"string\",\"description\":\"작가의 Xiaohongshu 계정 ID가 표시된 형태.\"},\"nickname\":{\"type\":\"string\",\"description\":\"작가의 표시 이름.\"},\"images\":{\"type\":\"string\",\"description\":\"작가의 프로필 아바타 URL.\"},\"red_official_verified\":{\"type\":\"boolean\",\"description\":\"플랫폼이 반환하는 작성자의 공식 인증 플래그입니다.\"},\"red_official_verify_type\":{\"type\":\"integer\",\"description\":\"작성자의 공식 인증 유형 코드입니다.\"},\"show_red_official_verify_icon\":{\"type\":\"boolean\",\"description\":\"플랫폼이 공식 인증 아이콘을 표시해야 한다고 나타내는지 여부.\"}}},\"images_list\":{\"type\":\"array\",\"description\":\"비디오 노트와 관련된 이미지로, 비디오 노트의 커버 이미지도 포함될 수 있습니다.\",\"items\":{\"type\":\"object\",\"description\":\"메모와 관련된 이미지.\",\"properties\":{\"fileid\":{\"type\":\"string\",\"description\":\"이미지의 플랫폼 파일 ID.\"},\"width\":{\"type\":\"integer\",\"description\":\"이미지를 위한 반환된 너비 값.\"},\"height\":{\"type\":\"integer\",\"description\":\"이미지에 대해 반환된 높이 값.\"},\"url\":{\"type\":\"string\",\"description\":\"표시를 위해 반환된 이미지 URL.\"},\"original\":{\"type\":\"string\",\"description\":\"반환된 원본 이미지 URL.\"},\"url_size_large\":{\"type\":\"string\",\"description\":\"반환된 경우의 대형 이미지 URL.\"}}}}}}}}}}},\"search_request_id\":{\"type\":\"string\",\"description\":\"Xiaohongshu가 반환한 검색 요청 식별자.\"},\"service_status\":{\"type\":\"string\",\"description\":\"펄로드에 반환된 검색 서비스 상태 라벨.\"},\"result\":{\"type\":\"object\",\"description\":\"플랫폼 결과에 대한 추가 정보, 반환될 경우.\",\"properties\":{\"success\":{\"type\":\"boolean\",\"description\":\"Xiaohongshu 결과 정보에서 성공 표시.\"},\"message\":{\"type\":\"string\",\"description\":\"Xiaohongshu 결과 정보에서의 메시지.\"}}}}}}},\"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/xiaohongshu/search-note/v2\"")' />

<p>샤오홍슈(RedNote) 노트를 키워드로 검색합니다. 페이지 번호로 조회하며 정렬과 노트 유형 필터를 지원합니다. V2의 noteTime 필터는 선택한 기간 밖의 노트도 반환할 수 있습니다. 이 엔드포인트는 사용자 계정을 검색하지 않습니다.</p>

## 사용 안내

::: warning 사용 방법
<p><code>noteTime</code> 필터는 정밀하지 않습니다. 예를 들어 지난 하루의 노트를 요청해도 해당 기간 밖에 게시된 노트가 반환될 수 있습니다. 더 정확한 게시 시각 필터가 필요하면 <a href="./note-search-v4">V4</a>를 사용하세요.</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>page</code> | query | <code>integer</code> | 아니요 | <code>1</code> | 페이지네이션에 사용할 페이지 번호입니다. 1부터 시작하고 키워드와 필터는 유지한 채 page를 늘리세요. |
| <code>sort</code> | query | <code>string</code> | 아니요 | <code>general</code> | 결과의 정렬 순서입니다.<br /><br><br>사용 가능한 값<br /><br>- <code>general</code>: 기본 순서<br /><br>- <code>popularity_descending</code>: 인기도 내림차순<br /><br>- <code>time_descending</code>: 게시 시각 내림차순<br /><br>- <code>comment_descending</code>: 댓글 수 내림차순<br /><br>- <code>collect_descending</code>: 즐겨찾기 수 내림차순 |
| <code>noteType</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>noteTime</code> | query | <code>string</code> | 아니요 | - | 노트 게시 시각 필터입니다. 결과에 선택한 기간 밖에 게시된 노트가 포함될 수 있습니다.<br /><br><br>사용 가능한 값<br /><br>- <code>ONE_DAY</code>: 하루 이내<br /><br>- <code>ONE_WEEK</code>: 일주일 이내<br /><br>- <code>HALF_YEAR</code>: 반년 이내 |

</div>

## 코드 예제

::: code-group

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

```text [🤖 AI 프롬프트]
JustOneAPI의 "키워드로 게시물 검색 (V2)" API를 사용하고 싶습니다.
기본 URL: https://api.justoneapi.com.
API 경로: /api/xiaohongshu/search-note/v2?token=YOUR_API_KEY&keyword=VALUE
API 주소: BASE_URL + /api/xiaohongshu/search-note/v2?token=YOUR_API_KEY&keyword=VALUE
HTTP 메서드: GET
인증: URL에 "token" 쿼리 파라미터를 추가하세요.
OpenAPI 정의: https://docs.justoneapi.com/openapi/xiaohongshu-rednote/note-search-v2-ko.json

요청 파라미터:
- token (query): 이 API 서비스의 액세스 토큰입니다. (필수)
- keyword (query): 검색 키워드입니다. (필수)
- page (query): 페이지네이션에 사용할 페이지 번호입니다. 1부터 시작하고 키워드와 필터는 유지한 채 page를 늘리세요.
- sort (query): 결과의 정렬 순서입니다.

사용 가능한 값
- `general`: 기본 순서
- `popularity_descending`: 인기도 내림차순
- `time_descending`: 게시 시각 내림차순
- `comment_descending`: 댓글 수 내림차순
- `collect_descending`: 즐겨찾기 수 내림차순
- noteType (query): 노트 유형 필터입니다.

사용 가능한 값
- `_0`: 전체
- `_1`: 동영상
- `_2`: 일반 노트
- noteTime (query): 노트 게시 시각 필터입니다. 결과에 선택한 기간 밖에 게시된 노트가 포함될 수 있습니다.

사용 가능한 값
- `ONE_DAY`: 하루 이내
- `ONE_WEEK`: 일주일 이내
- `HALF_YEAR`: 반년 이내

응답 형식: 실제 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/xiaohongshu/search-note/v2?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/xiaohongshu/search-note/v2?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/xiaohongshu/search-note/v2?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/xiaohongshu/search-note/v2?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/xiaohongshu/search-note/v2?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/xiaohongshu-rednote/note-search-v2-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>data.items</code> | <code>array</code> | 요청된 검색 페이지의 결과. 성공적인 응답에는 빈 목록이 포함될 수 있으며, 노트는 페이지 간에 중복될 수 있습니다. |
| <code>data.items[]</code> | <code>object</code> | 검색 결과 카드. |
| <code>data.items[].model_type</code> | <code>string</code> | Xiaohongshu에서 보고된 카드 모델 유형. 관찰된 카드는 노트와 광고 포함. |
| <code>data.items[].note</code> | <code>object</code> | 일반 노트 카드와 관련된 메모가 있는 경우. |
| <code>data.items[].note.id</code> | <code>string</code> | Xiaohongshu 메모 ID. |
| <code>data.items[].note.type</code> | <code>string</code> | Xiaohongshu가 보고한 노트 유형. 관찰된 값에는 이미지 노트의 경우 ‘normal’이고 비디오 노트의 경우 ‘video’가 포함됩니다. |
| <code>data.items[].note.title</code> | <code>string</code> | 반환된 노트 제목. |
| <code>data.items[].note.desc</code> | <code>string</code> | 검색 카드와 함께 반환된 노트 텍스트 또는 설명. |
| <code>data.items[].note.timestamp</code> | <code>integer</code> | 결과와 함께 반환된 노트 타임스탬프, Unix 타임스탬프(초 단위). |
| <code>data.items[].note.update_time</code> | <code>integer</code> | 검색 결과에 대한 업데이트 타임스탬프, 밀리초 단위의 Unix 타임스탬프 형식. |
| <code>data.items[].note.last_update_time</code> | <code>integer</code> | 게시물의 마지막 업데이트 시각을 Unix 초 단위 타임스탬프로 반환합니다. 값은 0일 수 있습니다. |
| <code>data.items[].note.liked_count</code> | <code>integer</code> | 검색 카드에 대한 좋아요 수. |
| <code>data.items[].note.nice_count</code> | <code>integer</code> | Xiaohongshu가 보고한 노트에 대한 별도의 ‘nice’ 카운트. |
| <code>data.items[].note.comments_count</code> | <code>integer</code> | 노트에 대한 보고된 댓글 수. |
| <code>data.items[].note.collected_count</code> | <code>integer</code> | 노트에 대한 보고된 저장 수. |
| <code>data.items[].note.shared_count</code> | <code>integer</code> | 노트에 대한 보고된 공유 수. |
| <code>data.items[].note.liked</code> | <code>boolean</code> | 현재 응답 컨텍스트에서 Xiaohongshu에서 보고된 좋아요 상태. |
| <code>data.items[].note.niced</code> | <code>boolean</code> | 현재 응답 컨텍스트에 Xiaohongshu가 보고한 별도의 ‘nice’ 상태. |
| <code>data.items[].note.collected</code> | <code>boolean</code> | 현재 응답 컨텍스트에 Xiaohongshu가 보고한 저장 상태. |
| <code>data.items[].note.has_music</code> | <code>boolean</code> | 응답이 음악이 음표와 관련되어 있음을 나타내는지 여부. |
| <code>data.items[].note.video_duration</code> | <code>string</code> | 표시된 텍스트로 반환된 비디오 지속 시간, 예: 1:05. |
| <code>data.items[].note.cover_image_index</code> | <code>integer</code> | images_list에서 커버 이미지에 대한 보고된 인덱스. |
| <code>data.items[].note.note_attributes</code> | <code>array</code> | 샤오홍쓰에서 보고된 노트 속성입니다. |
| <code>data.items[].note.note_attributes[]</code> | <code>string</code> | Xiaohongshu가 반환한 메모 속성 값. |
| <code>data.items[].note.xsec_token</code> | <code>string</code> | 메모 링크와 관련된 Xiaohongshu 토큰, 반환된 경우. |
| <code>data.items[].note.user</code> | <code>object</code> | 메모에 대한 작성자 정보. |
| <code>data.items[].note.user.userid</code> | <code>string</code> | 게시물 작성자의 샤오홍슈 사용자 ID입니다. |
| <code>data.items[].note.user.red_id</code> | <code>string</code> | 작가의 Xiaohongshu 계정 ID가 표시된 형태. |
| <code>data.items[].note.user.nickname</code> | <code>string</code> | 작가의 표시 이름. |
| <code>data.items[].note.user.images</code> | <code>string</code> | 작가의 프로필 아바타 URL. |
| <code>data.items[].note.user.followed</code> | <code>boolean</code> | 현재 응답 컨텍스트에서 작가에 대해 반환된 팔로우 플래그. |
| <code>data.items[].note.user.red_official_verified</code> | <code>boolean</code> | 플랫폼이 반환하는 작성자의 공식 인증 플래그입니다. |
| <code>data.items[].note.user.red_official_verify_type</code> | <code>integer</code> | 작성자의 공식 인증 유형 코드입니다. |
| <code>data.items[].note.user.show_red_official_verify_icon</code> | <code>boolean</code> | 플랫폼이 공식 인증 아이콘을 표시해야 한다고 나타내는지 여부. |
| <code>data.items[].note.at_user_list</code> | <code>array</code> | 메모에 언급된 계정, 반환될 경우. |
| <code>data.items[].note.at_user_list[]</code> | <code>object</code> | 메모에 언급된 계정. |
| <code>data.items[].note.at_user_list[].user_id</code> | <code>string</code> | 언급된 계정의 Xiaohongshu 사용자 ID. |
| <code>data.items[].note.at_user_list[].nickname</code> | <code>string</code> | 언급된 계정에 대해 반환된 표시 이름. |
| <code>data.items[].note.images_list</code> | <code>array</code> | 비디오 노트와 관련된 이미지로, 비디오 노트의 커버 이미지도 포함될 수 있습니다. |
| <code>data.items[].note.images_list[]</code> | <code>object</code> | 메모와 관련된 이미지. |
| <code>data.items[].note.images_list[].fileid</code> | <code>string</code> | 이미지의 플랫폼 파일 ID. |
| <code>data.items[].note.images_list[].width</code> | <code>integer</code> | 이미지를 위한 반환된 너비 값. |
| <code>data.items[].note.images_list[].height</code> | <code>integer</code> | 이미지에 대해 반환된 높이 값. |
| <code>data.items[].note.images_list[].url</code> | <code>string</code> | 표시를 위해 반환된 이미지 URL. |
| <code>data.items[].note.images_list[].original</code> | <code>string</code> | 반환된 원본 이미지 URL. |
| <code>data.items[].note.images_list[].url_size_large</code> | <code>string</code> | 반환된 경우의 대형 이미지 URL. |
| <code>data.items[].note.images_list[].live_photo_file_id</code> | <code>string</code> | 라이브 포토에 대한 플랫폼 파일 ID, 반환된 경우. |
| <code>data.items[].note.images_list[].live_photo</code> | <code>object</code> | 이미지에 대한 라이브 포토 메타데이터가 사용 가능할 경우 반환됩니다. |
| <code>data.items[].note.images_list[].live_photo.media</code> | <code>object</code> | 라이브 포토에 대한 재생 메타데이터가 제공됩니다. |
| <code>data.items[].note.images_list[].live_photo.media.video_id</code> | <code>integer</code> | 라이브 포토에 대한 보고된 숫자 플랫폼 비디오 ID. |
| <code>data.items[].note.images_list[].live_photo.media.video</code> | <code>object</code> | 라이브 포토와 관련된 비디오 메타데이터. |
| <code>data.items[].note.images_list[].live_photo.media.video.width</code> | <code>integer</code> | 비디오 너비, 픽셀 단위. |
| <code>data.items[].note.images_list[].live_photo.media.video.height</code> | <code>integer</code> | 비디오 높이, 픽셀 단위. |
| <code>data.items[].note.images_list[].live_photo.media.video.duration</code> | <code>integer</code> | 전체 초 단위로 보고된 비디오 지속 시간. |
| <code>data.items[].note.images_list[].live_photo.media.video.drm_type</code> | <code>integer</code> | 비디오에 대한 원시 DRM 카테고리 코드가 보고됩니다. |
| <code>data.items[].note.images_list[].live_photo.media.video.hdr_type</code> | <code>integer</code> | 비디오에 대한 원시 HDR 카테고리 코드가 보고됩니다. |
| <code>data.items[].note.images_list[].live_photo.media.video.stream_types</code> | <code>array</code> | 비디오에 대해 보고된 스트림 유형 코드. |
| <code>data.items[].note.images_list[].live_photo.media.video.stream_types[]</code> | <code>integer</code> | 비디오에 대한 원시 스트림 유형 코드가 보고됩니다. |
| <code>data.items[].note.images_list[].live_photo.media.stream</code> | <code>object</code> | Xiaohongshu에서 반환된 코덱 라벨별로 그룹화된 스트림 변형. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264</code> | <code>array</code> | 라이브 포토에 대한 H.264 스트림이 반환되었습니다. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[]</code> | <code>object</code> | 하나의 H.264 라이브 포토 스트림에 대한 메타데이터입니다. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].master_url</code> | <code>string</code> | 이 스트림에 대한 주요 URL이 제공됩니다. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].backup_urls</code> | <code>array</code> | 스트림에 대한 대체 URL들. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].backup_urls[]</code> | <code>string</code> | 스트림에 대한 대체 URL. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].width</code> | <code>integer</code> | 스트림 너비(픽셀 단위). |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].height</code> | <code>integer</code> | 스트림 높이(픽셀 단위). |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].fps</code> | <code>integer</code> | 스트림에 대한 프레임 속도. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].format</code> | <code>string</code> | 스트림에 대한 미디어 형식이 보고됩니다. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].video_codec</code> | <code>string</code> | 스트림에 보고된 비디오 코덱. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].audio_codec</code> | <code>string</code> | 스트림에 대한 오디오 코덱. 비어 있을 수 있음. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].audio_channels</code> | <code>integer</code> | 스트림에 보고된 오디오 채널 수입니다. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].avg_bitrate</code> | <code>integer</code> | 스트림에 대한 평균 비트레이트 값. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].video_bitrate</code> | <code>integer</code> | 스트림에 보고된 비디오 비트레이트 값. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].audio_bitrate</code> | <code>integer</code> | 스트림에 대한 오디오 비트레이트 값. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].quality_type</code> | <code>string</code> | 스트림에 대한 원시 품질 라벨이 보고됩니다. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].stream_desc</code> | <code>string</code> | 샤오홍쓰에서 스트림에 대한 설명. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].duration</code> | <code>integer</code> | Xiaohongshu에서 보고된 스트림 지속 시간 값. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].video_duration</code> | <code>integer</code> | 스트림에 보고된 비디오 지속 시간 값. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].audio_duration</code> | <code>integer</code> | 스트림에 대한 오디오 지속 시간 값. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h264[].size</code> | <code>integer</code> | Xiaohongshu에서 보고된 스트림 크기 값. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h265</code> | <code>array</code> | 라이브 포토에 대한 H.265 스트림이 반환되었습니다. |
| <code>data.items[].note.images_list[].live_photo.media.stream.h266</code> | <code>array</code> | 샤오홍쓰에서 반환된 H.266 스트림 목록입니다. 비어 있을 수 있습니다. |
| <code>data.items[].note.images_list[].live_photo.media.stream.av1</code> | <code>array</code> | 샤오홍쓰에서 반환된 AV1 스트림 목록. 비어 있을 수 있음. |
| <code>data.items[].note.video_info_v2</code> | <code>object</code> | 메모에 대해 반환된 비디오 메타데이터 및 미디어 스트림, 사용 가능한 경우. |
| <code>data.items[].note.video_info_v2.image</code> | <code>object</code> | 비디오에 대한 미리보기 이미지가 반환됩니다. |
| <code>data.items[].note.video_info_v2.image.first_frame</code> | <code>string</code> | 첫 번째 프레임 이미지를 위한 반환된 URL. |
| <code>data.items[].note.video_info_v2.image.thumbnail</code> | <code>string</code> | 반환된 축소판 이미지 URL. |
| <code>data.items[].note.video_info_v2.image.thumbnail_dim</code> | <code>string</code> | 비디오에 대한 추가 축소판 URL. |
| <code>data.items[].note.video_info_v2.media</code> | <code>object</code> | 메모에 대한 비디오 및 재생 스트림 메타데이터. |
| <code>data.items[].note.video_info_v2.media.video</code> | <code>object</code> | 비디오 메모와 관련된 비디오 메타데이터. |
| <code>data.items[].note.video_info_v2.media.video.width</code> | <code>integer</code> | 비디오 너비, 픽셀 단위. |
| <code>data.items[].note.video_info_v2.media.video.height</code> | <code>integer</code> | 비디오 높이, 픽셀 단위. |
| <code>data.items[].note.video_info_v2.media.video.duration</code> | <code>integer</code> | 전체 초 단위로 보고된 비디오 지속 시간. |
| <code>data.items[].note.video_info_v2.media.video.drm_type</code> | <code>integer</code> | 비디오에 대한 원시 DRM 카테고리 코드가 보고됩니다. |
| <code>data.items[].note.video_info_v2.media.video.hdr_type</code> | <code>integer</code> | 비디오에 대한 원시 HDR 카테고리 코드가 보고됩니다. |
| <code>data.items[].note.video_info_v2.media.video.stream_types</code> | <code>array</code> | 비디오에 대해 보고된 스트림 유형 코드. |
| <code>data.items[].note.video_info_v2.media.video.stream_types[]</code> | <code>integer</code> | 비디오에 대한 원시 스트림 유형 코드가 보고됩니다. |
| <code>data.items[].note.video_info_v2.media.video.md5</code> | <code>string</code> | 비디오 메타데이터에 보고된 MD5 값입니다. |
| <code>data.items[].note.video_info_v2.media.stream</code> | <code>object</code> | Xiaohongshu에서 반환된 코덱 라벨별로 그룹화된 스트림 변형. |
| <code>data.items[].note.video_info_v2.media.stream.h264</code> | <code>array</code> | 비디오 노트에 대한 H.264 스트림이 반환되었습니다. |
| <code>data.items[].note.video_info_v2.media.stream.h264[]</code> | <code>object</code> | 하나의 H.264 비디오 스트림에 대한 메타데이터입니다. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].master_url</code> | <code>string</code> | 이 스트림에 대한 주요 URL이 제공됩니다. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].backup_urls</code> | <code>array</code> | 스트림에 대한 대체 URL들. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].backup_urls[]</code> | <code>string</code> | 스트림에 대한 대체 URL. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].width</code> | <code>integer</code> | 스트림 너비(픽셀 단위). |
| <code>data.items[].note.video_info_v2.media.stream.h264[].height</code> | <code>integer</code> | 스트림 높이(픽셀 단위). |
| <code>data.items[].note.video_info_v2.media.stream.h264[].fps</code> | <code>integer</code> | 비디오의 프레임 속도는 초당 프레임으로 보고됩니다. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].format</code> | <code>string</code> | 스트림에 대한 미디어 형식이 보고됩니다. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].video_codec</code> | <code>string</code> | 스트림에 보고된 비디오 코덱. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].audio_codec</code> | <code>string</code> | 스트림에 대한 오디오 코덱. 비어 있을 수 있음. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].audio_channels</code> | <code>integer</code> | 스트림에 보고된 오디오 채널 수입니다. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].avg_bitrate</code> | <code>integer</code> | 초당 비트 단위로 표시된 평균 스트림 비트레이트. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].video_bitrate</code> | <code>integer</code> | 비디오 트랙에 대한 비트레이트, 초당 비트 단위. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].audio_bitrate</code> | <code>integer</code> | 오디오 트랙에 대한 비트레이트, 초당 비트 단위. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].quality_type</code> | <code>string</code> | 스트림에 대한 원시 품질 라벨이 보고됩니다. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].stream_desc</code> | <code>string</code> | 샤오홍쓰에서 스트림에 대한 설명. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].duration</code> | <code>integer</code> | 밀리초 단위의 총 스트림 지속 시간. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].video_duration</code> | <code>integer</code> | 비디오 트랙의 지속 시간(밀리초). |
| <code>data.items[].note.video_info_v2.media.stream.h264[].audio_duration</code> | <code>integer</code> | 오디오 트랙 길이(밀리초)입니다. 0은 오디오 트랙이 없음을 나타낼 수 있습니다. |
| <code>data.items[].note.video_info_v2.media.stream.h264[].size</code> | <code>integer</code> | 스트림 파일 크기(바이트 단위). |
| <code>data.items[].note.video_info_v2.media.stream.h265</code> | <code>array</code> | 비디오 노트에 대한 H.265 스트림이 반환되었습니다. |
| <code>data.items[].note.video_info_v2.media.stream.h265[]</code> | <code>object</code> | 하나의 H.265 비디오 스트림에 대한 메타데이터입니다. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].master_url</code> | <code>string</code> | 이 스트림에 대한 주요 URL이 제공됩니다. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].backup_urls</code> | <code>array</code> | 스트림에 대한 대체 URL들. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].backup_urls[]</code> | <code>string</code> | 스트림에 대한 대체 URL. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].width</code> | <code>integer</code> | 스트림 너비(픽셀 단위). |
| <code>data.items[].note.video_info_v2.media.stream.h265[].height</code> | <code>integer</code> | 스트림 높이(픽셀 단위). |
| <code>data.items[].note.video_info_v2.media.stream.h265[].fps</code> | <code>integer</code> | 비디오의 프레임 속도는 초당 프레임으로 보고됩니다. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].format</code> | <code>string</code> | 스트림에 대한 미디어 형식이 보고됩니다. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].video_codec</code> | <code>string</code> | 스트림에 보고된 비디오 코덱. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].audio_codec</code> | <code>string</code> | 스트림에 대한 오디오 코덱. 비어 있을 수 있음. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].audio_channels</code> | <code>integer</code> | 스트림에 보고된 오디오 채널 수입니다. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].avg_bitrate</code> | <code>integer</code> | 초당 비트 단위로 표시된 평균 스트림 비트레이트. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].video_bitrate</code> | <code>integer</code> | 비디오 트랙에 대한 비트레이트, 초당 비트 단위. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].audio_bitrate</code> | <code>integer</code> | 오디오 트랙에 대한 비트레이트, 초당 비트 단위. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].quality_type</code> | <code>string</code> | 스트림에 대한 원시 품질 라벨이 보고됩니다. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].stream_desc</code> | <code>string</code> | 샤오홍쓰에서 스트림에 대한 설명. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].duration</code> | <code>integer</code> | 밀리초 단위의 총 스트림 지속 시간. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].video_duration</code> | <code>integer</code> | 비디오 트랙의 지속 시간(밀리초). |
| <code>data.items[].note.video_info_v2.media.stream.h265[].audio_duration</code> | <code>integer</code> | 오디오 트랙 길이(밀리초)입니다. 0은 오디오 트랙이 없음을 나타낼 수 있습니다. |
| <code>data.items[].note.video_info_v2.media.stream.h265[].size</code> | <code>integer</code> | 스트림 파일 크기(바이트 단위). |
| <code>data.items[].note.video_info_v2.media.stream.h266</code> | <code>array</code> | 샤오홍쓰에서 반환된 H.266 스트림 목록입니다. 비어 있을 수 있습니다. |
| <code>data.items[].note.video_info_v2.media.stream.av1</code> | <code>array</code> | 샤오홍쓰에서 반환된 AV1 스트림 목록. 비어 있을 수 있음. |
| <code>data.items[].note.video_info_v2.media.video_id</code> | <code>integer</code> | 비디오 메타데이터와 함께 반환된 숫자 플랫폼 비디오 ID. |
| <code>data.items[].note.video_info_v2.capa</code> | <code>object</code> | 비디오에 대한 추가 메타데이터. |
| <code>data.items[].note.video_info_v2.capa.duration</code> | <code>integer</code> | 이 메타데이터에서의 비디오 지속 시간, 초 단위. |
| <code>data.items[].note.video_info_v2.consumer</code> | <code>object</code> | 비디오에 대한 재생 옵션이 보고됩니다. |
| <code>data.items[].note.video_info_v2.consumer.can_super_resolution</code> | <code>boolean</code> | 재생 메타데이터가 슈퍼해상도 지원을 보고하는지 여부. |
| <code>data.items[].ads</code> | <code>object</code> | 광고 카드와 관련된 광고 정보(존재하는 경우). |
| <code>data.items[].ads.ads_id</code> | <code>string</code> | 광고에 대해 보고된 식별자. |
| <code>data.items[].ads.model_type</code> | <code>string</code> | 광고에 보고된 모델 유형 코드. |
| <code>data.items[].ads.ad_tag</code> | <code>string</code> | 광고에 대해 반환된 표시 태그 텍스트. |
| <code>data.items[].ads.show_tag</code> | <code>boolean</code> | 플랫폼이 광고 태그를 표시해야 한다고 나타내는지 여부. |
| <code>data.items[].ads.note</code> | <code>object</code> | 광고와 관련된 Xiaohongshu 메모, 반환된 경우. |
| <code>data.items[].ads.note.id</code> | <code>string</code> | Xiaohongshu 메모 ID. |
| <code>data.items[].ads.note.type</code> | <code>string</code> | Xiaohongshu가 보고한 노트 유형. 관찰된 값에는 이미지 노트의 경우 ‘normal’이고 비디오 노트의 경우 ‘video’가 포함됩니다. |
| <code>data.items[].ads.note.title</code> | <code>string</code> | 반환된 노트 제목. |
| <code>data.items[].ads.note.desc</code> | <code>string</code> | 검색 카드와 함께 반환된 노트 텍스트 또는 설명. |
| <code>data.items[].ads.note.timestamp</code> | <code>integer</code> | 결과와 함께 반환된 노트 타임스탬프, Unix 타임스탬프(초 단위). |
| <code>data.items[].ads.note.update_time</code> | <code>integer</code> | 검색 결과에 대한 업데이트 타임스탬프, 밀리초 단위의 Unix 타임스탬프 형식. |
| <code>data.items[].ads.note.last_update_time</code> | <code>integer</code> | 게시물의 마지막 업데이트 시각을 Unix 초 단위 타임스탬프로 반환합니다. 값은 0일 수 있습니다. |
| <code>data.items[].ads.note.liked_count</code> | <code>integer</code> | 검색 카드에 대한 좋아요 수. |
| <code>data.items[].ads.note.nice_count</code> | <code>integer</code> | Xiaohongshu가 보고한 노트에 대한 별도의 ‘nice’ 카운트. |
| <code>data.items[].ads.note.comments_count</code> | <code>integer</code> | 노트에 대한 보고된 댓글 수. |
| <code>data.items[].ads.note.collected_count</code> | <code>integer</code> | 노트에 대한 보고된 저장 수. |
| <code>data.items[].ads.note.shared_count</code> | <code>integer</code> | 노트에 대한 보고된 공유 수. |
| <code>data.items[].ads.note.liked</code> | <code>boolean</code> | 현재 응답 컨텍스트에서 Xiaohongshu에서 보고된 좋아요 상태. |
| <code>data.items[].ads.note.niced</code> | <code>boolean</code> | 현재 응답 컨텍스트에 Xiaohongshu가 보고한 별도의 ‘nice’ 상태. |
| <code>data.items[].ads.note.collected</code> | <code>boolean</code> | 현재 응답 컨텍스트에 Xiaohongshu가 보고한 저장 상태. |
| <code>data.items[].ads.note.has_music</code> | <code>boolean</code> | 응답이 음악이 음표와 관련되어 있음을 나타내는지 여부. |
| <code>data.items[].ads.note.cover_image_index</code> | <code>integer</code> | images_list에서 커버 이미지에 대한 보고된 인덱스. |
| <code>data.items[].ads.note.note_attributes</code> | <code>array</code> | 샤오홍쓰에서 보고된 노트 속성입니다. |
| <code>data.items[].ads.note.xsec_token</code> | <code>string</code> | 메모 링크와 관련된 Xiaohongshu 토큰, 반환된 경우. |
| <code>data.items[].ads.note.user</code> | <code>object</code> | 메모에 대한 작성자 정보. |
| <code>data.items[].ads.note.user.userid</code> | <code>string</code> | 게시물 작성자의 샤오홍슈 사용자 ID입니다. |
| <code>data.items[].ads.note.user.red_id</code> | <code>string</code> | 작가의 Xiaohongshu 계정 ID가 표시된 형태. |
| <code>data.items[].ads.note.user.nickname</code> | <code>string</code> | 작가의 표시 이름. |
| <code>data.items[].ads.note.user.images</code> | <code>string</code> | 작가의 프로필 아바타 URL. |
| <code>data.items[].ads.note.user.red_official_verified</code> | <code>boolean</code> | 플랫폼이 반환하는 작성자의 공식 인증 플래그입니다. |
| <code>data.items[].ads.note.user.red_official_verify_type</code> | <code>integer</code> | 작성자의 공식 인증 유형 코드입니다. |
| <code>data.items[].ads.note.user.show_red_official_verify_icon</code> | <code>boolean</code> | 플랫폼이 공식 인증 아이콘을 표시해야 한다고 나타내는지 여부. |
| <code>data.items[].ads.note.images_list</code> | <code>array</code> | 비디오 노트와 관련된 이미지로, 비디오 노트의 커버 이미지도 포함될 수 있습니다. |
| <code>data.items[].ads.note.images_list[]</code> | <code>object</code> | 메모와 관련된 이미지. |
| <code>data.items[].ads.note.images_list[].fileid</code> | <code>string</code> | 이미지의 플랫폼 파일 ID. |
| <code>data.items[].ads.note.images_list[].width</code> | <code>integer</code> | 이미지를 위한 반환된 너비 값. |
| <code>data.items[].ads.note.images_list[].height</code> | <code>integer</code> | 이미지에 대해 반환된 높이 값. |
| <code>data.items[].ads.note.images_list[].url</code> | <code>string</code> | 표시를 위해 반환된 이미지 URL. |
| <code>data.items[].ads.note.images_list[].original</code> | <code>string</code> | 반환된 원본 이미지 URL. |
| <code>data.items[].ads.note.images_list[].url_size_large</code> | <code>string</code> | 반환된 경우의 대형 이미지 URL. |
| <code>data.search_request_id</code> | <code>string</code> | Xiaohongshu가 반환한 검색 요청 식별자. |
| <code>data.service_status</code> | <code>string</code> | 펄로드에 반환된 검색 서비스 상태 라벨. |
| <code>data.result</code> | <code>object</code> | 플랫폼 결과에 대한 추가 정보, 반환될 경우. |
| <code>data.result.success</code> | <code>boolean</code> | Xiaohongshu 결과 정보에서 성공 표시. |
| <code>data.result.message</code> | <code>string</code> | Xiaohongshu 결과 정보에서의 메시지. |

</div>

## 응답 예시

<ApiExampleSection :api='JSON.parse("\"/api/xiaohongshu/search-note/v2\"")' />

