Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    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.

    Inputs of wayfair.product
    FieldTypeDescription
    urlstringThe 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.
    skustringWayfair'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.

    Record fields of wayfair.product
    FieldTypeNotes
    skustringWayfair's id of the product, as its address ends, e.g. W001178135.
    urlstringThe product's address on wayfair.com.
    variant_idstring or nullWayfair's id of the version the page shows: the product's id and the ids of its chosen options.
    titlestringThe product's name.
    brandstring or nullThe brand or maker.
    brand_urlstring or nullThe address of the brand's page on wayfair.com.
    pricenumber or nullThe current price of the version shown, in currency.
    regular_pricenumber or nullThe earlier price the page shows struck through, when it shows one.
    currencystring or nullThe currency of the prices: USD.
    discount_textstring or nullThe reduction as the page writes it: a percentage, then Off.
    dealstring or nullThe name of a time-limited deal on the product, e.g. Flash Deal.
    deal_ends_atstring or nullWhen that deal ends, as an ISO 8601 time in UTC.
    ratingnumber or nullAverage rating, 1 to 5; null for a product nobody has rated.
    rating_countinteger or nullNumber of ratings.
    rating_histogramobject of integer valuesHow many ratings of each number of stars, keyed "1" to "5".
    stock_statusstring or nullWayfair's word for the version's stock, e.g. IN_STOCK or OUT_OF_STOCK.
    descriptionstring or nullThe product's description.
    featuresarray of stringThe feature lines the page lists.
    dimensionsarray of objectThe product's measurements, as the page lists them.
    group (in dimensions[])string or nullThe heading the measurement stands under, when it has one.
    name (in dimensions[])stringWhat is measured, e.g. Overall Dimensions.
    value (in dimensions[])stringThe measurement as the page writes it.
    specificationsarray of objectThe product's specifications, as the page lists them.
    name (in specifications[])stringThe name of the specification, as the page gives it, e.g. Upholstery Material.
    value (in specifications[])stringIts value, as text.
    optionsarray of objectThe options the product comes in, each with its values.
    name (in options[])stringWhat the option is, e.g. Upholstery Color or Rug Size.
    values (in options[])array of stringThe values the product comes in, as the page lists them.
    selected (in options[])string or nullThe value of the version this record is of.
    selected_optionsarray of stringThe version this record is of, e.g. Upholstery Color: Black.
    category_patharray of stringThe product's category, from the department down, as the page's breadcrumb names it.
    imagesarray of stringThe addresses of the product's pictures, in the page's order, 800 pixels wide.
    videostring or nullThe address of the product's video, when it has one.
    reviewsarray of objectThe reviews the product's page shows first (about five), in its order; reviewers are not returned.
    review_id (in reviews[])stringWayfair's id of the review.
    rating (in reviews[])numberThe stars given, 1 to 5.
    text (in reviews[])string or nullThe review's text.
    date (in reviews[])string or nullThe day it was written, as the page writes it (month/day/year).
    verified_purchase (in reviews[])booleanTrue when Wayfair marks the reviewer as having bought the product from it.
    options (in reviews[])array of stringThe version the reviewer bought, e.g. Upholstery Color: Blue.
    fetched_atstring (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.html

    Install 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:

    JSON
    {
      "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 lists every status and the reasons every scraper shares; the reasons of the Wayfair scrapers are in their own section there.