# Wayfair Scraper: Furniture Prices, Stock & Delivery by ZIP (`moggedhq/wayfair-scraper`) Actor

Monitor Wayfair furniture prices, sale savings, stock and delivery by ZIP from searches, categories or product links. Get SKU, brand, ratings and selected options. Sale, clearance and Way Day badges. $0.003 per product plus $0.01 per run with products, and the minimum start charge. No login.

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

## Pricing

from $2.40 / 1,000 products

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

## Wayfair Scraper: Furniture Prices, Stock & Delivery by ZIP

For retail price analysts, furniture brands and comparison services monitoring Wayfair US products. Collect national online prices, previous prices, sale savings, stock, ratings and delivery information for selected US ZIP codes. About **$0.003 per delivered product**, plus **$0.01 per run that delivers products**, or **$0.07 for 20 products**, plus the minimum **$0.00005 Actor start charge**. No Wayfair login or retailer API key is required.

Use search terms, category links, product URLs or Wayfair SKUs. Common fields combine across retailers; selected options and ZIPs remain explicit.

### What you get

Each row starts with a readable verdict, then identity, price, promotions, availability and source evidence. Unknown values stay null.

| Field | Meaning |
| --- | --- |
| `retailer`, `country`, `currency` | Wayfair, US and USD. |
| `storeId`, `storeName` | `online` and Wayfair US online. No physical-store price is implied. |
| `location` | Requested US ZIP, or null for the site's anonymous default location. |
| `productId`, `sku` | Wayfair catalog identifier, kept as text. |
| `gtin` | Source-supported barcode only; otherwise null. A Wayfair SKU is not a barcode. |
| `title`, `brand`, `size` | Product name, explicit manufacturer/brand and supplied size. |
| `price`, `regularPrice`, `onSale` | Current selected-option price, supplied previous price and sale comparison. |
| `promoText`, `promoType` | Published sale or deal badge and its source type. |
| `promoStart`, `promoEnd` | Dates only when the source provides them. |
| `memberPrice`, `memberProgram` | Numeric member price when supplied and a named membership program. |
| `unitPrice`, `unitOfMeasure` | Source unit price and unit; null when absent. |
| `inStock`, `stockLevel` | Explicit availability and source-supplied inventory count for the verified location. |
| `rating`, `reviewCount` | Supplied aggregate rating and review count. |
| `category`, `url`, `imageUrl` | Product category, selected product URL and public product image. |
| `scrapedAt` | UTC observation timestamp. |

| Field | Meaning |
| --- | --- |
| `priceScope` | Always `online`: national US online prices. |
| `listPrice`, `salePrice`, `percentOff` | Previous price, current sale price and calculated savings percentage. |
| `selectedVariantId`, `displayListingVariantId` | Source identifiers for the observed selection. |
| `unitPriceText`, `quantityPerUnit`, `minimumOrderQuantity`, `forcedQuantityMultiplier` | Published per-item wording, package quantity and ordering multiples. |
| `selectedOptions` | Selected color, orientation or other options with source IDs and labels. |
| `options` | Available option labels, links, stock and prices where that selection is priced. |
| `requestedPostalCode`, `resolvedPostalCode` | Requested ZIP and ZIP confirmed by the source response. |
| `fulfillmentZipVerified` | Whether fulfillment belongs to the resolved delivery location. |
| `deliveryEstimate`, `shippingCost`, `shippingText` | Delivery estimate, explicit shipping amount and original shipping message. |
| `deliveryOptions` | Available delivery information retained with its published wording. |
| `deliveryDateMin`, `deliveryDateMax`, `deliveryDisclaimer` | Supplied delivery date range and checkout qualification. |
| `stockStatus`, `inventoryMessage` | Original availability code and supplied inventory message. |
| `categoryPath`, `ratingAverage` | Product-page category path and rating alias. |
| `isDeal`, `sponsored` | Verified deal and sponsored-placement flags. |
| `productBadge`, `productBadgeType` | Original merchandising badge; generic New badges are separate from deals. |
| `memberSavingsText` | Published member-savings message, kept separate from a numeric price. |
| `detailFetched`, `sourceUrl`, `sourceSurface` | Enrichment status, exact observation URL and desktop/mobile-web surface. |

