Sam's Club

Get a Sam's Club curated content or landing page

Returns one Sam's Club curated content/landing page (e.g. a seasonal savings hub or a "New Arrivals" page) -- distinct data from GET /samsclub/category's flat, paginated product grid. id accepts a bare numeric content page id (from a nav link's /cp/{id} URL) or a full /cp/{slug}/{id} URL copied from samsclub.com -- only the trailing id is used. Returns a title, breadcrumb, named curated product shelves, and a category-navigation tile grid. There is no pagination -- a content page's shelves are a fixed, hand-curated set. An id samsclub.com does not recognize returns a 404, unlike GET /samsclub/category's zero-result response for the same situation.

get/samsclub/content/{id}

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/samsclub/content/{id}
  • Auth: API key in header x-api-key

Path parameters

idstring required

Numeric Sam's Club content page id, from a /cp/{slug}/{id} URL

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "breadcrumb": [
      {
        "id": "100001",
        "name": "All Departments",
        "url": "https://www.samsclub.com/all-departments"
      }
    ],
    "category_links": [
      {
        "id": "1444",
        "name": "Grocery",
        "type": "browse",
        "url": "https://www.samsclub.com/browse/1444"
      }
    ],
    "id": "16050279",
    "shelves": [
      {
        "items": [
          {
            "availability": "IN_STOCK",
            "currency_code": "USD",
            "item_id": "13576901230",
            "name": "Tide PODS Laundry Detergent Pacs, Spring Meadow, 156 ct.",
            "price": 29.98,
            "rating": 4.8184,
            "review_count": 13701,
            "url": "https://www.samsclub.com/ip/Tide-PODS-Laundry-Detergent-Pacs-Spring-Meadow-156-ct/13576901230"
          }
        ],
        "title": "Members also considered"
      }
    ],
    "title": "Savings Center"
  },
  "msg": "OK"
}

Changes

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