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

# SERP API 必应查询参数

> 使用 Bright Data 的 SERP API 配置必应搜索查询，包括本地化参数、地理位置、分页、设备定位和自定义数据输出选项。

## 搜索

<AccordionGroup>
  <Accordion title="本地化" icon="flag">
    ### `cc`

    用于定义搜索国家/地区的双字母国家/地区代码

    ```sh theme={null}
    curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.bing.com/search?q=pizza&cc=us"
    ```
  </Accordion>

  <Accordion title="地理位置" icon="location-dot">
    ### `位置`

    搜索起点位置。

    同时还必须指定 `lat` 和 `lon` 参数

    ```sh theme={null}
    curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.bing.com/search?q=pizza&位置=New+York%2C+New+York%2C+United+States&lat=40.7001958&lon=-74.1087142"
    ```

    ### `lat`

    搜索起点的 GPS 纬度

    ```sh theme={null}
    curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.bing.com/search?q=pizza&lat=40.7001958&lon=-74.1087142"
    ```

    ### `lon`

    搜索起点的 GPS 经度

    ```sh theme={null}
    curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.bing.com/search?q=pizza&lat=40.7001958&lon=-74.1087142"
    ```

    ### `mkt`

    搜索结果来自的市场。 使用此链接可查看所有可选值。

    ```sh theme={null}
    curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.bing.com/search?q=pizza&mkt=en-US"
    ```
  </Accordion>

  <Accordion title="分页" icon="file">
    ### `first`

    定义结果偏移量——结果从所选值开始。 用于管理分页。

    > #### 示例：
    >
    > `first=1` （默认）— 第一页结果 \
    > `first=11` — 第二页结果 \
    > `first=21` — 第三页结果，以此类推

    ```sh theme={null}
    curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.bing.com/search?q=pizza&first=11"
    ```

    ### `count`

    定义要返回的结果数。

    > #### 示例：
    >
    > `count=10` （默认） - 返回 10 个结果 \
    > `count=30` - 返回 30 个结果，以此类推

    ```sh theme={null}
    curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.bing.com/search?q=pizza&num=20"
    ```
  </Accordion>

  <Accordion title="设备" icon="mobile-screen-button">
    ### `brd_mobile`

    定义要在用户代理中表示的设备类型

    默认或 `brd_mobile=0` 时将提供随机桌面用户代理，而 `brd_mobile=1` 时将提供随机移动用户代理。

    > **对于特定的移动平台，提供以下值之一:** \
    > `brd_mobile=ios` - iPhone 用户代理（别名 `brd_mobile=iphone`） \
    > `brd_mobile=ipad` - iPad 用户代理（别名 `brd_mobile=ios_tablet`） \
    > `brd_mobile=android` - 安卓手机 \
    > `brd_mobile=android_tablet` - 安卓平板 \\

    ```sh theme={null}
    curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.bing.com/search?q=pizza&brd_mobile=1"
    ```
  </Accordion>

  <Accordion title="Browser" icon="table-columns">
    ### `brd_browser`

    Define what browser to be represented in user-agent. \
    Can be combined with `brd_mobile` to get according mobile browser. \
    Default will provide random browser.

    > **For specific browser provide one of the following values:** \
    > `brd_browser=chrome` - 谷歌 Chrome \
    > `brd_browser=safari` - Safari \
    > `brd_browser=firefox` - Mozilla Firefox (not compatible with `brd_mobile=1`)

    ```sh theme={null}
    curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.bing.com/search?q=pizza&brd_browser=chrome"
    ```
  </Accordion>

  <Accordion title="Parsing" icon="brackets-curly">
    ### `brd_json`

    Bright Data 自定义参数允许返回已解析的 JSON 而不是原始 HTML

    > #### 示例：
    >
    > `brd_json=1` - 返回 JSON 格式的结果 \
    > `brd_json=html` - 返回带有包含原始 HTML 的 “html” 字段的 JSON 文件

    ```sh theme={null}
    curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.bing.com/search?q=pizza?brd_json=1"
    ```
  </Accordion>
</AccordionGroup>