The overview dataset view places title, current price, previous price, promotion, member price, unit price, availability, online store and ZIP together. The deals view emphasizes discount fields and promotion dates. The `DEALS` JSON record contains only delivered rows with `isDeal: true`. Large deal exports provide a manifest of smaller JSON parts.

Every run also saves a free `SUMMARY` record. Read its product count, delivery locations, source outcomes, free failures, duplicate exclusions and spending-limit status before accepting a snapshot as complete. Explanatory dataset rows have `recordType: "NOTE"`; useful product rows have `recordType: "PRODUCT"`. Notes and summaries do not incur product charges.

### Start in three steps

1. Enter search terms or public Wayfair US product/category links.
2. Choose delivery ZIP codes and a product cap.
3. Run, inspect SUMMARY and export JSON, CSV or Excel.

The form collects 20 sofas at ZIP 10001. Preserve piid when monitoring product selections.

### Inputs and examples

| Input | Example and behavior |
| --- | --- |
| `searchTerms` | `["sofa", "office chair"]`; each runs at every selected ZIP. |
| `startUrls` | Public search, sb0/sb1/sb2 category, curated sale and product URLs. |
| `productIds` | `["W117645758"]`; exact Wayfair SKU discovery through public search. |
| `locations` | `["10001", "90210"]`; requested delivery ZIPs. ZIP+4 is normalized to five digits. |
| `postalCodes` | Alternative name for locations, used when locations is absent or empty. |
| `storeIds` | Family compatibility field; values produce a free note about online price scope. |
| `maxItemsPerSearch` | New rows per source and ZIP; default 20, maximum 2,000. |
| `maxItems` | Global row cap; default 20, maximum 10,000. |
| `dealsOnly` | Deliver only explicit deal badges or prices below the supplied previous price. |
| `includeDetails` | Visit product pages for category path, option and delivery extras. |
| `proxyConfiguration` | Automatic datacenter-to-US-residential routing, or your explicit proxy selection. |

`locations` takes precedence over postalCodes when both contain values. Locations has no injected default, so postalCodes works independently. Use maxItems and maxItemsPerSearch for caps.

Search for two product groups at two ZIPs:

```json
{
  "searchTerms": ["sofa", "office chair"],
  "locations": ["10001", "90210"],
  "maxItemsPerSearch": 20,
  "maxItems": 80
}
```

Up to 80 observations cost $0.25 plus the start charge. Caps do not guarantee matching products.

Browse a category:

```json
{
  "startUrls": ["https://www.wayfair.com/furniture/sb0/sofas-c413892.html"],
  "locations": ["10001"],
  "maxItemsPerSearch": 100,
  "maxItems": 100,
  "dealsOnly": true
}
```

Monitor a known selection by pasting its complete product URL into `startUrls`. Keep its `piid` query parameter. Set `includeDetails: true` for product-page category, options and delivery information where available. A direct product input contributes at most one product row per ZIP. Alternative choices stay inside its options array instead of becoming extra charged rows.

### Understand price, stock and delivery

`price` is the advertised price of the selected option. `regularPrice` is the source's previous price, not an audited historical price. `percentOff` is calculated from those values. Unit prices use explicit published wording and retain its rounding. Keep package quantities and ordering multiples when comparing sets with individual items.

Online prices are national. ZIP selection controls fulfillment. Requested and resolved ZIPs remain explicit; a response must confirm the requested ZIP before supplying its stock, delivery or shipping fields.

Explicit free-delivery messages can produce shippingCost zero. General shipping-threshold banners cannot. Delivery dates, checkout qualifications and original wording remain separate. Taxes, assembly, protection plans and checkout upgrades are excluded from price.

Member-savings badges remain text when no numeric member price is supplied. A timed-sale badge does not establish an end date; only published dates are retained.

### Output example

Selected fields observed from the public product page on 11 November 2026 for ZIP 10001:

