# Wayfair Product Search & Details Scraper (`b2b_leads/wayfair-real-time-data`) Actor

Scrape Wayfair search results and enrich each product with full PDP data in one row—price, rating, specs, dimensions, variants, and images. Clean JSON for pricing intel and catalog building.

- **URL**: https://apify.com/b2b\_leads/wayfair-real-time-data.md
- **Developed by:** [Chidubem Aneke](https://apify.com/b2b_leads) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Wayfair Real-Time Data — Live Wayfair Product Scraper (Apify Actor)

**Rich, real-time data from Wayfair** — the #1 online destination for home goods, furniture, decor, lighting, rugs, outdoor, kitchen & more.

This Actor delivers **highly detailed product search, PDP specs, reviews, deals, category rankings, and media** as clean structured JSON across major marketplaces (US primary), with **built-in residential proxy support** and **CAPTCHA handling**.

> Designed with the same proven architecture as the Amazon Real-Time Data actor, but **significantly enhanced data richness** tailored to Wayfair's home category (dimensions, materials, assembly, verified badges, variants, customer photos, shipping signals, and 30+ fields per product detail record).

***

### Why Wayfair Real-Time Data?

- **Extremely rich records** — not just price/title. Full specs, parsed dimensions (numeric), materials, variants matrix, verified status, full image sets, review photos, shipping/assembly info.
- **7 powerful tools** in one Actor via simple checkboxes.
- **25+ data points minimum** on search; **35-50+ fields** on details.
- Proxy + 2Captcha ready (use the provided or Apify Residential).
- Perfect for pricing intelligence, catalog building, competitive analysis, dropshipping research, and trend monitoring in the massive home goods vertical.

***

### Features

| Feature | Description | Richness |
|---------|-------------|----------|
| 🔍 Product Search | Keyword SERP with filters (price, rating, verified, sale) | Position, price+was, verified, images, shipping snippet |
| 📦 Product Details | Full PDP with deep attributes | **The star**: specs map, dimensions object, variants\[], 20+ images, assembly, ratings breakdown, Wayfair Verified |
| ⭐ Product Reviews | Paginated customer reviews | Text, photos in reviews, verified, seller responses |
| 🔗 Scrape By URL | Any Wayfair link with auto detection | Search / PDP / Deals / Category |
| 🏷️ Deals & Sales | Daily sales, clearance, holiday events | Discount %, badge, deal type, end dates |
| 📂 Category Browse | Browse categories + best-sellers / top-rated | Ranked lists with full product data |
| 🖼️ Product Media | Dedicated gallery & customer photo extraction | Full media sets + counts per SKU |

**Default**: Only Product Search is enabled.

***

### Rich Data Highlights (Product Details example)

Every details record includes:

- Identity: sku (wXXXX), title, brand, collection
- Pricing: price, wasPrice, discountPercent, currency
- Trust: isWayfairVerified, rating + full breakdown, reviewCount, customerPhotoCount
- Commerce: inStock, freeShipping, shipsWithin, deliveryEstimate, fulfilledBy
- Specs powerhouse:
  - `specifications`: { "Material": "...", "Weight Capacity": "300 lb", ... }
  - `dimensions`: { width, height, depth, weight, units }
  - materials, colors, assemblyRequired, weightCapacity...
- Variants: array with piid, pricing, images per option
- Media: large imageUrls array + lifestyle/detail
- Context: breadcrumbs, categories, highlights
- And more...

This is **far beyond basic scraping** — ready for analytics, ML training, or storefront import.

***

### Marketplaces

- **US** (wayfair.com) — default & best supported
- **CA** (wayfair.ca)
- **GB** (wayfair.co.uk)

More can be added.

***

### Quick Start (Apify Console)

1. Select marketplace (US recommended).
2. Check the features you need.
3. Provide keywords, SKUs (e.g. `w100719015`), or URLs.
4. Use **Residential proxies** (Apify RESIDENTIAL or your DataImpulse).
5. Run → results in Dataset (filter by `featureType`).

Example API input (Product Details + rich output):

```json
{
  "country": "US",
  "enableProductSearch": false,
  "enableProductDetails": true,
  "productSkus": ["w100719015"],
  "includeVariants": true,
  "includeSpecs": true
}
```

***

### Proxy & CAPTCHA (for local & robust runs)

Use residential proxies. Provided for testing:

- Host: gw.dataimpulse.com:10000
- Login + pass (see local setup)
- 2Captcha key available for image/reCAPTCHA solving.

On Apify: default to Residential US.

***

### Local Development

See DEVELOPMENT.md and DETAILED\_PLAN.md.

Typical:

```bash
npm install
## add .env with PROXY_* and TWOCAPTCHA_API_KEY
npm run start:local
```

***

### Output Format

Unified dataset items:

```json
{
  "featureType": "product_details",
  "country": "US",
  "scrapedAt": "2026-...",
  "url": "...",
  "sku": "w100719015",
  "title": "...",
  "price": 189.99,
  "wasPrice": 249.99,
  "isWayfairVerified": true,
  "dimensions": { "width": 48, "height": 32, ... },
  "specifications": { ... },
  "variants": [ ... ],
  "imageUrls": [ ... ],
  ...
}
```

All records tagged for easy post-processing / export to Sheets / BigQuery / your systems.

***

### Use Cases

- Real-time price + discount monitoring for home goods competitors
- Building enriched product catalogs / feeds
- Review mining + sentiment for specific furniture categories
- Deal alert systems around major sales events
- Supply research for resellers
- Visual datasets (media feature) for AI room visualizers

***

### Comparison to Alternatives

- Generic scrapers: break often, shallow data.
- This Actor: maintained parsers, rich home-goods schema, proxy+CAPTCHA built-in, Apify scheduling/webhooks/exports.

**Get structured Wayfair data without the pain.**

***

**Built for teams that need real data depth on Wayfair.**

# Actor input Schema

## `country` (type: `string`):

Select the Wayfair marketplace to scrape (US, CA, or GB).

## `enableProductSearch` (type: `boolean`):

Enable product search by keywords.

## `searchKeywords` (type: `array`):

Keywords to search for on Wayfair.

## `searchMaxResultsPerKeyword` (type: `integer`):

Maximum number of results to return per search keyword.

## `searchMaxPages` (type: `integer`):

Maximum number of search result pages to scrape per keyword.

## `searchSort` (type: `string`):

How to sort the search results.

## `searchIncludeProductDetails` (type: `boolean`):

After searching, automatically fetch rich details (specs, variants, dimensions, etc.) for the products found in the search results. This is the recommended way to get complete data from a search.

## `enableProductDetails` (type: `boolean`):

Fetch full details using the SKUs/URLs you provide below. For best results when searching, use the 'Also fetch full product details' option inside the Product Search section instead.

## `productSkus` (type: `array`):

List of Wayfair SKUs to scrape details for.

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

Direct product page URLs to scrape.

## `includeVariants` (type: `boolean`):

Include product variants in details.

## `includeSpecs` (type: `boolean`):

Include detailed specifications and dimensions.

## `enableProductReviews` (type: `boolean`):

Enable extraction of product reviews.

## `reviewsSkus` (type: `array`):

SKUs to fetch reviews for.

## `reviewsMaxPerProduct` (type: `integer`):

Maximum number of reviews to scrape per product.

## `enableDeals` (type: `boolean`):

Enable scraping of deals and sales pages.

## `dealsMaxProducts` (type: `integer`):

Maximum number of deal products to return.

## `dealsMinDiscountPercent` (type: `integer`):

Only include deals with at least this discount percentage.

## `enableCategoryBrowse` (type: `boolean`):

Enable category browsing and best sellers scraping.

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

URLs of categories or best-seller pages to browse.

## `categoryMaxProducts` (type: `integer`):

Maximum number of products to scrape per category URL.

## `enableScrapeByUrl` (type: `boolean`):

Enable scraping any Wayfair URL (auto-detects page type).

## `scrapeUrls` (type: `array`):

List of Wayfair URLs to scrape (any page type).

## `scrapeMaxPages` (type: `integer`):

How many pages to follow for paginated list pages (search/category).

## `enableProductMedia` (type: `boolean`):

Enable rich product media extraction (images, customer photos, videos).

## `mediaSkus` (type: `array`):

SKUs to extract rich media for.

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

Configure proxy for scraping (recommended to use residential proxies).

## Actor input object example

```json
{
  "country": "US",
  "enableProductSearch": true,
  "searchKeywords": [
    "sofa"
  ],
  "searchMaxResultsPerKeyword": 10,
  "searchMaxPages": 2,
  "searchSort": "relevance",
  "searchIncludeProductDetails": false,
  "enableProductDetails": false,
  "productSkus": [
    "w100719015"
  ],
  "productUrls": [
    "https://www.wayfair.com/furniture/pdp/latitude-run-kami-convertible-chaise-bed-bench-for-yoga-massage-2-in-1-ottoman-with-yoga-lounge-chair-w100719015.html"
  ],
  "includeVariants": true,
  "includeSpecs": true,
  "enableProductReviews": false,
  "reviewsSkus": [
    "w100719015"
  ],
  "reviewsMaxPerProduct": 10,
  "enableDeals": false,
  "dealsMaxProducts": 30,
  "dealsMinDiscountPercent": 0,
  "enableCategoryBrowse": false,
  "categoryUrls": [
    "https://www.wayfair.com/furniture/cat/furniture-c45974.html"
  ],
  "categoryMaxProducts": 30,
  "enableScrapeByUrl": false,
  "scrapeUrls": [
    "https://www.wayfair.com/furniture/pdp/latitude-run-kami-convertible-chaise-bed-bench-for-yoga-massage-2-in-1-ottoman-with-yoga-lounge-chair-w100719015.html"
  ],
  "scrapeMaxPages": 1,
  "enableProductMedia": false,
  "mediaSkus": [
    "w100719015"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `products` (type: `string`):

One row per product. Search + details runs merge SERP and PDP fields into a single record (hasFullDetails).

# 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 = {
    "searchKeywords": [
        "sofa"
    ],
    "productSkus": [
        "w100719015"
    ],
    "productUrls": [
        "https://www.wayfair.com/furniture/pdp/latitude-run-kami-convertible-chaise-bed-bench-for-yoga-massage-2-in-1-ottoman-with-yoga-lounge-chair-w100719015.html"
    ],
    "reviewsSkus": [
        "w100719015"
    ],
    "categoryUrls": [
        "https://www.wayfair.com/furniture/cat/furniture-c45974.html"
    ],
    "scrapeUrls": [
        "https://www.wayfair.com/furniture/pdp/latitude-run-kami-convertible-chaise-bed-bench-for-yoga-massage-2-in-1-ottoman-with-yoga-lounge-chair-w100719015.html"
    ],
    "mediaSkus": [
        "w100719015"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("b2b_leads/wayfair-real-time-data").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 = {
    "searchKeywords": ["sofa"],
    "productSkus": ["w100719015"],
    "productUrls": ["https://www.wayfair.com/furniture/pdp/latitude-run-kami-convertible-chaise-bed-bench-for-yoga-massage-2-in-1-ottoman-with-yoga-lounge-chair-w100719015.html"],
    "reviewsSkus": ["w100719015"],
    "categoryUrls": ["https://www.wayfair.com/furniture/cat/furniture-c45974.html"],
    "scrapeUrls": ["https://www.wayfair.com/furniture/pdp/latitude-run-kami-convertible-chaise-bed-bench-for-yoga-massage-2-in-1-ottoman-with-yoga-lounge-chair-w100719015.html"],
    "mediaSkus": ["w100719015"],
}

# Run the Actor and wait for it to finish
run = client.actor("b2b_leads/wayfair-real-time-data").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "searchKeywords": [
    "sofa"
  ],
  "productSkus": [
    "w100719015"
  ],
  "productUrls": [
    "https://www.wayfair.com/furniture/pdp/latitude-run-kami-convertible-chaise-bed-bench-for-yoga-massage-2-in-1-ottoman-with-yoga-lounge-chair-w100719015.html"
  ],
  "reviewsSkus": [
    "w100719015"
  ],
  "categoryUrls": [
    "https://www.wayfair.com/furniture/cat/furniture-c45974.html"
  ],
  "scrapeUrls": [
    "https://www.wayfair.com/furniture/pdp/latitude-run-kami-convertible-chaise-bed-bench-for-yoga-massage-2-in-1-ottoman-with-yoga-lounge-chair-w100719015.html"
  ],
  "mediaSkus": [
    "w100719015"
  ]
}' |
apify call b2b_leads/wayfair-real-time-data --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=b2b_leads/wayfair-real-time-data",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/eqcyNDmQ5PIcHgIc3/builds/zxz4KYbKQ1ubKRwQ2/openapi.json
