Discover/H-E-B API
live

H-E-B APIheb.com

Search H-E-B's grocery catalog via API. Get real-time product pricing, availability, brand, and category data for any store query.

This API takes change requests — .
Endpoint health
verified 1h ago
search_products
1/1 passing latest checkself-healing
Endpoints
1
Updated
3h ago

What is the H-E-B API?

The H-E-B API provides access to the full H-E-B grocery catalog through 1 endpoint, search_products, returning up to 60 products per page with pricing, availability, brand, category, and product ID fields. Query by any search term — 'organic eggs', 'coffee', 'milk' — and receive paginated results tied to a specific store's inventory.

This call costs5 credits / call— charged only on success
Try it
Page number for paginated results (1-based).
Sort order for search results.
Search term for products (e.g. 'coffee', 'milk', 'organic eggs').
H-E-B store ID to scope pricing and availability to a specific store (e.g. '92', '109'). When omitted, the server assigns a default store.
api.parse.bot/scraper/a96a5f01-55f6-4a45-a52d-23f334d160a2/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/a96a5f01-55f6-4a45-a52d-23f334d160a2/search_products?page=1&sort=best_match&query=coffee&store_id=92' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace heb-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: heb_com_api SDK — bounded, re-runnable; every call capped."""
from parse_apis.H_E_B_Grocery_API import Heb, Sort, InvalidInput

client = Heb()

# Search for products at a specific store, sorted by price
for product in client.products.search(query="coffee", store_id="109", sort=Sort.PRICE_LOW_HIGH, limit=3):
    print(product.name, product.brand, product.price, product.size)

# Drill-down: take one item from a different store
item = client.products.search(query="organic eggs", store_id="92", limit=1).first()
if item:
    print(item.name, item.price, item.in_stock, item.category)

# Typed error handling
try:
    for p in client.products.search(query="almond milk", sort=Sort.BEST_MATCH, limit=2):
        print(p.name, p.unit_price, p.is_on_sale)
except InvalidInput as e:
    print("invalid input:", e)

print("exercised: products.search")
All endpoints · 1 totalmissing one? ·

Full-text product search across the H-E-B grocery catalog. Returns paginated results with pricing, availability, brand, and product details for a given store. Each page returns up to ~60 products. Results are auto-iterated by the SDK.

Input
ParamTypeDescription
pageintegerPage number for paginated results (1-based).
sortstringSort order for search results.
queryrequiredstringSearch term for products (e.g. 'coffee', 'milk', 'organic eggs').
store_idstringH-E-B store ID to scope pricing and availability to a specific store (e.g. '92', '109'). When omitted, the server assigns a default store.
Response
{
  "type": "object",
  "fields": {
    "page": "current page number",
    "query": "the search term used",
    "total": "total number of matching products",
    "products": "array of product objects with id, name, brand, price, category, availability"
  },
  "sample": {
    "data": {
      "page": 1,
      "query": "coffee",
      "total": 250,
      "products": [
        {
          "id": "583162",
          "upc": "041220843381",
          "name": "CAFE Olé by H-E-B Texas Pecan Medium Roast Ground Coffee",
          "size": "12 oz",
          "brand": "CAFE Olé by H-E-B",
          "price": 8.98,
          "category": "Beverages/Coffee",
          "in_stock": true,
          "image_url": "https://images.heb.com/is/image/HEBGrocery/prd-small/000583162.jpg",
          "is_on_sale": false,
          "sale_price": 8.98,
          "unit_price": "$0.75",
          "description": "Ground from 100% Arabica beans...",
          "product_url": "/product-detail/cafe-ol-by-h-e-b-texas-pecan-medium-roast-ground-coffee-12-oz/583162",
          "is_own_brand": true
        }
      ]
    },
    "status": "success"
  }
}

About the H-E-B API

What the API Returns

The search_products endpoint accepts a query string (required) and returns an array of product objects. Each object includes id, name, brand, price, category, and availability — covering the core fields a developer needs to compare items, track prices, or check stock for a given H-E-B location. The response also surfaces total (total matching products) and page (current page), so you can determine how many pages to iterate.

Pagination and Sorting

Each page returns approximately 60 products. Use the page parameter (1-based integer) to step through results. The optional sort parameter controls result ordering, allowing you to surface highest-priced, lowest-priced, or relevance-ranked items. The Parse SDK auto-iterates pages when using the SDK client directly.

Coverage and Scope

The API covers H-E-B's grocery catalog including branded and private-label items across all product categories — produce, dairy, packaged goods, beverages, and more. Availability and pricing reflect store-level data, so results can vary depending on the store context used in the query. H-E-B operates primarily in Texas, so catalog coverage is scoped to that regional inventory.

Reliability & maintenanceVerified

The H-E-B API is a managed, monitored endpoint for heb.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when heb.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official heb.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
1h ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Monitor price changes on specific products across H-E-B's catalog over time using the price field
  • Build a grocery list tool that checks availability before adding items for a given store
  • Compare brand options for a product category by filtering brand values from search results
  • Aggregate category data from search results to map H-E-B's product taxonomy
  • Power a recipe ingredient checker by querying each ingredient against the H-E-B catalog
  • Track whether store-brand vs. national-brand items are in stock using brand and availability together
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does H-E-B have an official public developer API?+
H-E-B does not currently offer a public developer API for product search or pricing data.
What does each product object in the response include?+
Each product in the products array includes id, name, brand, price, category, and availability. The top-level response also returns total (count of all matching products) and the query term used, which is useful for logging or caching.
Does the API support filtering by category, price range, or store location?+
Currently the endpoint accepts a query string and optional sort and page parameters. Filtering by category, price range, or explicit store ID is not exposed. The API covers full-text product search with pagination. You can fork it on Parse and revise to add a store-filtering or category-scoped endpoint.
Are product reviews or nutritional information included in the response?+
Not currently. The API returns pricing, availability, brand, category, and product identity fields. Nutritional data and customer reviews are not part of the response shape. You can fork the API on Parse and revise it to add an endpoint targeting those fields.
How many results can I retrieve for a single query?+
Each page returns up to approximately 60 products. The total field in the response tells you how many products match the query overall. Use the page parameter to walk through all results; the Parse SDK will auto-iterate pages for you.
Page content last updated . Spec covers 1 endpoint from heb.com.
Related APIs in Food DiningSee all →
pricez.co.il API
Access data from pricez.co.il.
chedraui.com.mx API
Search and browse products from Chedraui Mexico's online store, view detailed product information and categories, and discover trending searches to find exactly what you're looking for. Access comprehensive product catalogs organized by category and see what other shoppers are searching for most.
instacart.com API
Search for grocery products across multiple retailers, view store locations and availability, and access detailed product information including prices and descriptions. Find the best deals and nearest stores offering the items you need.
rami-levy.co.il API
Access data from rami-levy.co.il.
hm.com API
Search H&M's US product catalog by keyword and instantly retrieve detailed information like prices, product images, available sizes, and real-time stock availability. Perfect for comparing items, tracking product details, or building shopping applications powered by H&M's current inventory data.
homedepot.com API
Search and browse Home Depot's product catalog to compare pricing, check real-time availability, and review detailed product specifications. Find products across all categories, look up store locations and hours, and check fulfillment options including in-store pickup and delivery.
hepsiburada.com API
Search and browse products on Hepsiburada with access to detailed product information, pricing, customer reviews, categories, and active campaigns. Retrieve comprehensive product data to power shopping, research, or price-comparison applications.
wholefoodsmarket.com API
Search for grocery products, browse weekly sales, and find store locations at Whole Foods Market. Returns pricing, availability, ingredients, and nutritional information.