# 即時 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。可透過它找到資訊類端點所需的飯店 `id`；`post_dataforseo_business_google_hotel_info_live` 是詳細檢視。

### 計費參考

- 計量方式：依回報的回應成本計量。
- 參考請求估算：0.2428 美元。
- 參考客戶倍率：1.0。不得對已結算的客戶金額再次套用。

僅供參考的中繼資料，並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。

## 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>在 <code>keyword</code> 欄位中最多可指定 <strong>700 個字元</strong><br><strong>所有 %## 都會被解碼（另外，字元 ‘+’ 會解碼為空格）</strong><br>如果需要在 <code>keyword</code> 中使用 “%” 字元，請指定為 “%25”； <br><strong>注意：</strong>為獲得準確的搜尋結果，地點名稱會自動附加到關鍵字後<p>有關 DataForSEO API 中 <code>keyword</code> 與 <code>keywords</code> 欄位的規則與限制，請參閱這篇 <a href=\"https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis\" rel=\"noopener noreferrer\" target=\"_blank\">說明中心文章</a>"
          },
          "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>https://api.dataforseo.com/v3/business_data/google/locations</code> 發出請求，取得帶 <code>location_name</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>https://api.dataforseo.com/v3/business_data/google/locations</code> 發出請求，取得帶 <code>location_code</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>可<a href=\"https://dataforseo.com/help-center/how-to-use-search_this_area-parameter-in-google-hotel-searches\" target=\"_blank\">在我們的說明中心</a>進一步瞭解此參數"
          },
          "language_name": {
            "type": "string",
            "description": "<em>搜尋引擎語言全名</em><br><strong>未指定 <code>language_code</code> 時為必填欄位</strong><br><strong>如果使用此欄位，則無需指定 <code>language_code</code></strong><br>可個別向 <code>https://api.dataforseo.com/v3/business_data/google/languages</code> 發出請求，取得帶 <code>language_name</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>https://api.dataforseo.com/v3/business_data/google/languages</code> 發出請求，取得可用語言及其 <code>language_code</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>因此，如果 Google Hotels 傳回超過 18 筆結果，將解析深度設為高於 <code>18</code> 可能產生額外費用；<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>如需僅取得 5 星級飯店清單，請將此欄位設為 <code>[5]</code><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>data</code> 物件中找到指定的 <code>tag</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 — 需要有效的 Felo API 金鑰。

### 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": "任務總費用，美元",
      "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": "任務總費用，美元",
      "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>可用來確認我們提供了準確的結果"
    },
    "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 地圖中的緯度座標</i><br>範例：<br><code>\"latitude\": 51.584091</code>"
    },
    "longitude": {
      "type": [
        "number",
        "null"
      ],
      "description": "<i>飯店在 Google 地圖中的經度座標</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\n價格優惠所在網站頁面的 URL"
    },
    "max_visitors": {
      "type": [
        "integer",
        "null"
      ],
      "description": "訪客人數上限\n此價格優惠適用的最大訪客人數"
    },
    "offer_images": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "價格優惠圖片\n價格優惠中所展示圖片的 URL"
    },
    "free_cancellation_until": {
      "type": [
        "string",
        "null"
      ],
      "description": "可免費取消的截止日期\nUTC 格式：“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\n帶有價格資訊的第三方網站頁面 URL"
    },
    "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": "可免費取消的截止日期\nUTC 格式：“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>表示評論元素是否預設可見"
    }
  }
}
```
