ScavioScavio
Pricing
Tools
Sign InsGet Startedg
Blog
Heb6 min readNov 29, 2026

How to Get H-E-B Prices for a Specific Store With an API

Use Scavio's HEB API: look up a Texas store number by ZIP, then search with store_id for that store's price, sale flag, stock and aisle. 2 credits a call.

Scavio Team

Nov 29, 2026

Try the HEB API free
scavio
Grocery / Price monitoring
Heb

To get H-E-B prices for a specific store, use Scavio's HEB API in two calls. POST /api/v1/heb/stores with a ZIP code returns the nearest H-E-B stores and their store_number; pass that number as store_id to POST /api/v1/heb/search and every product comes back with that store's price, sale flag, in-stock flag and aisle, up to 60 products a call. /api/v1/heb/product returns one item at the same store. Each call costs 2 credits, about $0.002 on the Growth plan, and needs no H-E-B account.

H-E-B does not publish a developer API, and heb.com prices each page for the store the shopper has picked. Some of those prices differ: on November 29, 2026 a gallon of H-E-B Whole Milk was $3.68 in Houston and $4.48 in Brownsville. The steps below use responses captured that day.

Step 1: Find the store number

Bash
curl -s https://api.scavio.dev/api/v1/heb/stores \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"zip": "78205"}'

The response lists the 5 nearest stores within 100 miles, nearest first. The first one for downtown San Antonio, as captured (hours trimmed to two days, fulfillment channels left out):

JSON
{
  "store_number": 718,
  "name": "South Flores Market H-E-B",
  "address": {
    "street": "516 S FLORES STREET",
    "city": "SAN ANTONIO",
    "state": "TX",
    "zip": "78204-1217"
  },
  "phone": "+12104441879",
  "latitude": 29.41909,
  "longitude": -98.49648,
  "distance_miles": 0.6206675290395378,
  "store_hours": [
    { "day": "MONDAY", "opens": "07:00", "closes": "22:00" },
    { "day": "TUESDAY", "opens": "07:00", "closes": "22:00" }
  ],
  "has_pharmacy": false,
  "format": "NP",
  "url": "https://www.heb.com/store-locations/store/718"
}

You can send {"city": "Austin"} instead of a ZIP. Store numbers only change when stores open or close, so look them up once and keep them.

Step 2: Search at that store

Bash
curl -s 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": "718", "page_size": 60}'

This returned 17 products at South Flores Market in under a second. The store object confirms which store priced them, and one row looks like this (image URL trimmed):

JSON
{
  "query": "whole milk",
  "page": 1,
  "country": "us",
  "count": 17,
  "total_results": 17,
  "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",
      "price": 438,
      "list_price": null,
      "is_on_sale": false,
      "unit_price": "$0.03/oz",
      "size": "1 gal",
      "upc": "041220753772",
      "in_stock": true,
      "availability": ["IN_STORE"],
      "is_ebt_snap": true,
      "category": "Dairy & eggs",
      "category_id": "490016",
      "product_location": "In Dairy on the Back Wall, A1"
    }
  ],
  "store": { "store_id": "718", "name": "South Flores Market H-E-B" }
}

