---
title: "Xiaohongshu (RedNote) ノート検索 API (V4)"
description: "モバイルアプリの検索フローを通じて、ページング、ソート、ノートタイプ、時間フィルターを使用してXiaohongshu (RedNote)のノートを検索します。これを使用して、反復的なトピック研究とフィルタリングされたコンテンツの発見をサポートします。"
lastUpdated: false
aiUsagePrompt: true
---

# Xiaohongshu \(RedNote\) ノート検索 API \(V4\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/xiaohongshu/search-note/v4\"")'
  :summary='JSON.parse("\"ノート検索 (V4)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/xiaohongshu-rednote/note-search-v4-ja.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\":\"ページングのページ番号。\",\"required\":false,\"schema\":{\"type\":\"integer\",\"format\":\"int32\",\"default\":1}},{\"name\":\"sortType\",\"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- `ALL`: 制限なし\\n- `VIDEO_NOTE`: 動画ノート\\n- `NORMAL_NOTE`: 通常ノート\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"ALL\",\"description\":\"小紅書ノートのタイプフィルター\",\"enum\":[\"ALL\",\"VIDEO_NOTE\",\"NORMAL_NOTE\"]}},{\"name\":\"timeFilter\",\"in\":\"query\",\"description\":\"公開時刻の絞り込み。\\n\\n利用可能な値：\\n- `ALL`：期間指定なし\\n- `ONE_DAY`：一日以内\\n- `ONE_WEEK`：一週間以内\\n- `HALF_YEAR`：半年以内\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"ALL\",\"description\":\"小紅書ノートの公開時間フィルター\",\"enum\":[\"ALL\",\"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\":{\"type\":\"object\",\"description\":\"シャオホンシューショップのノート検索結果の一ページとレスポンス統計。\",\"properties\":{\"notes\":{\"type\":\"array\",\"description\":\"要求されたページに対する返される結果についての注記。\",\"items\":{\"type\":\"object\",\"description\":\"Xiaohongshuのノート検索結果の一つ。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"XiaohongshuのノートIDが文字列として返される。\"},\"title\":{\"type\":\"string\",\"description\":\"検索結果に返されるノートのタイトル。空になることがあります。\"},\"desc\":{\"type\":\"string\",\"description\":\"検索結果に返されるノートの説明。\"},\"type\":{\"type\":\"string\",\"description\":\"ノートのタイプラベル。画像やテキストのノートには通常の値が、ビデオのノートにはビデオの値が観察されます。\"},\"timestamp\":{\"type\":\"integer\",\"description\":\"ノートの公開時間がUnixタイムスタンプで秒数で表される。\"},\"last_update_time\":{\"type\":\"integer\",\"description\":\"正の場合はUnixタイムスタンプで秒単位の最終更新時間。このフィールドにはゼロも含まれることがある。\"},\"liked_count\":{\"type\":\"integer\",\"description\":\"ノートの「いいね」数。\"},\"comments_count\":{\"type\":\"integer\",\"description\":\"ノートの「コメント数」。\"},\"collected_count\":{\"type\":\"integer\",\"description\":\"ノートの「保存数」。\"},\"shared_count\":{\"type\":\"integer\",\"description\":\"ノートに対する共有数の報告。\"},\"liked\":{\"type\":\"boolean\",\"description\":\"現在の表示状況でノートが「好き」としてマークされているかどうか。\"},\"collected\":{\"type\":\"boolean\",\"description\":\"現在の表示状況でノートが「保存済み」としてマークされているかどうか。\"},\"has_music\":{\"type\":\"boolean\",\"description\":\"検索結果がノートに音楽があるとマークしているかどうか。\"},\"tags\":{\"type\":\"array\",\"description\":\"このノートに対するタグが返される。リストは空になることがある。\"},\"geo_info\":{\"type\":\"object\",\"description\":\"ノートと共に返される位置情報の表示。\",\"properties\":{\"distance\":{\"type\":\"string\",\"description\":\"距離の表示テキストで、空になることがある。\"}}},\"user\":{\"type\":\"object\",\"description\":\"ノート結果に付随する公開著者情報。\",\"properties\":{\"userid\":{\"type\":\"string\",\"description\":\"ノートの著者のXiaohongshuユーザーIDが文字列として返される。\"},\"red_id\":{\"type\":\"string\",\"description\":\"ノートの著者の公開Xiaohongshuアカウントハンドル。\"},\"nickname\":{\"type\":\"string\",\"description\":\"ノートの著者の公開表示名。\"},\"images\":{\"type\":\"string\",\"description\":\"ノートの著者に提供されるプロフィール画像のURL。\"},\"red_official_verified\":{\"type\":\"boolean\",\"description\":\"検索結果が著者を公式に認証済みとしてマークしているかどうか。\"},\"followed\":{\"type\":\"boolean\",\"description\":\"検索結果が著者を現在の表示状況でフォローしているとマークしているかどうか。\"}}},\"images_list\":{\"type\":\"array\",\"description\":\"検索結果の画像エントリで、ビデオのノートのカバー画像を含む。\",\"items\":{\"type\":\"object\",\"description\":\"検索結果に付随する画像エントリの一つ。\",\"properties\":{\"fileid\":{\"type\":\"string\",\"description\":\"画像ファイルの識別子が返される。\"},\"height\":{\"type\":\"integer\",\"description\":\"画像のピクセル単位の高さ。\"},\"width\":{\"type\":\"integer\",\"description\":\"画像のピクセル単位の幅。\"},\"url\":{\"type\":\"string\",\"description\":\"標準URLフィールド内の画像URL。空の場合もあります。\"},\"url_size_large\":{\"type\":\"string\",\"description\":\"より大きな画像のためのURL。\"},\"original\":{\"type\":\"string\",\"description\":\"元の画像URLフィールド。空の場合もあります。\"},\"need_load_original_image\":{\"type\":\"boolean\",\"description\":\"画像が元の画像に追加の読み込みを必要とするようにマークされているかどうか。\"},\"live_photo_file_id\":{\"type\":\"string\",\"description\":\"ライブフォトに添付されたファイル識別子（提供されている場合）。\"},\"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\":\"ライブフォトの動きクリップのビデオ持続時間が報告される値。\"},\"hdr_type\":{\"type\":\"integer\",\"description\":\"動きクリップのHDRタイプが報告される数値。\"},\"drm_type\":{\"type\":\"integer\",\"description\":\"動きクリップのDRMタイプが報告される数値。\"}}},\"stream\":{\"type\":\"object\",\"description\":\"ビデオコーデック別にグループ化されたライブフォトの再生バリアント。\",\"properties\":{\"h264\":{\"type\":\"array\",\"description\":\"H.264バリアントに対して返されるリスト。空の場合もあります。\"},\"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\":\"ビデオフレームのピクセル単位の高さ。\"},\"format\":{\"type\":\"string\",\"description\":\"ストリームに関するメディアコンテナ形式が報告されています。\"},\"quality_type\":{\"type\":\"string\",\"description\":\"このストリームに関する品質ラベルが報告されています。\"},\"stream_type\":{\"type\":\"integer\",\"description\":\"このバリアントに関する数値的なストリームタイプが報告されています。\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"このストリームバリアントに関する説明が提供されています。\"},\"default_stream\":{\"type\":\"integer\",\"description\":\"デフォルトのストリームを示す数値フラグが報告されています。\"},\"fps\":{\"type\":\"integer\",\"description\":\"ストリームに関するビデオフレームレートが報告されています。\"},\"duration\":{\"type\":\"integer\",\"description\":\"Xiaohongshuが報告するストリームの持続時間値。\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"ストリームに関するビデオトラックの持続時間値が報告されています。\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"ストリームに関するオーディオトラックの持続時間値が報告されています。\"},\"video_codec\":{\"type\":\"string\",\"description\":\"ストリームに関するビデオコーデック識別子が返されました。\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"ストリームに関するオーディオコーデック識別子が返されました（提供された場合）。\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"ストリームに関するオーディオチャンネル数が報告されています。\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"ストリームで報告されたビデオビットレート値。\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"ストリームで報告されたオーディオビットレート値。\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"ストリームで報告された平均ビットレート値。\"},\"hdrType\":{\"type\":\"integer\",\"description\":\"このストリームに関する数値的なHDRタイプが報告されています。\"}}}},\"h266\":{\"type\":\"array\",\"description\":\"H.266バリアントに関するリストが返されました。空になる可能性があります。\"},\"av1\":{\"type\":\"array\",\"description\":\"AV1バリアントに関するリストが返されました。空になる可能性があります。\"}}}}}}}}}}}}},\"ads\":{\"type\":\"array\",\"description\":\"結果ページに含まれる広告エントリーが返されました。リストは空になる可能性があります。\"},\"recommend_queries\":{\"type\":\"array\",\"description\":\"結果ページに含まれる推奨される検索クエリが返されました。リストは空になる可能性があります。\"},\"total\":{\"type\":\"integer\",\"description\":\"この応答に関する結果項目の数が報告されています。\"},\"has_more\":{\"type\":\"boolean\",\"description\":\"検索応答が別のページが利用可能であることを示しているかどうか。\"},\"statistics\":{\"type\":\"object\",\"description\":\"この応答に関する項目数の詳細が報告されています。\",\"properties\":{\"total_items\":{\"type\":\"integer\",\"description\":\"応答統計情報に報告される総項目数。\"},\"note_count\":{\"type\":\"integer\",\"description\":\"応答統計情報に報告される通常のノートの数。\"},\"video_count\":{\"type\":\"integer\",\"description\":\"応答統計情報に報告されるビデオノートの数。\"},\"ads_count\":{\"type\":\"integer\",\"description\":\"応答統計情報に報告される広告エントリーの数。\"},\"recommend_count\":{\"type\":\"integer\",\"description\":\"応答統計情報に報告される推奨される検索クエリの数。\"}}},\"search_meta\":{\"type\":\"object\",\"description\":\"結果に含まれる検索ページ情報。\",\"properties\":{\"is_broad_query\":{\"type\":\"boolean\",\"description\":\"Xiaohongshuはこのクエリを広範囲にわたるものとしてマークしますか。\"},\"show_single_col\":{\"type\":\"boolean\",\"description\":\"レスポンスが結果を単一列表示としてマークしますか。\"}}}}}}},\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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/v4\"")' />

