> ## 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.

# 按 UPC 发现

## 查询参数

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

  <Warning>
    必须设置为 `gd_l7q7dkf244hwjntr0` 以收集**按 UPC 发现**数据。
  </Warning>
</ParamField>

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

<ParamField query="discover_by" type="string" default="upc">
  必须设置为 `upc`。
</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="upc" type="string" required>
      要查询的产品的 UPC 代码。
    </ParamField>
  </Expandable>

  #### 示例

  ```json wrap theme={null}
  {
    "input": [
      {"upc": "012345678901"},
      {"upc": "098765432109"}
    ]
  }
  ```
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "title": "Stainless Steel Water Bottle 32oz",
      "url": "https://www.amazon.com/dp/B0D11223AB",
      "asin": "B0D11223AB",
      "price": 19.99,
      "currency": "USD",
      "rating": 4.8,
      "reviews_count": 42300,
      "seller_name": "HydroGear",
      "brand": "HydroGear",
      "availability": "In Stock",
      "main_image": "https://m.media-amazon.com/images/I/example-bottle.jpg",
      "description": "Double-wall vacuum insulated water bottle that keeps drinks cold for 24 hours.",
      "category": "Sports & Outdoors > Water Bottles"
    }
  ]
  ```
</ResponseExample>
