Skip to content

Sams' Club Product Data API

Scrape SamsClub.com product data instantly with a simple API call

Last Updated: March 25, 2025

A GET request to our /api/getter/?platform="samsclub_detail" endpoint allows you to scrape product data for any product listing URL on SamsClub.com in real-time.

Example

Here's an example showcasing how you can scrape product data for any product on SamsClub.com using its URL. For this example, we use the URL of this product.

1
curl 'https://data.unwrangle.com/api/getter/?platform=samsclub_detail&url=https%3A%2F%2Fwww.samsclub.com%2Fp%2Fpure-life-purified-water%2Fprod21002929&api_key=API_KEY'
1
2
3
4
5
import requests

url = 'https://data.unwrangle.com/api/getter/?platform=samsclub_detail&url=https%3A%2F%2Fwww.samsclub.com%2Fp%2Fpure-life-purified-water%2Fprod21002929&api_key=API_KEY'
response = requests.get(url)
print(response.json())
1
2
3
const response = await fetch('https://data.unwrangle.com/api/getter/?platform=samsclub_detail&url=https%3A%2F%2Fwww.samsclub.com%2Fp%2Fpure-life-purified-water%2Fprod21002929&api_key=API_KEY')
const data = await response.json()
console.log(data)
1
2
3
4
5
6
<?php
$url = 'https://data.unwrangle.com/api/getter/?platform=samsclub_detail&url=https%3A%2F%2Fwww.samsclub.com%2Fp%2Fpure-life-purified-water%2Fprod21002929&api_key=API_KEY';
$response = file_get_contents($url);
$data = json_decode($response, true);
print_r($data);
?>
1
2
3
4
5
6
require 'net/http'
require 'uri'

uri = URI.parse('https://data.unwrangle.com/api/getter/?platform=samsclub_detail&url=https%3A%2F%2Fwww.samsclub.com%2Fp%2Fpure-life-purified-water%2Fprod21002929&api_key=API_KEY')
response = Net::HTTP.get(uri)
puts response

Query Parameters

As you can see in the example above, our endpoint needs the following query parameters:

Product URL

url

Required

Product listing's URL on SamsClub.com. Remove unnecessary query parameters and encode the URL.

Other Required Parameters

platform

Required

Specifies the scraping engine you wish to invoke. In this case, the value should be samsclub_detail.

api_key

Required

Your account's token—which can be obtained by signing up here.

Note

The value of the query parameter url must be URL or percent encoded. If you're using Python, this can be done with the function urlencode.

Results

The response will include the following attirbutes for the product:

Attributes Returned Data Type Information Represented
name string Name of product listing
brand string Product's brand name
url string Product's URL on SamsClub.com
categories list List of categories the product belongs to
highlights list Product highlights
description string Description of product listing
product_id string Sams Club retailer ID for product listing
sku_id string SKU identifier for product
upc string Universal Product Code
gtin string Global Trade Item Number
item_no string Item number
model_no string Manufacturer's model number
main_image string URL of primary product image
images list List containing URLs of all product images
price float Current price of product
list_price float Original list price of product
price_per_unit float Price per unit
currency string Currency of prices
rating float Average rating of product
total_reviews int Number of reviews received
variants list Product variants if any
weight string Product weight
weight_data object Detailed weight information
dimensions string Product dimensions
dimensions_data object Detailed dimension information
buying_offers object Special buying offers if any
specifications list Product specifications
shipping_info list Shipping information
warranty string Warranty information
country_of_origin string Product's country of origin
assembled_in string Country where product is assembled
curbside_pickup string Curbside pickup information
returns object Return policy information

Response Example

Here's the response you can expect to receive for the request showcased above:

{
    "success": true,
    "url": "https://www.samsclub.com/p/pure-life-purified-water/prod21002929",
    "result_count": 1,
    "detail": {
        "name": "Pure Life Purified Water 16.9 fl. oz., 40 pk.",
        "brand": "Pure Life",
        "url": "https://www.samsclub.com/p/pure-life-purified-water/prod21002929",
        "categories": [
            {
                "name": "All Departments",
                "url": "https://www.samsclub.com/c/all-products/100001"
            },
            {
                "name": "Grocery",
                "url": "https://www.samsclub.com/c/grocery/1444"
            },
            {
                "name": "Beverages",
                "url": "https://www.samsclub.com/c/beverages/1499"
            }
        ],
        "highlights": [
            "Everyday Hydration: Our 16.9 fl. oz./500 ml Pure Life water bottles are perfect to take for lunch or bring to work, for easy on-the-go hydration whenever you need it",
            "Refreshing Taste: Enhanced with minerals for a crisp taste",
            "Healthy Hydration: Purified Water with no artificial colors or flavors and zero calories or sweeteners",
            "A Taste You Can Trust: From collection to testing, our quality process ensures you and your family are getting the quality you deserve",
            "Family Favorite for Over 30 Years: Water to give you the healthy hydration your family needs"
        ],
        "description": "Whichever family you’re with, we’re here for you, with Pure Life Purified Water. Whether you’re looking for refreshing hydration options for your kids, team, or best friends, our quality bottled water is perfectly sized to fit your family. The 16.9 oz./500 mL Pure Life small water bottles are ideal for on-the-go hydration, for travel, office, or in the car. And with a quality process, every drop gives you and your family the healthy hydration and refreshment you need to feel and be your best. So, grab a case of water and make Pure Life part of your family's routine. It's an easy swap towards a healthier lifestyle.\nPure Life’s Commitment to Recycling, Our Veterans, And Quality Water\nRecycle Your Pure Life Water Bottles\nAll of our PET bottles are designed to be recyclable, and in order to continue using recycled plastic, we need your help to recycle. Once our bottles are recovered and sent to a recycler, they are cleaned, dried, and melted into pellets which can be used for our new bottles.\nPure Life Proudly Supporting Veterans\nPure Life® is proud to partner with the FITOPS Foundation, an organization dedicated to supporting Veterans in living a life of purpose after their military service.\n100% Pure Quality Water\nOur quality has been our promise to you for over 20 years. Every drop of our water goes through a 12-step quality process so that you can enjoy its refreshing crisp taste every time you take a drink.\n\n\n\n\nGiving Back to Communities\nWe believe that everyone should have access to clean, purified water, and we actively support communities across the country by supplying water in times of need. We also support families in all their wonderful forms – the ones that we’re born into and the ones that we choose – to live their best and healthiest lives.\n\n\n\n\n\n\n\n\nSupporting the University of Health & Performance \n\nOne way we’re giving back is by supporting our nation’s family of veterans in discovering renewed purpose following their military service. Through our partnership with the University of Health & Performance and FitOps Foundation, we’re supporting their mission of empowering veterans to find renewed purpose through the power of fitness and community. The University of Health & Performance gives veterans the training and resources they deserve to become purpose-driven fitness, health and wellness leaders so they can give back to their own communities in new and impactful ways. \n\n\n\n\n\n\n\nSupporting All Families \n\nAt the University of Health & Performance’s 500-acre campus, veterans receive hands-on training and acquire skills to confidently start, or enhance, health and wellness coaching careers. As they complete their training certifications, they build a sense of community, helping them to achieve their personal and professional goals. Our donations to FitOps Foundation support scholarships for veterans training at the University of Health & Performance so they can complete the course at no cost.  \n\n\n\n",
        "product_id": "prod21002929",
        "sku_id": "sku21527030",
        "upc": "00068274735332",
        "gtin": "6827473533",
        "item_no": "753259",
        "model_no": "12271450",
        "main_image": "https://scene7.samsclub.com/is/image/samsclub/0006827473533_A?$DT_PDP_BB$",
        "images": [
            "https://scene7.samsclub.com/is/image/samsclub/0006827473533_A?$DT_PDP_BB$",
            "https://scene7.samsclub.com/is/image/samsclub/0006827473533_B?$DT_PDP_BB$",
            "https://scene7.samsclub.com/is/image/samsclub/0006827473533_C?$DT_PDP_BB$",
            "https://scene7.samsclub.com/is/image/samsclub/0006827473533_D?$DT_PDP_BB$",
            "https://scene7.samsclub.com/is/image/samsclub/0006827473533_E?$DT_PDP_BB$",
            "https://scene7.samsclub.com/is/image/samsclub/0006827473533_F?$DT_PDP_BB$",
            "https://scene7.samsclub.com/is/image/samsclub/0006827473533_G?$DT_PDP_BB$",
            "https://scene7.samsclub.com/is/image/samsclub/0006827473533_H?$DT_PDP_BB$",
            "https://scene7.samsclub.com/is/image/samsclub/0006827473533_I?$DT_PDP_BB$",
            "https://scene7.samsclub.com/is/image/samsclub/0006827473533_J?$DT_PDP_BB$"
        ],
        "price": 4.98,
        "list_price": 4.98,
        "price_per_unit": 0.01,
        "currency": "USD",
        "rating": 4.8008,
        "total_reviews": 15207,
        "variants": [],
        "weight": "48 LB",
        "weight_data": {
            "value": 48,
            "unit": "LB"
        },
        "dimensions": "17L x 13.5W x 8.38H IN",
        "dimensions_data": {
            "box_count": 1,
            "length": {
                "value": 17,
                "unit": "IN"
            },
            "width": {
                "value": 13.5,
                "unit": "IN"
            },
            "height": {
                "value": 8.38,
                "unit": "IN"
            },
            "is_hazardous": null
        },
        "buying_offers": null,
        "specifications": [
            {
                "name": "Net Volume",
                "value": "19.99 Liters (676 fluid ounces)"
            },
            {
                "name": "Includes",
                "value": "40 bottles - 16.9 fluid ounces each"
            },
            {
                "name": "Ingredients",
                "value": "Purified Water, Calcium Chloride, Sodium Bicarbonate, Magnesium Sulfate"
            }
        ],
        "shipping_info": [
            "Standard<br>Shipping restricted to bottle distributor region, not available to Alaska, Hawaii or Puerto Rico",
            "Free shipping on eligible orders over $50"
        ],
        "warranty": "This product is covered by the Sam's Club Member Satisfaction Guarantee.",
        "country_of_origin": "USA",
        "assembled_in": "United States",
        "curbside_pickup": "Free for Plus, free for Club on eligible orders over $50",
        "returns": {
            "location": "Perishable",
            "days": "999",
            "policy_text": "Return this item for a full refund or replacement at anytime. Restrictions apply.",
            "policy_link": "https://www.samsclub.com/content/terms-and-conditions#satisfaction-guarantee"
        }
    },
    "remaining_credits": 7767457.5
}

Request Cost

1 credit is deducted for each successful request

Support

If the response doesn't include the data you need, or if you have any question or feedback, please write to us at support@unwrangle.com