<p>モバイルアプリの検索フローを通じて、ページング、ソート、ノートタイプ、時間フィルターを使用してXiaohongshu (RedNote)のノートを検索します。これを使用して、反復的なトピック研究とフィルタリングされたコンテンツの発見をサポートします。</p>

## ハイライト

::: tip ガイダンス
<p>これはモバイルアプリ版のエンドポイントです。検索結果の精度が高いです。</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> | ページングのページ番号。 |
| <code>sortType</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>ALL</code> | ノートのタイプフィルター。<br /><br><br>利用可能な値:<br /><br>- <code>ALL</code>: 制限なし<br /><br>- <code>VIDEO_NOTE</code>: 動画ノート<br /><br>- <code>NORMAL_NOTE</code>: 通常ノート |
| <code>timeFilter</code> | query | <code>string</code> | いいえ | <code>ALL</code> | 公開時刻の絞り込み。<br /><br><br>利用可能な値：<br /><br>- <code>ALL</code>：期間指定なし<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/v4?token=YOUR_API_KEY&keyword=VALUE'
```

```text [🤖 AIプロンプト]
私はJustOneAPIの"ノート検索 (V4)" APIを使用したいです。
基本URL: https://api.justoneapi.com.
APIパス: /api/xiaohongshu/search-note/v4?token=YOUR_API_KEY&keyword=VALUE
APIエンドポイント: BASE_URL + /api/xiaohongshu/search-note/v4?token=YOUR_API_KEY&keyword=VALUE
HTTPメソッド: GET
認証: "token"クエリパラメーターをURLに追加します。
OpenAPI定義: https://docs.justoneapi.com/openapi/xiaohongshu-rednote/note-search-v4-ja.json

