Skip to main content
POST
/
datasets
/
v3
/
scrape
Discover by Keyword
curl --request POST \
  --url https://api.brightdata.com/datasets/v3/scrape \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": [
    {
      "keyword": "<string>",
      "zipcode": "<string>"
    }
  ]
}
'
[
  {
    "title": "Ergonomic Wireless Mouse with USB Receiver",
    "url": "https://www.amazon.com/dp/B0C98765XY",
    "asin": "B0C98765XY",
    "price": 24.99,
    "currency": "USD",
    "rating": 4.4,
    "reviews_count": 18700,
    "seller_name": "PeripheralsDirect",
    "brand": "ErgoClick",
    "availability": "In Stock",
    "main_image": "https://m.media-amazon.com/images/I/example-mouse.jpg",
    "description": "Lightweight ergonomic wireless mouse with adjustable DPI and silent clicks.",
    "category": "Electronics > Computers > Mice"
  }
]

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 Keyword data.
type
string
default:"discover_new"
Must be set to discover_new.
discover_by
string
default:"keyword"
Must be set to keyword.
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": [
    {
      "keyword": "wireless mouse",
      "zipcode": "10001"
    }
  ]
}
[
  {
    "title": "Ergonomic Wireless Mouse with USB Receiver",
    "url": "https://www.amazon.com/dp/B0C98765XY",
    "asin": "B0C98765XY",
    "price": 24.99,
    "currency": "USD",
    "rating": 4.4,
    "reviews_count": 18700,
    "seller_name": "PeripheralsDirect",
    "brand": "ErgoClick",
    "availability": "In Stock",
    "main_image": "https://m.media-amazon.com/images/I/example-mouse.jpg",
    "description": "Lightweight ergonomic wireless mouse with adjustable DPI and silent clicks.",
    "category": "Electronics > Computers > Mice"
  }
]