```json
{
  "retailer": "Wayfair",
  "country": "US",
  "currency": "USD",
  "storeId": "online",
  "location": "10001",
  "productId": "W117645758",
  "brand": "Latitude Run®",
  "price": 379.99,
  "regularPrice": 499.99,
  "onSale": true,
  "percentOff": 24,
  "priceScope": "online",
  "inStock": true,
  "resolvedPostalCode": "10001",
  "fulfillmentZipVerified": true,
  "deliveryEstimate": "Get it by Thu, Nov 19",
  "shippingCost": 0,
  "shippingText": "FREE Delivery",
  "promoEnd": null,
  "memberPrice": null,
  "gtin": null
}
```

This is an observation, not a current price guarantee. Re-run the selected product to collect a fresh snapshot.

### Observed coverage

Across 34 inputs on 12-13 November 2026, searches, categories, products, deals, ZIP aliases and details returned 46 priced observations with clean summaries. Two larger runs each delivered 1,100 unique product/ZIP rows across 10001, 90210, 60601, 77001 and 33101. All 2,200 rows had numeric prices and explicit stock status; 2,186 supplied shipping costs and 1,566 supplied delivery estimates. Seven supplied unit prices. A rebooted run retained 1,100 unique rows without duplicate Product charges. Ten independently fetched product pages matched all ten current and previous prices at ZIP 10001. Coverage varies with the products and source responses.

### Pricing and spending limits

One Product charge applies to each distinct product at one requested ZIP. A product at two ZIPs is two observations. Overlapping inputs at one ZIP are delivered and charged once. Failed requests, retries, empty filters, notes and summaries have no Product fee or default dataset-item fee.

| Products | Base | Bronze | Silver | Gold |
| --- | --- | --- | --- | --- |
| 20 | $0.06 | $0.057 | $0.054 | $0.048 |
| 100 | $0.30 | $0.285 | $0.27 | $0.24 |
| 1,000 | $3.00 | $2.85 | $2.70 | $2.40 |

The table shows Product fees. Add a fixed $0.01 Catalog lookup when a run delivers products and the minimum $0.00005 start charge. Empty runs have no lookup fee. Tier discounts apply to Products; details have no separate fee. Set Apify's maximum total charge to control spending. Lookup and Product capacity are reserved together before the first delivery; the final affordable product remains in the dataset.

### Monitor prices every day

Save a task with stable product/category inputs and explicit ZIPs. In Console, create a schedule, select the task and choose its schedule and timezone. Connect its completed-run webhook to your database or workflow.

Join snapshots with retailer + productId + location. Retain selectedVariantId and selectedOptions to compare the same selection. Preserve scrapedAt and null values, and check SUMMARY for incomplete coverage. Each run collects a new observation; store completed datasets to build history. Saved pages and the completed-row ledger survive reboots. Recovery reconciles delivered products and fees; ambiguous billing evidence stops further charging.

### API and automation

Start a run with your own Apify token, then read its default dataset and SUMMARY:

```bash
curl -X POST \
  'https://api.apify.com/v2/acts/moggedhq~wayfair-scraper/runs' \
  -H 'Authorization: Bearer YOUR_APIFY_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"searchTerms":["sofa"],"locations":["10001"],"maxItems":20}'
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("moggedhq/wayfair-scraper").call(
    run_input={"searchTerms": ["sofa"], "locations": ["10001"], "maxItems": 20}
)
rows = list(client.dataset(run["defaultDatasetId"]).iterate_items())
summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("SUMMARY")
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('moggedhq/wayfair-scraper').call({
  searchTerms: ['office chair'], locations: ['90210'], maxItems: 20
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

Make, Zapier, n8n and Google Sheets can read completed datasets. Filter PRODUCT rows for counts. Full JSON retains nested options and delivery information.

### Use with AI agents (MCP)

Connect to `https://mcp.apify.com`. Supply Wayfair product groups or URLs, ZIPs and a cap. Ask the agent to inspect SUMMARY and retain online price scope, selected options, resolved ZIPs and nulls.

### Limits

Coverage is Wayfair US public online catalog data. Product discovery uses the requested main grid. Marketing-only sale landing pages and curated pages with browser-loaded grids produce a free note; use category listings or search with dealsOnly. Search follows the retailer's ranking, corrections and suggested results. Exact product-ID inputs are filtered by SKU.

