Chewy

Browse a Chewy category listing

Returns one page (36 products) of a Chewy category/browse listing's product grid (price, autoship price/discount, stock, rating, images), plus embedded facets and breadcrumbs. group_id is Chewy's own numeric category id -- the trailing id segment of a chewy.com/b/<slug>-<id> browse URL, e.g. 294 for /b/dry-food-294. Every breadcrumbs[].group_id and facets[].options[].value in a response is a ready-to-use group_id for a follow-up call, so a caller can discover the full category taxonomy starting from a known category. A group_id Chewy does not recognize returns a 404 rather than an unfiltered listing. sort and filter narrow/reorder the listing; every facets[].value paired with one of that facet's options[].value from any prior response is a valid filter key:value pair (e.g. brand, breed size, flavor, price range, customer rating -- whichever facets that category exposes). Set include_content to also return the category's curated editorial content -- Chewy's own FAQ question/answer pairs, the rich category description, and the SEO page title and meta description; it costs no extra upstream call and is omitted entirely when not requested. A keyword search carries none of this content, so it is a category-only addition.

get/chewy/category

Request

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

Query parameters

group_idstring required

Chewy's numeric category id, e.g. \

pageinteger

Page number, 36 products per page (default 1)

sort'byRelevance' | 'byNewest' | 'byPopularity' | 'byLowestPrice' | 'byHighestPrice' | 'byRating' | 'byRatingCount'

Sort order. One of byRelevance, byNewest, byPopularity, byLowestPrice, byHighestPrice, byRating, byRatingCount. Defaults to Chewy's own relevance ordering when omitted.

filterstring[]

Repeatable, up to 10. Each value is \

include_contentboolean

Also return the category's curated editorial content -- Chewy's own FAQ question/answer pairs, the rich category description, and the SEO page title/meta description. Costs no extra upstream call. Omitted entirely when false (the default).

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "breadcrumbs": [
      {
        "group_id": "332",
        "text": "Dog Food",
        "url_slug": "food"
      }
    ],
    "content": {
      "faqs": [
        {
          "question": "How much dry dog food should I feed my dog?"
        }
      ],
      "page_title": "Dry Dog Food - Healthy, High Quality Dog Food from Top Brands"
    },
    "facets": [
      {
        "name": "Category",
        "options": [
          {
            "display_label": "Adult Dry Dog Food",
            "name": "Adult",
            "product_count": 64,
            "url_slug": "adult-dry-dog-food",
            "value": "11098"
          }
        ],
        "value": "categoryId"
      }
    ],
    "group_id": "294",
    "name": "Dry Food",
    "page": 1,
    "page_size": 36,
    "products": [
      {
        "autoship_discount_pct": "5%",
        "autoship_price": 8.54,
        "currency_code": "USD",
        "in_stock": true,
        "is_autoship_allowed": true,
        "manufacturer": "Nutri-Choice Advantage",
        "parent_part_number": "4238390",
        "part_number": "4238414",
        "price": 8.99,
        "rating": 4.6
      }
    ],
    "total": 2185
  },
  "msg": "OK"
}

Changes

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