# Bed Bath & Beyond Product Scraper & Price Tracker (`muhammadafzal/bedbathandbeyond-products-scraper`) Actor

Scrape Bed Bath & Beyond products and track prices: sale price, MSRP, discount, rating, stock and variants by ID, link, keyword or category. USD 1.50/1,000 rows.

- **URL**: https://apify.com/muhammadafzal/bedbathandbeyond-products-scraper.md
- **Developed by:** [Muhammad Afzal](https://apify.com/muhammadafzal) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 bed bath & beyond product rows

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 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

## Bed Bath & Beyond Product Scraper & Price Tracker

Bed Bath & Beyond Product Scraper & Price Tracker returns current Bed Bath & Beyond prices, sale flags, MSRP or was prices, discounts, ratings, review counts, brands, stock and every variant's price from bedbathandbeyond.com as JSON or CSV, by product ID, product link, search keyword or category link. Search and category rows cost USD 1.50 per 1,000 on the FREE tier, product-page rows USD 3.00 per 1,000 (row plus product-page event), plus USD 0.005 per run, and you pay only for rows delivered.

It is built for Bed Bath & Beyond price tracking and price-drop alerts, competitor price checks for home goods (bedding, bath, rugs, furniture, kitchen), catalog matching by SKU and model, and assortment research by category. No API key, login or proxies are needed.

### What Bed Bath & Beyond data does the scraper return?

One row per product with these fields:

| Field | What it holds |
|---|---|
| `productId`, `sku` | Bed Bath & Beyond product ID (the number before `/product.html` in the link) and the site's SKU number |
| `title`, `brand`, `model`, `countryOfOrigin` | Product name, brand, manufacturer part number and country of origin |
| `price`, `maxPrice`, `currency` | Current price in USD (the lowest variant price for products with sizes or colours) and the top of the price range |
| `onSale`, `compareAtPrice`, `compareAtType`, `discountPercent` | Whether the price is a sale price, the MSRP, was or compare-at price shown next to it, and the savings in percent |
| `inStock`, `variants`, `optionCount` | Stock flag and every variant (size, colour) with its own price, compare-at price, sale flag, stock flag and stock quantity |
| `rating`, `reviewCount`, `badge` | Average star rating out of 5, number of reviews, and badges such as Best Seller, Top Rated or Low Stock |
| `category`, `categoryPath`, `specifications`, `description`, `images` | Breadcrumb trail, specification table, description and up to 30 images: rows read from a product page |
| `fastDelivery`, `freeShipping`, `sponsored`, `imageUrl`, `url` | Two-day delivery label (lists), free-shipping flag (product pages), sponsored placement flag, main image and product link |
| `source`, `input`, `searchQuery`, `categoryUrl`, `page`, `position`, `scrapedAt` | Where the row came from, what you asked for, the list rank and when it was read |

Rows from product IDs and product links are read from the product page and carry every field. Search and category rows come from the result list: they carry the price, sale, compare-at, discount, rating, badge and image fields, while brand, stock, variants and specifications stay null. Pass a result's `productId` to `productIds` when you need those.

Prices are what bedbathandbeyond.com shows online in the US, before shipping, tax or member rewards.

### How do I track a Bed Bath & Beyond price by product ID or link?

Put product IDs in `productIds`, or product links in `productUrls`:

```json
{
  "productIds": ["5296998"],
  "productUrls": ["https://www.bedbathandbeyond.com/Home-Garden/Newton-Moroccan-Shag-Area-Rug-53-x-73/28528528/product.html"]
}
```

Each ID or link is one product-page row with the brand, stock and every variant's price. Run it on a schedule to track price drops: compare `price`, `onSale` and `variants[].price` between runs. Up to 500 IDs and links per run; duplicates are merged before any request. Only bedbathandbeyond.com links are read.

### How do I scrape Bed Bath & Beyond search results and categories?

Put keywords in `searchQueries` or category links in `categoryUrls`:

```json
{
  "searchQueries": ["bath towels", "coffee maker"],
  "categoryUrls": ["https://www.bedbathandbeyond.com/c/rugs/area-rugs?t=17603"],
  "maxPagesPerQuery": 2,
  "maxResults": 200
}
```

- Each page holds about 60 to 70 products in the site's order, sponsored placements included and marked `sponsored: true`.
- `maxPagesPerQuery` sets the pages per keyword or category (up to 20), and `maxResults` caps the whole run.
- A product that appears twice, on two pages or under two keywords, is delivered and charged once.
- Broad words such as "sofa" or "area rug" open a category page on the site. The Actor follows that and says so in `OUTPUT`.
- A brand name on its own ("Cuisinart") opens a brand page that the Actor cannot read; add a product word ("Cuisinart coffee maker"). That search is reported in `OUTPUT` and not charged.
- A keyword with no real matches comes back empty and is not charged. The site would show unrelated items for it; the Actor checks the titles and leaves those out.

### How much does it cost to scrape Bed Bath & Beyond?

You pay per event, with no subscription. Platform usage is included.

| Event | FREE | BRONZE | SILVER | GOLD |
|---|---|---|---|---|
| Bed Bath & Beyond product row (every row) | USD 0.0015 | USD 0.0014625 | USD 0.001425 | USD 0.0012 |
| Product page (added to rows read from a product page) | USD 0.0015 | USD 0.001463 | USD 0.001425 | USD 0.0012 |
| Actor start (per run, per started GB of memory) | USD 0.005 | USD 0.005 | USD 0.005 | USD 0.005 |

Examples on the FREE tier at the default 256 MB: one product ID costs USD 0.008 (start, row and product-page event); 100 search or category rows cost USD 0.155; 100 product IDs cost USD 0.305. Rows that are not found, empty, refused or failed are never charged. Set a maximum charge on the run to cap spend; the Actor stops cleanly when it is reached.

### What does a result look like?

A product-page row (variants and specifications shortened):

```json
{
  "productId": "5296998",
  "sku": "13108204",
  "title": "Superior Egyptian Cotton 6 Piece Towel Set Ultra Plush & Absorbent Bath, Hand & Face Towels, Heavyweight Spa Quality",
  "url": "https://www.bedbathandbeyond.com/Bedding-Bath/Superior-Egyptian-Cotton-900-GSM-Luxurious-Absorbent-6-piece-Towel-Set/5296998/product.html",
  "brand": "Superior",
  "price": 63.98,
  "maxPrice": 93.99,
  "onSale": true,
  "compareAtPrice": 157.5,
  "compareAtType": "MSRP",
  "discountPercent": 59,
  "currency": "USD",
  "inStock": true,
  "rating": 4.5,
  "reviewCount": 5165,
  "badge": "Best Seller",
  "freeShipping": true,
  "optionCount": 26,
  "category": "Bath Towels",
  "categoryPath": ["Bath", "Towels", "Bath Towels"],
  "model": "Madeline 6 PC TOWEL SET",
  "countryOfOrigin": "India",
  "specifications": { "Material": "Egyptian Cotton", "Care Instruction": "Machine Wash" },
  "variants": [
    { "optionId": "94445783", "name": "6 Piece-set - Ash Grey", "price": 93.99, "compareAtPrice": null, "onSale": false, "inStock": true, "stockQuantity": 157 },
    { "optionId": "7240384", "name": "6-Piece Set - Black", "price": 69.65, "compareAtPrice": 164.5, "onSale": true, "inStock": true, "stockQuantity": 753 }
  ],
  "sponsored": false,
  "source": "productPage",
  "input": "5296998",
  "scrapedAt": "2026-11-09T07:36:12.000Z"
}
```

A search row carries the same price, rating and badge fields from the result card, plus `fastDelivery`, `searchQuery`, `page` and `position`.

The `OUTPUT` record in the key-value store sums up the run: status (`SUCCEEDED`, `PARTIAL`, `EMPTY`, `FAILED` or `REJECTED`), each input's result (`ok`, `empty`, `not-found`, `rejected`, `failed`, `skipped`), skipped entries, the stop reason and charged events.

### When should I use this Bed Bath & Beyond scraper, and when not?

Use it to track Bed Bath & Beyond prices and sales by product ID, to watch a category or a keyword's results over time, to compare MSRP and sale prices across variants, or to collect SKUs, models and specifications for catalog matching.

Do not use it for:

- Review text: rows carry the rating and the review count, not individual reviews.
- Shipping costs, delivery dates for a ZIP code, or store pickup: rows carry the online price only.
- Carts, checkout, registries or anything behind a Bed Bath & Beyond account.
- Other shops: see [Google Shopping Scraper — Prices & Products](https://apify.com/muhammadafzal/google-shopping-scraper) to compare one product's price across many stores.

### Use it from an AI assistant

The Actor works from Claude, ChatGPT, Cursor or any MCP client through Apify's MCP server. Add `https://mcp.apify.com/?tools=muhammadafzal/bedbathandbeyond-products-scraper` as an MCP server. Then ask, for example: "What is the Bed Bath & Beyond price of product 5296998, and which colours are on sale?" The assistant fills in the input, runs the Actor and reads the rows.

### FAQ

**How do I find a Bed Bath & Beyond product ID?** It is the number before `/product.html` in the product link: in `…/Superior-Egyptian-Cotton-…-Towel-Set/5296998/product.html` the ID is `5296998`. The SKU shown on the page is a different number; use the ID or the whole link. Every search row carries its `productId`.

**Why does `price` differ from a variant's price?** For products with sizes or colours, `price` is the lowest price the site shows ("Sale Starts at"). Each entry in `variants` has that variant's own price and stock.

**Why did a broad search word ask for a category link?** Bed Bath & Beyond sends some broad words (sofa, area rug) straight to a category page. The Actor follows that and reads the category. If it cannot find out where the site sends the word, the search ends without charge and `OUTPUT` asks for the category link: open the search on bedbathandbeyond.com and put the link of the page it shows in `categoryUrls`.

**What happens with an unknown ID or a misspelled search?** Unknown IDs come back as not found after about a minute, and keywords with no real matches come back empty. Neither is charged; both are listed in `OUTPUT`. A list of mostly unknown IDs can stop the run early: after four unreadable product pages in a row the Actor stops and lists the rest as not requested.

**How long does a run take?** A search or category page of about 65 rows takes about 10 to 40 seconds. Product pages are read four at a time, about 10 to 25 seconds each. If a run reaches its timeout, the rows already delivered are kept and `OUTPUT` says where it stopped.

**Can I export the data?** Yes: JSON, CSV, Excel, XML or HTML from the dataset, or through the Apify API, webhooks and integrations.

Last verified: 2026-11-09

# Actor input Schema

## `productIds` (type: `array`):

Use this when you have Bed Bath & Beyond product IDs: the number before /product.html in a product link, 4 to 10 digits (e.g. 5296998). Each ID is one product-page row with brand, stock and variants.

## `productUrls` (type: `array`):

Use this when you have Bed Bath & Beyond product links instead of IDs, for example https://www.bedbathandbeyond.com/Bedding-Bath/Superior-Egyptian-Cotton-900-GSM-Luxurious-Absorbent-6-piece-Towel-Set/5296998/product.html. Only bedbathandbeyond.com links are read. Each link is one product-page row.

## `searchQueries` (type: `array`):

Use this to list Bed Bath & Beyond search results in the site's order: keywords as a shopper types them, for example bath towels or coffee maker. Each page has about 60 to 70 products (sponsored placements included and marked) with price, MSRP, discount, rating and badge. Some broad words (sofa, area rug) open a category page on the site: use that category link in Category links when a search reports it.

## `categoryUrls` (type: `array`):

Use this to list a Bed Bath & Beyond category in the site's order, for example https://www.bedbathandbeyond.com/c/bath/towels or https://www.bedbathandbeyond.com/c/rugs/area-rugs?t=17603. Filters in the link are kept. About 60 to 70 products per page.

## `maxResults` (type: `integer`):

Use this to cap the run: it stops after this many dataset rows, counting product IDs, links, search and category results together. Duplicates are removed before counting.

## `maxPagesPerQuery` (type: `integer`):

Use this to set how many result pages to read for each search keyword or category link, about 60 to 70 products per page. The run also stops at Maximum rows.

## Actor input object example

```json
{
  "productIds": [
    "5296998"
  ],
  "maxResults": 20,
  "maxPagesPerQuery": 3
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset rows: one per product page, search result or category result.

## `summary` (type: `string`):

The OUTPUT record: status, per-input results, skipped entries, stop reason, warnings and request counters.

# 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 = {
    "productIds": [
        "5296998"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("muhammadafzal/bedbathandbeyond-products-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 = { "productIds": ["5296998"] }

# Run the Actor and wait for it to finish
run = client.actor("muhammadafzal/bedbathandbeyond-products-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 '{
  "productIds": [
    "5296998"
  ]
}' |
apify call muhammadafzal/bedbathandbeyond-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,muhammadafzal/bedbathandbeyond-products-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/RQpff05VYtpGt5759/builds/iLYwVZxolxjlduX3w/openapi.json
