Logotipo de Sams Club Product Data

Sams Club Product Data

Comunidad
scavio-ai
sams-club-product-data

API de datos de productos de Sam's Club: busca en Sam's Club; consulta el precio en tienda, los descuentos Instant Savings, las existencias y el pasillo de un artículo en el club que elijas; encuentra clubes cerca de un código postal; consulta todos los artículos con descuentos Instant Savings y cualquier categoría, incluida la de liquidación; y recorre las reseñas de los socios. 6 endpoints, 1 crédito cada uno.

Add to TypingMind

Descripción general

Editorscavio-ai
Repositorioskills
Nombre de la habilidadsams-club-product-data
Estrellas
67
Forks
0
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por scavio-ai en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Sams Club Product Data en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/scavio-ai/skills/tree/main/skills/sams-club-product-data
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scavio-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/sams-club-product-data .claude/skills/sams-club-product-data
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Sams Club Product Data en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Sams Club Product Data automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Sams Club Product Data no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Sam's Club Product Data API - Club Prices, Instant Savings, Stock, Reviews

Search Sam's Club, read one item's club shelf price, Instant Savings, stock and aisle at the club you choose, find clubs near a ZIP, list every Instant Savings item and any category (clearance included), and page member reviews. All endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Find bulk or warehouse-club items at Sam's Club by keyword
  • Check what an item costs at a specific Sam's Club, and whether that club has it in stock and in which aisle
  • List Sam's Club Instant Savings, with each offer's amount, end date and purchase limit
  • Browse Sam's Club clearance or any Sam's Club category
  • Read Sam's Club member reviews or the rating breakdown for an item
  • Find Sam's Club locations near a ZIP code
  • Compare Sam's Club prices with Costco, Walmart or other retailers, or monitor them

Setup

Get a free API key at scavio.dev (50 free credits to get started, no card required):

bash
export SCAVIO_API_KEY=sk_live_your_key

If you do not have a key yet

An agent running this skill without SCAVIO_API_KEY set will get 401 on every call below. The whole path from nothing to a working key is self-serve:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. A new account starts with 50 credits. Every endpoint in this skill costs 1 credit.

When the balance runs out the API answers 402 with a JSON body carrying billing_url. Topping up needs no code change - the same key keeps working.

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev. All Sam's Club endpoints cost 1 credit.

EndpointCreditsWhat it returns
POST /api/v1/samsclub/search1Up to 45 results per page: item_id, price, was-price, savings, unit price, Instant Savings, rating, review count, stock, pickup/delivery/shipping availability and aisle
POST /api/v1/samsclub/product1One item: online price and club_price, Instant Savings, member and order limits, rating histogram, UPC, model, specifications, and fulfillment per method with stock status, quantity and aisle. Optional club_id
POST /api/v1/samsclub/clubs1Clubs near a ZIP within 100 miles, nearest first: club_id, name, address, coordinates, distance, phone, hours, services and whether it is temporarily closed
POST /api/v1/samsclub/savings1Every Instant Savings item, paged: price, was-price, savings, and each offer's amount, end date and limit
POST /api/v1/samsclub/category1Products in a category, paged, same fields as search. Clearance is category 1150109
POST /api/v1/samsclub/reviews110 reviews per page with rating, title, text, author, date, verified purchase and helpful votes, plus the average, total, star breakdown and the top positive and negative review

Workflow

The club is what you need to get right.

  • Listings (search, savings, category) are priced and stocked at a nearby club Sam's Club picks by location. Which club it used comes back in data.club. Nothing you send changes it, so treat listing prices and stock as that club's, and say which club.
  • For a specific club, use product with club_id. That call returns the chosen club's club_price, in_stock_at_club and aisle, and echoes the club in club.club_id.
  1. Find the club: call /samsclub/clubs with the user's zip. Each row has a club_id.
  2. Find the item: call /samsclub/search with query (or /samsclub/category, or /samsclub/savings). Each row has an item_id.
  3. Price and stock at that club: call /samsclub/product with item_id and club_id.
  4. Reviews (optional): call /samsclub/reviews with the item_id.

Parameters

Search (/search)

ParameterTypeDefaultDescription
querystringrequiredKeywords (1-200 chars)
pageinteger11-based page (1-100), up to 45 results per page
sortstringsite orderrelevance, price_low, price_high or top_selling

Product (/product)

ParameterTypeDefaultDescription
item_idstringrequiredThe number at the end of a samsclub.com/ip/ URL, or item_id from search
club_idstring-Club number from /clubs, e.g. "6372". Prices and stock become that club's

Clubs (/clubs)

ParameterTypeDefaultDescription
zipstringrequired5-digit US ZIP
limitinteger10Clubs to return within 100 miles, nearest first, 1-20

