{
  "openapi": "3.1.0",
  "info": {
    "title": "Xiaohongshu (RedNote) การค้นหาโน้ต API (V4)",
    "version": "v0",
    "description": "ค้นหาโน้ตใน Xiaohongshu (RedNote) ผ่านกระบวนการค้นหาในแอปพลิเคชันมือถือ พร้อมการแบ่งหน้า การจัดเรียง ประเภทโน้ต และฟิลเตอร์เวลา ใช้เพื่อสนับสนุนการค้นหาหัวข้อซ้ำๆ และการค้นหาเนื้อหาที่มีการกรอง"
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "API สำหรับการผลิตทั่วโลก (ค่าเริ่มต้น)"
    }
  ],
  "tags": [
    {
      "name": "Xiaohongshu (RedNote)",
      "description": "ฟีดข้อมูล, คอมเมนต์, ผู้ใช้, การค้นหา และการแก้ไขลิงก์ของ Xiaohongshu สำหรับการติดตามเนื้อหาและการวิจัยเกี่ยวกับผู้สร้าง",
      "x-platform-id": "xiaohongshu-rednote",
      "x-platform-aliases": [
        "Xiaohongshu",
        "RedNote",
        "小红书"
      ],
      "x-platform-detection-aliases": [
        "Xiaohongshu",
        "RedNote",
        "小红书"
      ]
    }
  ],
  "paths": {
    "/api/xiaohongshu/search-note/v4": {
      "get": {
        "tags": [
          "Xiaohongshu (RedNote)"
        ],
        "summary": "การค้นหาโน้ต",
        "description": "ค้นหาโน้ตใน Xiaohongshu (RedNote) ผ่านกระบวนการค้นหาในแอปพลิเคชันมือถือ พร้อมการแบ่งหน้า การจัดเรียง ประเภทโน้ต และฟิลเตอร์เวลา ใช้เพื่อสนับสนุนการค้นหาหัวข้อซ้ำๆ และการค้นหาเนื้อหาที่มีการกรอง",
        "operationId": "getApiXiaohongshuSearchNoteV4",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "โทเค็นการเข้าถึงสำหรับบริการ API นี้",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "description": "คำสำคัญสำหรับการค้นหา.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "หมายเลขหน้าสำหรับการพับหน้า。",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "sortType",
            "in": "query",
            "description": "ลำดับการจัดเรียงของชุดผลลัพธ์\n\nค่าที่มีอยู่:\n- `general`: ทั่วไป\n- `popularity_descending`: ตามลำดับความนิยม\n- `time_descending`: ตามลำดับเวลา\n- `comment_descending`: ตามลำดับความคิดเห็น\n- `collect_descending`: ตามลำดับการรวบรวม",
            "required": false,
            "schema": {
              "type": "string",
              "default": "general",
              "description": "การจัดเรียงข้อความค้นหาใน Xiaohongshu",
              "enum": [
                "general",
                "popularity_descending",
                "time_descending",
                "comment_descending",
                "collect_descending"
              ]
            }
          },
          {
            "name": "noteType",
            "in": "query",
            "description": "ตัวกรองประเภทบันทึก\n\nค่าที่มีอยู่:\n- `ALL`: ไม่มีข้อจำกัด\n- `VIDEO_NOTE`: บันทึกวิดีโอ\n- `NORMAL_NOTE`: บันทึกปกติ",
            "required": false,
            "schema": {
              "type": "string",
              "default": "ALL",
              "description": "การกรองประเภทของข้อความค้นหาใน Xiaohongshu",
              "enum": [
                "ALL",
                "VIDEO_NOTE",
                "NORMAL_NOTE"
              ]
            }
          },
          {
            "name": "timeFilter",
            "in": "query",
            "description": "ตัวกรองเวลาการเผยแพร่\n\nค่าที่มีอยู่:\n- `ALL`: ไม่มีข้อจำกัด\n- `ONE_DAY`: ภายในหนึ่งวัน\n- `ONE_WEEK`: ภายในหนึ่งสัปดาห์\n- `HALF_YEAR`: ภายในครึ่งปี",
            "required": false,
            "schema": {
              "type": "string",
              "default": "ALL",
              "description": "การกรองเวลาการเผยแพร่ข้อความค้นหาใน Xiaohongshu",
              "enum": [
                "ALL",
                "ONE_DAY",
                "ONE_WEEK",
                "HALF_YEAR"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "type": "object",
                        "description": "หน้าหนึ่งของผลการค้นหาและสถิติการตอบกลับของ Xiaohongshu。",
                        "properties": {
                          "notes": {
                            "type": "array",
                            "description": "ระบุผลลัพธ์ที่ส่งกลับสำหรับหน้าเว็บที่ขอมา",
                            "items": {
                              "type": "object",
                              "description": "ผลการค้นหาโน้ตหนึ่งจาก Xiaohongshu",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID ของโน้ตจาก Xiaohongshu ที่ส่งกลับมาในรูปแบบสตริง"
                                },
                                "title": {
                                  "type": "string",
                                  "description": "ชื่อของโน้ตที่ปรากฏในการค้นหา อาจว่างเปล่า"
                                },
                                "desc": {
                                  "type": "string",
                                  "description": "คำอธิบายของโน้ตที่ปรากฏในการค้นหา"
                                },
                                "type": {
                                  "type": "string",
                                  "description": "ป้ายกำกับประเภทของโน้ต ค่าที่สังเกตได้คือปกติสำหรับโน้ตรูปภาพและข้อความ และสำหรับโน้ตวิดีโอคือวิดีโอ"
                                },
                                "timestamp": {
                                  "type": "integer",
                                  "description": "เวลาการเผยแพร่โน้ตในรูปแบบ Unix timestamp ในหน่วยวินาที"
                                },
                                "last_update_time": {
                                  "type": "integer",
                                  "description": "เวลาที่อัปเดตครั้งสุดท้ายในรูปแบบ Unix timestamp ในหน่วยวินาที หากเป็นบวก ฟิลด์นี้อาจมีค่าเป็นศูนย์ได้"
                                },
                                "liked_count": {
                                  "type": "integer",
                                  "description": "จำนวนความนิยมของโน็ตที่รายงานไว้。"
                                },
                                "comments_count": {
                                  "type": "integer",
                                  "description": "จำนวนความคิดเห็นที่รายงานไว้สำหรับโน็ต。"
                                },
                                "collected_count": {
                                  "type": "integer",
                                  "description": "จำนวนที่บันทึกไว้สำหรับโน็ต。"
                                },
                                "shared_count": {
                                  "type": "integer",
                                  "description": "จำนวนครั้งที่โน้ตถูกแชร์"
                                },
                                "liked": {
                                  "type": "boolean",
                                  "description": "โน้ตนั้นถูกแสดงว่าเป็นโน้ตที่ชื่นชอบในบริบทการดูขณะนี้หรือไม่"
                                },
                                "collected": {
                                  "type": "boolean",
                                  "description": "โน้ตนั้นถูกแสดงว่าเป็นโน้ตที่ถูกบันทึกไว้ในบริบทการดูขณะนี้หรือไม่"
                                },
                                "has_music": {
                                  "type": "boolean",
                                  "description": "โน้ตนั้นมีเสียงประกอบหรือไม่"
                                },
                                "tags": {
                                  "type": "array",
                                  "description": "คำว่าแท็กที่ปรากฏสำหรับโน้ตนี้ อาจว่างเปล่า"
                                },
                                "geo_info": {
                                  "type": "object",
                                  "description": "ข้อมูลการแสดงตำแหน่งที่ปรากฏกับโน้ต",
                                  "properties": {
                                    "distance": {
                                      "type": "string",
                                      "description": "ข้อความแสดงระยะทาง อาจว่างเปล่า"
                                    }
                                  }
                                },
                                "user": {
                                  "type": "object",
                                  "description": "ข้อมูลผู้เขียนที่เปิดเผยมาพร้อมกับผลการค้นหาโน้ต",
                                  "properties": {
                                    "userid": {
                                      "type": "string",
                                      "description": "ID ของผู้ใช้ Xiaohongshu ของผู้เขียนโน้ต ส่งกลับมาในรูปแบบสตริง"
                                    },
                                    "red_id": {
                                      "type": "string",
                                      "description": "ชื่อผู้ใช้ Xiaohongshu ที่เปิดเผยของผู้เขียนโน้ต"
                                    },
                                    "nickname": {
                                      "type": "string",
                                      "description": "ชื่อที่ปรากฏของผู้เขียนโน้ต"
                                    },
                                    "images": {
                                      "type": "string",
                                      "description": "URL ของรูปภาพโปรไฟล์ของผู้เขียนโน้ต"
                                    },
                                    "red_official_verified": {
                                      "type": "boolean",
                                      "description": "โน้ตนั้นแสดงว่าผู้เขียนได้รับการตรวจสอบอย่างเป็นทางการหรือไม่"
                                    },
                                    "followed": {
                                      "type": "boolean",
                                      "description": "โน้ตนั้นแสดงว่าผู้เขียนถูกติดตามในบริบทการดูขณะนี้หรือไม่"
                                    }
                                  }
                                },
                                "images_list": {
                                  "type": "array",
                                  "description": "รายการรูปภาพสำหรับโน้ตนี้ รวมถึงรูปปกสำหรับโน้ตวิดีโอ",
                                  "items": {
                                    "type": "object",
                                    "description": "รายการรูปภาพหนึ่งที่ปรากฏกับโน้ตนี้",
                                    "properties": {
                                      "fileid": {
                                        "type": "string",
                                        "description": "ตัวระบุที่ส่งกลับสำหรับไฟล์รูปภาพ"
                                      },
                                      "height": {
                                        "type": "integer",
                                        "description": "ความสูงของภาพในพิกเซล"
                                      },
                                      "width": {
                                        "type": "integer",
                                        "description": "ความกว้างของภาพในพิกเซล"
                                      },
                                      "url": {
                                        "type": "string",
                                        "description": "URL ของภาพในฟิลด์ URL มาตรฐาน ซึ่งอาจว่างเปล่า"
                                      },
                                      "url_size_large": {
                                        "type": "string",
                                        "description": "URL ของภาพสำหรับการดูภาพในรูปแบบที่ใหญ่ขึ้น"
                                      },
                                      "original": {
                                        "type": "string",
                                        "description": "URL ของภาพต้นฉบับ ซึ่งอาจว่างเปล่า"
                                      },
                                      "need_load_original_image": {
                                        "type": "boolean",
                                        "description": "ว่าภาพนั้นมีการระบุว่าต้องมีการโหลดเพิ่มเติมหรือไม่"
                                      },
                                      "live_photo_file_id": {
                                        "type": "string",
                                        "description": "ตัวระบุไฟล์ที่เกี่ยวข้องกับ Live Photo หากมีให้"
                                      },
                                      "live_photo": {
                                        "type": "object",
                                        "description": "ข้อมูลการเคลื่อนไหวของ Live Photo ที่เกี่ยวข้องกับภาพ หากมีให้",
                                        "properties": {
                                          "media": {
                                            "type": "object",
                                            "description": "ข้อมูลสื่อการเคลื่อนไหวที่ส่งกลับมาสำหรับ Live Photo",
                                            "properties": {
                                              "video_id": {
                                                "type": "integer",
                                                "description": "ID ตัวเลขที่รายงานสำหรับสื่อการเคลื่อนไหวของ Live Photo"
                                              },
                                              "video": {
                                                "type": "object",
                                                "description": "ข้อมูลเมตาดาต้าของวิดีโอสำหรับคลิปการเคลื่อนไหวของ Live Photo",
                                                "properties": {
                                                  "width": {
                                                    "type": "integer",
                                                    "description": "ความกว้างของเฟรมวิดีโอที่รายงานสำหรับคลิปการเคลื่อนไหว"
                                                  },
                                                  "height": {
                                                    "type": "integer",
                                                    "description": "ความสูงของเฟรมวิดีโอที่รายงานสำหรับคลิปการเคลื่อนไหว"
                                                  },
                                                  "duration": {
                                                    "type": "integer",
                                                    "description": "ค่าความยาวของวิดีโอที่รายงานสำหรับคลิปการเคลื่อนไหวของ Live Photo"
                                                  },
                                                  "hdr_type": {
                                                    "type": "integer",
                                                    "description": "ประเภท HDR ที่ตัวเลขรายงานสำหรับคลิปการเคลื่อนไหว"
                                                  },
                                                  "drm_type": {
                                                    "type": "integer",
                                                    "description": "ประเภท DRM ที่ตัวเลขรายงานสำหรับคลิปการเคลื่อนไหว"
                                                  }
                                                }
                                              },
                                              "stream": {
                                                "type": "object",
                                                "description": "ตัวเลือกการเล่น Live Photo ที่จัดกลุ่มตามรูปแบบวิดีโอ",
                                                "properties": {
                                                  "h264": {
                                                    "type": "array",
                                                    "description": "รายการที่ส่งกลับมาสำหรับตัวเลือก H.264 ซึ่งอาจว่างเปล่า"
                                                  },
                                                  "h265": {
                                                    "type": "array",
                                                    "description": "รายการตัวเลือก H.265 ที่ส่งกลับมาสำหรับ Live Photo",
                                                    "items": {
                                                      "type": "object",
                                                      "description": "ตัวเลือกการเล่น H.265 สำหรับ Live Photo",
                                                      "properties": {
                                                        "master_url": {
                                                          "type": "string",
                                                          "description": "URL ของการเล่นหลักสำหรับสตรีม Live Photo นี้"
                                                        },
                                                        "backup_urls": {
                                                          "type": "array",
                                                          "description": "URL ของการเล่นสำรองสำหรับสตรีม Live Photo นี้",
                                                          "items": {
                                                            "type": "string",
                                                            "description": "URL ของการเล่นสำรองสำหรับสตรีมนี้หนึ่งตัว"
                                                          }
                                                        },
                                                        "width": {
                                                          "type": "integer",
                                                          "description": "ความกว้างของเฟรมวิดีโอในพิกเซล"
                                                        },
                                                        "height": {
                                                          "type": "integer",
                                                          "description": "ความสูงของเฟรมวิดีโอในพิกเซล"
                                                        },
                                                        "format": {
                                                          "type": "string",
                                                          "description": "รูปแบบคอนเทนเนอร์สื่อที่รายงานสำหรับสตรีม"
                                                        },
                                                        "quality_type": {
                                                          "type": "string",
                                                          "description": "ป้ายกำกับคุณภาพที่รายงานสำหรับสตรีมนี้"
                                                        },
                                                        "stream_type": {
                                                          "type": "integer",
                                                          "description": "ประเภทสตรีมที่เป็นตัวเลขที่รายงานสำหรับเวอร์ชันนี้"
                                                        },
                                                        "stream_desc": {
                                                          "type": "string",
                                                          "description": "คำอธิบายที่ให้ไว้สำหรับเวอร์ชันสตรีมนี้"
                                                        },
                                                        "default_stream": {
                                                          "type": "integer",
                                                          "description": "ตัวดำเนินการตัวเลขที่บ่งชี้สตรีมเริ่มต้น"
                                                        },
                                                        "fps": {
                                                          "type": "integer",
                                                          "description": "อัตราการโหลดภาพวิดีโอที่รายงานสำหรับสตรีม"
                                                        },
                                                        "duration": {
                                                          "type": "integer",
                                                          "description": "ค่าเวลาการสตรีมที่ Xiaohongshu รายงาน"
                                                        },
                                                        "video_duration": {
                                                          "type": "integer",
                                                          "description": "ค่าความยาวของเทรนวิดีโอที่รายงานสำหรับสตรีม"
                                                        },
                                                        "audio_duration": {
                                                          "type": "integer",
                                                          "description": "ค่าความยาวของเทรนเสียงที่รายงานสำหรับสตรีม"
                                                        },
                                                        "video_codec": {
                                                          "type": "string",
                                                          "description": "ตัวระบุโปรโตคอลวิดีโอที่ส่งกลับสำหรับสตรีม"
                                                        },
                                                        "audio_codec": {
                                                          "type": "string",
                                                          "description": "ตัวระบุโปรโตคอลเสียงที่ส่งกลับสำหรับสตรีม หากมีการระบุ"
                                                        },
                                                        "audio_channels": {
                                                          "type": "integer",
                                                          "description": "จำนวนช่องเสียงที่รายงานสำหรับสตรีม"
                                                        },
                                                        "video_bitrate": {
                                                          "type": "integer",
                                                          "description": "ค่าบิตเรตของวิดีโอที่รายงานสำหรับสตรีม"
                                                        },
                                                        "audio_bitrate": {
                                                          "type": "integer",
                                                          "description": "ค่าบิตเรตของเสียงที่รายงานสำหรับสตรีม"
                                                        },
                                                        "avg_bitrate": {
                                                          "type": "integer",
                                                          "description": "ค่าเฉลี่ยของบิตเรตที่รายงานสำหรับสตรีม"
                                                        },
                                                        "hdrType": {
                                                          "type": "integer",
                                                          "description": "ประเภท HDR ที่เป็นตัวเลขที่รายงานสำหรับสตรีมนี้"
                                                        }
                                                      }
                                                    }
                                                  },
                                                  "h266": {
                                                    "type": "array",
                                                    "description": "รายการที่ส่งกลับสำหรับเวอร์ชัน H.266 ซึ่งอาจว่างเปล่า"
                                                  },
                                                  "av1": {
                                                    "type": "array",
                                                    "description": "รายการที่ส่งกลับสำหรับเวอร์ชัน AV1 ซึ่งอาจว่างเปล่า"
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "ads": {
                            "type": "array",
                            "description": "รายการโฆษณาที่ส่งกลับพร้อมหน้าผลลัพธ์ รายการอาจว่างเปล่า"
                          },
                          "recommend_queries": {
                            "type": "array",
                            "description": "คำค้นหาที่แนะนำที่ส่งกลับพร้อมหน้าผลลัพธ์ รายการอาจว่างเปล่า"
                          },
                          "total": {
                            "type": "integer",
                            "description": "จำนวนรายการผลลัพธ์ที่รายงานสำหรับการตอบกลับนี้"
                          },
                          "has_more": {
                            "type": "boolean",
                            "description": "ว่าการตอบค้นหาแสดงว่ามีหน้าอื่นที่สามารถเข้าถึงได้หรือไม่"
                          },
                          "statistics": {
                            "type": "object",
                            "description": "การแบ่งแยกจำนวนรายการที่รายงานสำหรับการตอบกลับนี้",
                            "properties": {
                              "total_items": {
                                "type": "integer",
                                "description": "จำนวนรายการรวมที่รายงานในสถิติการตอบกลับ"
                              },
                              "note_count": {
                                "type": "integer",
                                "description": "จำนวนบันทึกปกติที่รายงานในสถิติการตอบกลับ"
                              },
                              "video_count": {
                                "type": "integer",
                                "description": "จำนวนบันทึกวิดีโอที่รายงานในสถิติการตอบกลับ"
                              },
                              "ads_count": {
                                "type": "integer",
                                "description": "จำนวนรายการโฆษณาที่รายงานในสถิติการตอบกลับ"
                              },
                              "recommend_count": {
                                "type": "integer",
                                "description": "จำนวนคำค้นหาที่แนะนำที่รายงานในสถิติการตอบกลับ"
                              }
                            }
                          },
                          "search_meta": {
                            "type": "object",
                            "description": "ข้อมูลหน้าค้นหาที่ส่งกลับพร้อมผลลัพธ์",
                            "properties": {
                              "is_broad_query": {
                                "type": "boolean",
                                "description": "ว่าซิอ่าวหงชูจะจัดประเภทคำขอนี้เป็นประเภทกว้างหรือไม่"
                              },
                              "show_single_col": {
                                "type": "boolean",
                                "description": "ว่า�การตอบกลับจะแสดงผลลัพธ์ในรูปแบบคอลัมน์เดียวหรือไม่"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "format": "int32",
                          "enum": [
                            0,
                            100,
                            101,
                            202,
                            300,
                            301,
                            302,
                            303,
                            400,
                            404,
                            500,
                            503,
                            600,
                            601,
                            602
                          ]
                        },
                        "message": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "data": {},
                        "recordTime": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "requestId": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "requestParams": {
                          "type": "object",
                          "properties": {
                            "query": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "object"
                              }
                            },
                            "body": {
                              "type": "object",
                              "properties": {
                                "empty": {
                                  "type": "boolean"
                                },
                                "array": {
                                  "type": "boolean"
                                },
                                "null": {
                                  "type": "boolean"
                                },
                                "object": {
                                  "type": "boolean"
                                },
                                "float": {
                                  "type": "boolean"
                                },
                                "integralNumber": {
                                  "type": "boolean"
                                },
                                "floatingPointNumber": {
                                  "type": "boolean"
                                },
                                "valueNode": {
                                  "type": "boolean"
                                },
                                "nodeType": {
                                  "type": "string",
                                  "enum": [
                                    "ARRAY",
                                    "BINARY",
                                    "BOOLEAN",
                                    "MISSING",
                                    "NULL",
                                    "NUMBER",
                                    "OBJECT",
                                    "POJO",
                                    "STRING"
                                  ]
                                },
                                "string": {
                                  "type": "boolean"
                                },
                                "missingNode": {
                                  "type": "boolean"
                                },
                                "container": {
                                  "type": "boolean"
                                },
                                "pojo": {
                                  "type": "boolean"
                                },
                                "short": {
                                  "type": "boolean"
                                },
                                "int": {
                                  "type": "boolean"
                                },
                                "long": {
                                  "type": "boolean"
                                },
                                "double": {
                                  "type": "boolean"
                                },
                                "bigDecimal": {
                                  "type": "boolean"
                                },
                                "bigInteger": {
                                  "type": "boolean"
                                },
                                "textual": {
                                  "type": "boolean",
                                  "deprecated": true
                                },
                                "boolean": {
                                  "type": "boolean"
                                },
                                "binary": {
                                  "type": "boolean"
                                },
                                "number": {
                                  "type": "boolean"
                                },
                                "embeddedValue": {
                                  "type": "boolean"
                                }
                              }
                            }
                          }
                        }
                      },
                      "required": [
                        "code",
                        "data",
                        "message",
                        "recordTime"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "พารามิเตอร์หรือเนื้อหาของคำขอที่ไม่ถูกต้อง",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "ท่อนำข้อมูลหรือ 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": "12001120",
        "x-api-version": "v4",
        "x-docs-slug": "note-search-v4",
        "x-search-aliases": [
          "Xiaohongshu app note search API",
          "RedNote mobile note search",
          "Xiaohongshu note search v4",
          "小红书 App 笔记搜索",
          "小红书移动端内容搜索",
          "小红书笔记搜索 V4"
        ],
        "x-highlights": [
          {
            "type": "tip",
            "kind": "GUIDANCE",
            "content": "นี่คือเว็บ endpointสำหรับแอปพลิเคชันมือถือ. ผลการค้นหามีความแม่นยำมากขึ้น."
          }
        ],
        "x-endpoint-family": "xiaohongshu_search_note"
      }
    }
  }
}