# งานค้นหาโรงแรม Google (เรียลไทม์)

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/business_data/google/hotel_searches/live`

**Tags:** DataForSEO

ค้นหาโรงแรมบน Google Hotels สำหรับที่พักที่ตรงกับคำค้น พร้อมวันที่และจำนวนผู้เข้าพัก ห่อหุ้มในซองของ DataForSEO: ข้อมูลอยู่ใน `tasks[0].result` ผลลัพธ์อยู่ใน `tasks[0].status_code` - คำขอที่ถูกปฏิเสธยังคงคืนค่า HTTP 200 นี่คือวิธีค้นหาโรงแรมที่ endpoint ข้อมูลต้องการ `id`; `post_dataforseo_business_google_hotel_info_live` คือมุมมองรายละเอียด

### ข้อมูลอ้างอิงราคา

- การวัดปริมาณ: ต้นทุนการตอบกลับที่รายงาน
- ประมาณการคำขออ้างอิง: USD 0.2428
- ตัวคูณลูกค้าอ้างอิง: 1.0 ห้ามนำไปใช้ซ้ำกับยอดที่ตัดบัญชีของลูกค้าแล้ว

เป็นเพียงข้อมูลเมตาอ้างอิง ไม่ใช่ใบเสนอราคาของบัญชี ไม่ใช่ราคาที่รับประกัน และไม่ใช่เพดานการใช้จ่าย เครดิตทรัพยากรไม่ใช่เครดิต Felo การเรียกเก็บเงินขั้นสุดท้ายเป็นไปตามบันทึกการเรียกเก็บเงินของ Felo

## Related links

- [บทความ Help Center นี้](<https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis>)
- [ใน Help Center ของเรา](<https://dataforseo.com/help-center/how-to-use-search_this_area-parameter-in-google-hotel-searches>)

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "keyword": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>คีย์เวิร์ด</em><br>ฟิลด์ไม่บังคับ<br>คีย์เวิร์ดที่ระบุจะใช้ค้นหารายการโรงแรม;<br>หากไม่ใช้ฟิลด์นี้ เราจะส่งคืนรายการโรงแรมที่พบในสถานที่ที่ระบุ;<br>ระบุได้ <strong>สูงสุด 700 อักขระ</strong> ในฟิลด์ <code>keyword</code><br><strong>%## ทั้งหมดจะถูกถอดรหัส (อักขระ ‘+’ จะถูกถอดรหัสเป็นอักขระเว้นวรรค)</strong><br>หากต้องการใช้ อักขระ “%” ใน <code>keyword</code> ให้ระบุเป็น “%25”; <br><strong>หมายเหตุ:</strong> เพื่อให้ได้ผลการค้นหาที่แม่นยำ ชื่อสถานที่จะถูกต่อท้ายคีย์เวิร์ดโดยอัตโนมัติ<p>ดูข้อมูลเพิ่มเติมเกี่ยวกับกฎและข้อจำกัดของฟิลด์ <code>keyword</code> และ <code>keywords</code> ใน DataForSEO APIs ในบทความ Help Center นี้"
          },
          "location_name": {
            "type": "string",
            "description": "<em>ชื่อเต็มของสถานที่ของเครื่องมือค้นหา</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ <code>location_code</code> หรือ <code>location_coordinate</code></strong><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>location_code</code> หรือ <code>location_coordinate</code></strong><br>คุณสามารถรับรายการสถานที่ที่ใช้ได้พร้อม <code>location_name</code> ได้โดยส่งคำขอแยกไปที่ <code>https://api.dataforseo.com/v3/business_data/google/locations</code><br>ตัวอย่าง:<br><code class=\"long-string\">London,England,United Kingdom</code><br><strong>หมายเหตุ:</strong> เพื่อให้ได้ผลการค้นหาที่แม่นยำ <code>location_name</code> ที่ระบุจะถูกต่อท้ายคีย์เวิร์ดโดยอัตโนมัติ"
          },
          "location_code": {
            "type": "integer",
            "description": "<em>รหัสสถานที่ของเครื่องมือค้นหา</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ <code>location_name</code> หรือ <code>location_coordinate</code></strong><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>location_name</code> หรือ <code>location_coordinate</code></strong><br>คุณสามารถรับรายการสถานที่ที่ใช้ได้พร้อม <code>location_code</code> ได้โดยส่งคำขอแยกไปที่ <code>https://api.dataforseo.com/v3/business_data/google/locations</code><br>ตัวอย่าง:<br><code class=\"long-string\">2840</code>"
          },
          "location_coordinate": {
            "type": "string",
            "description": "<em>พิกัด GPS ของสถานที่</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ <code>location_name</code> หรือ <code>location_code</code></strong><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>location_name</code> หรือ <code>location_code</code></strong><br>พารามิเตอร์ <code>location_coordinate</code> ต้องระบุในรูปแบบ <em>\"latitude,longitude\"</em><br>จำนวนตำแหน่งทศนิยมสูงสุดสำหรับ <em>\"latitude\"</em> และ <em>\"longitude\"</em>: 7<br><strong>หมายเหตุ</strong>: หากใช้พิกัดเพื่อกำหนดสถานที่ การค้นหาจะเกิดขึ้นในชุมชนที่ใกล้ที่สุด<br>ตัวอย่าง:<br><code class=\"long-string\">53.476225,-2.243572</code>"
          },
          "search_this_area": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>แสดงโรงแรมจากพื้นที่ที่แสดง</em><br>ฟิลด์ไม่บังคับ<br>รับค่าได้: <code>true</code>, <code>false</code><br>ค่าเริ่มต้น: <code>true</code><br>หากตั้งเป็น <code>false</code> โหมด <code>search_this_area</code> จะถูกปิด<br><strong>หมายเหตุ:</strong> หากปิดโหมด <code>search_this_area</code> จะไม่มีการต่อท้าย <code>location_name</code> กับ <code>keyword</code> ระหว่างการค้นหา<br>ดูข้อมูลเพิ่มเติมเกี่ยวกับพารามิเตอร์นี้ใน Help Center ของเรา"
          },
          "language_name": {
            "type": "string",
            "description": "<em>ชื่อเต็มของภาษาของเครื่องมือค้นหา</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ <code>language_code</code></strong><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>language_code</code></strong><br>คุณสามารถรับรายการภาษาที่ใช้ได้พร้อม <code>language_name</code> ได้โดยส่งคำขอแยกไปที่ <code>https://api.dataforseo.com/v3/business_data/google/languages</code><br>ตัวอย่าง:<br><code class=\"long-string\">English</code>"
          },
          "language_code": {
            "type": "string",
            "description": "<em>รหัสภาษาของเครื่องมือค้นหา</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ <code>language_name</code></strong><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>language_name</code></strong><br>คุณสามารถรับรายการภาษาที่ใช้ได้พร้อม <code>language_code</code> ได้โดยส่งคำขอแยกไปที่ <code>https://api.dataforseo.com/v3/business_data/google/languages</code><em><br></em>ตัวอย่าง:<em><br></em><code class=\"long-string\">en</code>"
          },
          "depth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>ความลึกในการดึงข้อมูล</em><br>ฟิลด์ไม่บังคับ<br>จำนวนผลลัพธ์ใน Google Hotels<br>ค่าเริ่มต้น: <code>18</code> ผลลัพธ์ออร์แกนิก<br>ค่าสูงสุด: <code>140</code><br><strong>หมายเหตุ:</strong> บัญชีของคุณจะถูกเรียกเก็บเงินต่อผลลัพธ์ออร์แกนิกทุก 18 รายการ โดยไม่คำนึงถึงรายการที่เสียค่าใช้จ่ายในการตอบกลับ;<br>ดังนั้น การกำหนดความลึกเกิน <code>18</code> อาจทำให้มีค่าใช้จ่ายเพิ่มเติมหาก Google Hotels ส่งคืนผลลัพธ์มากกว่า 18 รายการ;<br>หากความลึกที่กำหนดสูงกว่าจำนวนผลลัพธ์ในการตอบกลับ ส่วนต่างจะถูกคืนเงินเข้าบัญชีของคุณโดยอัตโนมัติ"
          },
          "check_in": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>วันที่เช็กอิน</em><br>ฟิลด์ไม่บังคับ<br>หากไม่ได้ระบุฟิลด์นี้ ระบบจะใช้วันพรุ่งนี้เป็นค่าเริ่มต้น;<br>รูปแบบวันที่: <code>\"yyyy-mm-dd\"</code><br>ตัวอย่าง:<br><code>\"2019-01-15\"</code><br><strong>หมายเหตุ:</strong> ค่าต้องไม่ก่อนวันที่วันนี้"
          },
          "check_out": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>วันที่เช็กเอาต์</em><br>ฟิลด์ไม่บังคับ<br>หากไม่ได้ระบุฟิลด์นี้ ระบบจะใช้วันที่สองวันนับจากนี้เป็นค่าเริ่มต้น;<br>รูปแบบวันที่: <code>\"yyyy-mm-dd\"</code><br>ตัวอย่าง:<br><code>\"2019-01-15\"</code><br><strong>หมายเหตุ:</strong> ค่าต้องไม่น้อยกว่าหรือเท่ากับ <code>check_in</code>;<br>ช่วงระหว่างค่า <code>check_in</code> และ <code>check_out</code> ต้องไม่เกิน 30 วัน"
          },
          "currency": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>สกุลเงิน</em><br>ฟิลด์ไม่บังคับ<br>ตัวอย่าง:<br><code>\"USD\"</code>"
          },
          "adults": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>จำนวนผู้ใหญ่</em><br>ฟิลด์ไม่บังคับ<br>หากไม่ได้ระบุฟิลด์นี้ ระบบจะใช้ค่าเริ่มต้น <code>2</code>;<br><strong>โปรดทราบ</strong>ว่าสามารถระบุได้สูงสุด 6 คน รวมทั้งผู้ใหญ่และเด็ก<br>ตัวอย่าง:<br><code>1</code>"
          },
          "children": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>จำนวนและอายุของเด็ก</em><br>ฟิลด์ไม่บังคับ<br>หากไม่ได้ระบุฟิลด์นี้ จะไม่มีเด็กในการค้นหา;<br>อายุของเด็กอยู่ระหว่าง <code>0</code> ถึง <code>17</code>;<br><strong>โปรดทราบ</strong>ว่าสามารถระบุได้สูงสุด 6 คน รวมทั้งผู้ใหญ่และเด็ก<br>กำหนดค่าต่อไปนี้หากต้องการรวมเด็กอายุ 14 ปีหนึ่งคน:<br><code>[14]</code><br>กำหนดค่าต่อไปนี้หากต้องการรวมเด็กอายุ 13 ปีหนึ่งคนและเด็กอายุ 8 ปีหนึ่งคน:<br><code>[13,8]</code>"
          },
          "stars": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>ระดับดาวของโรงแรม</em><br>ฟิลด์ไม่บังคับ<br>ตั้งฟิลด์นี้เป็น <code>[5]</code> หากต้องการรับรายการโรงแรม 5 ดาวเท่านั้น<br>ตัวอย่าง:<br><code>[3,4,5]</code>"
          },
          "min_rating": {
            "type": [
              "number",
              "null"
            ],
            "description": "<em>คะแนนขั้นต่ำ</em><br>ฟิลด์ไม่บังคับ<br>คุณสามารถใช้ฟิลด์นี้เพื่อระบุคะแนนจากผู้เข้าพักที่สูงกว่าค่าที่กำหนด<br>ตัวอย่าง:<br><code>2.5</code>"
          },
          "sort_by": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>พารามิเตอร์การเรียงลำดับผลลัพธ์</em><br>ฟิลด์ไม่บังคับ<br>คุณสามารถใช้ฟิลด์นี้เพื่อเรียงลำดับผลลัพธ์<br>ประเภทการเรียงลำดับที่เป็นไปได้:<br><code>relevance</code> – เรียงตามความเกี่ยวข้องมากที่สุด<br><code>lowest_price</code> – เรียงตามราคาต่ำสุด<br><code>highest_rating</code> – เรียงตามคะแนนสูงสุด<br><code>most_reviewed</code> – เรียงตามจำนวนรีวิวมากที่สุด<br>ค่าเริ่มต้น: <code>relevance</code>"
          },
          "min_price": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>ราคาต่ำสุดต่อคืน</em><br>ฟิลด์ไม่บังคับ<br>สกุลเงินของค่านี้ขึ้นอยู่กับฟิลด์ <code>currency</code><br>ตัวอย่าง:<br><code>100</code>"
          },
          "max_price": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>ราคาสูงสุดต่อคืน</em><br>ฟิลด์ไม่บังคับ<br>สกุลเงินของค่านี้ขึ้นอยู่กับฟิลด์ <code>currency</code><br>ตัวอย่าง:<br><code>600</code>"
          },
          "free_cancellation": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>โรงแรมที่ยกเลิกได้ฟรี</em><br>ฟิลด์ไม่บังคับ<br>ตั้งฟิลด์นี้เป็น <code>true</code> หากต้องการรับรายการโรงแรมที่ยกเลิกการจองได้ฟรี<br>ค่าเริ่มต้น: <code>false</code>"
          },
          "is_vacation_rentals": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>ค้นหาที่พักให้เช่าระยะสั้น</em><br>ฟิลด์ไม่บังคับ<br>ตั้งฟิลด์นี้เป็น <code>true</code> หากต้องการรับรายการที่พักให้เช่าระยะสั้นแทนโรงแรม<br>ค่าเริ่มต้น: <code>false</code>"
          },
          "amenities": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>สิ่งอำนวยความสะดวกของโรงแรม</em><br>ฟิลด์ไม่บังคับ<br>คุณสามารถใช้ฟิลด์นี้เพื่อระบุสิ่งอำนวยความสะดวกต่าง ๆ ของโรงแรม<br>ตัวอย่าง:<br><code>  [<br>            \"free_parking\",<br>            \"pets_allowed\"<br>        ]<br></code><br>ค่าที่เป็นไปได้:<br>`\"air_conditioning\",<br>\"all_inclusive_available\",<br>\"bar\",<br>\"free_breakfast\",<br>\"fitness_center\",<br>\"kid_friendly\",<br>\"free_parking\",<br>\"pets_allowed\",<br>\"pool\",<br>\"restaurant\",<br>\"room_service\",<br>\"spa\",<br>\"free_wifi\",<br>\"parking\",<br>\"indoor_pool\",<br>\"outdoor_pool\",<br>\"wheelchair_accessible\",<br>\"beach_access\"`"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ตัวระบุงานที่ผู้ใช้กำหนด</em><br>ฟิลด์ไม่บังคับ<br><em>จำกัด 255 อักขระ</em><br>ใช้พารามิเตอร์นี้เพื่อระบุงานและจับคู่กับผลลัพธ์<br>คุณจะพบค่า <code>tag</code> ที่ระบุในออบเจ็กต์ <code>data</code> ของการตอบกลับ"
          }
        },
        "example": [
          {
            "language_code": "en",
            "location_name": "New York,New York,United States",
            "keyword": "cheap hotel",
            "check_in": "2023-06-01",
            "check_out": "2023-06-30",
            "currency": "USD",
            "adults": 2,
            "children": [
              "14"
            ],
            "sort_by": "highest_rating",
            "priority": 2,
            "tag": "example"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "language_code": "en",
      "location_name": "New York,New York,United States",
      "keyword": "cheap hotel",
      "check_in": "2023-06-01",
      "check_out": "2023-06-30",
      "currency": "USD",
      "adults": 2,
      "children": [
        "14"
      ],
      "sort_by": "highest_rating",
      "priority": 2,
      "tag": "example"
    }
  ]
}
```

## Responses

### 200 — ดำเนินการสำเร็จ

Headers:
- `X-Request-Id` (string) — ตัวระบุคำขอที่ต้องระบุเมื่อติดต่อฝ่ายสนับสนุนของ Felo

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BusinessDataGoogleHotelSearchesLiveResponseInfo"
    }
  ]
}
```

