Chewy

Browse Chewy's category taxonomy tree

Returns Chewy's category taxonomy tree: how to discover group_id values for chewy_category, not the products within a category. Omitting group_id returns all top-level departments (Dog, Cat, Horse, Bird, Fish, Reptile, Small Pet, Farm and Livestock Supplies, Wild Bird and Wildlife Supplies, Pharmacy, Pet Parents); a group_id expands that specific group's own subtree instead. depth controls how many levels of subcategories are expanded in one call.

get/chewy/categories

Request

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

Query parameters

group_idstring

Chewy category group id to expand, e.g. 332 for Dog Food. Omit for the full top-level department tree.

depthinteger

How many levels of subcategories to expand, 1 to 3 (default 2)

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "group_id": "332",
    "groups": [
      {
        "group_id": "288",
        "name": "Dog",
        "short_description": "Dog Supplies"
      }
    ]
  },
  "msg": "OK"
}

Changes

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