# Samsclub Reviews + Stats Scraper (`wibuild.in/samsclub-reviews-stats-scraper`) Actor

Scrape SamsClub product reviews and ratings at scale with this Apify actor. Collect verified buyer feedback, star scores, review text and metadata into clean datasets for Excel, BI or SEO analysis. Ideal for market research, sentiment insights, competitor tracking and price monitoring.

- **URL**: https://apify.com/wibuild.in/samsclub-reviews-stats-scraper.md
- **Developed by:** [Wibuild](https://apify.com/wibuild.in) (community)
- **Categories:** Agents, Automation, E-commerce
- **Stats:** 5 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## SamsClub Reviews + Stats Scraper

This actor extracts customer reviews for a **single SamsClub product** and saves them into an Apify dataset in a clean, tabular format.

Use it to:

- Export reviews for analysis (Excel, Power BI, Python, etc.).
- Monitor feedback on a specific product over time.
- Enrich your own systems with structured review data.

***

### Input

You can run the actor using either:

#### 1. Product URL

Example:

```json
{
  "productUrl": "https://www.samsclub.com/ip/.../13608113152",
}
```

or

```json
{
  "productUrl": "https://www.samsclub.com/reviews/product/13608113152",
}
```

The actor automatically extracts the internal product ID from the URL.

#### 2. Product Code (ID)

If you already know the product code:

```json
{
  "productCode": "13608113152"
}
```

#### Optional settings

```json
{
  "productUrl": "https://www.samsclub.com/reviews/product/13608113152",
  "maxReviews": 500,      // Maximum number of reviews to collect
}
```

**Parameters:**

- `productUrl` *(string, optional)* – SamsClub product page or reviews page URL.
- `productCode` *(string, optional)* – Internal product ID. Use either `productUrl` or `productCode`.
- `maxReviews` *(number, optional)* – Upper limit of reviews to collect.

***

### Output

Each review is stored as one item in the Apify dataset with (roughly) these columns:

**Per-review fields**

- `badges` – e.g. “Verified Purchase”.
- `negativeFeedback` – Count of “not helpful” votes (if available).
- `positiveFeedback` – Count of “helpful” votes (if available).
- `rating` – Star rating 1–5.
- `recommended` – Whether the reviewer recommends the product.
- `reviewSubmissionTime` – Review date in `YYYY-MM-DD` format.
- `reviewText` – Full review text.
- `reviewTitle` – Review title/summary.
- `status` – Review status (e.g. `APPROVED`).
- `sellerName` – Seller name, if present.
- `itemImageUrl` – Product image URL.
- `itemName` – Product name.
- `syndication_contentLink` – Source link, if syndicated.
- `syndication_logoImageUrl` – Syndication logo, if available.
- `syndication_name` – Syndication source/brand (e.g. “Dyson”).
- `userNickname` – Reviewer nickname.

**Product-level rating stats**\
(Same values repeated on each row for that product, so you can aggregate easily):

- `1 Star %`
- `2 Star %`
- `3 Star %`
- `4 Star %`
- `5 Star %`
- `1 Star Count`
- `2 Star Count`
- `3 Star Count`
- `4 Star Count`
- `5 Star Count`
- `total_rating_count`
- `reviewsWithTextCount`
- `Average_Rating`

You can download the dataset as **CSV, JSON, XLSX** from the Apify UI or via API.

````json
{
    "badges": null,
    "negativeFeedback": 0,
    "positiveFeedback": 0,
    "rating": 5,
    "recommended": null,
    "reviewSubmissionTime": "2025-12-07",
    "reviewText": "Bought on black Friday at a low price.\nThis unit gets to a minus (-16) degrees. \nVerification  by a TX-16 Temperature  reader. \nAnd it wasn't  even turned to Max cold.\nWill work great in the garage Winter and Summer !",
    "reviewTitle": "Top of the line",
    "status": "APPROVED",
    "sellerName": null,
    "itemImageUrl": "https://i5.walmartimages.com/asr/33963b60-f1cd-4f05-9639-62f278a1f99e.c410f75e0a2fd7b1cc7192962d80a84a.jpeg",
    "itemName": "Frigidaire Gallery 7 Cu. Ft. Chest Freezer, Black",
    "syndication_contentLink": null,
    "syndication_logoImageUrl": null,
    "syndication_name": null,
    "userNickname": "STEVEN",
    "1 Star %": 7,
    "2 Star %": 2,
    "3 Star %": 5,
    "4 Star %": 7,
    "5 Star %": 79,
    "total_rating_count": 482,
    "reviewsWithTextCount": 180,
    "1 Star Count": 32,
    "2 Star Count": 9,
    "3 Star Count": 24,
    "4 Star Count": 35,
    "5 Star Count": 382,
    "Average_Rating": 4.5
  }
```json

---

### How to Use (on Apify)

1. Open the actor in Apify.
2. Click **Run**.
3. In the input, provide:
   - Either `productUrl` *or* `productCode`
   - Optionally `maxReviews`
4. Start the run.
5. When it finishes, go to the **Dataset** tab and export the results.

---

### Notes & Limitations

- Only **public reviews** visible on SamsClub are scraped.
- Website structure or anti-bot protections may change in the future and could require updating the actor.
- Use responsibly and in accordance with SamsClub’s terms of use and your local laws.

# Actor input Schema

## `URL` (type: `string`):

URL to scrape
## `maxreviews` (type: `integer`):

Maximum number of reviews to scrape.

## Actor input object example

```json
{
  "URL": "https://www.samsclub.com/reviews/product/13607863503?entryPoint=viewAllReviewsTop",
  "maxreviews": 50
}
````

# Actor output Schema

## `reviews` (type: `string`):

No description

# 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 = {
    "URL": "https://www.samsclub.com/reviews/product/13607863503?entryPoint=viewAllReviewsTop",
    "maxreviews": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("wibuild.in/samsclub-reviews-stats-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 = {
    "URL": "https://www.samsclub.com/reviews/product/13607863503?entryPoint=viewAllReviewsTop",
    "maxreviews": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("wibuild.in/samsclub-reviews-stats-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 '{
  "URL": "https://www.samsclub.com/reviews/product/13607863503?entryPoint=viewAllReviewsTop",
  "maxreviews": 50
}' |
apify call wibuild.in/samsclub-reviews-stats-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wibuild.in/samsclub-reviews-stats-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/InerCot7ABrjYf5DG/builds/DwGSJ11aAXkNhAh7J/openapi.json
