---
title: "Browse a Sam's Club category or collection"
method: GET
path: "/samsclub/category"
tags: ["Sam's Club"]
---

# Browse a Sam's Club category or collection

`GET /samsclub/category`

## Request

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

Returns a Sam's Club category or collection page's product grid, with real page-based pagination. id accepts a bare numeric category id (from a nav link's /browse/{id} URL) or a full /browse/{slug}/{id} URL copied from samsclub.com -- only the trailing id is used. Returns products with name, brand, pricing, availability, rating, and image. An id samsclub.com does not recognize returns a genuine zero-result response rather than an error.

## Query parameters

- `id` string, required
- `page` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SamsclubCategoryResponseDoc
  - `code` integer
  - `data` SamsclubCategoryResponse
    - `breadcrumb` SamsclubCategoryBreadcrumbEntry[]
      - `id` string
      - `name` string
      - `url` string
    - `category_id` string
    - `count` integer
    - `fetched_at` string
    - `has_more` boolean
    - `max_page` integer
    - `page` integer
    - `products` SamsclubCategoryProduct[]
      - `availability` string
      - `brand` string
      - `currency_code` string
      - `current_price` number
      - `image_url` string
      - `item_id` string
      - `name` string
      - `on_sale` boolean
      - `rating` number
      - `regular_price` number
      - `review_count` integer
      - `savings_amount` number
      - `type` string
      - `unit_price_text` string
      - `url` string
    - `source_url` string
    - `title` string
    - `total_count` integer
  - `msg` string

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/028417aa35bb?raw)