Savings (/savings)

ParameterTypeDefaultDescription
pageinteger11-based page (1-100), up to 45 items per page
sortstringsite orderrelevance, price_low, price_high or top_selling

Category (/category)

ParameterTypeDefaultDescription
category_idstringrequiredThe number at the end of a samsclub.com /browse/ or /cp/ URL. Clearance is 1150109
pageinteger11-based page (1-100)
sortstringsite orderrelevance, price_low, price_high or top_selling

Reviews (/reviews)

ParameterTypeDefaultDescription
item_idstringrequiredSam's Club item id
pageinteger11-based page (1-100), 10 reviews per page
sortstring-newest, oldest, highest, lowest or most_helpful

Examples

bash
curl -X POST https://api.scavio.dev/api/v1/samsclub/product \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id": "15325822107", "club_id": "6372"}'

Captured response (club 6372, Dallas; trimmed: descriptions, images, specifications and 2 of 3 fulfillment options removed):

json
{
  "data": {
    "item_id": "15325822107",
    "title": "Marathon Automated Hardwound Paper Towel Dispenser, Black",
    "url": "https://www.samsclub.com/ip/Marathon-Automated-Hardwound-Paper-Towel-Dispenser-Black/15325822107",
    "brand": "Marathon",
    "model": "6405099",
    "upc": "042000640503",
    "currency": "USD",
    "price": 47.46,
    "was_price": null,
    "savings_amount": null,
    "unit_price": null,
    "club_price": { "price": 47.46, "was_price": null, "savings_amount": null, "unit_price": null },
    "instant_savings": null,
    "member_limit": 10,
    "order_limit": 12,
    "rating": 4.6349,
    "review_count": 241,
    "availability_status": "IN_STOCK",
    "club": { "club_id": "6372", "city": "Dallas", "state": "TX", "zipcode": "75231" },
    "in_stock_at_club": false,
    "aisle": null,
    "fulfillment": {
      "pickup": false,
      "delivery": false,
      "shipping": true,
      "options": [
        {
          "method": "shipping",
          "available": true,
          "availability_status": "IN_STOCK",
          "available_quantity": 8,
          "max_order_quantity": 12,
          "location": "Dallas, 75231",
          "aisle": null,
          "estimated_date": "2026-11-03T22:59:00.000Z",
          "fee": null
        }
      ]
    }
  },
  "response_time": 20119,
  "credits_used": 1
}

Here the item ships (available_quantity: 8, which means 8 or more) but the Dallas club does not have it on the shelf (in_stock_at_club: false).

A captured /savings row (club picked by location, Los Angeles 6626):

json
{
  "item_id": "81162002218",
  "title": "Fairlife Nutrition Plan 30g Protein Shake, Chocolate, 11.5 fl. oz., 12 pk.",
  "price": 21.28,
  "was_price": 26.78,
  "savings_amount": 5.5,
  "unit_price": "19.4 ¢/fl oz",
  "out_of_stock": false,
  "availability_status": "In stock",
  "fulfillment": { "pickup": true, "delivery": true, "shipping": true },
  "instant_savings": {
    "promotion_id": "0ee5f674-10b3-438e-b968-db3a5a0fc64f",
    "title": "Instant Savings",
    "message": "$5.50 off",
    "amount": 5.5,
    "end_date": "Nov 09",
    "limit": 5,
    "limit_text": "Limit 5"
  }
}
python
import requests

BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

