> ## 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_m8ebnr0q2qlklc02fz" required>
  用于此请求的数据集 ID。

  <Warning>
    必须设置为 `gd_m8ebnr0q2qlklc02fz` 以发现**按位置的 Google 地图地点**数据。
  </Warning>
</ParamField>

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

<ParamField query="discover_by" type="string" default="location" required>
  必须设置为 `location`。
</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="country" type="string" required>
      ISO 3166-1 alpha-2 国家代码（例如 `US`、`GB`、`DE`）。
    </ParamField>

    <ParamField body="lat" type="number" required>
      搜索中心点的纬度。
    </ParamField>

    <ParamField body="long" type="number" required>
      搜索中心点的经度。
    </ParamField>

    <ParamField body="zoom_level" type="number" required>
      Google 地图缩放级别（通常为 10 至 18）。
    </ParamField>

    <ParamField body="keyword" type="string" required>
      用于查找附近地点的搜索词（例如 `coffee shop`、`pharmacy`）。
    </ParamField>
  </Expandable>

  #### 示例

  ```json wrap theme={null}
  {
    "input": [
      {"country": "US", "lat": 40.7484, "long": -73.9857, "zoom_level": 14, "keyword": "coffee shop"}
    ]
  }
  ```
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "place_id": "ChIJExample123",
      "name": "Blue Bottle Coffee",
      "address": "54 W 40th St., New York, NY 10018",
      "rating": 4.4,
      "reviews_count": 520,
      "category": "Coffee shop",
      "latitude": 40.7525,
      "longitude": -73.984
    }
  ]
  ```
</ResponseExample>
