Wayfair API

API ID 16044

家居用品零售数据:带筛选条件的商品搜索、价格和库存、分类列表、包含选项、尺寸和图片的商品详情、评价和门店位置

API 文档

端点

请求
返回 wayfair.com 的顶级部门(家具、户外用品、床上用品与卫浴用品、地毯、装饰品与靠垫、照明用品……),每个部门均包含其类别 ID、名称、链接和商品数量
Endpoint ID: 45582
GET https://zylalabs.com/api/16044/wayfair+api/45582/categories
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
[
    {
        "category_id": 32334,
        "name": "Outdoor",
        "url": "https://www.wayfair.com/outdoor/cat/outdoor-c32334.html",
        "products_count": 501614
    },
    {
        "category_id": 45226,
        "name": "Baby & Kids",
        "url": "https://www.wayfair.com/baby-kids/cat/baby-kids-c45226.html",
        "products_count": 146064
    },
    {
        "category_id": 45342,
        "name": "Home Improvement",
        "url": "https://www.wayfair.com/home-improvement/cat/home-improvement-c45342.html",
        "products_count": 401766
    },
    {
        "category_id": 45667,
        "name": "Kitchen & Tabletop",
        "url": "https://www.wayfair.com/kitchen-tabletop/cat/kitchen-tabletop-c45667.html",
        "products_count": 698636
    },
    {
        "category_id": 45752,
        "name": "Decor & Pillows",
        "url": "https://www.wayfair.com/decor-pillows/cat/decor-pillows-c45752.html",
        "products_count": 2058556
    },
    {
        "category_id": 45974,
        "name": "Furniture",
        "url": "https://www.wayfair.com/furniture/cat/furniture-c45974.html",
        "products_count": 982446
    },
    {
        "category_id": 114464,
        "name": "Browse By Brand",
        "url": "https://www.wayfair.com/brand/cat/browse-by-brand-c114464.html",
        "products_count": 1310868
    },
    {
        "category_id": 215329,
        "name": "Bed & Bath",
        "url": "https://www.wayfair.com/bed-bath/cat/bed-bath-c215329.html",
        "products_count": 508077
    },
    {
        "category_id": 215385,
        "name": "Rugs",
        "url": "https://www.wayfair.com/rugs/cat/rugs-c215385.html",
        "products_count": 577058
    },
    {
        "category_id": 215602,
        "name": "Appliances",
        "url": "https://www.wayfair.com/appliances/cat/appliances-c215602.html",
        "products_count": 61440
    },
    {
        "category_id": 215735,
        "name": "Lighting",
        "url": "https://www.wayfair.com/lighting/cat/lighting-c215735.html",
        "products_count": 283249
    },
    {
        "category_id": 541537,
        "name": "Sales",
        "url": "https://www.wayfair.com/daily-sales",
        "products_count": 0
    }
]
类别 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16044/wayfair+api/45582/categories' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出某个类别的产品,包含 /search/filters 端点的所有筛选条件、价格范围和排序顺序。每个产品包含与 /search 端点相同的字段。每页 48 个产品
Endpoint ID: 45583
GET https://zylalabs.com/api/16044/wayfair+api/45583/category+products
输入参数

类别产品 — 端点功能