Physical-store shelf prices, account offers, personalized discounts, checkout totals and business-account prices are outside coverage. No retailer login, imported account cookies or verification solving is used.

Source refusals can prevent complete output. Desktop and mobile-web responses are tried under the chosen proxy settings; sourceSurface identifies the observed surface. Pagination stops at the cap, repeated pages, exhaustion or the safety limit. Available choices do not establish every option's price. Product-page failures retain a usable listing observation with a detail note.

Promotion dates, barcodes, unit prices, quantities and member prices can be absent. Missing values stay null. Delivery estimates are not guarantees.

### FAQ

**Can I select a store?** Online prices use storeId online; choose ZIPs for fulfillment.

**Why are prices or dates null?** The public response did not supply them.

**Do options matter?** Preserve piid values and compare the same selection.

**Does includeDetails add a fee?** No separate detail fee.

**What happens with bad input?** Parseable invalid selections produce free notes and SUMMARY; schema-invalid values can be rejected before starting.

**Is history included?** Save successive datasets to build your own history.

# Actor input Schema

## `searchTerms` (type: `array`):

Public Wayfair US keyword searches, such as sofa or office chair. Each term runs at each delivery ZIP. Empty when using only product or category URLs.

## `startUrls` (type: `array`):

Public https://www.wayfair.com search, sb0/sb1/sb2 category, curated sale or pdp product URLs. Preserve piid to monitor a selected option. Other domains and account pages produce a free note.

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

Wayfair SKUs, such as W117645758. Exact SKU lookup uses public search. These are supplier/catalog identifiers, not barcodes.

## `locations` (type: `array`):

US ZIP codes. Price is a national online price. Stock, delivery and shipping are accepted only when the page confirms this ZIP. Empty uses the anonymous site location. locations takes precedence over postalCodes when both contain values.

## `postalCodes` (type: `array`):

Alias for locations. Used only when locations is absent or empty. No default is injected into locations, so postalCodes-only input works.

## `storeIds` (type: `array`):

Family compatibility field. Wayfair online prices have no selectable physical-store ID. Supply locations for delivery ZIPs. Values here produce a free explanatory note.

## `maxItemsPerSearch` (type: `integer`):

New unique products delivered per search/category and ZIP, after deal filtering. A direct product or exact SKU contributes at most one row per ZIP.

## `maxItems` (type: `integer`):

Global product/ZIP row cap. One product at two ZIPs is two observations. About $0.003 per product plus $0.01 per run that delivers products; 20 products cost $0.07 plus the minimum start charge.

## `dealsOnly` (type: `boolean`):

Deliver only products with an explicit deal badge or a current price below the supplied previous price. Can scan additional pages. No-match filters are free.

## `includeDetails` (type: `boolean`):

Fetch product pages for category path, delivery estimate, selected options and option stock where supplied. Other option prices remain null unless the source prices that selection. No extra result event.

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

Automatic empty/default Apify selection tries default datacenter, then US residential with a fresh anonymous session. Explicit disable, groups, country and custom proxy URLs are preserved. No unblocking service is used.

## Actor input object example

```json
{
  "searchTerms": [
    "sofa"
  ],
  "locations": [
    "10001"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20,
  "dealsOnly": false,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `dealsView` (type: `string`):

No description

## `dealsOnly` (type: `string`):

No description

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

No description

# 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 = {
    "searchTerms": [
        "sofa"
    ],
    "locations": [
        "10001"
    ],
    "maxItemsPerSearch": 20,
    "maxItems": 20,
    "dealsOnly": false,
    "includeDetails": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("moggedhq/wayfair-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 = {
    "searchTerms": ["sofa"],
    "locations": ["10001"],
    "maxItemsPerSearch": 20,
    "maxItems": 20,
    "dealsOnly": False,
    "includeDetails": False,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("moggedhq/wayfair-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 '{
  "searchTerms": [
    "sofa"
  ],
  "locations": [
    "10001"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20,
  "dealsOnly": false,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call moggedhq/wayfair-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moggedhq/wayfair-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/DzeUxFSGuekAWtsgU/builds/zHww8xAGsE0lNhv3c/openapi.json
