> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 按搜索条件发现 Google 酒店

> 使用 Bright Data Web Scraper API 按搜索条件发现 Google 酒店。POST /datasets/v3/scrape 以 JSON 格式返回酒店记录。

## 查询参数

<ParamField query="dataset_id" type="string" default="gd_mg3gjfmg12tc2n5d4d" required>
  用于此请求的数据集 ID。

  <Warning>
    必须设置为 `gd_mg3gjfmg12tc2n5d4d` 以发现**按搜索条件的 Google 酒店**数据。
  </Warning>
</ParamField>

<ParamField query="type" type="string" default="discover_new" required>
  必须设置为 `discover_new`。
</ParamField>

<ParamField query="discover_by" type="string" default="search" required>
  必须设置为 `search`。
</ParamField>

<ParamField query="notify" type="boolean" default={false}>
  请求完成时是否发送通知。
</ParamField>

<ParamField query="include_errors" type="boolean" default={true}>
  是否在响应中包含错误。
</ParamField>

## 请求体

<ParamField body="input" type="object[]" required>
  输入对象的数组。

  <Expandable title="properties">
    <ParamField body="search_term" type="string" required>
      要搜索的目的地或位置（例如 `New York`、`Tokyo`）。
    </ParamField>

    <ParamField body="check_in_date" type="string" required>
      入住日期，格式为 `YYYY-MM-DD`。
    </ParamField>

    <ParamField body="check_out_date" type="string" required>
      退房日期，格式为 `YYYY-MM-DD`。
    </ParamField>

    <ParamField body="guest_number" type="number" required>
      入住人数。
    </ParamField>

    <ParamField body="country" type="string">
      ISO 3166-1 alpha-2 国家代码，用于本地化结果。
    </ParamField>

    <ParamField body="currency" type="string">
      ISO 4217 货币代码（例如 `USD`、`EUR`）。
    </ParamField>
  </Expandable>

  #### 示例

  ```json wrap theme={null}
  {
    "input": [
      {
        "search_term": "New York",
        "check_in_date": "2026-06-15",
        "check_out_date": "2026-06-18",
        "guest_number": 2,
        "country": "US",
        "currency": "USD"
      }
    ]
  }
  ```
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "hotel_id": "CgoI_example",
      "name": "The Plaza",
      "address": "768 5th Ave, New York, NY 10019",
      "rating": 4.5,
      "reviews_count": 8200,
      "price_per_night": "795.00",
      "total_price": "2385.00",
      "currency": "USD",
      "check_in_date": "2026-06-15",
      "check_out_date": "2026-06-18"
    }
  ]
  ```
</ResponseExample>
