Logotipo de Whole Foods Grocery Data

Whole Foods Grocery Data

Comunidad
scavio-ai
whole-foods-grocery-data

API de datos de alimentación de Whole Foods: busca y explora Whole Foods Market en la tienda que elijas, con el precio de estantería de esa tienda, el precio rebajado y el precio para miembros Prime, incluidas las fechas de las ofertas; consulta todos los productos rebajados en una tienda; consulta un producto con sus ingredientes, información nutricional, dietas y precios en tienda y online, uno al lado del otro; encuentra tiendas cerca de un código postal, consulta los datos de una tienda y obtén su folleto semanal de ofertas. 7 endpoints, 1 crédito cada uno.

Add to TypingMind

Descripción general

Editorscavio-ai
Repositorioskills
Nombre de la habilidadwhole-foods-grocery-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 Whole Foods Grocery 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/whole-foods-grocery-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/whole-foods-grocery-data .claude/skills/whole-foods-grocery-data
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Whole Foods Grocery 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 Whole Foods Grocery 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 Whole Foods Grocery 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á.

Whole Foods Grocery Data API - Store Prices, Prime Deals, Sales Flyer

Search and browse Whole Foods Market at the store you choose, with that store's shelf prices: regular price, sale price and the Prime member price, with the sale start and end dates, up to 60 products per page. List every product on sale at a store, read one product with ingredients, nutrition facts, diets, SNAP EBT eligibility and its in-store and online prices as two separate blocks, find stores near a ZIP, read one store's details, and pull a store's current weekly sales flyer. All endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Find groceries at Whole Foods by keyword, or list a category such as cheese, produce or dairy
  • Check a Whole Foods product's shelf price, sale price or Prime member price at a specific store
  • List everything on sale at a Whole Foods store, or the Prime deals in one category
  • Read the weekly Whole Foods sales flyer for a store
  • Read a product's ingredients, nutrition facts or dietary attributes (vegan, gluten-free, organic)
  • Compare a product's in-store price with its online delivery or pickup price
  • Find Whole Foods stores near a ZIP code, with hours
  • Compare Whole Foods prices across stores or with other grocers, 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 Whole Foods endpoints cost 1 credit.

EndpointCreditsWhat it returns
POST /api/v1/wholefoods/search1Up to 60 products per page at one store: ASIN, slug, name, brand, image, regular, sale and Prime price with multi-buy quantities, sale start and end dates, price unit, on-sale and local flags, URL. Total results and facets (category tree, featured, diets) with counts
POST /api/v1/wholefoods/category1One category at one store, same rows as search, with the category breadcrumb, six sorts and on-sale and diet filters
POST /api/v1/wholefoods/deals1Every product on sale at one store, store-wide or in one category, same rows as search
POST /api/v1/wholefoods/product1One product by ASIN, URL or slug: name, brand, description, highlights, ingredients, nutrition facts, diets, SNAP EBT eligibility, category, images. With store_id: the store's shelf prices (in_store) and its online delivery/pickup price, unit price and availability (online)
POST /api/v1/wholefoods/stores1Stores near a US ZIP, nearest first: store id, name, address, phone, coordinates, distance, time zone, seven days of in-store and pickup hours
POST /api/v1/wholefoods/store1One store by id: name, status, Prime eligibility, opening date, address, coordinates, time zone, store page and sales flyer URLs
POST /api/v1/wholefoods/sales-flyer1The store's current weekly flyer: per promotion the product name, brand, headline, description, terms, regular, sale and Prime price as printed, start and end dates, image, rank and the ASINs it covers

Workflow

Every price is a store's price. Pick the store first; without store_id, search, category and deals use store 10145 (Lamar, Austin TX).

  1. Find the store: call /wholefoods/stores with the user's zip. Each row has a 5-digit store_id.
  2. Search at that store: call /wholefoods/search with query and store_id. Each row has an asin and the store's shelf prices.
  3. Browse or list deals: call /wholefoods/category with a category slug (from the category facet of any search), or /wholefoods/deals for everything on sale.
  4. One product in full: call /wholefoods/product with the row's asin and the same store_id for nutrition, ingredients and the in-store vs online prices.
  5. This week's flyer: call /wholefoods/sales-flyer with store_id.

