circle-check
Documentation has been updated: see help center and changelog in one place.

Best Buy

Best Buy scraping API with search and product sources. Includes parsed data support and comprehensive integration examples.

With Web Scraper API, you can scrape and parse various types of Best Buy pages; below is an overview of all supported scrapers and their respective source values.

Source
Description
Dedicated parser

bestbuy_search

Search pagearrow-up-right for a search term of your choice.

No.

bestbuy_product

Product pagearrow-up-right of a product ID of your choice.

Yes.

Getting started

Create your API user credentials: Sign up for a free trial or purchase the product in the Oxylabs dashboardarrow-up-right to create your API user credentials (USERNAME and PASSWORD).

circle-exclamation

Request sample

curl 'https://realtime.oxylabs.io/v1/queries' \
--user "USERNAME:PASSWORD" \
-H "Content-Type: application/json" \
-d '{
        "source": "bestbuy_product",
        "product_id": "6525410",
        "parse": true
    }'
chevron-rightOutput examplehashtag
{
    "results": [
        {
            "content": {
                "url": "https://www.bestbuy.com/site/apple-iphone-15-plus-128gb-black-verizon/6525454.p?skuId=6525454&intl=nosplash",
                "price": {
                    "price": 25.83,
                    "currency": "USD"
                },
                "title": "Apple - iPhone 15 Plus 128GB - Black (Verizon)",
                "rating": {
                    "count": 55,
                    "score": 4.3
                },
                "_errors": [
                    "'NoneType' object has no attribute 'xpath'"
                ],
                "product_id": "6525410",
                "is_sold_out": false,
                "parse_status_code": 12004,
            },
            "created_at": "2024-06-13 11:44:20",
            "updated_at": "2024-06-13 11:44:48",
            "page": 1,
            "url": "https://www.bestbuy.com/site/apple-iphone-15-plus-128gb-black-verizon/6525454.p?skuId=6525454&intl=nosplash",
            "job_id": "7206984735770310657",
            "status_code": 200,
            "parser_type": "bestbuy_product"
        }
    ]
}

We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.

Optionally, you can include additional parameters such as user_agent_type, parse, render and more to customize your scraping request. Read more:

Featureschevron-right

Last updated

Was this helpful?