curl --request POST \
--url 'https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_l7q7dkf244hwjntr0&include_errors=true' \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{"input": [{"url": "https://www.amazon.com/dp/B0CHHSFMRL"}, {"url": "https://www.amazon.com/dp/B09V3KXJPB"}]}'
[
{
"title": "Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation",
"asin": "B0FQFB8FMG",
"brand": "Apple",
"initial_price": 249,
"final_price": 199.99,
"currency": "USD",
"rating": 4.4,
"reviews_count": 14302,
"seller_name": "Amazon.com",
"availability": "In Stock",
"image_url": "https://m.media-amazon.com/images/I/61solmQSSlL._AC_SL1500_.jpg",
"url": "https://www.amazon.com/dp/B0FQFB8FMG"
}
]
Amazon
按 URL 抓取 Amazon 产品
使用 Bright Data Scraper API 按产品 URL 采集 Amazon 产品页面数据。发送 POST /datasets/v3/scrape 请求,dataset_id 为 gd_l7q7dkf244hwjntr0。
POST
/
datasets
/
v3
/
scrape
curl --request POST \
--url 'https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_l7q7dkf244hwjntr0&include_errors=true' \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{"input": [{"url": "https://www.amazon.com/dp/B0CHHSFMRL"}, {"url": "https://www.amazon.com/dp/B09V3KXJPB"}]}'
[
{
"title": "Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation",
"asin": "B0FQFB8FMG",
"brand": "Apple",
"initial_price": 249,
"final_price": 199.99,
"currency": "USD",
"rating": 4.4,
"reviews_count": 14302,
"seller_name": "Amazon.com",
"availability": "In Stock",
"image_url": "https://m.media-amazon.com/images/I/61solmQSSlL._AC_SL1500_.jpg",
"url": "https://www.amazon.com/dp/B0FQFB8FMG"
}
]
查询参数
请求体
[
{
"title": "Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation",
"asin": "B0FQFB8FMG",
"brand": "Apple",
"initial_price": 249,
"final_price": 199.99,
"currency": "USD",
"rating": 4.4,
"reviews_count": 14302,
"seller_name": "Amazon.com",
"availability": "In Stock",
"image_url": "https://m.media-amazon.com/images/I/61solmQSSlL._AC_SL1500_.jpg",
"url": "https://www.amazon.com/dp/B0FQFB8FMG"
}
]
授权
查询参数
响应
200 - application/json
OK
此页面对您有帮助吗?