Product
Last updated
Was this helpful?
Last updated
Was this helpful?
The bestbuy_product
source is designed to retrieve Bestbuy product result pages. We can return the HTML for any Best Buy page you like. Additionally, we can deliver structured (parsed) output for Best Buy product pages.
The samples below illustrates how you can get a parsed Best Buy product result.
We use synchronous integration method in our examples. If you would like to use or asynchronous integration, refer to the section.
source
Sets the scraper.
universal
product_id
7-symbol product ID.
-
render
-
parse
false
callback_url
-
user_agent_type
desktop
- mandatory parameter
Adapt results to specific domains, stores, delivery locations.
domain
Domain localization for Bestbuy. Available values: com
, ca
.
com
String
store_id
Specify a store.
-
Integer
delivery_zip
Set the delivery ZIP location.
-
String
E-Commerce Scraper API can extract Best Buy product results in either HTML or JSON format, providing structured data on various elements of the page.
The table below presents a detailed list of each product page element we parse, along with its description and data type. The table also includes some metadata.
url
The URL of the Best Buy product page.
string
price
The price object, containing price and currency information.
object
price.price
The price of the product.
integer
price.currency
The currency in which the price is denominated.
string
title
The title of the product.
string
rating
The rating object, containing count and score of ratings.
object
rating.count
The number of ratings received for the product.
integer
rating.score
The rating score of the product.
integer
product_id
The unique identifier for the product.
string
is_sold_out
Indicates whether the product is sold out.
boolean
parse_status_code
integer
created_at
The timestamp when the scraping job was created.
timestamp
updated_at
The timestamp when the scraping job was finished.
timestamp
page
The page number in the pagination of results.
integer
status_code
integer
parser_type
The type of parser used to extract the data.
integer
job_id
The ID of the job associated with the scraping job.
string
Enables JavaScript rendering when set to html
. .
Returns parsed data when set to true
. Explore output .
URL to your callback endpoint. .
Device type and browser. The full list can be found .
The status code of the parsing job. You can see the parser status codes described .
The status code of the scraping job. You can see the scraper status codes described .