パラメーター:
- token (query): このAPIサービスのアクセストークン。 (必須)
- keyword (query): 検索キーワード。 (必須)
- page (query): ページングのページ番号。
- sortType (query): 結果セットのソート順序。

利用可能な値:
- `general`: 一般
- `popularity_descending`: 人気順降順
- `time_descending`: 時間順降順
- `comment_descending`: コメント順降順
- `collect_descending`: 収集順降順
- noteType (query): ノートのタイプフィルター。

利用可能な値:
- `ALL`: 制限なし
- `VIDEO_NOTE`: 動画ノート
- `NORMAL_NOTE`: 通常ノート
- timeFilter (query): 公開時刻の絞り込み。

利用可能な値：
- `ALL`：期間指定なし
- `ONE_DAY`：一日以内
- `ONE_WEEK`：一週間以内
- `HALF_YEAR`：半年以内

返信形式：実際のContent-Typeに応じて、JSONまたはテキストを安全に処理する。

レスポンスの処理とエラーコード：
1. API の処理結果はレスポンス本文の「code」フィールドで判定します。code が 0 なら成功です。
2. 推奨タイムアウト：リクエストのタイムアウトは 120 秒に設定してください。120 秒が長すぎる場合でも、最低 60 秒を確保してください。一部のリクエストは、結果を受け取る前にタイムアウトすることがあります。
3. 処理結果コード：
   - 0: 成功
   - 100: 無効または停止中のトークン
   - 301: データの取得に失敗しました。再試行してください。
   - 302: 呼び出し頻度の上限を超えました
   - 303: 日次の利用上限を超えました
   - 400: パラメーターが無効です
   - 500: サーバー内部エラー
   - 600: アクセス権限がありません
   - 601: 残高不足
   - 602: トークンの予算上限に達しました
