{
  "openapi": "3.1.0",
  "info": {
    "title": "小紅書筆記搜索 API (V4)",
    "version": "v0",
    "description": "通過移動應用搜索流程搜索小紅書（RedNote）筆記，支持分頁、排序、筆記類型和時間篩選。用於支持迭代式主題研究和篩選內容發現。"
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "全球生產 API（預設）"
    }
  ],
  "tags": [
    {
      "name": "小紅書",
      "description": "小紅書筆記、評論、用戶、搜索和連結解析，用於內容監控和創作者研究。",
      "x-platform-id": "xiaohongshu-rednote",
      "x-platform-aliases": [
        "Xiaohongshu",
        "RedNote",
        "小红书"
      ],
      "x-platform-detection-aliases": [
        "Xiaohongshu",
        "RedNote",
        "小红书"
      ]
    }
  ],
  "paths": {
    "/api/xiaohongshu/search-note/v4": {
      "get": {
        "tags": [
          "小紅書"
        ],
        "summary": "筆記搜索",
        "description": "通過移動應用搜索流程搜索小紅書（RedNote）筆記，支持分頁、排序、筆記類型和時間篩選。用於支持迭代式主題研究和篩選內容發現。",
        "operationId": "getApiXiaohongshuSearchNoteV4",
        "parameters": [
          {
            "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"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "好的",
            "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": "一條小紅書筆記搜索結果。",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "以字符串返回的小紅書筆記 ID。"
                                },
                                "title": {
                                  "type": "string",
                                  "description": "搜索結果返回的筆記標題，可能為空字符串。"
                                },
                                "desc": {
                                  "type": "string",
                                  "description": "搜索結果返回的筆記描述。"
                                },
                                "type": {
                                  "type": "string",
                                  "description": "筆記類型標籤。已觀察到 normal 表示圖文筆記，video 表示視頻筆記。"
                                },
                                "timestamp": {
                                  "type": "integer",
                                  "description": "筆記發佈時間，以 Unix 秒時間戳表示。"
                                },
                                "last_update_time": {
                                  "type": "integer",
                                  "description": "值為正數時表示筆記更新時間，Unix 時間戳，單位為秒。也可能返回 0。"
                                },
                                "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": "以字符串返回的筆記作者小紅書用戶 ID。"
                                    },
                                    "red_id": {
                                      "type": "string",
                                      "description": "筆記作者公開的小紅書號。"
                                    },
                                    "nickname": {
                                      "type": "string",
                                      "description": "筆記作者的公開暱稱。"
                                    },
                                    "images": {
                                      "type": "string",
                                      "description": "返回的筆記作者頭像地址。"
                                    },
                                    "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_size_large": {
                                        "type": "string",
                                        "description": "較大尺寸版本的圖片地址。"
                                      },
                                      "original": {
                                        "type": "string",
                                        "description": "原圖地址欄位，可能為空字符串。"
                                      },
                                      "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": "該實況照片流返回的主要播放地址。"
                                                        },
                                                        "backup_urls": {
                                                          "type": "array",
                                                          "description": "該實況照片流返回的備用播放地址列表。",
                                                          "items": {
                                                            "type": "string",
                                                            "description": "該播放流的一個備用播放地址。"
                                                          }
                                                        },
                                                        "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": "小紅書返回的流時長數值。"
                                                        },
                                                        "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": "小紅書是否將此搜索標記為寬泛搜索。"
                              },
                              "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"
                                },
                                "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"
                  ]
                }
              }
            }
          }
        },
        "x-order": "12001120",
        "x-api-version": "v4",
        "x-docs-slug": "note-search-v4",
        "x-search-aliases": [
          "Xiaohongshu app note search API",
          "RedNote mobile note search",
          "Xiaohongshu note search v4",
          "小红书 App 笔记搜索",
          "小红书移动端内容搜索",
          "小红书笔记搜索 V4"
        ],
        "x-highlights": [
          {
            "type": "tip",
            "kind": "GUIDANCE",
            "content": "這是移動應用版本接口。搜索結果更準確。"
          }
        ],
        "x-endpoint-family": "xiaohongshu_search_note"
      }
    }
  }
}