对象 描述
category_id 必需 Category id (e.g. "413892" for Sofas), the number after "-c" in a category link. Use the /category/list endpoint, or the "category_id" a /search answer gives, to list valid values.
filters 可选 Optional semicolon-separated list of filter option values, each a filter id and an option id joined with ":" (e.g. "Color:Gray;customerrating.ca.11:4"). Use the /search/filters endpoint to list valid values.
min_price 可选 Optional minimum price in US dollars (e.g. "300").
max_price 可选 Optional maximum price in US dollars (e.g. "800").
sort 可选 Optional sort order (defaults to "recommended"). Use the /general/sort-orders endpoint to list valid values.
zip_code 可选 Optional five-digit US ZIP code the stock is given for (defaults to "10001").
page 可选 Optional page number, 48 products per page, 1 to 100 (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

category_id
filters
min_price
max_price
sort
zip_code
page
API 示例响应
JSON
{
    "total": 253536,
    "category_id": 413892,
    "page": 1,
    "has_next_page": true,
    "products": [
        {
            "sku": "W117645758",
            "variant_id": "QC77291760",
            "listing_variant_id": "W117645758_1924515993_1924516003",
            "name": "Boneless 96\" Sectional Couches For Living Room Modern Modular L-Shape Cloud Sofa Compression-Boneless Deep Seat Couch With Chaise",
            "url": "https://www.wayfair.com/furniture/pdp/latitude-run-boneless-96-sectional-couches-for-living-room-modern-modular-l-shape-cloud-sofa-compression-boneless-deep-seat-couch-with-chaise-w117645758.html?piid=1924515993%2C1924516003",
            "brand": {
                "brand_id": 40128,
                "name": "Latitude Run®"
            },
            "class": {
                "class_id": 305,
                "name": "Sofas"
            },
            "price": 359.99,
            "price_range": null,
            "price_per_item": null,
            "previous_price": 499.99,
            "currency": "USD",
            "discount": "28% Off",
            "set_quantity": null,
            "rating": 4.23,
            "reviews_count": 624,
            "flag": "Cyber Monday Extended",
            "limited_time_deal": null,
            "is_best_value": false,
            "special_offers": [],
            "stock_status": "IN_STOCK",
            "stock_message": "937 Left in Stock",
            "max_quantity": 937,
            "back_in_stock": null,
            "image": "https://assets.wfcdn.com/im/00000000/compr-r85/4574/457451319/image.jpg",
            "options": [
                {
                    "name": "Color",
                    "selected": "Dark Gray Corduroy",
                    "choices": [
                        {
                            "option_id": 1924516004,
                            "name": "Black Corduroy",
                            "image": null
                        },
                        {
                            "option_id": 1924516006,
                            "name": "Blue Corduroy",
                            "image": null
                        },
                        {
                            "option_id": 1924516007,
                            "name": "Camel Corduroy",
                            "image": null
                        },
                        {
                            "option_id": 1924515993,
                            "name": "Dark Gray Corduroy",
                            "image": null
                        },
                        {
                            "option_id": 1924516002,
                            "name": "Green Corduroy",
                            "image": null
                        }
                    ]
                },
                {
                    "name": "Orientation",
                    "selected": "Left Hand Facing",
                    "choices": [
                        {
                            "option_id": 1924516003,
                            "name": "Left Hand Facing",
                            "image": null
                        },
                        {
                            "option_id": 1924516005,
                            "name": "Right Hand Facing",
                            "image": null
                        }
                    ]
                }
            ],
            "is_sponsored": true
        }
    ],
    "redirect_url": null
}
类别产品 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16044/wayfair+api/45583/category+products?category_id=413892&sort=recommended&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出 /search 和 /category/products 端点的“sort”参数接受的值
Endpoint ID: 45584
GET https://zylalabs.com/api/16044/wayfair+api/45584/sort+orders
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
[
    {
        "value": "recommended",
        "label": "Recommended"
    },
    {
        "value": "popularity",
        "label": "Best selling"
    },
    {
        "value": "rating",
        "label": "Customer rating"
    },
    {
        "value": "price_asc",
        "label": "Price: low to high"
    },
    {
        "value": "price_desc",
        "label": "Price: high to low"
    }
]
排序订单 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16044/wayfair+api/45584/sort+orders' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出 /product/reviews 端点的“sort”参数接受的值
Endpoint ID: 45585
GET https://zylalabs.com/api/16044/wayfair+api/45585/review+sort+orders
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
[
    {
        "value": "relevance",
        "label": "Most relevant"
    },
    {
        "value": "newest",
        "label": "Latest"
    },
    {
        "value": "helpful",
        "label": "Most helpful"
    },
    {
        "value": "photos",
        "label": "Includes customer photos"
    },
    {
        "value": "rating_desc",
        "label": "Highest rating"
    },
    {
        "value": "rating_asc",
        "label": "Lowest rating"
    }
]
评论排序顺序 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16044/wayfair+api/45585/review+sort+orders' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 wayfair.com 商品的详细信息:SKU、变体 ID、名称、链接、品牌、商品类别、价格、单件价格、原价和折扣、评分和评论数量、标记、限时优惠、特别优惠、库存状态以及针对某个 ZIP 代码的提示信息、最大购买数量、每个选项(例如面料、颜色、尺寸)及其所有选项值和对应图片、描述、特色要点、亮点、尺寸、尺寸示意图、规格(功能、认证、组装、保修)、包含和不包含的物品、组装说明等文档、所有图片,以及评论摘要,包括星级分布、带有情感倾向的评论方面、评论的 AI 摘要和精选评论
Endpoint ID: 45586
GET https://zylalabs.com/api/16044/wayfair+api/45586/product+details
输入参数

产品详情 — 端点功能

对象 描述
sku 必需 Product SKU (e.g. "W009077849") or product link. Use the /search or /category/products endpoints to list valid values.
zip_code 可选 Optional five-digit US ZIP code the stock is given for (defaults to "10001").

剩余免费测试请求:3 / 3。


输入参数

sku
zip_code
API 示例响应
JSON
{
    "sku": "W009077849",
    "variant_id": "AF89011595",
    "listing_variant_id": "W009077849_1229713458_1230110786",
    "name": "Jadier 66\" Upholstered Loveseat Square Sofa",
    "url": "https://www.wayfair.com/furniture/pdp/corrigan-studio-jadier-66-upholstered-loveseat-square-sofa-w009077849.html?piid=1229713458%2C1230110786",
    "brand": {
        "brand_id": 36990,
        "name": "Corrigan Studio®"
    },
    "class": {
        "class_id": 305,
        "name": "Sofas"
    },
    "price": 294.99,
    "price_range": null,
    "price_per_item": null,
    "previous_price": 412,
    "currency": "USD",
    "discount": "28% Off",
    "set_quantity": null,
    "rating": 4.43,
    "reviews_count": 1284,
    "flag": "Cyber Monday Extended",
    "limited_time_deal": null,
    "is_best_value": true,
    "special_offers": [],
    "stock_status": "IN_STOCK",
    "stock_message": "846 Left in Stock",
    "max_quantity": 846,
    "back_in_stock": null,
    "image": "https://assets.wfcdn.com/im/00000000/compr-r85/3434/343463261/image.jpg",
    "options": [
        {
            "name": "Body Fabric",
            "selected": "Dark Gray Linen",
            "choices": [
                {
                    "option_id": 1229713457,
                    "name": "Beige Linen",
                    "image": "https://assets.wfcdn.com/im/00000000/compr-r85/2778/277852182/image.jpg"
                },
                {
                    "option_id": 1229713459,
                    "name": "Blue Linen",
                    "image": "https://assets.wfcdn.com/im/00000000/compr-r85/2781/278131969/image.jpg"
                }
            ]
        }
    ],
    "description": "This loveseat creates an inviting spot to relax while adding a tailored, mid-century look to your home. It's crafted with a sturdy frame and rests on splayed legs for a clean, streamlined profile. Smooth fabric upholstery wraps around the seat, while subtle tufting adds depth and dimension across the backrest. The curved back and cushioned seating deliver supportive comfort within a compact design that fits neatly into small-space layouts. Plus, the track arms offer added support as you unwind. Tips: This loveseat has a metal frame, Throw pillows are not included.",
    "features": [
        "Features tufted detailing along the backrest",
        "Splayed legs elevate the frame with retro appeal",
        "Foam-filled seat cushion provides balanced support",
        "Track arms create a tailored, clean-lined silhouette",
        "Designed for easy placement in compact living spaces"
    ],
    "highlights": [
        "Stain Resistant",
        "Tufted",
        "Solid Wood Frame",
        "Assembly Required - Tools Included",
        "Wayfair Verified",
        "Seat Height",
        "Seat Depth",
        "Shop Sustainably",
        "Toss Pillow Included"
    ],
    "dimensions": [
        {
            "group": null,
            "items": [
                {
                    "name": "Seat",
                    "value": "18.1'' H X 56.3'' W X 23.6'' D"
                },
                {
                    "name": "Overall Dimensions",
                    "value": "32.3'' H X 65.8'' W X 32.3'' D"
                },
                {
                    "name": "Back Height - Seat to Top of Back",
                    "value": "15.8'' H"
                },
                {
                    "name": "Overall Product Weight",
                    "value": "80 lb."
                }
            ]
        }
    ],
    "dimensional_image": "https://assets.wfcdn.com/im/00000000/compr-r85/3744/374425309/image.jpg",
    "specifications": [
        {
            "group": "Features",
            "items": [
                {
                    "name": "Product Type",
                    "value": "Loveseat"
                },
                {
                    "name": "Pieces Included",
                    "value": "Accent / Toss Pillows"
                },
                {
                    "name": "Arm Type",
                    "value": "Square Arms"
                },
                {
                    "name": "Upholstery Color",
                    "value": "Dark Gray"
                },
                {
                    "name": "Leg Color / Finish",
                    "value": "Solid Wood"
                },
                {
                    "name": "Upholstery Material",
                    "value": "Linen"
                },
                {
                    "name": "Fill Material",
                    "value": "Foam"
                },
                {
                    "name": "Foam Density",
                    "value": "1.8 lbs./cu. ft."
                },
                {
                    "name": "Frame Material",
                    "value": "Solid Wood"
                },
                {
                    "name": "Leg Material",
                    "value": "Solid Wood"
                },
                {
                    "name": "Construction Features",
                    "value": "Multiple Cushion Seat, Tufted Back"
                },
                {
                    "name": "Seat Construction",
                    "value": "Solid Wood"
                }
            ]
        }
    ],
    "whats_included": [],
    "whats_not_included": [],
    "documents": [
        {
            "type": "INSTALLATION_AND_ASSEMBLY",
            "url": "https://www.wayfair.com/dm/document/24982809-d53e-4c3d-8bf2-2891087219ef/bfit1217a.pdf",
            "extension": "pdf"
        },
        {
            "type": "WARRANTY_INFORMATION",
            "url": "https://www.wayfair.com/dm/document/595e10e1-9c68-42ad-8fa8-8c23f7c5b122/commercial%20warranty-sofa.pdf",
            "extension": "pdf"
        }
    ],
    "images": [
        {
            "image_id": 343463261,
            "type": "ENVIRONMENTAL",
            "url": "https://assets.wfcdn.com/im/00000000/compr-r85/3434/343463261/image.jpg"
        },
        {
            "image_id": 265340518,
            "type": "ENVIRONMENTAL",
            "url": "https://assets.wfcdn.com/im/00000000/compr-r85/2653/265340518/image.jpg"
        },
        {
            "image_id": 249991280,
            "type": "ALL_DETAIL",
            "url": "https://assets.wfcdn.com/im/00000000/compr-r85/2499/249991280/image.jpg"
        },
        {
            "image_id": 199356726,
            "type": "ALL_DETAIL",
            "url": "https://assets.wfcdn.com/im/00000000/compr-r85/1993/199356726/image.jpg"
        },
        {
            "image_id": 343463243,
            "type": "NON_PHOTO",
            "url": "https://assets.wfcdn.com/im/00000000/compr-r85/3434/343463243/image.jpg"
        }
    ],
    "review_summary": {
        "rating": 4.43,
        "reviews_count": 1284,
        "ai_summary": "Customers find this product to be comfortable and easy to assemble, with many appreciating its attractive appearance and suitability for small spaces. The size is frequently mentioned as ideal for various rooms, and the color options are generally well-received. However, some reviews indicate that the construction may be less durable than expected, and there are occasional comments about the firmness of the cushions.",
        "distribution": [
            {
                "rating": 1,
                "count": 56
            },
            {
                "rating": 2,
                "count": 44
            },
            {
                "rating": 3,
                "count": 78
            },
            {
                "rating": 4,
                "count": 230
            },
            {
                "rating": 5,
                "count": 876
            }
        ],
        "aspects": [
            {
                "aspect": "Comfort",
                "count": 414,
                "sentiment": "positive"
            },
            {
                "aspect": "Assembly",
                "count": 341,
                "sentiment": "positive"
            },
            {
                "aspect": "Appearance",
                "count": 253,
                "sentiment": "positive"
            },
            {
                "aspect": "Size",
                "count": 241,
                "sentiment": "positive"
            },
            {
                "aspect": "Color",
                "count": 224,
                "sentiment": "positive"
            }
        ]
    },
    "top_reviews": [
        {
            "review_id": 185138404,
            "rating": 5,
            "text": "Excellent quality and perfect size for sofa !",
            "author": "Nita",
            "location": null,
            "badge": "Confirmed Buyer",
            "date": "2026-11-07",
            "images": []
        },
        {
            "review_id": 180865591,
            "rating": 5,
            "text": "It was perfect size for what I needed. Went together incredibly easy and is very sturdy. I don't think it would hold up great as an everyday sofa, but for a home office sofa it is perfect.",
            "author": "Joshua",
            "location": "St Paul, KS",
            "badge": "Confirmed Buyer",
            "date": "2026-08-20",
            "images": []
        }
    ]
}
产品详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16044/wayfair+api/45586/product+details?sku=W009077849&zip_code=10001' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 wayfair.com 商品的客户评价,每页 20 条,每条包含评价 ID、评分、文本、作者姓名和所在地、徽章(例如“已验证购买”)、日期和照片,并可按星级评分、文本中的词语或评价方面(例如“舒适度”)筛选,支持六种排序方式
Endpoint ID: 45587
GET https://zylalabs.com/api/16044/wayfair+api/45587/product+reviews
输入参数

产品评价 — 端点功能

对象 描述
sku 必需 Product SKU (e.g. "W009077849") or product link. Use the /search or /category/products endpoints to list valid values.
sort 可选 Optional sort order (defaults to "relevance"). Use the /general/review-sort-orders endpoint to list valid values.
rating 可选 Optional comma-separated list of star ratings, 1 to 5 (e.g. "1,2").
text 可选 Optional word or phrase the reviews must mention (e.g. "comfortable").
aspect 可选 Optional review aspect (e.g. "Comfort"). Use the /product/details endpoint ("review_summary.aspects") to list valid values.
cursor 可选 Optional "next_cursor" value of a previous answer, to get the next page.

剩余免费测试请求:3 / 3。


输入参数

sku
sort
rating
text
aspect
cursor
API 示例响应
JSON
{
    "total": 1284,
    "has_next_page": true,
    "next_cursor": "WzEuMCwxLDAuOTY2NSwxNzkwMTk4OTM1MDAwLDE4MjU5ODIyM10=",
    "reviews": [
        {
            "review_id": 185138404,
            "rating": 5,
            "text": "Excellent quality and perfect size for sofa !",
            "author": "Nita",
            "location": null,
            "badge": "Confirmed Buyer",
            "date": "2026-11-07",
            "images": []
        },
        {
            "review_id": 185060109,
            "rating": 3,
            "text": "It works for extra seating in my small living room. At this price point my expectations were not very high but the gray linen looks nice (I do keep it covered because of two cats. When guests arrive, I take off the cover.)",
            "author": "Carole",
            "location": "Winchester, VA",
            "badge": "Confirmed Buyer",
            "date": "2026-11-04",
            "images": []
        },
        {
            "review_id": 180865591,
            "rating": 5,
            "text": "It was perfect size for what I needed. Went together incredibly easy and is very sturdy. I don't think it would hold up great as an everyday sofa, but for a home office sofa it is perfect.",
            "author": "Joshua",
            "location": "St Paul, KS",
            "badge": "Confirmed Buyer",
            "date": "2026-08-20",
            "images": []
        },
        {
            "review_id": 169162849,
            "rating": 1,
            "text": "I wanted this to work but I just couldn't get comfortable sitting on this loveseat — it's so uncomfortable and I needed to return it.",
            "author": "Nick",
            "location": "Arlington, VA",
            "badge": "Confirmed Buyer",
            "date": "2026-07-14",
            "images": []
        },
        {
            "review_id": 168795794,
            "rating": 5,
            "text": "very comfortable, easy to keep clean",
            "author": "Wayfair Customer",
            "location": null,
            "badge": "Confirmed Buyer",
            "date": "2026-07-05",
            "images": []
        },
        {
            "review_id": 167608846,
            "rating": 4,
            "text": "Definitely lower quality materials and fabric was used. But It feels very solid and sturdy. Was a great size for my small space. I wish the cushions were more flush with the back. The color on the website was a lot more yellow and was described as yellow but turned out to be a more darker orange squash color, wich I am still pleased with but very far off from what I saw",
            "author": "Taylor",
            "location": null,
            "badge": "Confirmed Buyer",
            "date": "2026-06-09",
            "images": []
        },
        {
            "review_id": 165128200,
            "rating": 5,
            "text": "The yellow on this couch is beautiful! It was extremely easy to put together and looks just like the pictures. It fits perfectly in our tiny living room.",
            "author": "Wayfair Customer",
            "location": null,
            "badge": "Confirmed Buyer",
            "date": "2026-04-19",
            "images": []
        },
        {
            "review_id": 165061675,
            "rating": 5,
            "text": "Beautiful, simple loveseat.  Arrived fast and easy to put together.",
            "author": "Noelle",
            "location": "Windber, PA",
            "badge": "Confirmed Buyer",
            "date": "2026-04-17",
            "images": []
        },
        {
            "review_id": 164974669,
            "rating": 5,
            "text": "This is a great loveseat for the price! It looks great - a nice mid-century design. It took about 20 minutes to unpack and assemble, which was very easy.",
            "author": "Anne",
            "location": "IA",
            "badge": "Confirmed Buyer",
            "date": "2026-04-15",
            "images": []
        },
        {
            "review_id": 164972268,
            "rating": 5,
            "text": "This sofa is absolutely perfect for our little sitting room. We bought the matching chair and they look so good together. Very easy to put together I put it together myself in way less than an hour.",
            "author": "Wayfair Customer",
            "location": null,
            "badge": "Confirmed Buyer",
            "date": "2026-04-15",
            "images": []
        }
    ]
}
产品评价 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16044/wayfair+api/45587/product+reviews?sku=W009077849&sort=relevance' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
按文本搜索 wayfair.com 的产品,并可使用 /search/filters 端点的品牌 颜色 材质 客户评分 库存情况 特惠及所有其他筛选条件 价格范围和排序方式 每个产品包含其 SKU 变体 ID 名称 链接 品牌 产品类别 价格 套装的单件价格 之前的价格和折扣 评分和评价数量 例如“黑色星期五优惠”的标记 限时优惠 特惠 库存状态和提示 图片 可选项及其所有选项值(例如颜色)以及是否为赞助商品 能跳转到类别页面(例如“沙发”)的搜索文本会返回该类别的产品 并在“redirect_url”中提供其链接及其“category_id” 能跳转到品牌页面或其他页面的文本则仅返回“redirect_url” 每页 48 件产品
Endpoint ID: 45588
GET https://zylalabs.com/api/16044/wayfair+api/45588/search+products
输入参数

搜索产品 — 端点功能

对象 描述
query 必需 Search text (e.g. "blue velvet accent chair").
filters 可选 Optional semicolon-separated list of filter option values, each a filter id and an option id joined with ":" (e.g. "brand.ca.5:39355;customerrating.ca.11:4"). Every value narrows the results. Use the /search/filters endpoint to list valid values.
min_price 可选 Optional minimum price in US dollars (e.g. "100").
max_price 可选 Optional maximum price in US dollars (e.g. "500").
sort 可选 Optional sort order (defaults to "recommended"). Use the /general/sort-orders endpoint to list valid values.
zip_code 可选 Optional five-digit US ZIP code the stock is given for (defaults to "10001").
page 可选 Optional page number, 48 products per page, 1 to 100 (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

query
filters
min_price
max_price
sort
zip_code
page
API 示例响应
JSON
{
    "total": null,
    "category_id": null,
    "page": 1,
    "has_next_page": true,
    "products": [
        {
            "sku": "W001362479",
            "variant_id": "BF20037054",
            "listing_variant_id": "W001362479_363509563",
            "name": "Leona 26\" Tufted Accent Chair",
            "url": "https://www.wayfair.com/furniture/pdp/etta-avenue-leona-26-tufted-accent-chair-w001362479.html?piid=363509563",
            "brand": {
                "brand_id": 59930,
                "name": "Etta Avenue™"
            },
            "class": {
                "class_id": 54,
                "name": "Accent Chairs"
            },
            "price": 199.99,
            "price_range": null,
            "price_per_item": null,
            "previous_price": null,
            "currency": "USD",
            "discount": null,
            "set_quantity": null,
            "rating": 4.77,
            "reviews_count": 6280,
            "flag": "Cyber Monday Extended",
            "limited_time_deal": null,
            "is_best_value": true,
            "special_offers": [],
            "stock_status": "IN_STOCK",
            "stock_message": "501 Left in Stock",
            "max_quantity": 501,
            "back_in_stock": null,
            "image": "https://assets.wfcdn.com/im/00000000/compr-r85/2619/261926182/image.jpg",
            "options": [
                {
                    "name": "Upholstery Color",
                    "selected": "Blue Velvet",
                    "choices": [
                        {
                            "option_id": 339962386,
                            "name": "Black Velvet",
                            "image": null
                        },
                        {
                            "option_id": 363509563,
                            "name": "Blue Velvet",
                            "image": null
                        },
                        {
                            "option_id": 269662301,
                            "name": "Brun Brick Velvet",
                            "image": null
                        },
                        {
                            "option_id": 523180188,
                            "name": "Coral Velvet",
                            "image": null
                        },
                        {
                            "option_id": 364237319,
                            "name": "Fuchsia Velvet",
                            "image": null
                        },
                        {
                            "option_id": 523180189,
                            "name": "Golden Velvet",
                            "image": null
                        },
                        {
                            "option_id": 363509565,
                            "name": "Green Velvet",
                            "image": null
                        },
                        {
                            "option_id": 523180186,
                            "name": "Grey Velvet",
                            "image": null
                        },
                        {
                            "option_id": 339962384,
                            "name": "Ivory Velvet",
                            "image": null
                        },
                        {
                            "option_id": 523180187,
                            "name": "Moss Velvet",
                            "image": null
                        },
                        {
                            "option_id": 340686498,
                            "name": "Mustard Velvet",
                            "image": null
                        },
                        {
                            "option_id": 366564311,
                            "name": "Navy Velvet",
                            "image": null
                        },
                        {
                            "option_id": 366564318,
                            "name": "Orange Velvet",
                            "image": null
                        },
                        {
                            "option_id": 366564313,
                            "name": "Pink Velvet",
                            "image": null
                        },
                        {
                            "option_id": 339962383,
                            "name": "Purple Velvet",
                            "image": null
                        },
                        {
                            "option_id": 363951603,
                            "name": "Red Velvet",
                            "image": null
                        },
                        {
                            "option_id": 339962382,
                            "name": "Sage Velvet",
                            "image": null
                        },
                        {
                            "option_id": 339962381,
                            "name": "Tan Velvet",
                            "image": null
                        },
                        {
                            "option_id": 366564326,
                            "name": "Teal Velvet",
                            "image": null
                        },
                        {
                            "option_id": 366564329,
                            "name": "Yellow Velvet",
                            "image": null
                        }
                    ]
                }
            ],
            "is_sponsored": true
        }
    ],
    "redirect_url": null
}
搜索产品 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16044/wayfair+api/45588/search+products?query=blue velvet accent chair&sort=recommended&zip_code=10001&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回搜索或分类的筛选项:特色筛选项(例如“黑色星期五优惠”“快速配送”)、商品类别、价格区间、客户评分、颜色、材质、尺寸、品牌、库存情况、特别优惠以及结果中的所有其他筛选项,并按照网站上的分组方式进行分组。每个选项都附带 /search 和 /category/products 接口的“filters”参数所接受的值;价格区间通过“min_price”和“max_price”设置
Endpoint ID: 45589
GET https://zylalabs.com/api/16044/wayfair+api/45589/search+filters
输入参数

搜索筛选器 — 端点功能

对象 描述
query 可选 Search text (e.g. "blue velvet accent chair"). Required unless "category_id" is given.
category_id 可选 Category id (e.g. "413892" for Sofas). Required unless "query" is given. Use the /category/list endpoint to list valid values.
filters 可选 Optional semicolon-separated list of filter option values already chosen (e.g. "brand.ca.5:39355").
min_price 可选 Optional minimum price in US dollars.
max_price 可选 Optional maximum price in US dollars.
zip_code 可选 Optional five-digit US ZIP code (defaults to "10001").

剩余免费测试请求:3 / 3。


输入参数

query
category_id
filters
min_price
max_price
zip_code
API 示例响应
JSON
{
    "category_id": null,
    "filters": [
        {
            "filter_id": "7c789",
            "name": "Sale",
            "type": "options",
            "options": [
                {
                    "value": "7c789:8",
                    "name": "Sale",
                    "selected": false
                }
            ]
        },
        {
            "filter_id": "1234567890",
            "name": "Fast Delivery",
            "type": "options",
            "options": [
                {
                    "value": "1234567890:2147483646",
                    "name": "Fast Delivery",
                    "selected": false
                }
            ]
        },
        {
            "filter_id": "1234567890",
            "name": "Delivery before Christmas",
            "type": "options",
            "options": [
                {
                    "value": "1234567890:2147483644",
                    "name": "Delivery before Christmas",
                    "selected": false
                }
            ]
        },
        {
            "filter_id": "8a4c7",
            "name": "Wayfair Verified",
            "type": "options",
            "options": [
                {
                    "value": "8a4c7:559",
                    "name": "Wayfair Verified",
                    "selected": false
                }
            ]
        },
        {
            "filter_id": "ftqoz",
            "name": "Upholstery Color",
            "type": "options",
            "options": [
                {
                    "value": "ftqoz:184",
                    "name": "Blue",
                    "selected": false
                },
                {
                    "value": "ftqoz:201",
                    "name": "Gray",
                    "selected": false
                },
                {
                    "value": "ftqoz:196",
                    "name": "White",
                    "selected": false
                },
                {
                    "value": "ftqoz:178",
                    "name": "Beige",
                    "selected": false
                },
                {
                    "value": "ftqoz:188",
                    "name": "Green",
                    "selected": false
                },
                {
                    "value": "ftqoz:179",
                    "name": "Black",
                    "selected": false
                },
                {
                    "value": "ftqoz:180",
                    "name": "Brown",
                    "selected": false
                },
                {
                    "value": "ftqoz:192",
                    "name": "Red",
                    "selected": false
                },
                {
                    "value": "ftqoz:199",
                    "name": "Yellow",
                    "selected": false
                },
                {
                    "value": "ftqoz:203",
                    "name": "Orange",
                    "selected": false
                },
                {
                    "value": "ftqoz:198",
                    "name": "Purple",
                    "selected": false
                },
                {
                    "value": "ftqoz:191",
                    "name": "Pink",
                    "selected": false
                },
                {
                    "value": "ftqoz:190",
                    "name": "Navy",
                    "selected": false
                },
                {
                    "value": "ftqoz:200",
                    "name": "Dark Gray",
                    "selected": false
                },
                {
                    "value": "ftqoz:3658",
                    "name": "Ivory & Cream",
                    "selected": false
                },
                {
                    "value": "ftqoz:149",
                    "name": "Blush",
                    "selected": false
                },
                {
                    "value": "ftqoz:150",
                    "name": "Burgundy",
                    "selected": false
                },
                {
                    "value": "ftqoz:151",
                    "name": "Burnt Orange",
                    "selected": false
                },
                {
                    "value": "ftqoz:152",
                    "name": "Camel",
                    "selected": false
                },
                {
                    "value": "ftqoz:153",
                    "name": "Caramel",
                    "selected": false
                },
                {
                    "value": "ftqoz:181",
                    "name": "Charcoal",
                    "selected": false
                },
                {
                    "value": "ftqoz:186",
                    "name": "Dark Blue",
                    "selected": false
                },
                {
                    "value": "ftqoz:182",
                    "name": "Espresso",
                    "selected": false
                },
                {
                    "value": "ftqoz:187",
                    "name": "Gold",
                    "selected": false
                },
                {
                    "value": "ftqoz:189",
                    "name": "Light Blue",
                    "selected": false
                },
                {
                    "value": "ftqoz:202",
                    "name": "Light Gray",
                    "selected": false
                },
                {
                    "value": "ftqoz:158",
                    "name": "Multicolor",
                    "selected": false
                },
                {
                    "value": "ftqoz:197",
                    "name": "Olive Green",
                    "selected": false
                },
                {
                    "value": "ftqoz:159",
                    "name": "Peach",
                    "selected": false
                },
                {
                    "value": "ftqoz:194",
                    "name": "Tan",
                    "selected": false
                },
                {
                    "value": "ftqoz:165",
                    "name": "Taupe",
                    "selected": false
                },
                {
                    "value": "ftqoz:65",
                    "name": "Walnut",
                    "selected": false
                }
            ]
        },
        {
            "filter_id": "fq4y3",
            "name": "Material",
            "type": "group",
            "filters": [
                {
                    "filter_id": "fq2fg",
                    "name": "Frame Construction",
                    "type": "options",
                    "options": [
                        {
                            "value": "fq2fg:106",
                            "name": "Wood",
                            "selected": false
                        },
                        {
                            "value": "fq2fg:107",
                            "name": "Metal",
                            "selected": false
                        },
                        {
                            "value": "fq2fg:112",
                            "name": "Plastic",
                            "selected": false
                        },
                        {
                            "value": "fq2fg:6474",
                            "name": "Rattan/Wicker",
                            "selected": false
                        }
                    ]
                }
            ]
        }
    ]
}
搜索筛选器 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16044/wayfair+api/45589/search+filters?query=blue velvet accent chair' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回部分输入的搜索文本的搜索建议,按相关性从高到低排列;如果建议中提及了产品类别,则同时返回其所属的产品类别
Endpoint ID: 45590
GET https://zylalabs.com/api/16044/wayfair+api/45590/search+autocomplete
输入参数

搜索自动补全 — 端点功能

对象 描述
query 必需 Text typed so far (e.g. "sof").

剩余免费测试请求:3 / 3。


输入参数

query
API 示例响应
JSON
[
    {
        "keyword": "sofa set",
        "class_id": null
    },
    {
        "keyword": "leather sofa",
        "class_id": null
    },
    {
        "keyword": "sofa",
        "class_id": null
    },
    {
        "keyword": "power reclining sofa",
        "class_id": null
    },
    {
        "keyword": "reclining sofa",
        "class_id": null
    },
    {
        "keyword": "l shaped sofa",
        "class_id": null
    },
    {
        "keyword": "queen sleeper sofa",
        "class_id": null
    },
    {
        "keyword": "sofa bed",
        "class_id": null
    },
    {
        "keyword": "white sofa",
        "class_id": null
    }
]
搜索自动补全 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16044/wayfair+api/45590/search+autocomplete?query=sof' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回邮政编码或某个地点附近的 Wayfair 门店和折扣店,每家门店均包含其门店 ID、门店代码、名称、坐标和图片
Endpoint ID: 45591
GET https://zylalabs.com/api/16044/wayfair+api/45591/search+stores
输入参数

搜索商店 — 端点功能

对象 描述
zip_code 可选 Five-digit US ZIP code (e.g. "60601"). Required unless "latitude" and "longitude" are given.
latitude 可选 Latitude of the point (e.g. "42.36"). Required with "longitude" unless "zip_code" is given.
longitude 可选 Longitude of the point (e.g. "-71.06"). Required with "latitude" unless "zip_code" is given.
distance 可选 Optional search radius in miles, 1 to 1000 (defaults to 100).

剩余免费测试请求:3 / 3。


输入参数

zip_code
latitude
longitude
distance
API 示例响应
JSON
[
    {
        "store_id": 50009,
        "code": "WF001",
        "name": "Wayfair Wilmette",
        "latitude": 42.08160888,
        "longitude": -87.7572975,
        "image": "https://assets.wfcdn.com/im/00000000/compr-r85/2815/281516970/image.jpg"
    },
    {
        "store_id": 50027,
        "code": "OUTWF005",
        "name": "Wayfair Outlet Naperville",
        "latitude": 41.766714,
        "longitude": -88.2036309,
        "image": "https://assets.wfcdn.com/im/00000000/compr-r85/2815/281516970/image.jpg"
    }
]
搜索商店 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16044/wayfair+api/45591/search+stores?zip_code=60601&distance=100' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 Wayfair 门店或折扣店的详细信息:代码、名称、地址、电话、一周每天的营业时间和图片
Endpoint ID: 45592
GET https://zylalabs.com/api/16044/wayfair+api/45592/store+details
输入参数

店铺详情 — 端点功能

对象 描述
code 必需 Store code (e.g. "WF001"). Use the /store/search endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

code
API 示例响应
JSON
{
    "code": "WF001",
    "name": "Wayfair Wilmette",
    "address": {
        "street": "3232 Lake Ave",
        "city": "Wilmette",
        "state": "IL",
        "zip_code": "60091"
    },
    "phone": "+1-847-214-6280",
    "hours": [
        {
            "day": "Monday",
            "opens": "10:00",
            "closes": "20:00"
        },
        {
            "day": "Tuesday",
            "opens": "10:00",
            "closes": "20:00"
        },
        {
            "day": "Wednesday",
            "opens": "10:00",
            "closes": "20:00"
        },
        {
            "day": "Thursday",
            "opens": "10:00",
            "closes": "20:00"
        },
        {
            "day": "Friday",
            "opens": "10:00",
            "closes": "20:00"
        },
        {
            "day": "Saturday",
            "opens": "10:00",
            "closes": "20:00"
        },
        {
            "day": "Sunday",
            "opens": "10:00",
            "closes": "19:00"
        }
    ],
    "image": "https://assets.wfcdn.com/im/00000000/compr-r85/2815/281516970/image.jpg"
}
店铺详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16044/wayfair+api/45592/store+details?code=WF001' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Wayfair API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

家居用品零售数据:支持筛选的商品搜索、价格和库存、分类列表、包含选项、尺寸和图片的商品详情、评价和门店位置

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]