# Wayfair category listings extractor

**Use case:** 

Extract product IDs, variant IDs, prices, discounts, ratings, promotions, images, and source positions from a specific Wayfair category URL.

## Input

```json
{
  "searchTerms": [
    "office chair"
  ],
  "startUrls": [
    {
      "url": "https://www.wayfair.com/furniture/sb0/office-chairs-c478390.html"
    }
  ],
  "maxItems": 30,
  "maxPagesPerUrl": 1,
  "postalCode": "10001",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

## Output

```json
{
  "productId": {
    "label": "Product ID"
  },
  "variantId": {
    "label": "Variant ID"
  },
  "name": {
    "label": "Product"
  },
  "url": {
    "label": "Wayfair URL",
    "format": "link"
  },
  "imageUrl": {
    "label": "Image",
    "format": "image"
  },
  "currentPrice": {
    "label": "Current price"
  },
  "previousPrice": {
    "label": "Previous price"
  },
  "currency": {
    "label": "Currency"
  },
  "discountPercent": {
    "label": "Discount %"
  },
  "promotion": {
    "label": "Promotion"
  },
  "rating": {
    "label": "Rating"
  },
  "reviewCount": {
    "label": "Reviews"
  },
  "inStock": {
    "label": "In stock"
  },
  "shipToPostalCode": {
    "label": "Ship-to ZIP"
  },
  "sourceUrl": {
    "label": "Source URL",
    "format": "link"
  },
  "pageNumber": {
    "label": "Page"
  },
  "position": {
    "label": "Position"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "date"
  }
}
```

## About this Actor

This example demonstrates how to use [Wayfair Product and Price Scraper](https://apify.com/automation-lab/wayfair-product-price-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/wayfair-product-price-scraper) to learn more, explore other use cases, and run it yourself.