Parameters

Search (/search)

ParameterTypeDefaultDescription
querystringrequiredKeywords (1-200 chars)
store_idstring101455-digit Whole Foods store id from /stores
sortstringrelevancerelevance, price_asc or price_desc (search honours no other sort)
on_salebooleanfalseOnly products on sale at the store
dietstring-vegan, gluten-free, organic, dairy-free or vegetarian
categorystring-Restrict to one category slug, e.g. milk-cream
limitinteger60Products per page, 1-60
offsetinteger0Products to skip, 0-10000 (60 = page 2 at the default limit)

Category (/category)

ParameterTypeDefaultDescription
categorystringrequiredCategory slug, e.g. dairy-eggs, cheese, produce, fresh-fruit; all-products lists the whole store. Slugs are in the category facet of any search
store_idstring101455-digit store id
sortstringfeaturedfeatured, popular, price_asc, price_desc, brand_az or brand_za
on_salebooleanfalseOnly products on sale at the store
dietstring-vegan, gluten-free, organic, dairy-free or vegetarian
limitinteger60Products per page, 1-60
offsetinteger0Products to skip, 0-10000

Deals (/deals)

ParameterTypeDefaultDescription
categorystringall-productsCategory slug; the default is every sale item at the store
store_idstring101455-digit store id
sortstringfeaturedSame values as /category
dietstring-Same values as /search
limitinteger60Products per page, 1-60
offsetinteger0Products to skip, 0-10000

Product (/product)

ParameterTypeDefaultDescription
asinstringone ofProduct ASIN, a search row's asin ("B0BCBNG8LS")
urlstringone ofwholefoodsmarket.com product URL
slugstringone ofA search row's slug
store_idstring-5-digit store id. Adds that store's in_store and online price blocks; without it both are null

Stores (/stores)

ParameterTypeDefaultDescription
zipstringrequiredUS ZIP code. Searches 15 miles, widening to 50

Store (/store) and Sales flyer (/sales-flyer)

ParameterTypeDefaultDescription
store_idstringrequired5-digit store id from /stores

Examples

bash
curl -X POST https://api.scavio.dev/api/v1/wholefoods/product \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"asin": "B078WVT2BC", "store_id": "10160"}'

Captured response (Elmhurst hazelnut milk at store 10160, Columbus Circle, New York; description, images and nutrition trimmed):

json
{
  "data": {
    "asin": "B078WVT2BC",
    "name": "Milk Hazelnut Unsweetened, 32 Fl Oz",
    "short_name": "Unsweetened Hazelnut Milked",
    "brand": "Elmhurst",
    "ingredients": "Filtered Water, Hazelnuts.",
    "diets": ["vegan", "kosher"],
    "nutrition": {
      "calories": "90",
      "serving_size": "8 fl oz (240ml)",
      "servings_per_container": "4.0 servings per container",
      "macronutrients": [
        { "name": "Total Fat", "amount": "9g", "daily_value_percent": "12%", "level": "TOP" },
        { "name": "Protein", "amount": "2g", "daily_value_percent": null, "level": "TOP" }
      ]
    },
    "snap_ebt": "SNAP EBT eligible",
    "category": "Grocery",
    "product_type": "MILK_SUBSTITUTE",
    "store_id": "10160",
    "in_store": {
      "regular_price": 7.29,
      "sale_price": null,
      "sale_quantity": null,
      "prime_price": null,
      "prime_quantity": null,
      "sale_start_date": null,
      "sale_end_date": null,
      "price_unit": null,
      "is_local": true
    },
    "online": {
      "price": 7.49,
      "list_price": null,
      "savings": null,
      "savings_percent": null,
      "prime_price": null,
      "unit_price": 0.23,
      "unit_price_unit": "fluid ounce",
      "currency": "USD",
      "availability": "IN_STOCK",
      "max_order_quantity": 5
    },
    "url": "https://www.wholefoodsmarket.com/grocery/product/elmhurst-unsweetened-hazelnut-milked-32-fz-b078wvt2bc"
  },
  "response_time": 1425,
  "credits_used": 1
}

