Skip to main content
POST
/
datasets
/
v3
/
scrape
Discover by UPC
curl --request POST \
  --url https://api.brightdata.com/datasets/v3/scrape \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": [
    {
      "upc": "<string>"
    }
  ]
}
'
[
  {
    "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"
  }
]

Query Parameters

dataset_id
string
default:"gd_l7q7dkf244hwjntr0"
required
The dataset ID used for this request.
Must be set to gd_l7q7dkf244hwjntr0 to collect Discover by UPC data.
type
string
default:"discover_new"
Must be set to discover_new.
discover_by
string
default:"upc"
Must be set to upc.
notify
boolean
default:false
Whether to send notifications when the request is completed.
include_errors
boolean
default:true
Whether to include errors in the response.

Request Body

input
object[]
required
An array of input objects.

Example

{
  "input": [
    {"upc": "012345678901"},
    {"upc": "098765432109"}
  ]
}
[
  {
    "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"
  }
]