# wayfair.product

A Wayfair product from its page: price and reduction, rating, stock, options, description, dimensions, specifications, pictures and the first reviews.

Wayfair product, one of the Wayfair scrapers.

| | |
| --- | --- |
| Id | `wayfair.product` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/wayfair.product/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | no | The product's address on wayfair.com, e.g. https://www.wayfair.com/furniture/pdp/allmodern-miller-84-upholstered-sofa-w001178135.html; a `piid` in it chooses the version. Limit: at most 2048 characters. |
| `sku` | string | no | Wayfair's id of the product, the end of its address, e.g. W001178135. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `sku` | string | Wayfair's id of the product, as its address ends, e.g. W001178135. |
| `url` | string | The product's address on wayfair.com. |
| `variant_id` | string or null | Wayfair's id of the version the page shows: the product's id and the ids of its chosen options. |
| `title` | string | The product's name. |
| `brand` | string or null | The brand or maker. |
| `brand_url` | string or null | The address of the brand's page on wayfair.com. |
| `price` | number or null | The current price of the version shown, in `currency`. |
| `regular_price` | number or null | The earlier price the page shows struck through, when it shows one. |
| `currency` | string or null | The currency of the prices: USD. |
| `discount_text` | string or null | The reduction as the page writes it: a percentage, then Off. |
| `deal` | string or null | The name of a time-limited deal on the product, e.g. Flash Deal. |
| `deal_ends_at` | string or null | When that deal ends, as an ISO 8601 time in UTC. |
| `rating` | number or null | Average rating, 1 to 5; null for a product nobody has rated. |
| `rating_count` | integer or null | Number of ratings. |
| `rating_histogram` | object of integer values | How many ratings of each number of stars, keyed "1" to "5". |
| `stock_status` | string or null | Wayfair's word for the version's stock, e.g. IN_STOCK or OUT_OF_STOCK. |
| `description` | string or null | The product's description. |
| `features` | array of string | The feature lines the page lists. |
| `dimensions` | array of object | The product's measurements, as the page lists them. |
| `dimensions[].group` | string or null | The heading the measurement stands under, when it has one. |
| `dimensions[].name` | string | What is measured, e.g. Overall Dimensions. |
| `dimensions[].value` | string | The measurement as the page writes it. |
| `specifications` | array of object | The product's specifications, as the page lists them. |
| `specifications[].name` | string | The name of the specification, as the page gives it, e.g. Upholstery Material. |
| `specifications[].value` | string | Its value, as text. |
| `options` | array of object | The options the product comes in, each with its values. |
| `options[].name` | string | What the option is, e.g. Upholstery Color or Rug Size. |
| `options[].values` | array of string | The values the product comes in, as the page lists them. |
| `options[].selected` | string or null | The value of the version this record is of. |
| `selected_options` | array of string | The version this record is of, e.g. Upholstery Color: Black. |
| `category_path` | array of string | The product's category, from the department down, as the page's breadcrumb names it. |
| `images` | array of string | The addresses of the product's pictures, in the page's order, 800 pixels wide. |
| `video` | string or null | The address of the product's video, when it has one. |
| `reviews` | array of object | The reviews the product's page shows first (about five), in its order; reviewers are not returned. |
| `reviews[].review_id` | string | Wayfair's id of the review. |
| `reviews[].rating` | number | The stars given, 1 to 5. |
| `reviews[].text` | string or null | The review's text. |
| `reviews[].date` | string or null | The day it was written, as the page writes it (month/day/year). |
| `reviews[].verified_purchase` | boolean | True when Wayfair marks the reviewer as having bought the product from it. |
| `reviews[].options` | array of string | The version the reviewer bought, e.g. Upholstery Color: Blue. |
| `fetched_at` | string (date-time) | When the page was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/wayfair.product/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.wayfair.com/furniture/pdp/everly-quinn-modern-blue-velvet-upholstered-queen-bed-w123107611.html"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "wayfair.product",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "url": "https://www.wayfair.com/furniture/pdp/everly-quinn-modern-blue-velvet-upholstered-queen-bed-w123107611.html"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "sku": "W123107611",
      "url": "https://www.wayfair.com/furniture/pdp/everly-quinn-modern-blue-velvet-upholstered-queen-bed-w123107611.html",
      "variant_id": "W123107611",
      "title": "Modern Blue Velvet Upholstered Queen Bed",
      "brand": "Everly Quinn",
      "brand_url": "https://www.wayfair.com/brand/bnd/everly-quinn-b44311.html",
      "price": 1729.99,
      "regular_price": null,
      "currency": "USD",
      "discount_text": null,
      "deal": null,
      "deal_ends_at": null,
      "rating": null,
      "rating_count": 0,
      "rating_histogram": {
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0
      },
      "stock_status": "IN_STOCK",
      "description": "This modern‑style platform bed is upholstered in premium blue velvet fabric. It features an expansive tufted wingback headboard with elegant nail‑trim detailing, bringing a luxurious visual appeal. Sturdy frame structure delivers great … [truncated]",
      "features": [
        "MDF;Plywood / Laminate Board frame ensures outstanding structural stability",
        "Extra‑wide tufted wingback headboard delivers generous back‑leaning support",
        "Elegant nail‑trim detail enhances sophisticated decorative effect"
      ],
      "dimensions": [
        {
          "group": null,
          "name": "Overall Dimensions",
          "value": "61'' H X 118'' W X 86'' L"
        },
        {
          "group": null,
          "name": "Overall Product Weight",
          "value": "132 lb."
        }
      ],
      "specifications": [
        {
          "name": "Mattress Size",
          "value": "Queen"
        },
        {
          "name": "Color",
          "value": "Blue"
        },
        {
          "name": "Pieces Included",
          "value": "Headboard, Footboard"
        }
      ],
      "options": [],
      "selected_options": [],
      "category_path": [
        "Furniture",
        "Bedroom Furniture",
        "Beds & Headboards"
      ],
      "images": [
        "https://assets.wfcdn.com/avif/im/27179434/resize-h800-w800%5Ecompr-r85/4899/489944258/Modern+Blue+Velvet+Upholstered+Queen+Bed.jpg",
        "https://assets.wfcdn.com/avif/im/16691769/resize-h800-w800%5Ecompr-r85/4899/489944222/Modern+Blue+Velvet+Upholstered+Queen+Bed.jpg",
        "https://assets.wfcdn.com/avif/im/15896156/resize-h800-w800%5Ecompr-r85/4899/489944131/Modern+Blue+Velvet+Upholstered+Queen+Bed.jpg"
      ],
      "video": null,
      "reviews": [],
      "fetched_at": "2026-11-19T18:07:41.822864Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `description`: 286 characters, the first 235 shown.
- Shortened: `features`: 5 items, the first 3 shown.
- Shortened: `specifications`: 9 items, the first 3 shown.
- Shortened: `category_path`: 4 items, the first 3 shown.
- Shortened: `images`: 8 items, the first 3 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Wayfair scrapers](https://docs.enrichednow.com/results-and-statuses.md#wayfair) are in their own section there.
