# Bestbuy Scraper (`getdataforme/bestbuy-scraper`) Actor

A Best Buy scraper automatically collects product information (prices, specs, reviews, stock status) from BestBuy.com. It helps monitor price changes, compare deals, and gather market data for retailers and consumers tracking electronics and appliance prices.

- **URL**: https://apify.com/getdataforme/bestbuy-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** E-commerce
- **Stats:** 32 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bestbuy Scraper Documentation

### Overview

The **Bestbuy Scraper** is an Apify actor designed to extract detailed product information from Bestbuy.com. By providing a list of product URLs as input, the scraper retrieves essential details, including the product title, model, rating, price, and description.

***

### Input Configuration

The input for the Bestbuy Scraper should be a JSON object containing two keys:

- `proxyConfiguration`: Determines the proxy settings for the scraper. Set `useApifyProxy` to `false` if no proxy is required.
- `urls`: An array of Bestbuy product URLs to scrape.

#### Input Example

```json
{
    "proxyConfiguration": {
        "useApifyProxy": false
    },
    "urls": [
        "https://www.bestbuy.com/site/incase-edge-hard-shell-case-for-macbook-pro-16-inch-m3-2023-and-m4-2024-clear/6599381.p?skuId=6599381",
        "https://www.bestbuy.com/site/thule-gauntlet-4-attache-briefcase-for-all-16-apple-macbook-pro-models-all-15-apple-macbook-pro-models-14-1-pc-laptops-black/6527575.p?skuId=6527575",
        "https://www.bestbuy.com/site/solo-new-york-ambition-urban-17-3-backpack-black/6518204.p?skuId=6518204"
    ]
}
```

***

### Output

The scraper returns a JSON array where each object contains the following fields:

- `url`: The original product URL provided in the input.
- `title`: The title of the product.
- `model`: The product model or identifier.
- `rating_info`: The user rating and review summary.
- `price`: The price of the product, including currency.
- `monthly_payment`: Any available monthly payment details.
- `description`: A detailed description of the product.
- `sku`: The unique SKU identifier for the product.
- `additional_Details`: An array for any extra product information.

#### Output Example

```json
[
    {
        "url": "https://www.bestbuy.com/site/incase-edge-hard-shell-case-for-macbook-pro-16-inch-m3-2023-and-m4-2024-clear/6599381.p?skuId=6599381",
        "title": "Incase - Edge Hard Shell Case for MacBook Pro 16-inch M3 2023 and M4 2024 - Clear",
        "model": "INMB200754-CLR-BBY ",
        "rating_info": "User rating, 5 out of 5 stars with 4 reviews.",
        "price": "$49.95",
        "monthly_payment": "",
        "description": "Designed for total protection, the Edge Hard Shell is a subtle evolution from the original. Featuring full port, button and indicator light access, we ensured a highly durable yet extremely lightweight and low-profile silhouette, adding minimal bulk to your device. The matte finish protects against scratches and fingerprints, with an intentional inset accent on the top panel for enhanced grip and comfort.",
        "sku": "6599381",
        "additional_Details": []
    }
]
```

***

### Usage Instructions

1. **Input Preparation**: Create a JSON file containing the `proxyConfiguration` and `urls` array with the product URLs you want to scrape.
2. **Actor Execution**: Run the Bestbuy Scraper actor on the Apify platform, providing the input JSON file.
3. **Retrieve Results**: After the execution, download the output JSON containing the scraped data.

***

### Support

For custom outputs, simplified formats, or to report any issues, please contact:

- **Email**: <support@getdataforme.com>
- **Contact Form**: <https://getdataforme.com/contact/>

When reaching out, please include a clear subject line and detailed description of your request or issue.

***

Thank you for using the Bestbuy Scraper!

# Actor input Schema

## `urls` (type: `array`):

The URL of website you want to get the data from.

## `proxyConfiguration` (type: `object`):

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "urls": [
    "https://www.bestbuy.com/site/thule-gauntlet-4-attache-briefcase-for-all-16-apple-macbook-pro-models-all-15-apple-macbook-pro-models-14-1-pc-laptops-black/6527575.p?intl=nosplash"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://www.bestbuy.com/site/thule-gauntlet-4-attache-briefcase-for-all-16-apple-macbook-pro-models-all-15-apple-macbook-pro-models-14-1-pc-laptops-black/6527575.p?intl=nosplash"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/bestbuy-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": ["https://www.bestbuy.com/site/thule-gauntlet-4-attache-briefcase-for-all-16-apple-macbook-pro-models-all-15-apple-macbook-pro-models-14-1-pc-laptops-black/6527575.p?intl=nosplash"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/bestbuy-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.bestbuy.com/site/thule-gauntlet-4-attache-briefcase-for-all-16-apple-macbook-pro-models-all-15-apple-macbook-pro-models-14-1-pc-laptops-black/6527575.p?intl=nosplash"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call getdataforme/bestbuy-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/bestbuy-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/bFnWmus212qlAshkp/builds/Hmtt3X1d9WXKz76FJ/openapi.json
