Scraper APIWayfair
wayfair.product
A Wayfair product from its page: price and reduction, rating, stock, options, description, dimensions, specifications, pictures and the first reviews.
- 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; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
url | string | 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 | 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. |
group (in dimensions[]) | string or null | The heading the measurement stands under, when it has one. |
name (in dimensions[]) | string | What is measured, e.g. Overall Dimensions. |
value (in dimensions[]) | string | The measurement as the page writes it. |
specifications | array of object | The product's specifications, as the page lists them. |
name (in specifications[]) | string | The name of the specification, as the page gives it, e.g. Upholstery Material. |
value (in specifications[]) | string | Its value, as text. |
options | array of object | The options the product comes in, each with its values. |
name (in options[]) | string | What the option is, e.g. Upholstery Color or Rug Size. |
values (in options[]) | array of string | The values the product comes in, as the page lists them. |
selected (in options[]) | 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. |
review_id (in reviews[]) | string | Wayfair's id of the review. |
rating (in reviews[]) | number | The stars given, 1 to 5. |
text (in reviews[]) | string or null | The review's text. |
date (in reviews[]) | string or null | The day it was written, as the page writes it (month/day/year). |
verified_purchase (in reviews[]) | boolean | True when Wayfair marks the reviewer as having bought the product from it. |
options (in reviews[]) | 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
# Start a run and wait up to 60 seconds for it to finish
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"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("wayfair.product", {
"url": "https://www.wayfair.com/furniture/pdp/everly-quinn-modern-blue-velvet-upholstered-queen-bed-w123107611.html",
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("wayfair.product", {
url: "https://www.wayfair.com/furniture/pdp/everly-quinn-modern-blue-velvet-upholstered-queen-bed-w123107611.html",
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "wayfair.product", map[string]any{"url": "https://www.wayfair.com/furniture/pdp/everly-quinn-modern-blue-velvet-upholstered-queen-bed-w123107611.html"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("wayfair.product", Map.of("url", "https://www.wayfair.com/furniture/pdp/everly-quinn-modern-blue-velvet-upholstered-queen-bed-w123107611.html"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run wayfair.product --input url=https://www.wayfair.com/furniture/pdp/everly-quinn-modern-blue-velvet-upholstered-queen-bed-w123107611.htmlInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"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.
{
"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.
{
"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 lists every status and the reasons every scraper shares; the reasons of the Wayfair scrapers are in their own section there.