# Sam's Club Scraper: Products, Prices, Stock & Reviews (`zaiq/sams-club-scraper`) Actor

SamsClub.com (US) search results and product pages: price, was price, unit price, rating, review count, product type, stock, badges and sponsored flag; full pages with brand, UPC, specifications, variants and star breakdown; customer reviews with text and photos. No membership needed.

- **URL**: https://apify.com/zaiq/sams-club-scraper.md
- **Developed by:** [Zaiq](https://apify.com/zaiq) (community)
- **Categories:** E-commerce, Marketing, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 search results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Sam's Club Scraper: products, prices, stock and reviews (samsclub.com)

[![Sam's Club Scraper: Products, Prices, Stock & Reviews](https://api.apify.com/v2/key-value-stores/4VJNANhwKgqPpXtAi/records/hero-sams-club-scraper.jpg)](https://api.apify.com/v2/key-value-stores/4VJNANhwKgqPpXtAi/records/film-retail-price-tracking.mp4)

**[Watch the 22-second film: price tracking](https://api.apify.com/v2/key-value-stores/4VJNANhwKgqPpXtAi/records/film-retail-price-tracking.mp4)**

Get **SamsClub.com (US) data without a membership**: **search results** with **price, was price, unit price, rating, review count, product type, department, stock, badges and the sponsored flag**; **full product pages** with **brand, UPC, specifications, highlights, description, variants and star breakdown**; and **customer reviews** with **text, photos, helpful votes and the verified-purchase flag**.

**Try it in a minute:** the form is filled in. Press Start and you get 40 real results for about $0.16.

Built for **club-store price monitoring**, **wholesale and reseller research**, **brand tracking** and **review analysis**. Prices are the ones a signed-out visitor sees.

**Run it again and see what changed:** every product is compared with your last run, with nothing to set up and at no extra cost. Schedule it daily and filter on `priceStatus` for a price-drop feed.

### What you get

| Field | What it holds |
|---|---|
| Search results | `itemId`, `title`, `productType`, `department`, `orderLimit`, `snapEligible`, `price`, `wasPrice`, `unitPrice`, `rating`, `reviews`, `sponsored`, `inStock`, `availability`, `badges`, `deliveryDate`, `image`, `url`, `rank` |
| Product pages | `itemId`, `title`, `brand`, `price`, `wasPrice`, `savings`, `availability`, `rating`, `reviews`, `ratingBreakdown`, `shipping`, `returns`, `category`, `highlights`, `specifications`, `description`, `variants`, `images`, `url` |
| Reviews | `reviewId`, `rating`, `title`, `text`, `date`, `user`, `verifiedPurchase`, `helpful`, `unhelpful`, `photos` |
| Price tracking, on every product row | `previousPrice`, `priceChange`, `priceChangePercent`, `priceStatus` (`first-seen`, `unchanged`, `dropped`, `raised`, `no-price`), `firstSeenAt` |

### What people use it for

- **Club price monitoring:** track Sam's Club prices and unit prices for any search or list of products, every day
- **Reseller research:** spot bulk prices and price drops worth buying
- **Competitor checks:** compare club prices with Walmart, Target and Amazon
- **Stock and delivery:** in stock or not, and the delivery date shown
- **Review analysis:** star breakdowns and every review's text, for product and CX teams
- **Catalogue data:** specifications, variants and images for product feeds

### How to use it

1. Enter **searches**, or paste **product links** or item IDs.
2. Turn on **Open every search result** for full pages, and set **Reviews per product** if you want reviews.
3. Click **Start**. Schedule it daily for price tracking.

### Input

| Field | Example | Notes |
|---|---|---|
| Searches | `coffee` | Words, or Sam's Club search links |
| Results per search | `40` | Up to 1,000 |
| Sort | Best match | Price low/high, best seller, top rated, newest |
| Skip sponsored | off | Leave out sponsored results |
| Products | `https://www.samsclub.com/ip/<id>` | Links or item IDs |
| Open every search result | off | Read each result's full page too |
| Reviews per product | `0` | 0 = none |
| Review order | Most relevant | Most helpful, newest, lowest or highest rating |
| Track price changes | on | Compares every product with your last run; free |
| Tracking list name | empty | Optional: separate lists keep separate histories |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "kind": "search-result",
  "itemId": "1234567890",
  "title": "Sample Brand Ground Coffee, 40 oz",
  "productType": "Ground Coffee",
  "department": "Grocery",
  "price": 19.48,
  "wasPrice": 22.98,
  "unitPrice": "48.7 ¢/oz",
  "currency": "USD",
  "rating": 4.6,
  "reviews": 159,
  "sponsored": false,
  "inStock": true,
  "availability": "In stock",
  "url": "https://www.samsclub.com/ip/sample-coffee/1234567890",
  "search": "coffee",
  "rank": 1
}
```

A record named `SUMMARY` in the run's key-value store says what each input returned, with any notes (for example an account that does not exist), what was charged and how much traffic the run used.

### Pricing

- **$0.004 per search result**
- **$0.01 per product page**, read in full
- **$0.002 per review**
- Products that don't exist and refused pages are free

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| 1,000 search results | $4 |
| 100 full product pages | $1 |
| 1,000 reviews | $2 |

On Apify's Scale and Business plans the per-event prices are lower (Store discounts). Set **Maximum cost per run** and the Actor stops cleanly when it is reached: you never pay more than that.

### Tips

- Schedule a daily run and filter on `priceStatus` = `dropped` for a price-drop feed. The run's summary lists the biggest moves.
- For price tracking, search results are the cheap way: they carry price, unit price and stock. Open product pages only when you need specifications or variants.
- Item IDs are the number at the end of a samsclub.com/ip/ link; paste either.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("zaiq/sams-club-scraper").call(run_input={"searches": ["coffee"], "maxResultsPerSearch": 40})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('zaiq/sams-club-scraper').call({"searches": ["coffee"], "maxResultsPerSearch": 40});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/zaiq~sams-club-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"searches": ["coffee"], "maxResultsPerSearch": 40}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server (`https://mcp.apify.com`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for "the cheapest bulk coffee at Sam's Club with unit prices". AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- SamsClub.com (US) only.
- Prices are the signed-out default ones, not for a chosen club or ZIP code.
- If the site shows a human check the run stops and says so; it is never solved. Pages it could not read are listed in SUMMARY and not charged.

### FAQ

**How does price tracking work?**

Each run compares every product with your last run and adds the previous price, the change and a status. It keeps one small key-value store in your Apify account and costs nothing extra. Run one list at a time, and turn it off with `trackPrices: false`.

**Do I need a Sam's Club membership?**

No. Everything is what a signed-out visitor sees on samsclub.com.

**Can I choose a club?**

Not yet: prices are the site's default ones.

**What does it cost to run?**

Only the events above; there is no monthly fee.

### Related Actors from Zaiq

- [walmart-scraper](https://apify.com/zaiq/walmart-scraper): the same products on Walmart
- [target-scraper](https://apify.com/zaiq/target-scraper): the same products on Target
- [amazon-product-scraper](https://apify.com/zaiq/amazon-product-scraper): the same products on Amazon, in 23 stores

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: sams club scraper, sam's club scraper, samsclub api, sams club product scraper, sams club price tracker, samsclub.com scraper, sams club reviews scraper, wholesale club prices.

# Actor input Schema

## `searches` (type: `array`):

What to search Sam's Club for, one per line (or Sam's Club search links).

## `maxResultsPerSearch` (type: `integer`):

Results a search gives, read page by page.

## `sort` (type: `string`):

Order of the search results.

## `skipSponsored` (type: `boolean`):

Leave out paid listings (they are flagged either way).

## `products` (type: `array`):

Sam's Club product links (samsclub.com/ip/...) or item ids, one per line, read in full.

## `openProducts` (type: `boolean`):

Also read each search result's product page ($0.01 each).

## `maxReviews` (type: `integer`):

Customer reviews to read for each opened product. 0 = none.

## `reviewSort` (type: `string`):

Order of the reviews.

## `trackPrices` (type: `boolean`):

Compare every product with your last run: previous price, change and whether it is new. Free. Keeps one small key-value store in your Apify account.

## `trackingName` (type: `string`):

Optional. Letters, numbers and hyphens. Give separate lists their own history, for example one per client.

## Actor input object example

```json
{
  "searches": [
    "coffee"
  ],
  "maxResultsPerSearch": 40,
  "sort": "best_match",
  "skipSponsored": false,
  "openProducts": false,
  "maxReviews": 0,
  "reviewSort": "relevancy",
  "trackPrices": true
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset: the results.

## `summary` (type: `string`):

What each input returned, and notes.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searches": [
        "coffee"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zaiq/sams-club-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "searches": ["coffee"] }

# Run the Actor and wait for it to finish
run = client.actor("zaiq/sams-club-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searches": [
    "coffee"
  ]
}' |
apify call zaiq/sams-club-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zaiq/sams-club-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/HNB01WBo6ezHpF2k8/builds/cTXc1j6awV8dnvzXI/openapi.json