Prices are in cents, so 438 is $4.38. list_price is set only when is_on_sale is true, availability lists how this store sells the item (South Flores Market showed in-store only, where Houston's Buffalo Heights store also listed curbside pickup and delivery), and product_location is the aisle at this store. Pass page for more results; each page is 2 credits.

Step 3: Read one product at the same store

Bash
curl -s https://api.scavio.dev/api/v1/heb/product \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id": "314130", "store_id": "263"}'

With a store_id, the product id from search is enough. At Central Blvd H-E-B in Brownsville the same gallon came back at "price": 448, in stock, with "ingredients": "Milk, Vitamin D3, Vitamin E.", the description, four breadcrumbs from H-E-B to Milk, 6 similar products with their prices and an empty coupons list. In our test the store-targeted product call returned "nutrition": null; the same product called by URL without a store returned the panel, starting at 150 calories per 1.0 cup. If you need nutrition, make that call once per product and keep it, since it does not change by store.

Step 4: Compare stores

The same search at several store numbers is all a store comparison needs. A short Python loop:

Python
import requests

API = "https://api.scavio.dev/api/v1/heb"
HEADERS = {"Authorization": "Bearer sk_live_your_key"}

stores = {"744": "Houston", "465": "Austin", "718": "San Antonio", "263": "Brownsville"}
for store_id, city in stores.items():
    r = requests.post(f"{API}/search", headers=HEADERS,
                      json={"query": "whole milk", "store_id": store_id, "page_size": 60})
    data = r.json()["data"]
    milk = next(p for p in data["products"] if p["id"] == "314130")
    print(city, data["store"]["name"], milk["price"] / 100, milk["in_stock"])

Run on November 29, 2026, the gallon was $3.68 in Houston, $3.98 in Austin, $4.38 in San Antonio and $4.48 in Brownsville. Not everything moves: across five searches at nine H-E-B stores, 61 of the 80 products we found at 8 or more stores had one price everywhere, and the differences sat in fresh milk, bananas and some breads. The full ten-store chart and the other H-E-B APIs are in the best H-E-B grocery price APIs.

All three endpoints

EndpointWhat it returnsCredits
/api/v1/heb/storesThe 5 nearest stores to a ZIP or city: store number, address, phone, hours, pharmacy, fulfillment channels, distance2
/api/v1/heb/searchUp to 60 products a page with price, sale flag, unit price, stock, SNAP and aisle; store_id for one store2
/api/v1/heb/productOne product with description, ingredients, coupons and similar products; store_id for one store2

Search and product also take "country": "mx" for H-E-B Mexico (heb.com.mx), with peso prices, units in stock and promotions, priced at H-E-B Mexico's default store; the Spanish guide Cómo obtener precios de HEB México con una API covers that storefront. store_id and the store locator are for Texas stores.

Getting started

  1. Sign up at dashboard.scavio.dev/sign-up: 50 free credits, no card required, enough for 25 HEB calls.
  2. Copy your API key from the dashboard.
  3. Find a store with /api/v1/heb/stores, then search it with store_id.

Try the HEB API free in the playground first, or give an agent H-E-B as a tool through the MCP server.

Reference: HEB API overview · search docs · product docs · stores docs · best H-E-B grocery price APIs · why H-E-B prices differ between San Antonio and Austin

Frequently asked questions

How do I find an H-E-B store number?

POST a 5-digit ZIP code or a city name to Scavio's /api/v1/heb/stores. It returns the 5 nearest H-E-B stores within 100 miles, nearest first, each with store_number, address, phone, hours, a pharmacy flag and fulfillment channels. ZIP 78205 returned South Flores Market H-E-B, store 718, at 0.6 miles on November 29, 2026.

What happens if I do not pass a store id?

Search and product then return the prices of H-E-B's default store, and the response carries no store object. Because some H-E-B prices differ from store to store, pass store_id whenever the answer is for a particular town or shopper.

What format are H-E-B prices in?

Integers in cents: 438 is $4.38. list_price holds the regular price when is_on_sale is true and is null otherwise, and unit_price is a formatted string such as $0.03/oz, which is the easiest way to compare package sizes.

Can I get the aisle of an H-E-B product?

Yes. Every search row and product response has product_location for the store you asked about. H-E-B Whole Milk was "In Dairy on the Back Wall, A1" at South Flores Market in San Antonio and "In Dairy on the Back Wall, A13" at 7th Street in Austin on November 29, 2026.

How much does it cost to check H-E-B store prices?

Every Scavio HEB call costs 2 credits, about $0.002 on the Growth plan. One store-targeted search returns up to 60 products, so pricing five shopping-list searches at 10 stores is 50 calls and 100 credits. New accounts get 50 free credits with no card.

H-E-B store prices as JSON

  • Store numbers from any Texas ZIP or city
  • Price, stock and aisle at the store you pick
  • No H-E-B account, 2 credits a call
Try the HEB API free

50 free credits, no credit card

On this page

  1. Step 1: Find the store number
  2. Step 2: Search at that store
  3. Step 3: Read one product at the same store
  4. Step 4: Compare stores

Related articles

View all
  • scavio
    Grocery / Texas
    Heb
    Why Are H-E-B Prices Higher in San Antonio Than in Austin? Some Prices Differ by Area, and an API Shows Each Store's
  • scavio
    Grocery / Price monitoring
    Meijer
    Are Meijer Prices the Same at Every Store? No, and Here Is How to Check Two Stores With an API
ScavioScavio

One scraper API for every social, search, e-commerce and real estate platform. Built for AI agents.

Product

  • Features
  • Pricing
  • Dashboard
  • Affiliates

Developers

  • Documentation
  • API Reference
  • Quickstart
  • MCP Integration
  • Python SDK

Alternatives

  • Tavily Alternative
  • SerpAPI Alternative
  • Firecrawl Alternative
  • Exa Alternative
  • Serper Alternative
  • Tavily vs Scavio
  • SerpAPI vs Scavio
  • All alternatives
  • Compare Scavio vs alternatives

Search APIs

  • Google Search API
  • Amazon Product API
  • YouTube API
  • Reddit API
  • Walmart Product API
  • TikTok API
  • Instagram API

Tools

  • All Tools

Ask AI about Scavio

© 2026 Scavio. All rights reserved.

Featured on TAAFT
Terms of ServicePrivacy Policy