A captured /deals row at store 10160, a multi-buy with a Prime price (image trimmed):

json
{
  "position": 46,
  "asin": "B01DIZT0KO",
  "slug": "boulder-canyon-avocado-oil-sea-salt-potato-chips-525-oz-b01dizt0ko",
  "name": "Avocado Oil Sea Salt Potato Chips, 5.25 OZ",
  "brand": "Boulder Canyon",
  "regular_price": 4.69,
  "sale_price": 12.23,
  "sale_quantity": 3,
  "prime_price": 11.01,
  "prime_quantity": 3,
  "sale_start_date": "2026-10-21T00:00:00Z",
  "sale_end_date": "2026-11-03T23:59:59Z",
  "price_unit": null,
  "on_sale": true,
  "is_local": false,
  "store_id": "10160",
  "url": "https://www.wholefoodsmarket.com/grocery/product/boulder-canyon-avocado-oil-sea-salt-potato-chips-525-oz-b01dizt0ko"
}

That row is 3 bags for $12.23, or 3 for $11.01 with Prime, against $4.69 each at regular price.

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 wfm(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/wholefoods/{endpoint}", headers=HEADERS, json=body, timeout=120)
    r.raise_for_status()
    return r.json()["data"]

# 1. The nearest store (1 credit)
store = wfm("stores", {"zip": "10019"})["stores"][0]
STORE = store["store_id"]
print(store["name"], store["address"], store["distance_miles"], "mi")

# 2. Search at that store, cheapest first (1 credit)
for p in wfm("search", {"query": "milk", "store_id": STORE, "sort": "price_asc", "limit": 20})["products"]:
    unit = f"/{p['price_unit']}" if p["price_unit"] else ""
    print(p["name"][:50], p["regular_price"], unit, "sale:", p["sale_price"], "x", p["sale_quantity"], "prime:", p["prime_price"])

# 3. Everything on sale in one category (1 credit)
deals = wfm("deals", {"category": "cheese", "store_id": STORE})
print(deals["total_results"], "cheeses on sale")

# 4. This week's flyer (1 credit)
for promo in wfm("sales-flyer", {"store_id": STORE})["promotions"][:5]:
    print(promo["product_name"], promo["sale_price"], "Prime:", promo["prime_price"], "until", promo["end_date"])

Response shapes

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }. Nothing is cached; fetched_at is when Whole Foods answered.

  • search - query, category, store_id, sort, on_sale, diet, offset, limit, total_results, count, products[] (position, asin, slug, name, brand, image, regular_price, sale_price, sale_quantity, prime_price, prime_quantity, sale_start_date, sale_end_date, price_unit, on_sale, is_local, store_id, url), facets[] {name (category, featured, diets), label, options[] {slug, label, count, selected, children[]}}.
  • category and deals - category, breadcrumb[] {slug, label}, then the same fields as search from store_id on.
  • product - asin, name, short_name, brand, description, about[], ingredients, diets[], nutrition {calories, serving_size, servings_per_container, macronutrients[], vitamins_and_minerals[]: {name, amount, daily_value_percent, level}}, snap_ebt, category, product_type, images[], store_id, in_store {regular_price, sale_price, sale_quantity, prime_price, prime_quantity, sale_start_date, sale_end_date, price_unit, is_local} or null, online {price, list_price, savings, savings_percent, prime_price, unit_price, unit_price_unit, currency, availability, max_order_quantity} or null, url.
  • stores - zip, count, stores[] (store_id, name, address, city, state, zip, latitude, longitude, phone, distance_miles, time_zone, in_store_hours[] and pickup_hours[] {date, opens_at, closes_at}, in_store_shopping_disabled, url).
  • store - store_id, name, status, phone, prime_eligible, opened_at, address, city, state, zip, country, latitude, longitude, time_zone, folder, url, sales_flyer_url.
  • sales-flyer - store_id, store_name, prime_eligible, count, promotions[] (promotion_id, product_name, brand, headline, description, terms, package_size, regular_price, sale_price, prime_price, start_date, end_date, image, tier, rank, asins[]).