### 400 — ไม่สามารถประมวลผลคำขอได้ ตรวจสอบพารามิเตอร์ของคำขอ

### 401 — จำเป็นต้องใช้คีย์ API ของ Felo ที่ถูกต้อง

### 402 — ไม่สามารถดำเนินการตามคำขอได้ เนื่องจากไม่เป็นไปตามข้อกำหนดด้านการเรียกเก็บเงิน

### 403 — บัญชีไม่ได้รับอนุญาตให้ดำเนินการนี้

### 429 — ถึงขีดจำกัดคำขอหรือการใช้จ่ายแล้ว

### 502 — บริการไม่สามารถดำเนินการตามคำขอให้เสร็จสิ้นได้

### 503 — API หรือบริการเรียกเก็บเงินไม่พร้อมใช้งานชั่วคราว

### 504 — บริการหมดเวลาระหว่างประมวลผลคำขอ

### default — การตอบกลับข้อผิดพลาด; การตอบกลับที่ส่งผ่านจากต้นทางอาจใช้รูปแบบของผู้ให้บริการ

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "เวอร์ชันปัจจุบันของ API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "รหัสสถานะทั่วไป\nคุณสามารถดูรายการรหัสการตอบกลับทั้งหมดได้ที่นี่"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "ข้อความข้อมูลทั่วไป\nคุณสามารถดูรายการข้อความข้อมูลทั่วไปทั้งหมดได้ที่นี่"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "เวลาดำเนินการทั้งหมด (วินาที)"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "ค่าใช้จ่ายรวมของงาน, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "จำนวนงานในอาร์เรย์ tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "จำนวนงานในอาร์เรย์ tasks ที่ส่งคืนพร้อมข้อผิดพลาด",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "ตัวระบุงาน\nตัวระบุงานที่ไม่ซ้ำกันในระบบของเราในรูปแบบ UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "รหัสสถานะของงาน\nสร้างโดย DataForSEO โดยอยู่ในช่วงต่อไปนี้ได้: 10000-60000\nคุณสามารถดูรายการรหัสการตอบกลับทั้งหมดได้ที่นี่"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "ข้อความข้อมูลของงาน\nคุณสามารถดูรายการข้อความข้อมูลทั่วไปทั้งหมดได้ที่นี่"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "เวลาดำเนินการ, วินาที"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "ค่าใช้จ่ายรวมของงาน, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "จำนวนองค์ประกอบในอาร์เรย์ result",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "พาธ URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "มีพารามิเตอร์เดียวกับที่คุณระบุในคำขอ POST"
    }
  }
}
```

### Response36Afe1097B20_BusinessDataGoogleHotelSearchesItem

`#/components/schemas/Response36Afe1097B20_BusinessDataGoogleHotelSearchesItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "ประเภทขององค์ประกอบ"
    },
    "hotel_identifier": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ตัวระบุเฉพาะของโรงแรมในการค้นหาของ Google</em><br>ตัวอย่าง:<br><code>CgoI-KWyzenM_MV3EAE</code>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ชื่อของโรงแรม</em>"
    },
    "stars": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>ระดับดาวของโรงแรม</em><br>ระดับดาวตั้งแต่ 1-5 ดาว"
    },
    "is_paid": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>ระบุว่าเป็นรายชื่อโรงแรมแบบเสียค่าใช้จ่าย</strong></em><br>หากเป็น <code>true</code> <code>hotel_search_item</code> ที่เกี่ยวข้องเป็นโฆษณาแบบเสียค่าใช้จ่าย<br>หากเป็น <code>false</code> <code>hotel_search_item</code> ที่เกี่ยวข้องเป็นรายชื่อโรงแรมแบบออร์แกนิก"
    },
    "location": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_GpsCoordinatesLocationInfo"
        }
      ],
      "description": "<em>พิกัด GPS ของที่ตั้งโรงแรม</em>"
    },
    "reviews": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_HotelReviewInfo"
        }
      ],
      "description": "<em>รีวิวและข้อมูลคะแนนของโรงแรม</em>"
    },
    "overview_images": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>รูปภาพเด่นสำหรับโรงแรม</em>"
    },
    "prices": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_HotelPriceInfo"
        }
      ],
      "description": "<em>ราคาโรงแรม</em>"
    }
  }
}
```

### Response36Afe1097B20_BusinessDataGoogleHotelSearchesLiveResponseInfo

`#/components/schemas/Response36Afe1097B20_BusinessDataGoogleHotelSearchesLiveResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_BusinessDataGoogleHotelSearchesLiveTaskInfo"
              }
            ]
          },
          "description": "<em>อาร์เรย์ของงาน</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_BusinessDataGoogleHotelSearchesLiveResultInfo

