샤오홍슈 게시물 검색
redbook.note.search키워드, 기간, 게시물 유형으로 공개 게시물을 한 페이지씩 검색합니다. 다음 페이지를 조회하려면 응답의 검색 식별자를 전달하세요.
샤오홍슈 API 요금 및 연동 방법요청 매개변수
| 매개변수 | 유형 | 설명 |
|---|---|---|
keyword필수 | string | 검색 키워드 최소 길이: 1최대 200 자 |
noteType | string | 전체, 동영상 또는 이미지 게시물 ALLVIDEO_NOTENORMAL_NOTE기본값: "ALL" |
page | integer | 1부터 시작하는 페이지 번호 범위 1–100기본값: 1 |
search_id | string | 다음 페이지 요청에 사용할 검색 ID 최대 4096 자기본값: "" |
search_session_id | string | 다음 페이지 요청에 사용할 세션 ID 최대 4096 자기본값: "" |
sortType | string | 관련도, 좋아요, 게시 시각, 댓글 수 또는 저장 수 기준 정렬 generalpopularity_descendingtime_descendingcomment_descendingcollect_descending기본값: "general" |
timeFilter | string | 전체, 하루, 일주일 또는 반년 ALLONE_DAYONE_WEEKHALF_YEAR기본값: "ALL" |
응답 데이터
결과 데이터 경로: execution.result.data에 있습니다. 실행 기록에는 상태, 실제 비용과 Anyuse 요청 ID도 포함됩니다.
| 매개변수 | 유형 | 설명 |
|---|---|---|
has_more필수 | boolean | null | has_more |
items필수 | array | null | items |
items[].note_id필수 | string | null | items[].note_id |
items[].text필수 | string | null | items[].text |
items[].title필수 | string | null | items[].title |
items[].url필수 | string | null | items[].url |
items[].author | object | 작성자의 ID, 닉네임, 프로필 이미지 및 인증 정보 |
items[].author.avatar_url | string | items[].author.avatar_url |
items[].author.nickname | string | items[].author.nickname |
items[].author.red_id | string | items[].author.red_id |
items[].author.user_id | string | items[].author.user_id |
items[].author.verification_type | number | string | items[].author.verification_type |
items[].author.verified | boolean | number | items[].author.verified |
items[].images | array | 이미지와 표지의 링크 및 크기. 미디어 링크는 만료될 수 있습니다. |
items[].images[].height | number | string | items[].images[].height |
items[].images[].large_url | string | items[].images[].large_url |
items[].images[].original_url | string | items[].images[].original_url |
items[].images[].url | string | items[].images[].url |
items[].images[].width | number | string | items[].images[].width |
items[].published_at_seconds | number | string | 게시 시각(Unix 초) |
items[].statistics | object | 좋아요, 저장, 댓글 및 공유 수. 원본 숫자 또는 표시 문자열을 유지합니다. |
items[].statistics.collect_count | number | string | items[].statistics.collect_count |
items[].statistics.comment_count | number | string | items[].statistics.comment_count |
items[].statistics.like_count | number | string | items[].statistics.like_count |
items[].statistics.share_count | number | string | items[].statistics.share_count |
items[].type | string | items[].type |
items[].updated_at_ms | number | string | 수정 시각(Unix 밀리초) |
items[].video | object | 동영상 및 재생 스트림. duration_seconds는 초, 스트림의 duration_ms는 밀리초입니다. |
items[].video.cover_url | string | items[].video.cover_url |
items[].video.duration_seconds | number | string | items[].video.duration_seconds |
items[].video.duration_text | string | items[].video.duration_text |
items[].video.first_frame_url | string | items[].video.first_frame_url |
items[].video.height | number | string | items[].video.height |
items[].video.id | string | items[].video.id |
items[].video.streams | array | items[].video.streams |
items[].video.streams[].audio_codec | string | items[].video.streams[].audio_codec |
items[].video.streams[].avg_bitrate | number | string | items[].video.streams[].avg_bitrate |
items[].video.streams[].backup_urls | array | items[].video.streams[].backup_urls |
items[].video.streams[].codec | string | items[].video.streams[].codec |
items[].video.streams[].duration_ms | number | string | items[].video.streams[].duration_ms |
items[].video.streams[].format | string | items[].video.streams[].format |
items[].video.streams[].fps | number | string | items[].video.streams[].fps |
items[].video.streams[].height | number | string | items[].video.streams[].height |
items[].video.streams[].quality_type | string | items[].video.streams[].quality_type |
items[].video.streams[].size_bytes | number | string | items[].video.streams[].size_bytes |
items[].video.streams[].url | string | items[].video.streams[].url |
items[].video.streams[].video_codec | string | items[].video.streams[].video_codec |
items[].video.streams[].width | number | string | items[].video.streams[].width |
items[].video.url | string | items[].video.url |
items[].video.width | number | string | items[].video.width |
page필수 | integer | page |
next_page | integer | null | 제공자가 반환한 다음 페이지 번호. null이면 번호를 알 수 없으며 마지막 페이지라는 뜻은 아닙니다. |
search_id | string | null | 응답에서 받은 검색 ID. 다음 페이지 요청에 전달하세요. |
search_session_id | string | null | 응답에서 받은 검색 세션 ID. 다음 페이지 요청에 전달하세요. |