Logo: Heb Grocery Data

Heb Grocery Data

Communautéit
scavio-ai
heb-grocery-data

HEB grocery data API: product search with price, unit price, rating and availability, full item detail with nutrition facts and ingredients, and store locator for HEB and Central Market locations. 3 endpoints, 2 credits each.

Iwwersiicht

Editeurscavio-ai
Repositoryskills
Skill-Nummheb-grocery-data
Stären
67
Forks
0
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    scavio-ai huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Heb Grocery Data an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/scavio-ai/skills/tree/main/skills/heb-grocery-data
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-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/heb-grocery-data .claude/skills/heb-grocery-data
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Heb Grocery Data an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Heb Grocery Data automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Heb Grocery Data net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

HEB Grocery Data API - Search, Product Detail, Store Locator

Search HEB products, read full item detail with pricing and nutrition, and find HEB stores near a location. Pass a store_id to get one store's prices, stock, aisle location and search assortment. Pass "country": "mx" to search and read products on HEB Mexico (heb.com.mx) with peso prices, units in stock and promotions. All endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Find products on heb.com by keyword, brand, category or department
  • Look up an HEB product by URL, slug or product id
  • Compare HEB grocery prices or check product availability
  • Check the price, stock or aisle location of a product at a specific HEB store
  • Get nutrition facts, ingredients or specifications for an HEB product
  • Find HEB stores near a zip code or city in Texas
  • Find products, prices, markdowns, stock or promotions on HEB Mexico (heb.com.mx), e.g. "precios de leche en HEB"
  • Monitor HEB pricing or enrich a catalog with HEB product data

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 2 credits.

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. The smallest purchase is 2,500 credits for $25, and monthly plans work out cheaper per credit if the usage is steady rather than one-off.

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev. All HEB endpoints cost 2 credits.

EndpointCreditsWhat it returns
POST /api/v1/heb/search2Product search results: name, brand, price (cents), sale status, unit price, size, UPC, stock, EBT/SNAP eligibility, aisle location and URL. Optional store_id. With country: "mx": peso prices, units in stock and promotions
POST /api/v1/heb/product2Full product detail: description, ingredients, nutrition, images, similar products, coupons and aisle location. Optional store_id. With country: "mx": peso price, stock, promotions and nutrition
POST /api/v1/heb/stores2HEB stores near a US ZIP or city: store_number, address, phone, hours, pharmacy, fulfillment channels and distance. US only

Workflow

  1. Search for products: call /heb/search with query. Results include price, unit price, stock and aisle location.
  2. Product detail: call /heb/product with a product_url from search results, or with slug and product_id.
  3. Find stores: call /heb/stores with zip or city to find nearby HEB locations.

Prices at a specific store

Prices, stock and the in-store aisle differ by store. Without store_id every call uses HEB's default store.

  1. Call /heb/stores with the shopper's zip (or city) and take store_number from the nearest store (e.g. "441").
  2. Pass it as store_id (string "441" or number 441) to /heb/search and /heb/product. Prices, in_stock, product_location and the search assortment then come from that store.
  3. The response echoes the store used in data.store, e.g. {"store_id": "441", "name": "Uvalde H-E-B"}. Quote that store name when reporting prices.
  4. With store_id, /heb/product accepts product_id alone (no slug needed); product_url still works.

An unknown store number returns 400 with store_id 99999 is not an HEB store. Find store numbers with /api/v1/heb/stores. Store pricing is US (heb.com) only. Credits are unchanged: 2 per call.

HEB Mexico (heb.com.mx)

