Wayfair

List Wayfair categories

Returns a page of Wayfair categories discovered from Wayfair's own published sitemap, closing the discovery gap where a category id otherwise has to be found elsewhere. Pair a returned id with GET /wayfair/category to browse that category's product grid. name is derived from the category's own URL slug (title-cased), not an authoritative site-provided label. q, if set, case-insensitively filters to categories whose derived name or department contains it.

get/wayfair/categories

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/wayfair/categories
  • Auth: API key in header x-api-key

Query parameters

qstring

Case-insensitive substring filter on name or department

pageinteger

Result page, 1-based, defaults to 1

page_sizeinteger

Results per page, defaults to 100, max 1000

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "categories": [
      {
        "department": "baby-kids",
        "id": "1829184",
        "name": "Kids Shower Curtains",
        "url": "https://www.wayfair.com/baby-kids/sb0/kids-shower-curtains-c1829184.html"
      }
    ],
    "has_next": true,
    "page": 1,
    "page_size": 100,
    "total": 1521
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.