APIs / Marketplaces / Wayfair
1 credit per call5 endpoints19 datapoints
Wayfair API
Wayfair API for furniture and home product search, category listings, product details and reviews in the US, Canada and UK as JSON. 1 credit per call.
{
"success": true,
"data": {
"query": "sofa",
"pagination": {
"page": 1,
"per_page": 48,
"total": 262340,
"total_pages": 5466,
"has_next_page": true
},
"sort": "recommended",
"category_url": "https://www.wayfair.com/furniture/sb0/sofas-c413892.html",
"products": [
{
"position": 1,
"sku": "W006759421",
"variant_id": "BQ04011156",
"title": "Barton 80.31'' Faux Leather Square Arm Sofa",
"brand": "Ebern Designs",
"url": "https://www.wayfair.com/furniture/pdp/ebern-designs-barton-8031-faux-leather-square-arm-sofa-w006759421.html",
"price": {
"amount": 415.99,
"currency": "USD"
},
"original_price": {
"amount": 699.99,
"currency": "USD"
},
"on_sale": true,
"savings_percent": 41,
"rating": 4.48,
"review_count": 1463,
"image_urls": [
"https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/4306/430660494/image.jpg",
"https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/3705/370591211/image.jpg"
],
"flag": "Early Black Friday",
"is_best_value": true,
"delivery": {
"promise": "FREE 1-Day Delivery",
"estimated_arrival": "Get it Tomorrow"
},
"stock_message": "619 Left in Stock",
"selected_options": [
{
"name": "Upholstery Color",
"value": "Chestnut Performance Faux Leather"
}
],
"sponsored": true
},
{
"position": 2,
"sku": "W008221555",
"variant_id": "AG38006862",
"title": "Carmencita 65\" Linen Upholstered Square Arm Loveseat",
"brand": "Wade Logan®",
"url": "https://www.wayfair.com/furniture/pdp/wade-logan-carmencita-65-linen-upholstered-square-arm-loveseat-w008221555.html",
"price": {
"amount": 319.99,
"currency": "USD"
},
"original_price": {
"amount": 460,
"currency": "USD"
},
"on_sale": true,
"savings_percent": 30,
"rating": 4.51,
"review_count": 1965,
"image_urls": [
"https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/2473/247335722/image.jpg",
"https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/3743/374335315/image.jpg"
],
"flag": "Early Black Friday",
"is_best_value": true,
"delivery": {
"promise": "FREE 1-Day Delivery",
"estimated_arrival": "Get it Tomorrow"
},
"stock_message": "820 Left in Stock",
"selected_options": [
{
"name": "Upholstery Color",
"value": "Gray Linen"
},
{
"name": "Support",
"value": "Solid Wood"
}
],
"sponsored": true
},
{
"position": 3,
"sku": "W118436057",
"variant_id": "QC80853726",
"title": "108\" Cloud L-Shaped Modular Sectional Sofa, 2 Washable Cover Sets with Ottoman, Oversized Deep Seat Living Room Couch for DIY Color Switch, Boneless Style (White & Grey)",
"brand": "Latitude Run®",
"url": "https://www.wayfair.com/furniture/pdp/latitude-run-boneless-108-boneless-cloud-modular-sectional-sofa-with-2-washable-cover-sets-l-shape-deep-seat-couch-with-ottoman-toss-pillows-oversized-comfy-living-room-sofa-diy-color-refresh-white-grey…",
"price": {
"amount": 869.99,
"currency": "USD"
},
"original_price": {
"amount": 1899.99,
"currency": "USD"
},
"on_sale": true,
"savings_percent": 54,
"rating": 4.15,
"review_count": 99,
"image_urls": [
"https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/4955/495561351/image.jpg",
"https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/4944/494417986/image.jpg"
],
"flag": "Buy More, Save More",
"is_best_value": false,
"delivery": {
"promise": "FREE Fast Delivery",
"estimated_arrival": "Get it by Mon, Nov 16"
},
"stock_message": "136 Left in Stock",
"selected_options": [
{
"name": "Upholstery Material",
"value": "White/Gray"
}
],
"sponsored": true
}
],
"filters": [
{
"id": "69278",
"name": "Sale",
"type": "options",
"options": [
{
"id": "8",
"name": "Sale",
"selected": false,
"enabled": true
}
]
},
{
"id": "1234567890",
"name": "Fast Delivery",
"type": "options",
"options": [
{
"id": "2147483646",
"name": "Fast Delivery",
"selected": false,
"enabled": true
}
]
},
{
"id": "160734",
"name": "Wayfair Verified",
"type": "options",
"options": [
{
"id": "579585",
"name": "Wayfair Verified",
"selected": false,
"enabled": true
}
]
}
]
},
"meta": {
"endpoint_family": "search",
"request_id": "req_bcf29e822d57479191b3a2ea2a6544cd",
"credits_charged": 1,
"credits_remaining": 1944
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | positioninteger | skustring | variant_idstring | titlestring | brandstring | urlurl | priceobject | original_priceobject | on_saleboolean | savings_percentinteger | ratingnumber | review_countinteger | image_urlsstring[] | flagstring | is_best_valueboolean | deliveryobject | stock_messagestring | selected_optionsobject[] | sponsoredboolean |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | W006759421 | BQ04011156 | Barton 80.31'' Faux Leather Square Arm Sofa | Ebern Designs | https://www.wayfair.com/furniture/pdp/ebern-designs-barton-8031-faux-leather-square-arm-sofa-w006759421.html | {2 fields} | {2 fields} | true | 41 | 4.48 | 1463 | [2 items] | Early Black Friday | true | {2 fields} | 619 Left in Stock | [1 item] | true |
| 2 | 2 | W008221555 | AG38006862 | Carmencita 65" Linen Upholstered Square Arm Loveseat | Wade Logan® | https://www.wayfair.com/furniture/pdp/wade-logan-carmencita-65-linen-upholstered-square-arm-loveseat-w008221555.html | {2 fields} | {2 fields} | true | 30 | 4.51 | 1965 | [2 items] | Early Black Friday | true | {2 fields} | 820 Left in Stock | [2 items] | true |
| 3 | 3 | W118436057 | QC80853726 | 108" Cloud L-Shaped Modular Sectional Sofa, 2 Washable Cover Sets with Ottoman, Oversized Deep Seat Living Room Couch for DIY Color Switch, Boneless Style (White & Grey) | Latitude Run® | https://www.wayfair.com/furniture/pdp/latitude-run-boneless-108-boneless-cloud-modular-sectional-sofa-with-2-washable-cover-sets-l-shape-deep-seat-couch-with-ottoman-toss-pillows-oversized-comfy-living-room-sofa-diy-color-refresh-white-grey… | {2 fields} | {2 fields} | true | 54 | 4.15 | 99 | [2 items] | Buy More, Save More | false | {2 fields} | 136 Left in Stock | [1 item] | true |
[
{
"position": 1,
"sku": "W006759421",
"variant_id": "BQ04011156",
"title": "Barton 80.31'' Faux Leather Square Arm Sofa",
"brand": "Ebern Designs",
"url": "https://www.wayfair.com/furniture/pdp/ebern-designs-barton-8031-faux-leather-square-arm-sofa-w006759421.html",
"price": {
"amount": 415.99,
"currency": "USD"
},
"original_price": {
"amount": 699.99,
"currency": "USD"
},
"on_sale": true,
"savings_percent": 41,
"rating": 4.48,
"review_count": 1463,
"image_urls": [
"https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/4306/430660494/image.jpg",
"https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/3705/370591211/image.jpg"
],
"flag": "Early Black Friday",
"is_best_value": true,
"delivery": {
"promise": "FREE 1-Day Delivery",
"estimated_arrival": "Get it Tomorrow"
},
"stock_message": "619 Left in Stock",
"selected_options": [
{
"name": "Upholstery Color",
"value": "Chestnut Performance Faux Leather"
}
],
"sponsored": true
},
{
"position": 2,
"sku": "W008221555",
"variant_id": "AG38006862",
"title": "Carmencita 65\" Linen Upholstered Square Arm Loveseat",
"brand": "Wade Logan®",
"url": "https://www.wayfair.com/furniture/pdp/wade-logan-carmencita-65-linen-upholstered-square-arm-loveseat-w008221555.html",
"price": {
"amount": 319.99,
"currency": "USD"
},
"original_price": {
"amount": 460,
"currency": "USD"
},
"on_sale": true,
"savings_percent": 30,
"rating": 4.51,
"review_count": 1965,
"image_urls": [
"https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/2473/247335722/image.jpg",
"https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/3743/374335315/image.jpg"
],
"flag": "Early Black Friday",
"is_best_value": true,
"delivery": {
"promise": "FREE 1-Day Delivery",
"estimated_arrival": "Get it Tomorrow"
},
"stock_message": "820 Left in Stock",
"selected_options": [
{
"name": "Upholstery Color",
"value": "Gray Linen"
},
{
"name": "Support",
"value": "Solid Wood"
}
],
"sponsored": true
},
{
"position": 3,
"sku": "W118436057",
"variant_id": "QC80853726",
"title": "108\" Cloud L-Shaped Modular Sectional Sofa, 2 Washable Cover Sets with Ottoman, Oversized Deep Seat Living Room Couch for DIY Color Switch, Boneless Style (White & Grey)",
"brand": "Latitude Run®",
"url": "https://www.wayfair.com/furniture/pdp/latitude-run-boneless-108-boneless-cloud-modular-sectional-sofa-with-2-washable-cover-sets-l-shape-deep-seat-couch-with-ottoman-toss-pillows-oversized-comfy-living-room-sofa-diy-color-refresh-white-grey…",
"price": {
"amount": 869.99,
"currency": "USD"
},
"original_price": {
"amount": 1899.99,
"currency": "USD"
},
"on_sale": true,
"savings_percent": 54,
"rating": 4.15,
"review_count": 99,
"image_urls": [
"https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/4955/495561351/image.jpg",
"https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/4944/494417986/image.jpg"
],
"flag": "Buy More, Save More",
"is_best_value": false,
"delivery": {
"promise": "FREE Fast Delivery",
"estimated_arrival": "Get it by Mon, Nov 16"
},
"stock_message": "136 Left in Stock",
"selected_options": [
{
"name": "Upholstery Material",
"value": "White/Gray"
}
],
"sponsored": true
}
]position,sku,variant_id,title,brand,url,price,original_price,on_sale,savings_percent,rating,review_count,image_urls,flag,is_best_value,delivery,stock_message,selected_options,sponsored
1,W006759421,BQ04011156,Barton 80.31'' Faux Leather Square Arm Sofa,Ebern Designs,https://www.wayfair.com/furniture/pdp/ebern-designs-barton-8031-faux-leather-square-arm-sofa-w006759421.html,"{""amount"":415.99,""currency"":""USD""}","{""amount"":699.99,""currency"":""USD""}",true,41,4.48,1463,"[""https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/4306/430660494/image.jpg"",""https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/3705/370591211/image.jpg""]",Early Black Friday,true,"{""promise"":""FREE 1-Day Delivery"",""estimated_arrival"":""Get it Tomorrow""}",619 Left in Stock,"[{""name"":""Upholstery Color"",""value"":""Chestnut Performance Faux Leather""}]",true
2,W008221555,AG38006862,"Carmencita 65"" Linen Upholstered Square Arm Loveseat",Wade Logan®,https://www.wayfair.com/furniture/pdp/wade-logan-carmencita-65-linen-upholstered-square-arm-loveseat-w008221555.html,"{""amount"":319.99,""currency"":""USD""}","{""amount"":460,""currency"":""USD""}",true,30,4.51,1965,"[""https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/2473/247335722/image.jpg"",""https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/3743/374335315/image.jpg""]",Early Black Friday,true,"{""promise"":""FREE 1-Day Delivery"",""estimated_arrival"":""Get it Tomorrow""}",820 Left in Stock,"[{""name"":""Upholstery Color"",""value"":""Gray Linen""},{""name"":""Support"",""value"":""Solid Wood""}]",true
3,W118436057,QC80853726,"108"" Cloud L-Shaped Modular Sectional Sofa, 2 Washable Cover Sets with Ottoman, Oversized Deep Seat Living Room Couch for DIY Color Switch, Boneless Style (White & Grey)",Latitude Run®,https://www.wayfair.com/furniture/pdp/latitude-run-boneless-108-boneless-cloud-modular-sectional-sofa-with-2-washable-cover-sets-l-shape-deep-seat-couch-with-ottoman-toss-pillows-oversized-comfy-living-room-sofa-diy-color-refresh-white-grey…,"{""amount"":869.99,""currency"":""USD""}","{""amount"":1899.99,""currency"":""USD""}",true,54,4.15,99,"[""https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/4955/495561351/image.jpg"",""https://assets.wfcdn.com/im/00000000/resize-h800-w800%5Ecompr-r85/4944/494417986/image.jpg""]","Buy More, Save More",false,"{""promise"":""FREE Fast Delivery"",""estimated_arrival"":""Get it by Mon, Nov 16""}",136 Left in Stock,"[{""name"":""Upholstery Material"",""value"":""White/Gray""}]",trueRecorded from our API · 3 items shown · 19 datapoints per itemGET /v1/wayfair/search?query=sofa
19 datapoints
Identity
- skustring
- variant_idstring
- titlestring
- brandstring
Contact
- urlurl
- image_urlsstring[]
Reputation
- ratingnumber
- review_countinteger
Price
- priceobject
- original_priceobject
Other
- positioninteger
- on_saleboolean
- savings_percentinteger
- flagstring
- is_best_valueboolean
- deliveryobject
- stock_messagestring
- selected_optionsobject[]
- sponsoredboolean
Playground
Run this API
curl "https://api.perceptlayer.com/v1/wayfair/search?query=sofa" \
-H "X-API-Key: $API_KEY"Wayfair · 5 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters and an example request.
| Endpoint | Required parameters | Cost |
|---|---|---|
GET/v1/wayfair/autocomplete | query+1 optional | 1 credit |
GET/v1/wayfair/category | none+8 optional | 1 credit |
GET/v1/wayfair/product | none+4 optional | 1 credit |
GET/v1/wayfair/reviews | variant_id+7 optional | 1 credit |
GET/v1/wayfair/search | query+2 optional | 1 credit |
Overview
About the Wayfair API
What you can get
The Wayfair API returns Wayfair product data as JSON through 5 endpoints. Each takes a domain of com, ca or co.uk.
- Search:
searchtakes aquery, withpage.autocompletetakes a partialquery. - Categories:
categorytakes acategory_idor a categoryurl, withpage,filters,price_min,price_maxandsort(recommended, price_asc, price_desc, rating, most_purchased, biggest_savings, popularity, total_price_asc or total_price_desc). - Products:
producttakes askuor a producturl, withoption_ids. - Reviews:
reviewstakes avariant_id, withlimit,cursor,ratings,aspects,searchandsort(RELEVANCE_DESC, HELPFULNESS_DESC, RATING_DESC, RATING_ASC, DATE_DESC or PHOTOS_COUNT_DESC).
The recorded search for "sofa" returns products, each with position, sku, variant_id, title, brand, url, price and original_price (amount and currency), on_sale, savings_percent, rating, review_count, image_urls, delivery, stock_message, selected_options and sponsored. It also returns pagination with total (262,340 in that recording), total_pages and has_next_page, the category_url the search maps to, and filters.
How a call works
Search, then look up: GET /v1/wayfair/search?query=sofa with your key in the X-API-Key header returns each product's sku and variant_id; product takes the sku and reviews takes the variant_id. To page a category instead, send GET /v1/wayfair/category?category_id=413892&sort=price_asc. Check has_next_page before asking for the next page. Every successful call costs 1 credit; failed calls cost nothing.
More marketplaces APIs
Use cases
Track Wayfair prices and sale discounts for a product list
Use the Wayfair API to track Wayfair prices and sale discounts for a product listCompare prices across the US, Canada and UK sites with `domain`
Use the Wayfair API to compare prices across the US, Canada and UK sites with `domain`Rank a category by biggest savings or most purchased
Use the Wayfair API to rank a category by biggest savings or most purchasedWatch stock messages and delivery promises for products
Use the Wayfair API to watch stock messages and delivery promises for productsFAQ
Questions
How much does the Wayfair API cost?
Each successful call costs one credit, and each search or category page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.
Which Wayfair sites can I query?
Wayfair in the US, Canada and the UK: pass `domain` as com, ca or co.uk.
Do I need a Wayfair account?
No. You call this Wayfair API with your Perceptlayer key in the `X-API-Key` header, with no Wayfair login.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Should I build a Wayfair scraper instead?
You can, but a Wayfair scraper is code you maintain: page changes break it, requests get blocked, and Wayfair's terms govern how you collect data. The Wayfair API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Wayfair API with 100 free credits
No credit card. Failed calls are never billed.