> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Sam's Club Products API

> Sam's Club products with title, brand, URL, price and list price. Search by keyword or pass product URLs.

`POST /v1/data/samsclub/products/run`

**Pricing:** $0.0015 per product ($1.50 per 1,000).

## Ways to call it

* **Search Query**: set `query` (optional: `maxResults`)
* **Product URLs**: set `productUrls` (optional: `maxResults`)

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**query** `string[]`

One or more search query. One request reads them all.

**productUrls** `string[]`

One or more product urls. One request reads them all.

Format e.g. `https://www.example.com`.

**maxResults** `integer` (default: 100)

How many products to return in total. Defaults to 100; use 0 for all.

Max `1000`.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/samsclub/products/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "query": [
      "paper towels"
    ],
    "maxResults": 10
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/samsclub/products/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "query": [
        "paper towels"
    ],
    "maxResults": 10
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/samsclub/products/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "query": [
    "paper towels"
  ],
  "maxResults": 10
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one product, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `itemId` | Item ID | text |
| `title` | Title | text |
| `brand` | Brand | text |
| `productUrl` | Product URL | url |
| `price` | Price | number |
| `currency` | Currency | text |
| `listPrice` | List Price | number |
| `availability` | Availability | text |
| `inStock` | In Stock | boolean |
| `stockLevel` | Stock Level | text |
| `orderLimit` | Order Limit | number |
| `preOrder` | Pre Order | boolean |
| `rating` | Rating | rating |
| `ratingsCount` | Ratings Count | number |
| `categoryPath` | Category Path | text |
| `arrivesBy` | Arrives By | date |
| `mainImage` | Main Image | image |
| `searchTerm` | Search Term | text |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "samsclub/products",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "rating": 4.49,
      "orderLimit": 5,
      "searchTerm": "xqzvplmq wrtkzz",
      "arrivesBy": "2026-11-05",
      "availability": "in_stock",
      "brand": "Samsung",
      "itemId": "19894754865",
      "mainImage": "https://i5.samsclubimages.com/asr/b3f9d560-5349-47e5-8a8c-20c693d57f1a.1ba697ee364d251a314ff906dc34f470.jpeg",
      "stockLevel": "low",
      "ratingsCount": 367,
      "inStock": true,
      "preOrder": false,
      "categoryPath": "Electronics & Computers > Televisions & Accessories > TVs",
      "title": "SAMSUNG 43” Class M70H Series Mini LED 4K UHD Vision AI Companion Smart Tizen TV",
      "productUrl": "https://www.samsclub.com/ip/SAMSUNG-43-Class-M70H-Series-Mini-LED-4K-UHD-Vision-AI-Companion-Smart-Tizen-TV/19894754865",
      "currency": "USD",
      "listPrice": 297.99,
      "price": 247.99
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.