Guardrails

  • Prices are per store, in dollars. The same product often costs a different amount at another store, so always name the store when quoting a price. Without store_id, search, category and deals use store 10145 (Lamar, Austin TX).
  • regular_price, sale_price and prime_price are shelf prices. prime_price is the Prime member price and needs a Prime membership; never present it as the price everyone pays.
  • A multi-buy is a total: sale_price 12.23 with sale_quantity 3 is 3 for $12.23, not $12.23 each. The same holds for prime_price and prime_quantity. Divide before comparing with regular_price.
  • price_unit "lb" means the price is per pound; null means per item.
  • /product returns two separate price blocks. in_store is the shelf price; online is the same store's delivery/pickup price, and the two often differ. Label which one you quote. Both are null without store_id; in_store is null when that store does not list the item, online when it has no online offer.
  • Flyer prices are display text as printed ("$26.99/lb", "44% off", "$10.49 to $13.49"), not numbers. Quote them as written.
  • Search honours only relevance, price_asc and price_desc. Popularity, featured and brand sorts exist only on /category and /deals.
  • There are no ratings, reviews or UPCs anywhere on Whole Foods; the product id is the ASIN. There is no per-store unit count either: online.availability is the online offer's status, not shelf stock.
  • An unknown store_id on search, category or deals returns an empty list (total_results 0) and is charged, not an error. If a listing is empty, check the store id with /store before telling the user nothing matches.
  • /store returns phone as digits only ("2128239600"); /stores returns the same number formatted ("(212) 823-9600").
  • Store hours in /stores are UTC timestamps; convert with the row's time_zone before quoting a local time.
  • Never fabricate prices, deals or nutrition. Only return what the API returned, with the product url.

Failure handling

  • 400 means a missing or invalid parameter (no query, a store_id that is not 5 digits, an unknown sort or diet, limit above 60, a malformed ZIP, or none of asin, url or slug on /product). A product whose slug has no ASIN also answers 400: its prices are in search and category rows.
  • 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 means an unknown category slug, store id (on /store and /sales-flyer) or ASIN. Not charged.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 or 503 means Whole Foods is temporarily unavailable. It is not charged; retry after a few seconds.

SDKs

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

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const { data: near } = await scavio.wholeFoods.stores({ zip: "10019" });
const store_id = near.stores[0].store_id;
const { data: found } = await scavio.wholeFoods.search({ query: "milk", store_id, sort: "price_asc" });
const item = await scavio.wholeFoods.product({ asin: found.products[0].asin, store_id });
const flyer = await scavio.wholeFoods.salesFlyer({ store_id });

MCP: the Scavio MCP server exposes all 7 endpoints as tools (search_whole_foods, get_whole_foods_category, get_whole_foods_deals, get_whole_foods_product, get_whole_foods_stores, get_whole_foods_store, get_whole_foods_sales_flyer). Whole Foods is opt-in: add wholefoods to SCAVIO_PLATFORMS.

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

Docs

Full reference per endpoint: search, category, deals, product, stores, store, sales flyer. Overview: Whole Foods API.

Preguntas frecuentes

¿Qué hace la habilidad de IA Whole Foods Grocery Data?

API de datos de alimentación de Whole Foods: busca y explora Whole Foods Market en la tienda que elijas, con el precio de estantería de esa tienda, el precio rebajado y el precio para miembros Prime, incluidas las fechas de las ofertas; consulta todos los productos rebajados en una tienda; consulta un producto con sus ingredientes, información nutricional, dietas y precios en tienda y online, uno al lado del otro; encuentra tiendas cerca de un código postal, consulta los datos de una tienda y obtén su folleto semanal de ofertas. 7 endpoints, 1 crédito cada uno.

¿Por qué usar Whole Foods Grocery Data en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Whole Foods Grocery 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 Whole Foods Grocery Data en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/scavio-ai/skills/tree/main/skills/whole-foods-grocery-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 Whole Foods Grocery 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 Whole Foods Grocery Data?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Whole Foods Grocery 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 Whole Foods Grocery 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 👇