Add "country": "mx" to /heb/search and /heb/product (pass the url from a Mexico search as product_url).

  • price and list_price are integers in Mexican peso cents: 10000 is MX$100.00. list_price is set only on a markdown (is_on_sale: true); the discount is 1 - price / list_price.
  • Every row adds stock (units on hand, a live figure that moves between calls), store_id (HEB Mexico's default store, e.g. "hebmx002959"), is_sponsored and promotions[] - {id, type, label, description, discount, discount_type, ends_at}. type is Rebajado (price cut), AhorraMas (multi-buy such as "2x45") or ComboLoco (free gift with purchase). A multi-buy or gift does not change price, so read promotions too.
  • upc is the EAN barcode. Search pages are always 20 rows and carry total_results and total_pages.
  • Product adds images[], plain-text description, ingredients and nutrition (per portion, else per 100 g) when HEB lists them; nutrient names stay in Spanish.
  • Not available for Mexico: store_id as an input, page_size, /heb/stores, unit_price, is_ebt_snap, product_location, similar_products, coupons.

Captured on 2026-11-02 ({"query": "leche", "country": "mx"}, one row, trimmed): "name": "Alpura Leche Deslactosada 4 Pack 4 L", "brand": "ALPURA", "price": 10000, "list_price": 14200, "is_on_sale": true, "upc": "7501056215538", "stock": 156, "promotions": [{"type": "Rebajado", "discount": 29.58, "discount_type": "percent", ...}].

Pagination

  • Search: page (1-based) and page_size (default 60, 1-60; Mexico is always 20). The response carries total_results and count (Mexico adds total_pages). Each page is 2 credits.
  • Product and stores: no pagination.

Parameters

Search (/search)

ParameterTypeDefaultDescription
querystringrequiredKeywords, brand or product name (1-200 chars)
pageinteger11-based page number
page_sizeinteger60Results per page, 1-60
store_idstring or integer-HEB store number from /heb/stores (store_number). Prices, stock, aisle and assortment for that store. US only
countrystringusus for heb.com, mx for heb.com.mx (Mexico)

Product (/product)

ParameterTypeDefaultDescription
product_urlstringone ofAn heb.com or heb.com.mx product URL
slugstringone ofProduct slug (the readable part of the product URL), used with product_id
product_idstringone ofProduct id (id in search results). Needs slug, unless store_id is set
store_idstring or integer-HEB store number from /heb/stores. Price, stock and aisle for that store. US only
countrystringusus for heb.com, mx for heb.com.mx (Mexico)

Stores (/stores)

ParameterTypeDefaultDescription
zipstring--5-digit US ZIP code. Wins over city when both are sent
citystring--City name (e.g. Austin, Austin, TX), used when no zip is sent

Returns the 5 nearest stores within 100 miles, nearest first, with distance_miles from the searched location. Send zip or city; with neither, the stores nearest San Antonio are returned.

Examples

bash
curl -X POST https://api.scavio.dev/api/v1/heb/search \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "whole milk", "store_id": "441", "page_size": 5}'

Captured response (store 441, trimmed to one product):

json
{
  "data": {
    "query": "whole milk",
    "page": 1,
    "country": "us",
    "count": 2,
    "total_results": 34,
    "products": [
      {
        "id": "314130",
        "name": "H-E-B Whole Milk, 1 gal",
        "brand": "H-E-B",
        "is_own_brand": true,
        "url": "https://www.heb.com/product-detail/h-e-b-whole-milk-1-gal/314130",
        "image": "https://images.heb.com/is/image/HEBGrocery/prd-large/000314130.jpg",
        "price": 398,
        "list_price": null,
        "is_on_sale": false,
        "unit_price": "$0.03/oz",
        "size": "1 gal",
        "upc": "041220753772",
        "in_stock": true,
        "availability": ["IN_STORE", "CURBSIDE_PICKUP", "CURBSIDE_DELIVERY"],
        "is_ebt_snap": true,
        "category": "Dairy & eggs",
        "category_id": "490016",
        "product_location": "In Dairy on the Back Wall"
      }
    ],
    "store": { "store_id": "441", "name": "Uvalde H-E-B" }
  },
  "response_time": 2453,
  "credits_used": 2
}
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 heb(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/heb/{endpoint}", headers=HEADERS, json=body)
    r.raise_for_status()
    return r.json()["data"]

# 1. Find the shopper's store
stores = heb("stores", {"zip": "78801"})
store = stores["stores"][0]
print(store["store_number"], store["name"], store["distance_miles"])

# 2. Search that store (price is in cents)
found = heb("search", {"query": "whole milk", "store_id": store["store_number"], "page_size": 5})
print("Prices at", found["store"]["name"])
for row in found["products"]:
    print(row["name"], row["price"] / 100, row["unit_price"], row["product_location"])

# 3. Full product detail at the same store - product_id alone is enough with store_id
product = heb("product", {"product_id": found["products"][0]["id"], "store_id": store["store_number"]})
print(product["name"], product["price"], product["in_stock"], product["ingredients"])

Response shapes

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }. fetched_at is the ISO time the data was retrieved; nothing is cached, so it is the age of the data. Key data fields:

  • search - query, page, country, count, total_results, products[], and store {store_id, name} when store_id was passed. A row: id, name, brand, is_own_brand, url, image, price (cents), list_price (cents, set when on sale), is_on_sale, unit_price, size, upc, in_stock, availability[], is_ebt_snap, category, category_id, product_location (aisle).
  • product - id, name, brand, is_own_brand, url, country, images[], price, list_price, is_on_sale, unit_price, size, upc, in_stock, availability[], is_ebt_snap, description, ingredients, nutrition {serving_size, calories, nutrients[]} or null, breadcrumbs[], category, category_id, product_location, similar_products[], coupons[], and store when store_id was passed.
  • stores - count, total_stores, page, stores[] (store_number, name, address {street, city, state, zip}, phone, latitude, longitude, distance_miles, store_hours[], has_pharmacy, format, fulfillments[], url).

Guardrails

  • HEB operates in Texas (heb.com) and northeast Mexico (heb.com.mx, country: "mx"). The store locator covers US stores only.
  • price and list_price are integers in cents: 398 is $3.98 in the US, 10000 is MX$100.00 for Mexico. Always say which currency.
  • Mexico prices and stock are for HEB Mexico's default store; say so, since a specific Mexican store cannot be chosen.
  • Prices, stock and aisle are per store. When the user names a town or ZIP, look the store up and pass store_id; otherwise say the prices are for HEB's default store. Name the store from data.store in the answer.
  • Unit prices (unit_price) are the best way to compare products of different sizes.
  • Never fabricate prices, nutrition facts or store hours. Only return what the API returned, and surface the product url so the user can verify.
  • is_on_sale and (Mexico) promotions reflect the current site state; in-store prices may differ.

Failure handling

  • 400 means an invalid or missing parameter - fix the body and retry. An unknown store_id is a 400 too: look the store up again with /heb/stores.
  • 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 means the product was not found - check the URL or id.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 / 503 mean HEB data is temporarily unavailable - wait a few seconds and retry.
  • If search returns nothing, try broader keywords or check spelling.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

SDKs

Python: use the requests example above.

bash
npm install scavio@0.28.1
js
import { Scavio } from "scavio";

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const stores = await scavio.heb.stores({ zip: "78801" });
const storeId = stores.data.stores[0].store_number;
const found = await scavio.heb.search({ query: "whole milk", store_id: storeId, page_size: 5 });
const product = await scavio.heb.product({ product_id: found.data.products[0].id, store_id: storeId });

MCP: the Scavio MCP server exposes all 3 HEB endpoints as tools (search_heb, get_heb_product, get_heb_stores); search_heb and get_heb_product take store_id. HEB is opt-in: add heb to SCAVIO_PLATFORMS.

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

Docs

Full reference per endpoint: HEB search, product, stores. Overview: HEB API.

Heefeg gestallte Froen

Wat mécht de KI-Skill Heb Grocery Data?

HEB grocery data API: product search with price, unit price, rating and availability, full item detail with nutrition facts and ingredients, and store locator for HEB and Central Market locations. 3 endpoints, 2 credits each.

Firwat Heb Grocery Data op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Heb Grocery Data besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Heb Grocery Data an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/scavio-ai/skills/tree/main/skills/heb-grocery-data an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Heb Grocery Data benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Heb Grocery Data benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Heb Grocery Data domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Heb Grocery Data gratis?

Jo. scavio-ai huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