{
  "openapi": "3.1.0",
  "info": {
    "title": "อีคอมเมิร์ซ Xiaohongshu (RedNote) การค้นหาสินค้า API (V1)",
    "version": "v0",
    "description": "ค้นหาสินค้าใน E-commerce ของ Xiaohongshu (RedNote) โดยใช้คีย์เวิร์ด พร้อมการแบ่งหน้าและ ID การค้นหา; หน้าที่หลังหน้าแรกต้องใช้ ID การค้นหาที่ส่งกลับมาจากการค้นหาแรก ใช้เพื่อค้นหาสินค้าในตลาดและดำเนินการต่อในผลลัพธ์หลายหน้า."
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "API สำหรับการผลิตทั่วโลก (ค่าเริ่มต้น)"
    }
  ],
  "tags": [
    {
      "name": "อีคอมเมิร์ซ Xiaohongshu (RedNote)",
      "description": "การค้นหาสินค้าใน Xiaohongshu E-commerce เพื่อค้นหาสินค้าจากตลาดโดยใช้คำสำคัญ",
      "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": [
          "อีคอมเมิร์ซ Xiaohongshu (RedNote)"
        ],
        "summary": "การค้นหาสินค้า",
        "description": "ค้นหาสินค้าใน E-commerce ของ Xiaohongshu (RedNote) โดยใช้คีย์เวิร์ด พร้อมการแบ่งหน้าและ 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": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "description": "ผลการค้นหาสินค้าและข้อมูลการแบ่งหน้าที่ส่งกลับมาโดย RedNote E-commerce.",
                        "properties": {
                          "search_id": {
                            "type": "string",
                            "description": "ID การค้นหาที่ส่งกลับมาสำหรับการค้นหานี้. ส่งค่าเดิมเป็น searchId เมื่อขอหน้าถัดไปด้วยคีย์เวิร์ดเดียวกัน."
                          },
                          "page": {
                            "type": "integer",
                            "description": "หมายเลขหน้าที่รายงานสำหรับผลการค้นหาปัจจุบัน."
                          },
                          "next_page": {
                            "type": "integer",
                            "description": "หมายเลขหน้าถัดไปที่ส่งกลับมาโดยการค้นหา. เมื่อขอหมายเลขนี้ ให้ใช้ ID การค้นหาเดิม."
                          },
                          "success": {
                            "type": "boolean",
                            "description": "ว่าสาระข้อมูล (payload) รายงานการค้นหาที่สำเร็จหรือไม่."
                          },
                          "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": "ลิงก์แอป RedNote สำหรับสินค้า"
                                            },
                                            "image": {
                                              "type": "array",
                                              "description": "ภาพของสินค้าที่แสดงบนหน้าต่างแสดงผลการค้นหา",
                                              "items": {
                                                "type": "object",
                                                "properties": {
                                                  "url": {
                                                    "type": "string",
                                                    "description": "URL ของรูปภาพ."
                                                  },
                                                  "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": "ข้อความแสดงราคาที่รายงานในฟิลด์ foreign-price"
                                                }
                                              }
                                            },
                                            "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": "ลิงก์แอป RedNote สำหรับร้านค้า"
                                                }
                                              }
                                            },
                                            "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": "URL ของรูปภาพ."
                                                          },
                                                          "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 การ์ดผลการค้นหาตามลำดับในเลย์เอาต์ระดับบนสุด โดยตรงกับ ID ใน 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": "พารามิเตอร์หรือเนื้อหาของคำขอที่ไม่ถูกต้อง",
            "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": "ท่อนำข้อมูลหรือ access token ที่ไม่ถูกต้องหรือไม่มีการใช้งาน",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "403": {
            "description": "การอนุญาตถูกปฏิเสธ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "429": {
            "description": "อัตราการขอหรือจำนวนคำสั่งที่จำกัดในแต่ละวันถูกเกิน",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "ความผิดพลาดของเซิร์ฟเวอร์ภายใน",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "503": {
            "description": "บริการไม่สามารถใช้งานได้ในขณะนี้",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          }
        },
        "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"
      }
    }
  }
}