`#/components/schemas/Response36Afe1097B20_BusinessDataGoogleHotelSearchesLiveResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>คีย์เวิร์ดที่ได้รับในอาร์เรย์ POST</em><br><strong>คีย์เวิร์ดจะถูกส่งกลับโดยถอดรหัส %## แล้ว (อักขระ '+' จะถูกถอดรหัสเป็นช่องว่าง)</strong>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>รหัสสถานที่ในอาร์เรย์ POST</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>รหัสภาษาในอาร์เรย์ POST</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL โดยตรงไปยังผลลัพธ์ของเครื่องมือค้นหา</em><br>คุณใช้ URL นี้เพื่อตรวจสอบว่าเราให้ผลลัพธ์ที่แม่นยำ"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>วันที่และเวลาที่ได้รับผลลัพธ์</em><br>ในรูปแบบ UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>ตัวอย่าง:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>ประเภทรายการ</em><br>จำนวนรายการในอาร์เรย์ <code>items</code>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_BusinessDataGoogleHotelSearchesItem"
          }
        ]
      },
      "description": "<em>ประเภทรายการที่พบ</em><br>ประเภทของผลการค้นหาจากเครื่องมือค้นหาที่พบในอาร์เรย์ <code>items</code>;<br>ประเภทรายการที่เป็นไปได้: <code>hotel_search_item</code>"
    }
  }
}
```

