{
  "openapi": "3.1.0",
  "info": {
    "title": "小紅書電商商品搜索 API (V1)",
    "version": "v0",
    "description": "按關鍵詞搜索小紅書電商商品，使用分頁和搜索ID分頁；第一頁之後的頁面需要初始搜索返回的搜索ID。用於發現市場商品並翻頁查看多頁結果。"
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "全球生產 API（預設）"
    }
  ],
  "tags": [
    {
      "name": "小紅書電商",
      "description": "小紅書電商商品搜索，用於通過關鍵詞發現市場商品。",
      "x-platform-id": "xiaohongshu-e-commerce-rednote",
      "x-platform-aliases": [
        "Xiaohongshu E-commerce",
        "RedNote E-commerce",
        "Xiaohongshu product search",
        "RedNote product search",
        "小红书电商",
        "小红书商品搜索"
      ],
      "x-platform-detection-aliases": [
        "Xiaohongshu E-commerce",
        "RedNote E-commerce",
        "Xiaohongshu product search",
        "RedNote product search",
        "小红书电商",
        "小红书商品搜索"
      ]
    }
  ],
  "paths": {
    "/api/xiaohongshu-ec/search-products/v1": {
      "get": {
        "tags": [
          "小紅書電商"
        ],
        "summary": "商品搜索",
        "description": "按關鍵詞搜索小紅書電商商品，使用分頁和搜索ID分頁；第一頁之後的頁面需要初始搜索返回的搜索ID。用於發現市場商品並翻頁查看多頁結果。",
        "operationId": "getApiXiaohongshuEcSearchProductsV1",
        "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": "頁碼，從1開始。",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchId",
            "in": "query",
            "description": "首頁回應返回的搜索ID；當頁碼大於1時必需。",
            "required": false,
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "好的",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "description": "小紅書電商返回的商品搜索結果及分頁信息。",
                        "properties": {
                          "search_id": {
                            "type": "string",
                            "description": "本次搜索返回的搜索 ID。使用同一關鍵詞請求後續頁時，請原樣傳給 searchId。"
                          },
                          "page": {
                            "type": "integer",
                            "description": "本次搜索回應返回的頁碼。"
                          },
                          "next_page": {
                            "type": "integer",
                            "description": "搜索返回的下一頁頁碼。請求該頁時複用搜索 ID。"
                          },
                          "success": {
                            "type": "boolean",
                            "description": "搜索結果是否標記為成功。"
                          },
                          "code": {
                            "type": "integer",
                            "description": "搜索結果內部返回的狀態碼。"
                          },
                          "msg": {
                            "type": "string",
                            "description": "搜索結果內部返回的狀態消息。"
                          },
                          "data": {
                            "type": "object",
                            "description": "搜索結果卡片及其排序信息。",
                            "properties": {
                              "module": {
                                "type": "object",
                                "description": "當前頁返回的搜索結果卡片。",
                                "properties": {
                                  "data": {
                                    "type": "array",
                                    "description": "搜索結果卡片列表，可能同時包含商品卡片和獨立的相關搜索卡片。",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "description": "結果卡片在頁面佈局中的標識。"
                                        },
                                        "card_name": {
                                          "type": "string",
                                          "description": "返回的結果卡片名稱。"
                                        },
                                        "card_type": {
                                          "type": "string",
                                          "description": "返回的結果卡片類型。"
                                        },
                                        "content": {
                                          "type": "object",
                                          "description": "卡片內容。商品卡片可返回商品欄位，相關搜索卡片可返回 scene_keywords。",
                                          "properties": {
                                            "id": {
                                              "type": "string",
                                              "description": "卡片內容的標識。對商品卡片，此欄位為商品 ID。"
                                            },
                                            "title": {
                                              "type": "string",
                                              "description": "卡片上顯示的商品標題。"
                                            },
                                            "goods_type": {
                                              "type": "string",
                                              "description": "搜索返回的商品類型。"
                                            },
                                            "stock_status": {
                                              "type": "integer",
                                              "description": "返回的商品庫存狀態碼。"
                                            },
                                            "link": {
                                              "type": "string",
                                              "description": "打開小紅書商品的應用內連結。"
                                            },
                                            "image": {
                                              "type": "array",
                                              "description": "搜索卡片上顯示的商品圖片。",
                                              "items": {
                                                "type": "object",
                                                "properties": {
                                                  "url": {
                                                    "type": "string",
                                                    "description": "圖片連結。"
                                                  },
                                                  "width": {
                                                    "type": "integer",
                                                    "description": "返回的圖片寬度。"
                                                  },
                                                  "height": {
                                                    "type": "integer",
                                                    "description": "返回的圖片高度。"
                                                  },
                                                  "aspect_ratio": {
                                                    "type": "number",
                                                    "description": "返回的商品圖片寬高比。"
                                                  }
                                                }
                                              }
                                            },
                                            "price_info": {
                                              "type": "object",
                                              "description": "商品卡片返回的價格信息。",
                                              "properties": {
                                                "price": {
                                                  "type": "number",
                                                  "description": "卡片上返回的當前商品價格。"
                                                },
                                                "origin_price": {
                                                  "type": "number",
                                                  "description": "卡片上返回的原價或參考價。"
                                                },
                                                "symbol": {
                                                  "type": "string",
                                                  "description": "顯示價格時使用的貨幣符號。"
                                                },
                                                "foreign_price": {
                                                  "type": "string",
                                                  "description": "外幣價格欄位返回的展示文本。"
                                                }
                                              }
                                            },
                                            "vendor": {
                                              "type": "object",
                                              "description": "商品卡片顯示的店鋪信息。",
                                              "properties": {
                                                "vendor_name": {
                                                  "type": "string",
                                                  "description": "店鋪的展示名稱。"
                                                },
                                                "vendor_id": {
                                                  "type": "string",
                                                  "description": "返回的商品所屬店鋪 ID。"
                                                },
                                                "seller_id": {
                                                  "type": "string",
                                                  "description": "返回的商品商家 ID。"
                                                },
                                                "vendor_type": {
                                                  "type": "string",
                                                  "description": "搜索返回的店鋪類型。"
                                                },
                                                "vendor_link": {
                                                  "type": "string",
                                                  "description": "打開小紅書店鋪的應用內連結。"
                                                }
                                              }
                                            },
                                            "scene_keywords": {
                                              "type": "array",
                                              "description": "可用時返回獨立卡片中的相關搜索詞建議。",
                                              "items": {
                                                "type": "object",
                                                "properties": {
                                                  "scene_keyword": {
                                                    "type": "string",
                                                    "description": "相關搜索詞建議的文本。"
                                                  },
                                                  "link": {
                                                    "type": "string",
                                                    "description": "打開該相關搜索的小紅書應用內連結。"
                                                  }
                                                }
                                              }
                                            },
                                            "tag_strategy_map": {
                                              "type": "object",
                                              "description": "可選的商品卡片標籤，按應用內的展示位置組織。",
                                              "properties": {
                                                "before_price": {
                                                  "type": "array",
                                                  "description": "商品價格前顯示的文本標籤。",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "type": {
                                                        "type": "string",
                                                        "description": "展示標籤的類型。"
                                                      },
                                                      "tag_type": {
                                                        "type": "integer",
                                                        "description": "展示標籤的代碼。"
                                                      },
                                                      "tag_content": {
                                                        "type": "object",
                                                        "description": "該標籤關聯的展示文本。",
                                                        "properties": {
                                                          "content": {
                                                            "type": "string",
                                                            "description": "標籤中顯示的文本。"
                                                          }
                                                        }
                                                      },
                                                      "tag_content_list": {
                                                        "type": "array",
                                                        "description": "該標籤返回的展示文本片段。",
                                                        "items": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "after_price": {
                                                  "type": "array",
                                                  "description": "商品價格後顯示的文本標籤。",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "type": {
                                                        "type": "string",
                                                        "description": "展示標籤的類型。"
                                                      },
                                                      "tag_type": {
                                                        "type": "integer",
                                                        "description": "展示標籤的代碼。"
                                                      },
                                                      "tag_content": {
                                                        "type": "object",
                                                        "description": "該標籤關聯的展示文本。",
                                                        "properties": {
                                                          "content": {
                                                            "type": "string",
                                                            "description": "標籤中顯示的文本。"
                                                          }
                                                        }
                                                      },
                                                      "tag_content_list": {
                                                        "type": "array",
                                                        "description": "該標籤返回的展示文本片段。",
                                                        "items": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "after_shop_name": {
                                                  "type": "array",
                                                  "description": "店鋪名稱後顯示的文本標籤。",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "type": {
                                                        "type": "string",
                                                        "description": "展示標籤的類型。"
                                                      },
                                                      "tag_type": {
                                                        "type": "integer",
                                                        "description": "展示標籤的代碼。"
                                                      },
                                                      "tag_content": {
                                                        "type": "object",
                                                        "description": "該標籤關聯的展示文本。",
                                                        "properties": {
                                                          "content": {
                                                            "type": "string",
                                                            "description": "標籤中顯示的文本。"
                                                          }
                                                        }
                                                      },
                                                      "tag_content_list": {
                                                        "type": "array",
                                                        "description": "該標籤返回的展示文本片段。",
                                                        "items": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "upon_title": {
                                                  "type": "array",
                                                  "description": "商品標題上方顯示的文本標籤。",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "type": {
                                                        "type": "string",
                                                        "description": "展示標籤的類型。"
                                                      },
                                                      "tag_type": {
                                                        "type": "integer",
                                                        "description": "展示標籤的代碼。"
                                                      },
                                                      "tag_content": {
                                                        "type": "object",
                                                        "description": "該標籤關聯的展示文本。",
                                                        "properties": {
                                                          "content": {
                                                            "type": "string",
                                                            "description": "標籤中顯示的文本。"
                                                          }
                                                        }
                                                      },
                                                      "tag_content_list": {
                                                        "type": "array",
                                                        "description": "該標籤返回的展示文本片段。",
                                                        "items": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "behavior": {
                                                  "type": "array",
                                                  "description": "商品卡片返回的行為提示標籤。",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "type": {
                                                        "type": "string",
                                                        "description": "展示標籤的類型。"
                                                      },
                                                      "tag_type": {
                                                        "type": "integer",
                                                        "description": "展示標籤的代碼。"
                                                      },
                                                      "tag_content": {
                                                        "type": "object",
                                                        "description": "該標籤關聯的展示文本。",
                                                        "properties": {
                                                          "content": {
                                                            "type": "string",
                                                            "description": "標籤中顯示的文本。"
                                                          }
                                                        }
                                                      },
                                                      "tag_content_list": {
                                                        "type": "array",
                                                        "description": "該標籤返回的展示文本片段。",
                                                        "items": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "before_title": {
                                                  "type": "array",
                                                  "description": "商品標題前顯示的標籤。",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "type": {
                                                        "type": "string",
                                                        "description": "展示標籤的類型。"
                                                      },
                                                      "tag_type": {
                                                        "type": "integer",
                                                        "description": "展示標籤的代碼。"
                                                      },
                                                      "tag_image": {
                                                        "type": "object",
                                                        "description": "標籤中使用的圖片。",
                                                        "properties": {
                                                          "url": {
                                                            "type": "string",
                                                            "description": "圖片連結。"
                                                          },
                                                          "width": {
                                                            "type": "integer",
                                                            "description": "返回的圖片寬度。"
                                                          },
                                                          "height": {
                                                            "type": "integer",
                                                            "description": "返回的圖片高度。"
                                                          }
                                                        }
                                                      }
                                                    }
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              "hierarchy": {
                                "type": "object",
                                "description": "搜索結果的佈局和分頁指示。",
                                "properties": {
                                  "common": {
                                    "type": "object",
                                    "description": "搜索佈局的公共信息。",
                                    "properties": {
                                      "load_more": {
                                        "type": "boolean",
                                        "description": "返回的佈局是否表示可以繼續加載結果。"
                                      }
                                    }
                                  },
                                  "structure": {
                                    "type": "object",
                                    "description": "結果佈局中的卡片排列。",
                                    "properties": {
                                      "root": {
                                        "type": "array",
                                        "description": "按根佈局順序排列的結果卡片 ID，對應 module.data 中的卡片 ID。",
                                        "items": {
                                          "type": "string"
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "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": "12501000",
        "x-api-version": "v1",
        "x-docs-slug": "product-search-v1",
        "x-search-aliases": [
          "Xiaohongshu ecommerce product search",
          "RedNote product search",
          "Xiaohongshu marketplace keyword search",
          "小红书电商商品搜索",
          "小红书商城关键词搜索",
          "小红书商品查询"
        ],
        "x-highlights": [],
        "x-endpoint-family": "xiaohongshu_ec_search_products"
      }
    }
  }
}