H-E-B category

GET https://api.api.sh/heb/v1/category
1 credit / call e-commerce try it in the playground →

Browse one H-E-B category for one store, with its name, breadcrumbs and the same product fields, filters and sorts as search. 60 products a page; pass next_page back as page; null on the last page.

Every response includes credits_used: the credits this call cost.

Part of the H-E-B API: 4 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
category_idrequired string The number at the end of a category link, e.g. 490016, or the link. Example: 490016
filters string Filters as id:value pairs from a search's filters, comma-separated, e.g. brand:H-E-B or savings:coupon.
sort relevance | price_asc | price_desc | name_asc | name_desc Order.
store_id string H-E-B store number the prices and stock are for (default 92; see /heb/v1/stores). Example: 92
page integer Page number. Example: 2

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/heb/v1/category?category_id=490016" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"category_id": "490016","name": "Dairy & eggs","breadcrumbs": [{"title": "H-E-B","urlPath": "/","categoryId": "0","__typename": "CategoryBreadCrumb"},{"title": "Shop","urlPath": "/browse/shop","categoryId": "2864","__typename": "CategoryBreadCrumb"},"… 1 more"],"store_id": 92,"sort": "relevance","applied_filters": [],"total": null,"items": [{"product_id": "325141","sku": "4122097159","name": "Hill Country Fare Grade A Extra Large White Eggs","brand": "Hill Country Fare","own_brand": true,"url": "https://www.heb.com/product-detail/hill-country-fare-grade-a-extra-large-white-eggs/325141","image": "https://images.heb.com/is/image/HEBGrocery/prd-small/000325141.jpg","price": 2.76,"prices": {"online": {"price": 2.76,"list_price": 2.76,"unit_price": 0.15,"unit": "ct","on_sale": false,"price_cut": false,"priced_by": "EACH"},"curbside": {"price": 2.9,"list_price": 2.9,"unit_price": 0.16,"unit": "ct","on_sale": false,"price_cut": false,"priced_by": "EACH"}},"size": "18 ct","store_id": 92,"stock": "IN_STOCK","aisle": "In Dairy on the Back Wall","category": "Dairy & eggs/Eggs & egg substitutes","on_ad": false,"coupon": false,"new": false,"snap": true,"priced_by_weight": false,"description": "When you need a dozen and a half, pick up some Hill Country Fare Grade A Extra Large White Eggs. Handy to always have on hand in your fridge…"},{"product_id": "314130","sku": "4122075377","name": "H-E-B Whole Milk","brand": "H-E-B","own_brand": true,"url": "https://www.heb.com/product-detail/h-e-b-whole-milk/314130","image": "https://images.heb.com/is/image/HEBGrocery/prd-small/000314130.jpg","price": 4.02,"prices": {"online": {"price": 4.02,"list_price": 4.02,"unit_price": 0.03,"unit": "oz","on_sale": false,"price_cut": false,"priced_by": "EACH"},"curbside": {"price": 4.22,"list_price": 4.22,"unit_price": 0.03,"unit": "oz","on_sale": false,"price_cut": false,"priced_by": "EACH"}},"size": "1 gal","store_id": 92,"stock": "IN_STOCK","aisle": "In Dairy on the Back Wall","category": "Dairy & eggs/Milk","on_ad": false,"coupon": false,"new": false,"snap": true,"priced_by_weight": false,"description": "Enriched with vitamins E & D, H-E-B whole milk comes in handy when you're making custard, pudding, milkshakes and more. A classic atop cerea…"},"… 28 more"],"filters": [],"categories": [],"suggested": null,"count": 30,"page": 1,"next_page": null,"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.