### Response36Afe1097B20_BusinessDataGoogleHotelSearchesLiveTaskInfo

`#/components/schemas/Response36Afe1097B20_BusinessDataGoogleHotelSearchesLiveTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_BusinessDataGoogleHotelSearchesLiveResultInfo"
              }
            ]
          },
          "description": "<em>อาร์เรย์ของผลลัพธ์</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_GpsCoordinatesLocationInfo

`#/components/schemas/Response36Afe1097B20_GpsCoordinatesLocationInfo`

```json
{
  "type": "object",
  "properties": {
    "latitude": {
      "type": [
        "number",
        "null"
      ],
      "description": "<i>พิกัดละติจูดของโรงแรมใน google maps</i><br>ตัวอย่าง:<br><code>\"latitude\": 51.584091</code>"
    },
    "longitude": {
      "type": [
        "number",
        "null"
      ],
      "description": "<i>พิกัดลองจิจูดของโรงแรมใน google maps</i><br>ตัวอย่าง:<br><code>\"longitude\": -0.31365919999999997</code>"
    }
  }
}
```

### Response36Afe1097B20_HotelInfoPriceOffer

`#/components/schemas/Response36Afe1097B20_HotelInfoPriceOffer`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "ประเภทขององค์ประกอบ"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ชื่อของโรงแรม</em>"
    },
    "price": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>ราคาต่อคืน</em>"
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>สกุลเงินของราคา</em><br>ใช้ <code>USD</code> เป็นค่าเริ่มต้น เว้นแต่จะระบุในอาร์เรย์ POST"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "url ของข้อเสนอราคา\nURL ไปยังหน้าของเว็บไซต์ที่ข้อเสนอราคาปรากฏ"
    },
    "max_visitors": {
      "type": [
        "integer",
        "null"
      ],
      "description": "จำนวนผู้เข้าพักสูงสุด\nจำนวนผู้เข้าพักสูงสุดที่ข้อเสนอราคาใช้ได้"
    },
    "offer_images": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "รูปภาพข้อเสนอราคา\nURL ของรูปภาพที่แสดงในข้อเสนอราคา"
    },
    "free_cancellation_until": {
      "type": [
        "string",
        "null"
      ],
      "description": "วันที่ที่ยังมีการยกเลิกฟรี\nในรูปแบบ UTC: “yyyy-mm-dd hh-mm-ss +00:00”\nเท่ากับ null หากไม่มีการยกเลิกฟรีสำหรับวันที่ที่เลือก"
    }
  },
  "description": "ข้อเสนอราคาเด่น"
}
```

### Response36Afe1097B20_HotelPriceInfo

`#/components/schemas/Response36Afe1097B20_HotelPriceInfo`

