Whole Foods Grocery Dataのロゴ

Whole Foods Grocery Data

コミュニティ
scavio-ai
whole-foods-grocery-data

Whole Foodsの食料品データAPI:指定した店舗のWhole Foods Marketの商品を検索・閲覧でき、その店舗の通常価格、セール価格、セール期間付きのPrime会員価格を取得できます。店舗でセール中の商品をすべて一覧表示したり、商品の成分、栄養成分、食事タイプ、店頭価格とオンライン価格を並べて確認したりできます。ZIPコード周辺の店舗検索、店舗詳細の取得、週間セールチラシの取得にも対応しています。エンドポイントは7つで、各1クレジットです。

Add to TypingMind

概要

公開者scavio-ai
リポジトリskills
スキル名whole-foods-grocery-data
スター
67
フォーク
0
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    scavio-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Whole Foods Grocery Data」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/scavio-ai/skills/tree/main/skills/whole-foods-grocery-data
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでWhole Foods Grocery Dataを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にWhole Foods Grocery Dataを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Whole Foods Grocery Dataは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

よくある質問

AIスキル「Whole Foods Grocery Data」では何ができますか?

Whole Foodsの食料品データAPI:指定した店舗のWhole Foods Marketの商品を検索・閲覧でき、その店舗の通常価格、セール価格、セール期間付きのPrime会員価格を取得できます。店舗でセール中の商品をすべて一覧表示したり、商品の成分、栄養成分、食事タイプ、店頭価格とオンライン価格を並べて確認したりできます。ZIPコード周辺の店舗検索、店舗詳細の取得、週間セールチラシの取得にも対応しています。エンドポイントは7つで、各1クレジットです。

TypingMindでWhole Foods Grocery Dataを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Whole Foods Grocery Dataはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにWhole Foods Grocery Dataをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/scavio-ai/skills/tree/main/skills/whole-foods-grocery-dataを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Whole Foods Grocery Dataを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Whole Foods Grocery Dataで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもWhole Foods Grocery Dataを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Whole Foods Grocery Data」は無料ですか?

はい。scavio-aiがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