Logo : Whole Foods Grocery Data

Whole Foods Grocery Data

Communauté
scavio-ai
whole-foods-grocery-data

API de données alimentaires de Whole Foods : recherchez des produits et parcourez le catalogue de Whole Foods Market dans le magasin de votre choix, avec les prix en rayon, les prix promotionnels et les prix réservés aux membres Prime de ce magasin, ainsi que les dates des promotions. Consultez tous les produits en promotion dans un magasin, affichez la fiche d’un produit avec ses ingrédients, ses informations nutritionnelles, ses régimes alimentaires et ses prix en magasin et en ligne côte à côte, trouvez les magasins près d’un code ZIP, consultez la fiche d’un magasin et récupérez son prospectus hebdomadaire. 7 endpoints, 1 crédit chacun.

Add to TypingMind

Présentation

Éditeurscavio-ai
Dépôtskills
Nom de la compétencewhole-foods-grocery-data
Étoiles
67
Forks
0
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par scavio-ai sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Whole Foods Grocery Data dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/scavio-ai/skills/tree/main/skills/whole-foods-grocery-data
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Whole Foods Grocery Data dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Whole Foods Grocery Data dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Whole Foods Grocery Data n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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.

Foire aux questions

À quoi sert la compétence IA Whole Foods Grocery Data ?

API de données alimentaires de Whole Foods : recherchez des produits et parcourez le catalogue de Whole Foods Market dans le magasin de votre choix, avec les prix en rayon, les prix promotionnels et les prix réservés aux membres Prime de ce magasin, ainsi que les dates des promotions. Consultez tous les produits en promotion dans un magasin, affichez la fiche d’un produit avec ses ingrédients, ses informations nutritionnelles, ses régimes alimentaires et ses prix en magasin et en ligne côte à côte, trouvez les magasins près d’un code ZIP, consultez la fiche d’un magasin et récupérez son pro...

Pourquoi utiliser Whole Foods Grocery Data sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Whole Foods Grocery Data se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Whole Foods Grocery Data dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/scavio-ai/skills/tree/main/skills/whole-foods-grocery-data. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Whole Foods Grocery Data ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Whole Foods Grocery Data ?

Autant que vous le souhaitez. Vous pouvez utiliser Whole Foods Grocery Data avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Whole Foods Grocery Data est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par scavio-ai sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