```json
{
  "type": "object",
  "properties": {
    "price": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>ราคาต่อคืน</em>"
    },
    "price_without_discount": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>ราคาเต็มต่อคืนโดยไม่ใช้ส่วนลด</em>",
      "format": "int64"
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>สกุลเงินของราคา</em><br>ใช้ <code>USD</code> เป็นค่าเริ่มต้น เว้นแต่จะระบุในอาร์เรย์ POST"
    },
    "discount_text": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ข้อความเกี่ยวกับส่วนลดที่ใช้</em>"
    },
    "check_in": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>วันที่และเวลาเช็กอิน</em><br>ในรูปแบบ UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>ตัวอย่าง:<br><code>2019-11-15 12:57:46 +00:00</code>"
    },
    "check_out": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>วันที่และเวลาเช็กเอาต์</em><br>ในรูปแบบ UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>ตัวอย่าง:<br><code>2019-11-15 12:57:46 +00:00</code>"
    },
    "visitors": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>จำนวนผู้เข้าพักโรงแรมสำหรับราคานี้</em>"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_HotelPriceItemInfo"
          }
        ]
      },
      "description": "<em>ประเภทรายการที่พบ</em><br>ประเภทของผลการค้นหาจากเครื่องมือค้นหาที่พบในอาร์เรย์ <code>items</code>;<br>ประเภทรายการที่เป็นไปได้: <code>hotel_search_item</code>"
    },
    "prices_by_dates": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_PricesByDates"
          }
        ]
      }
    }
  }
}
```