def sams(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/samsclub/{endpoint}", headers=HEADERS, json=body, timeout=120)
    r.raise_for_status()
    return r.json()["data"]

# 1. The user's club
club = sams("clubs", {"zip": "75201", "limit": 1})["clubs"][0]

# 2. Find the item (listing prices are for the club in found["club"])
found = sams("search", {"query": "paper towels"})
item_id = found["products"][0]["item_id"]

# 3. Price, shelf stock and aisle at the user's club
p = sams("product", {"item_id": item_id, "club_id": club["club_id"]})
print(club["name"], p["club_price"]["price"], "on shelf:", p["in_stock_at_club"], "aisle:", p["aisle"])

# Clearance at the location-picked club
clearance = sams("category", {"category_id": "1150109", "sort": "price_low"})
print(clearance["club"], clearance["total_results"], "clearance items")

Response shapes

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }. Nothing is cached; fetched_at is when Sam's Club answered.

  • search / savings / category - query (search) or category_id and category_name (category), title, club {club_id, city, state, zipcode}, page, sort, total_results, total_pages, count, products[] (position, item_id, title, url, image, price, was_price, savings_amount, unit_price, currency, rating, review_count, sponsored, out_of_stock, availability_status, fulfillment {pickup, delivery, shipping}, aisle, instant_savings {promotion_id, title, message, amount, end_date, limit, limit_text}, badge, section).
  • product - item_id, product_id, title, url, brand, model, upc, manufacturer_product_id, product_type, image, images[], currency, price, was_price, savings_amount, unit_price ({price, display} or null; listings return it as a display string), club_price {same four}, channel_prices[] {channel, store_front, price, was_price, savings_amount, unit_price}, instant_savings, member_limit, order_limit, rating, review_count, rating_breakdown {1..5}, recommended_percentage, availability_status, club, in_stock_at_club, aisle, fulfillment {pickup, delivery, shipping, options[] {method, available, availability_status, available_quantity, max_order_quantity, location, aisle, estimated_date, fee}}, specifications[], short_description, long_description, warranty, category_path[].
  • clubs - zip, count, clubs[] (club_id, name, address {line1, city, state, zipcode, county, country}, latitude, longitude, distance_miles, phone, time_zone, hours {monday_friday, saturday, sunday: {open, close, closed}}, services[], temporarily_closed).
  • reviews - item_id, page, sort, average_rating, total_review_count, reviews_with_text_count, recommended_percentage, rating_breakdown, count, reviews[] (review_id, rating, title, text, author, author_location, submitted_at, verified_purchase, helpful_count, unhelpful_count, photos[]), top_positive_review, top_negative_review.

Guardrails

  • Prices are in dollars: 47.46 is $47.46.
  • Listing prices and stock (search, savings, category) belong to the club in data.club, not to the user's club. For the user's club, call product with club_id and quote club_price and in_stock_at_club.
  • available_quantity is capped at 8 by Sam's Club: 8 means 8 or more. Never report it as an exact count.
  • instant_savings.end_date is the site's own short text ("Nov 09"); quote it as given.
  • A category with nothing on its shelf returns an empty products[]; that is an answer, not an error.
  • Never fabricate prices, stock or offers. Only return what the API returned, with the product url.

Failure handling

  • 400 means a missing or invalid parameter (a non-numeric item_id, club_id or category_id, an unknown sort, a ZIP that is not 5 digits).
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 402 means the balance is out of credits. The body carries billing_url.
  • 404 on /product or /reviews means Sam's Club has no such item; re-run the search for a fresh item_id. Not charged.
  • 404 on /product WITH club_id usually means that club does not carry the item (the same item loads at other clubs and online). Retry without club_id, or with the next club from /clubs. Not charged.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means Sam's Club is temporarily unavailable. It is not charged; retry after a few seconds.

SDKs

bash
pip install scavio==0.31.0
npm install scavio@0.31.0
js
import { Scavio } from "scavio";

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const { data: near } = await scavio.samsClub.clubs({ zip: "75201", limit: 1 });
const found = await scavio.samsClub.search({ query: "paper towels" });
const item = await scavio.samsClub.product({ item_id: found.data.products[0].item_id, club_id: near.clubs[0].club_id });
const savings = await scavio.samsClub.savings({ sort: "top_selling" });
const clearance = await scavio.samsClub.category({ category_id: "1150109" });

MCP: the Scavio MCP server exposes all 6 endpoints as tools (search_sams_club, get_sams_club_product, get_sams_club_clubs, get_sams_club_savings, get_sams_club_category, get_sams_club_reviews). Sam's Club is opt-in: add samsclub to SCAVIO_PLATFORMS.

json
{
  "mcpServers": {
    "scavio": {
      "command": "npx",
      "args": ["-y", "@scavio/mcp-server@0.29.0"],
      "env": {
        "SCAVIO_API_KEY": "sk_live_your_key",
        "SCAVIO_PLATFORMS": "default,samsclub"
      }
    }
  }
}

Docs

Full reference per endpoint: search, product, clubs, savings, category, reviews. Overview: Sam's Club API.

Preguntas frecuentes

¿Qué hace la habilidad de IA Sams Club Product Data?

API de datos de productos de Sam's Club: busca en Sam's Club; consulta el precio en tienda, los descuentos Instant Savings, las existencias y el pasillo de un artículo en el club que elijas; encuentra clubes cerca de un código postal; consulta todos los artículos con descuentos Instant Savings y cualquier categoría, incluida la de liquidación; y recorre las reseñas de los socios. 6 endpoints, 1 crédito cada uno.

¿Por qué usar Sams Club Product Data en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Sams Club Product Data está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Sams Club Product Data en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/scavio-ai/skills/tree/main/skills/sams-club-product-data. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Sams Club Product Data?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Sams Club Product Data?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Sams Club Product Data con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Sams Club Product Data?

Sí. scavio-ai la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