{
  "openapi": "3.1.0",
  "info": {
    "title": "Thương mại điện tử Xiaohongshu (RedNote) Tìm kiếm sản phẩm API (V1)",
    "version": "v0",
    "description": "Tìm kiếm sản phẩm trên nền tảng thương mại điện tử Xiaohongshu (RedNote) bằng từ khóa, với chức năng phân trang theo trang và ID tìm kiếm; các trang sau cần có ID tìm kiếm được trả về từ lần tìm kiếm đầu tiên. Sử dụng để khám phá các sản phẩm trên thị trường và tiếp tục xem kết quả trên nhiều trang."
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "API sản xuất toàn cục (mặc định)"
    }
  ],
  "tags": [
    {
      "name": "Thương mại điện tử Xiaohongshu (RedNote)",
      "description": "Tìm sản phẩm trên sàn thương mại điện tử Xiaohongshu theo từ khóa.",
      "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": [
          "Thương mại điện tử Xiaohongshu (RedNote)"
        ],
        "summary": "Tìm kiếm sản phẩm",
        "description": "Tìm kiếm sản phẩm trên nền tảng thương mại điện tử Xiaohongshu (RedNote) bằng từ khóa, với chức năng phân trang theo trang và ID tìm kiếm; các trang sau cần có ID tìm kiếm được trả về từ lần tìm kiếm đầu tiên. Sử dụng để khám phá các sản phẩm trên thị trường và tiếp tục xem kết quả trên nhiều trang.",
        "operationId": "getApiXiaohongshuEcSearchProductsV1",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "Token xác thực cho dịch vụ API này.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "description": "Từ khóa tìm kiếm.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Số trang, bắt đầu từ 1.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchId",
            "in": "query",
            "description": "ID tìm kiếm trả về từ phản hồi trang đầu tiên; cần thiết khi số trang lớn hơn 1.",
            "required": false,
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "description": "Kết quả tìm kiếm sản phẩm và thông tin phân trang được trả về bởi RedNote E-commerce.",
                        "properties": {
                          "search_id": {
                            "type": "string",
                            "description": "ID tìm kiếm được trả về cho lần tìm kiếm này. Truyền nó không thay đổi như searchId khi yêu cầu các trang tiếp theo với cùng từ khóa."
                          },
                          "page": {
                            "type": "integer",
                            "description": "Số trang được báo cáo cho phản hồi tìm kiếm hiện tại."
                          },
                          "next_page": {
                            "type": "integer",
                            "description": "Số trang tiếp theo được trả về bởi tìm kiếm. Khi yêu cầu, sử dụng lại ID tìm kiếm."
                          },
                          "success": {
                            "type": "boolean",
                            "description": "Liệu payload có báo cáo kết quả tìm kiếm thành công hay không."
                          },
                          "code": {
                            "type": "integer",
                            "description": "Mã trạng thái được báo cáo bên trong payload tìm kiếm."
                          },
                          "msg": {
                            "type": "string",
                            "description": "Thông báo trạng thái được báo cáo bên trong payload tìm kiếm."
                          },
                          "data": {
                            "type": "object",
                            "description": "Thẻ kết quả tìm kiếm và thông tin sắp xếp của chúng.",
                            "properties": {
                              "module": {
                                "type": "object",
                                "description": "Thẻ kết quả tìm kiếm được trả về cho trang hiện tại.",
                                "properties": {
                                  "data": {
                                    "type": "array",
                                    "description": "Thẻ kết quả tìm kiếm. Danh sách này có thể chứa thẻ sản phẩm và thẻ từ khóa liên quan.",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "description": "Định danh của thẻ kết quả trong bố cục trang."
                                        },
                                        "card_name": {
                                          "type": "string",
                                          "description": "Tên của thẻ kết quả như được hiển thị."
                                        },
                                        "card_type": {
                                          "type": "string",
                                          "description": "Loại của thẻ kết quả như được hiển thị."
                                        },
                                        "content": {
                                          "type": "object",
                                          "description": "Nội dung thẻ. Các trường sản phẩm có mặt trên thẻ sản phẩm. Thẻ từ khóa liên quan có thể chứa scene_keywords.",
                                          "properties": {
                                            "id": {
                                              "type": "string",
                                              "description": "Định danh của nội dung thẻ. Trên thẻ sản phẩm, đây là ID sản phẩm."
                                            },
                                            "title": {
                                              "type": "string",
                                              "description": "Tiêu đề sản phẩm được hiển thị trên thẻ."
                                            },
                                            "goods_type": {
                                              "type": "string",
                                              "description": "Loại sản phẩm được báo cáo bởi kết quả tìm kiếm."
                                            },
                                            "stock_status": {
                                              "type": "integer",
                                              "description": "Mã trạng thái hàng tồn kho được báo cáo cho sản phẩm."
                                            },
                                            "link": {
                                              "type": "string",
                                              "description": "Liên kết ứng dụng RedNote cho sản phẩm."
                                            },
                                            "image": {
                                              "type": "array",
                                              "description": "Hình ảnh sản phẩm được hiển thị trên thẻ tìm kiếm.",
                                              "items": {
                                                "type": "object",
                                                "properties": {
                                                  "url": {
                                                    "type": "string",
                                                    "description": "URL hình ảnh."
                                                  },
                                                  "width": {
                                                    "type": "integer",
                                                    "description": "Chiều rộng của hình ảnh được báo cáo."
                                                  },
                                                  "height": {
                                                    "type": "integer",
                                                    "description": "Chiều cao của hình ảnh được báo cáo."
                                                  },
                                                  "aspect_ratio": {
                                                    "type": "number",
                                                    "description": "Tỷ lệ chiều rộng so với chiều cao của hình ảnh sản phẩm."
                                                  }
                                                }
                                              }
                                            },
                                            "price_info": {
                                              "type": "object",
                                              "description": "Thông tin giá được hiển thị trên thẻ sản phẩm.",
                                              "properties": {
                                                "price": {
                                                  "type": "number",
                                                  "description": "Giá hiện tại của sản phẩm được hiển thị trên thẻ."
                                                },
                                                "origin_price": {
                                                  "type": "number",
                                                  "description": "Giá gốc hoặc giá tham chiếu được hiển thị trên thẻ."
                                                },
                                                "symbol": {
                                                  "type": "string",
                                                  "description": "Ký hiệu tiền tệ được sử dụng cho giá hiển thị."
                                                },
                                                "foreign_price": {
                                                  "type": "string",
                                                  "description": "Văn bản hiển thị giá được trả về trong trường foreign-price."
                                                }
                                              }
                                            },
                                            "vendor": {
                                              "type": "object",
                                              "description": "Thông tin cửa hàng được hiển thị trên thẻ sản phẩm.",
                                              "properties": {
                                                "vendor_name": {
                                                  "type": "string",
                                                  "description": "Tên hiển thị của cửa hàng."
                                                },
                                                "vendor_id": {
                                                  "type": "string",
                                                  "description": "ID cửa hàng được trả về cho sản phẩm."
                                                },
                                                "seller_id": {
                                                  "type": "string",
                                                  "description": "ID người bán được trả về cho sản phẩm."
                                                },
                                                "vendor_type": {
                                                  "type": "string",
                                                  "description": "Loại cửa hàng được báo cáo bởi kết quả tìm kiếm."
                                                },
                                                "vendor_link": {
                                                  "type": "string",
                                                  "description": "Liên kết ứng dụng RedNote cho cửa hàng."
                                                }
                                              }
                                            },
                                            "scene_keywords": {
                                              "type": "array",
                                              "description": "Giả thuyết từ khóa liên quan được trả về trên thẻ riêng, nếu có.",
                                              "items": {
                                                "type": "object",
                                                "properties": {
                                                  "scene_keyword": {
                                                    "type": "string",
                                                    "description": "Văn bản đề xuất từ khóa liên quan."
                                                  },
                                                  "link": {
                                                    "type": "string",
                                                    "description": "Liên kết mở ứng dụng RedNote với từ khóa liên quan."
                                                  }
                                                }
                                              }
                                            },
                                            "tag_strategy_map": {
                                              "type": "object",
                                              "description": "Tiêu đề thẻ sản phẩm tùy chọn, được phân loại theo vị trí trong ứng dụng.",
                                              "properties": {
                                                "before_price": {
                                                  "type": "array",
                                                  "description": "Tiêu đề văn bản được hiển thị trước giá sản phẩm.",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "type": {
                                                        "type": "string",
                                                        "description": "Loại tiêu đề hiển thị."
                                                      },
                                                      "tag_type": {
                                                        "type": "integer",
                                                        "description": "Mã tiêu đề hiển thị."
                                                      },
                                                      "tag_content": {
                                                        "type": "object",
                                                        "description": "Văn bản được hiển thị liên quan đến tiêu đề.",
                                                        "properties": {
                                                          "content": {
                                                            "type": "string",
                                                            "description": "Văn bản được hiển thị trong tiêu đề."
                                                          }
                                                        }
                                                      },
                                                      "tag_content_list": {
                                                        "type": "array",
                                                        "description": "Các đoạn văn bản được hiển thị liên quan đến tiêu đề.",
                                                        "items": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "after_price": {
                                                  "type": "array",
                                                  "description": "Tiêu đề văn bản được hiển thị sau giá sản phẩm.",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "type": {
                                                        "type": "string",
                                                        "description": "Loại tiêu đề hiển thị."
                                                      },
                                                      "tag_type": {
                                                        "type": "integer",
                                                        "description": "Mã tiêu đề hiển thị."
                                                      },
                                                      "tag_content": {
                                                        "type": "object",
                                                        "description": "Văn bản được hiển thị liên quan đến tiêu đề.",
                                                        "properties": {
                                                          "content": {
                                                            "type": "string",
                                                            "description": "Văn bản được hiển thị trong tiêu đề."
                                                          }
                                                        }
                                                      },
                                                      "tag_content_list": {
                                                        "type": "array",
                                                        "description": "Các đoạn văn bản được hiển thị liên quan đến tiêu đề.",
                                                        "items": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "after_shop_name": {
                                                  "type": "array",
                                                  "description": "Tiêu đề văn bản được hiển thị sau tên cửa hàng.",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "type": {
                                                        "type": "string",
                                                        "description": "Loại tiêu đề hiển thị."
                                                      },
                                                      "tag_type": {
                                                        "type": "integer",
                                                        "description": "Mã tiêu đề hiển thị."
                                                      },
                                                      "tag_content": {
                                                        "type": "object",
                                                        "description": "Văn bản được hiển thị liên quan đến tiêu đề.",
                                                        "properties": {
                                                          "content": {
                                                            "type": "string",
                                                            "description": "Văn bản được hiển thị trong tiêu đề."
                                                          }
                                                        }
                                                      },
                                                      "tag_content_list": {
                                                        "type": "array",
                                                        "description": "Các đoạn văn bản được hiển thị liên quan đến tiêu đề.",
                                                        "items": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "upon_title": {
                                                  "type": "array",
                                                  "description": "Tiêu đề văn bản được hiển thị phía trên tiêu đề sản phẩm.",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "type": {
                                                        "type": "string",
                                                        "description": "Loại tiêu đề hiển thị."
                                                      },
                                                      "tag_type": {
                                                        "type": "integer",
                                                        "description": "Mã tiêu đề hiển thị."
                                                      },
                                                      "tag_content": {
                                                        "type": "object",
                                                        "description": "Văn bản được hiển thị liên quan đến tiêu đề.",
                                                        "properties": {
                                                          "content": {
                                                            "type": "string",
                                                            "description": "Văn bản được hiển thị trong tiêu đề."
                                                          }
                                                        }
                                                      },
                                                      "tag_content_list": {
                                                        "type": "array",
                                                        "description": "Các đoạn văn bản được hiển thị liên quan đến tiêu đề.",
                                                        "items": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "behavior": {
                                                  "type": "array",
                                                  "description": "Tiêu đề hành vi được trả về cho thẻ sản phẩm.",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "type": {
                                                        "type": "string",
                                                        "description": "Loại tiêu đề hiển thị."
                                                      },
                                                      "tag_type": {
                                                        "type": "integer",
                                                        "description": "Mã tiêu đề hiển thị."
                                                      },
                                                      "tag_content": {
                                                        "type": "object",
                                                        "description": "Văn bản được hiển thị liên quan đến tiêu đề.",
                                                        "properties": {
                                                          "content": {
                                                            "type": "string",
                                                            "description": "Văn bản được hiển thị trong tiêu đề."
                                                          }
                                                        }
                                                      },
                                                      "tag_content_list": {
                                                        "type": "array",
                                                        "description": "Các đoạn văn bản được hiển thị liên quan đến tiêu đề.",
                                                        "items": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "before_title": {
                                                  "type": "array",
                                                  "description": "Tiêu đề được hiển thị trước tiêu đề sản phẩm.",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "type": {
                                                        "type": "string",
                                                        "description": "Loại tiêu đề hiển thị."
                                                      },
                                                      "tag_type": {
                                                        "type": "integer",
                                                        "description": "Mã tiêu đề hiển thị."
                                                      },
                                                      "tag_image": {
                                                        "type": "object",
                                                        "description": "Hình ảnh được sử dụng trong nhãn hiển thị.",
                                                        "properties": {
                                                          "url": {
                                                            "type": "string",
                                                            "description": "URL hình ảnh."
                                                          },
                                                          "width": {
                                                            "type": "integer",
                                                            "description": "Chiều rộng của hình ảnh được báo cáo."
                                                          },
                                                          "height": {
                                                            "type": "integer",
                                                            "description": "Chiều cao của hình ảnh được báo cáo."
                                                          }
                                                        }
                                                      }
                                                    }
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              "hierarchy": {
                                "type": "object",
                                "description": "Cách sắp xếp kết quả tìm kiếm và chỉ số phân trang.",
                                "properties": {
                                  "common": {
                                    "type": "object",
                                    "description": "Thông tin metadata chung về cấu trúc kết quả tìm kiếm.",
                                    "properties": {
                                      "load_more": {
                                        "type": "boolean",
                                        "description": "Liệu cấu trúc kết quả hiển thị có cho biết có thể tải thêm kết quả hay không."
                                      }
                                    }
                                  },
                                  "structure": {
                                    "type": "object",
                                    "description": "Vị trí thẻ kết quả trong cấu trúc kết quả.",
                                    "properties": {
                                      "root": {
                                        "type": "array",
                                        "description": "ID thẻ kết quả theo thứ tự trong cấu trúc gốc. Chúng tương ứng với ID trong module.data.",
                                        "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"
                                },
                                "integralNumber": {
                                  "type": "boolean"
                                },
                                "floatingPointNumber": {
                                  "type": "boolean"
                                },
                                "valueNode": {
                                  "type": "boolean"
                                },
                                "nodeType": {
                                  "type": "string",
                                  "enum": [
                                    "ARRAY",
                                    "BINARY",
                                    "BOOLEAN",
                                    "MISSING",
                                    "NULL",
                                    "NUMBER",
                                    "OBJECT",
                                    "POJO",
                                    "STRING"
                                  ]
                                },
                                "string": {
                                  "type": "boolean"
                                },
                                "missingNode": {
                                  "type": "boolean"
                                },
                                "container": {
                                  "type": "boolean"
                                },
                                "pojo": {
                                  "type": "boolean"
                                },
                                "short": {
                                  "type": "boolean"
                                },
                                "int": {
                                  "type": "boolean"
                                },
                                "long": {
                                  "type": "boolean"
                                },
                                "double": {
                                  "type": "boolean"
                                },
                                "bigDecimal": {
                                  "type": "boolean"
                                },
                                "bigInteger": {
                                  "type": "boolean"
                                },
                                "textual": {
                                  "type": "boolean",
                                  "deprecated": true
                                },
                                "boolean": {
                                  "type": "boolean"
                                },
                                "binary": {
                                  "type": "boolean"
                                },
                                "number": {
                                  "type": "boolean"
                                },
                                "embeddedValue": {
                                  "type": "boolean"
                                }
                              }
                            }
                          }
                        }
                      },
                      "required": [
                        "code",
                        "data",
                        "message",
                        "recordTime"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Các tham số hoặc nội dung yêu cầu không hợp lệ.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Tài khoản truy cập không hợp lệ hoặc không hoạt động.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Quyền truy cập bị từ chối.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "429": {
            "description": "Tốc độ yêu cầu hoặc giới hạn hàng ngày đã vượt quá.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Lỗi máy chủ nội bộ.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "503": {
            "description": "Dịch vụ tạm thời không khả dụng.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          }
        },
        "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"
      }
    }
  }
}