### Response36Afe1097B20_HotelPriceItemInfo

`#/components/schemas/Response36Afe1097B20_HotelPriceItemInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "ประเภทขององค์ประกอบ"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ชื่อของโรงแรม</em>"
    },
    "price": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>ราคาต่อคืน</em>"
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>สกุลเงินของราคา</em><br>ใช้ <code>USD</code> เป็นค่าเริ่มต้น เว้นแต่จะระบุในอาร์เรย์ POST"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "url ของหน้าบุคคลที่สาม\nURL ไปยังหน้าของเว็บไซต์บุคคลที่สามที่มีข้อมูลราคา"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "โดเมนบุคคลที่สาม\nโดเมนของหน้าของเว็บไซต์บุคคลที่สามที่มีข้อมูลราคา"
    },
    "is_paid": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>ระบุว่าเป็นรายชื่อโรงแรมแบบเสียค่าใช้จ่าย</strong></em><br>หากเป็น <code>true</code> <code>hotel_search_item</code> ที่เกี่ยวข้องเป็นโฆษณาแบบเสียค่าใช้จ่าย<br>หากเป็น <code>false</code> <code>hotel_search_item</code> ที่เกี่ยวข้องเป็นรายชื่อโรงแรมแบบออร์แกนิก"
    },
    "official_site": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "free_cancellation_until": {
      "type": [
        "string",
        "null"
      ],
      "description": "วันที่ที่ยังมีการยกเลิกฟรี\nในรูปแบบ UTC: “yyyy-mm-dd hh-mm-ss +00:00”\nเท่ากับ null หากไม่มีการยกเลิกฟรีสำหรับวันที่ที่เลือก"
    },
    "offers": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_HotelInfoPriceOffer"
          }
        ]
      }
    }
  }
}
```