4. コード 601 はアカウントの共有残高不足を示します。コード 602 は使用中の API トークン固有の累積予算上限に達したことを示します。トークンに予算上限を設定しても、共有残高から資金が移動することはありません。

お手伝いください。私が好むプログラミング言語でこのAPIを呼び出し、レスポンスを処理するスクリプトを作成してください。
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # オープンAPIサーバーによって提供される

url = BASE_URL + "/api/xiaohongshu/search-note/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"; // オープンAPIサーバーによって提供される
const url = BASE_URL + "/api/xiaohongshu/search-note/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"; // オープンAPIサーバーによって提供される
        final String url = BASE_URL + "/api/xiaohongshu/search-note/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" // オープンAPIサーバーによって提供される

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/xiaohongshu/search-note/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'; // オープンAPIサーバーによって提供される
$url = $BASE_URL . '/api/xiaohongshu/search-note/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/xiaohongshu-rednote/note-search-v4-ja.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> | シャオホンシューショップのノート検索結果の一ページとレスポンス統計。 |
| <code>data.notes</code> | <code>array</code> | 要求されたページに対する返される結果についての注記。 |
| <code>data.notes[]</code> | <code>object</code> | Xiaohongshuのノート検索結果の一つ。 |
| <code>data.notes[].id</code> | <code>string</code> | XiaohongshuのノートIDが文字列として返される。 |
| <code>data.notes[].title</code> | <code>string</code> | 検索結果に返されるノートのタイトル。空になることがあります。 |
| <code>data.notes[].desc</code> | <code>string</code> | 検索結果に返されるノートの説明。 |
| <code>data.notes[].type</code> | <code>string</code> | ノートのタイプラベル。画像やテキストのノートには通常の値が、ビデオのノートにはビデオの値が観察されます。 |
| <code>data.notes[].timestamp</code> | <code>integer</code> | ノートの公開時間がUnixタイムスタンプで秒数で表される。 |
| <code>data.notes[].last_update_time</code> | <code>integer</code> | 正の場合はUnixタイムスタンプで秒単位の最終更新時間。このフィールドにはゼロも含まれることがある。 |
| <code>data.notes[].liked_count</code> | <code>integer</code> | ノートの「いいね」数。 |
| <code>data.notes[].comments_count</code> | <code>integer</code> | ノートの「コメント数」。 |
| <code>data.notes[].collected_count</code> | <code>integer</code> | ノートの「保存数」。 |
| <code>data.notes[].shared_count</code> | <code>integer</code> | ノートに対する共有数の報告。 |
| <code>data.notes[].liked</code> | <code>boolean</code> | 現在の表示状況でノートが「好き」としてマークされているかどうか。 |
| <code>data.notes[].collected</code> | <code>boolean</code> | 現在の表示状況でノートが「保存済み」としてマークされているかどうか。 |
| <code>data.notes[].has_music</code> | <code>boolean</code> | 検索結果がノートに音楽があるとマークしているかどうか。 |
| <code>data.notes[].tags</code> | <code>array</code> | このノートに対するタグが返される。リストは空になることがある。 |
| <code>data.notes[].geo_info</code> | <code>object</code> | ノートと共に返される位置情報の表示。 |
| <code>data.notes[].geo_info.distance</code> | <code>string</code> | 距離の表示テキストで、空になることがある。 |
| <code>data.notes[].user</code> | <code>object</code> | ノート結果に付随する公開著者情報。 |
| <code>data.notes[].user.userid</code> | <code>string</code> | ノートの著者のXiaohongshuユーザーIDが文字列として返される。 |
| <code>data.notes[].user.red_id</code> | <code>string</code> | ノートの著者の公開Xiaohongshuアカウントハンドル。 |
| <code>data.notes[].user.nickname</code> | <code>string</code> | ノートの著者の公開表示名。 |
| <code>data.notes[].user.images</code> | <code>string</code> | ノートの著者に提供されるプロフィール画像のURL。 |
| <code>data.notes[].user.red_official_verified</code> | <code>boolean</code> | 検索結果が著者を公式に認証済みとしてマークしているかどうか。 |
| <code>data.notes[].user.followed</code> | <code>boolean</code> | 検索結果が著者を現在の表示状況でフォローしているとマークしているかどうか。 |
| <code>data.notes[].images_list</code> | <code>array</code> | 検索結果の画像エントリで、ビデオのノートのカバー画像を含む。 |
| <code>data.notes[].images_list[]</code> | <code>object</code> | 検索結果に付随する画像エントリの一つ。 |
| <code>data.notes[].images_list[].fileid</code> | <code>string</code> | 画像ファイルの識別子が返される。 |
| <code>data.notes[].images_list[].height</code> | <code>integer</code> | 画像のピクセル単位の高さ。 |
| <code>data.notes[].images_list[].width</code> | <code>integer</code> | 画像のピクセル単位の幅。 |
| <code>data.notes[].images_list[].url</code> | <code>string</code> | 標準URLフィールド内の画像URL。空の場合もあります。 |
| <code>data.notes[].images_list[].url_size_large</code> | <code>string</code> | より大きな画像のためのURL。 |
| <code>data.notes[].images_list[].original</code> | <code>string</code> | 元の画像URLフィールド。空の場合もあります。 |
| <code>data.notes[].images_list[].need_load_original_image</code> | <code>boolean</code> | 画像が元の画像に追加の読み込みを必要とするようにマークされているかどうか。 |
| <code>data.notes[].images_list[].live_photo_file_id</code> | <code>string</code> | ライブフォトに添付されたファイル識別子（提供されている場合）。 |
| <code>data.notes[].images_list[].live_photo</code> | <code>object</code> | 画像に添付されたライブフォトの動き情報（利用可能な場合）。 |
| <code>data.notes[].images_list[].live_photo.media</code> | <code>object</code> | ライブフォトに対して返される動きメディア情報。 |
| <code>data.notes[].images_list[].live_photo.media.video_id</code> | <code>integer</code> | ライブフォトの動きメディアに対して報告される数値ID。 |
| <code>data.notes[].images_list[].live_photo.media.video</code> | <code>object</code> | ライブフォトの動きクリップのビデオメタデータ。 |
| <code>data.notes[].images_list[].live_photo.media.video.width</code> | <code>integer</code> | 動きクリップのビデオフレームの幅が報告される値。 |
| <code>data.notes[].images_list[].live_photo.media.video.height</code> | <code>integer</code> | 動きクリップのビデオフレームの高さが報告される値。 |
| <code>data.notes[].images_list[].live_photo.media.video.duration</code> | <code>integer</code> | ライブフォトの動きクリップのビデオ持続時間が報告される値。 |
| <code>data.notes[].images_list[].live_photo.media.video.hdr_type</code> | <code>integer</code> | 動きクリップのHDRタイプが報告される数値。 |
| <code>data.notes[].images_list[].live_photo.media.video.drm_type</code> | <code>integer</code> | 動きクリップのDRMタイプが報告される数値。 |
| <code>data.notes[].images_list[].live_photo.media.stream</code> | <code>object</code> | ビデオコーデック別にグループ化されたライブフォトの再生バリアント。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h264</code> | <code>array</code> | H.264バリアントに対して返されるリスト。空の場合もあります。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265</code> | <code>array</code> | ライブフォトに対して返されるH.265バリアントのリスト。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[]</code> | <code>object</code> | ライブ写真のH.265再生バリアント。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].master_url</code> | <code>string</code> | このライブフォトストリームの主要な再生URL。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].backup_urls</code> | <code>array</code> | このライブフォトストリームのバックアップ再生URL。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].backup_urls[]</code> | <code>string</code> | このストリームのバックアップ再生URL。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].width</code> | <code>integer</code> | ビデオフレームのピクセル単位の幅。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].height</code> | <code>integer</code> | ビデオフレームのピクセル単位の高さ。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].format</code> | <code>string</code> | ストリームに関するメディアコンテナ形式が報告されています。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].quality_type</code> | <code>string</code> | このストリームに関する品質ラベルが報告されています。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].stream_type</code> | <code>integer</code> | このバリアントに関する数値的なストリームタイプが報告されています。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].stream_desc</code> | <code>string</code> | このストリームバリアントに関する説明が提供されています。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].default_stream</code> | <code>integer</code> | デフォルトのストリームを示す数値フラグが報告されています。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].fps</code> | <code>integer</code> | ストリームに関するビデオフレームレートが報告されています。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].duration</code> | <code>integer</code> | Xiaohongshuが報告するストリームの持続時間値。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].video_duration</code> | <code>integer</code> | ストリームに関するビデオトラックの持続時間値が報告されています。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].audio_duration</code> | <code>integer</code> | ストリームに関するオーディオトラックの持続時間値が報告されています。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].video_codec</code> | <code>string</code> | ストリームに関するビデオコーデック識別子が返されました。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].audio_codec</code> | <code>string</code> | ストリームに関するオーディオコーデック識別子が返されました（提供された場合）。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].audio_channels</code> | <code>integer</code> | ストリームに関するオーディオチャンネル数が報告されています。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].video_bitrate</code> | <code>integer</code> | ストリームで報告されたビデオビットレート値。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].audio_bitrate</code> | <code>integer</code> | ストリームで報告されたオーディオビットレート値。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].avg_bitrate</code> | <code>integer</code> | ストリームで報告された平均ビットレート値。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].hdrType</code> | <code>integer</code> | このストリームに関する数値的なHDRタイプが報告されています。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h266</code> | <code>array</code> | H.266バリアントに関するリストが返されました。空になる可能性があります。 |
| <code>data.notes[].images_list[].live_photo.media.stream.av1</code> | <code>array</code> | AV1バリアントに関するリストが返されました。空になる可能性があります。 |
| <code>data.ads</code> | <code>array</code> | 結果ページに含まれる広告エントリーが返されました。リストは空になる可能性があります。 |
| <code>data.recommend_queries</code> | <code>array</code> | 結果ページに含まれる推奨される検索クエリが返されました。リストは空になる可能性があります。 |
| <code>data.total</code> | <code>integer</code> | この応答に関する結果項目の数が報告されています。 |
| <code>data.has_more</code> | <code>boolean</code> | 検索応答が別のページが利用可能であることを示しているかどうか。 |
| <code>data.statistics</code> | <code>object</code> | この応答に関する項目数の詳細が報告されています。 |
| <code>data.statistics.total_items</code> | <code>integer</code> | 応答統計情報に報告される総項目数。 |
| <code>data.statistics.note_count</code> | <code>integer</code> | 応答統計情報に報告される通常のノートの数。 |
| <code>data.statistics.video_count</code> | <code>integer</code> | 応答統計情報に報告されるビデオノートの数。 |
| <code>data.statistics.ads_count</code> | <code>integer</code> | 応答統計情報に報告される広告エントリーの数。 |
| <code>data.statistics.recommend_count</code> | <code>integer</code> | 応答統計情報に報告される推奨される検索クエリの数。 |
| <code>data.search_meta</code> | <code>object</code> | 結果に含まれる検索ページ情報。 |
| <code>data.search_meta.is_broad_query</code> | <code>boolean</code> | Xiaohongshuはこのクエリを広範囲にわたるものとしてマークしますか。 |
| <code>data.search_meta.show_single_col</code> | <code>boolean</code> | レスポンスが結果を単一列表示としてマークしますか。 |

</div>

## レスポンス例

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

