Sam's Club

Get a Sam's Club product's related items

Returns the related-item carousels shown on a Sam's Club product page, each a named shelf (e.g. "Members also considered", "Items you may like") of products with pricing, rating, and image. id is the numeric product id from a Sam's Club product page's /ip/ URL. An unrecognized id is not distinguished from a known one -- it still returns generic fallback shelves rather than an error.

get/samsclub/product/{id}/related

Request

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

Path parameters

idstring required

Numeric Sam's Club product id, from a product page's /ip/{slug}/{id} URL

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "item_id": "13610014888",
    "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"
      }
    ]
  },
  "msg": "OK"
}

Changes

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