### Response36Afe1097B20_HotelReviewInfo

`#/components/schemas/Response36Afe1097B20_HotelReviewInfo`

```json
{
  "type": "object",
  "properties": {
    "value": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>คะแนนโรงแรมโดยรวมจากโหวตของลูกค้า</em>"
    },
    "votes_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>จำนวนโหวตของลูกค้า</em><br>จำนวนโหวตของลูกค้าที่รวมอยู่ในการคำนวณคะแนนโรงแรม",
      "format": "int64"
    },
    "mentions": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_ReviewMentionInfo"
          }
        ]
      },
      "description": "<em>การกล่าวถึงโรงแรม</em><br>ข้อมูลเกี่ยวกับรีวิวโรงแรมตามเกณฑ์"
    },
    "rating_distribution": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "integer",
          "null"
        ],
        "format": "Int64"
      },
      "description": "<em>การกระจายคะแนนตามจำนวนโหวต</em><br>การกระจายจำนวนโหวตตามช่วงคะแนนตั้งแต่ 1 ถึง 5"
    },
    "other_sites_reviews": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_OtherSitesReviewsInfo"
          }
        ]
      },
      "description": "<em>รีวิวบนไซต์บุคคลที่สาม</em><br>รีวิวจากไซต์บุคคลที่สาม"
    }
  }
}
```

### Response36Afe1097B20_OtherSitesReviewsInfo

`#/components/schemas/Response36Afe1097B20_OtherSitesReviewsInfo`

```json
{
  "type": "object",
  "properties": {
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ชื่อรีวิว</em><br>มีชื่อไซต์ของบุคคลที่สามที่รีวิวปรากฏครั้งแรก"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL รีวิว</em><br>URL ไปยังไซต์ของบุคคลที่สามที่รีวิวปรากฏครั้งแรก"
    },
    "review_text": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ข้อความรีวิว</em><br>ข้อความของรีวิว"
    },
    "rating": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RatingInfo"
        }
      ],
      "description": "<em>คะแนนในรีวิว</em><br>ข้อมูลเกี่ยวกับคะแนนที่อยู่ในรีวิวบนไซต์ของบุคคลที่สาม"
    }
  }
}
```

### Response36Afe1097B20_PricesByDates

`#/components/schemas/Response36Afe1097B20_PricesByDates`

```json
{
  "type": "object",
  "properties": {
    "price": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>ราคาต่อคืน</em>"
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>สกุลเงินของราคา</em><br>ใช้ <code>USD</code> เป็นค่าเริ่มต้น เว้นแต่จะระบุในอาร์เรย์ POST"
    },
    "check_in_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "check_out_date": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
```

### Response36Afe1097B20_RatingInfo

`#/components/schemas/Response36Afe1097B20_RatingInfo`

```json
{
  "properties": {
    "rating_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "ประเภทของคะแนน\nที่นี่คุณจะพบองค์ประกอบต่อไปนี้: Max5, Percents, CustomMax"
    },
    "value": {
      "type": [
        "number",
        "null"
      ],
      "description": "ค่าของคะแนน",
      "format": "double"
    },
    "votes_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "ปริมาณคำติชม",
      "format": "int64"
    },
    "rating_max": {
      "type": [
        "integer",
        "null"
      ],
      "description": "ค่าสูงสุดสำหรับ rating_type"
    }
  }
}
```

### Response36Afe1097B20_ReviewMentionInfo

`#/components/schemas/Response36Afe1097B20_ReviewMentionInfo`

```json
{
  "type": "object",
  "properties": {
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ชื่อของเกณฑ์ที่ประเมิน</em>"
    },
    "positive_score": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>คะแนนเชิงบวกตามเกณฑ์</em>"
    },
    "positive_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>จำนวนรีวิวเชิงบวกตามเกณฑ์</em>",
      "format": "int64"
    },
    "negative_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>จำนวนรีวิวเชิงลบตามเกณฑ์</em>",
      "format": "int64"
    },
    "total_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>จำนวนรีวิวทั้งหมดตามเกณฑ์</em>",
      "format": "int64"
    },
    "visible_by_default": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>องค์ประกอบมองเห็นได้โดยค่าเริ่มต้น</em><br>ระบุว่าองค์ประกอบรีวิวมองเห็นได้โดยค่าเริ่มต้นหรือไม่"
    }
  }
}
```
