{"status":"success","source":"heb_us","build_id":"d0c209888b9c40457f1d547397de3f067e48a015","query":null,"total":3,"results":[{"id":699,"name":"Nogalitos H-E-B","address1":"1601 NOGALITOS","city":"SAN ANTONIO","state":"TX","postal_code":"78204-2427","latitude":29.3978,"longitude":-98.51499,"phone":"+12102122600","hours":[{"day":"MONDAY","opens":"06:00","closes":"23:00"},{"day":"TUESDAY","opens":"06:00","closes":"23:00"},{"day":"WEDNESDAY","opens":"06:00","closes":"23:00"},{"day":"THURSDAY","opens":"06:00","closes":"23:00"},{"day":"FRIDAY","opens":"06:00","closes":"23:00"},{"day":"SATURDAY","opens":"06:00","closes":"23:00"},{"day":"SUNDAY","opens":"06:00","closes":"23:00"}],"fulfillments":["ALCOHOL_DELIVERY","CURBSIDE_DELIVERY","CURBSIDE_PICKUP","PICK_UP_IN_STORE"],"distance_miles":0.825931747944531,"pharmacy_store":true},{"id":718,"name":"South Flores Market H-E-B","address1":"516 S FLORES STREET","city":"SAN ANTONIO","state":"TX","postal_code":"78204-1217","latitude":29.41909,"longitude":-98.49648,"phone":"+12104441879","hours":[{"day":"MONDAY","opens":"07:00","closes":"22:00"},{"day":"TUESDAY","opens":"07:00","closes":"22:00"},{"day":"WEDNESDAY","opens":"07:00","closes":"22:00"},{"day":"THURSDAY","opens":"07:00","closes":"22:00"},{"day":"FRIDAY","opens":"07:00","closes":"22:00"},{"day":"SATURDAY","opens":"07:00","closes":"22:00"},{"day":"SUNDAY","opens":"07:00","closes":"22:00"}],"fulfillments":["PICK_UP_IN_STORE"],"distance_miles":1.1008457678707682,"pharmacy_store":false},{"id":466,"name":"Commerce and Rosillo H-E-B","address1":"108 N ROSILLO","city":"SAN ANTONIO","state":"TX","postal_code":"78207-3706","latitude":29.42835,"longitude":-98.52407,"phone":"+12102270447","hours":[{"day":"MONDAY","opens":"07:00","closes":"23:00"},{"day":"TUESDAY","opens":"07:00","closes":"23:00"},{"day":"WEDNESDAY","opens":"07:00","closes":"23:00"},{"day":"THURSDAY","opens":"07:00","closes":"23:00"},{"day":"FRIDAY","opens":"07:00","closes":"23:00"},{"day":"SATURDAY","opens":"07:00","closes":"23:00"},{"day":"SUNDAY","opens":"07:00","closes":"23:00"}],"fulfillments":["PICK_UP_IN_STORE"],"distance_miles":2.06787403161392,"pharmacy_store":true}]}
curl --location --request GET 'https://zylalabs.com/api/12513/h-e-b+us+grocery+api/23830/search+h-e-b+us+stores?query=New York&limit=25' --header 'Authorization: Bearer YOUR_API_KEY'
{"status":"success","source":"heb_us","build_id":"3aec19c0f323d070a7be31ecfd049fd914974283","store_id":92,"query":"milk","page":1,"limit":10,"total":287,"result_count":10,"total_pages":29,"items":[{"id":"314125","sku":"4122006939","slug":"/product-detail/h-e-b-reduced-fat-2-milk-1-gal/314125","name":"H-E-B Reduced Fat 2% Milk, 1 gal","brand":"H-E-B","barcode":"041220069392","source_url":"https://www.heb.com/product-detail/h-e-b-reduced-fat-2-milk-1-gal/314125","price":3.88,"effective_price":3.88,"currency":"USD","size":"1 gal","price_per_unit_price":0.03,"price_per_unit_quantity":1,"price_per_unit_unit":"oz","category":"Milk","breadcrumbs":["Dairy & eggs","Milk"],"image":"https://images.heb.com/is/image/HEBGrocery/prd-large/000314125.jpg","images":["https://images.heb.com/is/image/HEBGrocery/prd-large/000314125.jpg","https://images.heb.com/is/image/HEBGrocery/prd-medium/000314125.jpg","https://images.heb.com/is/image/HEBGrocery/prd-small/000314125.jpg","https://images.heb.com/is/image/HEBGrocery/000314125-1","https://images.heb.com/is/image/HEBGrocery/000314125-2"],"availability":["IN_STORE","CURBSIDE_PICKUP","CURBSIDE_DELIVERY"],"stock_status":"IN_STOCK","in_stock":true,"store_id":92,"location":"In Dairy on the Back Wall","coupon_available":false,"on_ad":false},{"id":"690986","sku":"4122018925","slug":"/product-detail/central-market-organics-whole-milk-1-2-gal/690986","name":"Central Market Organics Whole Milk, 1/2 gal","brand":"Central Market","barcode":"041220189250","source_url":"https://www.heb.com/product-detail/central-market-organics-whole-milk-1-2-gal/690986","price":4.04,"effective_price":4.04,"currency":"USD","size":"1/2 gal","price_per_unit_price":0.06,"price_per_unit_quantity":1,"price_per_unit_unit":"oz","category":"Milk","breadcrumbs":["Dairy & eggs","Milk"],"image":"https://images.heb.com/is/image/HEBGrocery/prd-large/000690986.jpg","images":["https://images.heb.com/is/image/HEBGrocery/prd-large/000690986.jpg","https://images.heb.com/is/image/HEBGrocery/prd-medium/000690986.jpg","https://images.heb.com/is/image/HEBGrocery/prd-small/000690986.jpg","https://images.heb.com/is/image/HEBGrocery/000690986-1"],"availability":["IN_STORE","CURBSIDE_PICKUP","CURBSIDE_DELIVERY"],"stock_status":"IN_STOCK","in_stock":true,"store_id":92,"location":"In Dairy on the Back Wall","coupon_available":true,"on_ad":false,"promotion_type":"coupon","promotion_label":"Has coupon"},{"id":"1838031","sku":"85631200277","slug":"/product-detail/fairlife-lactose-free-2-reduced-fat-ultra-filtered-milk-52-oz/1838031","name":"Fairlife Lactose Free 2% Reduced Fat Ultra-Filtered Milk, 52 oz","brand":"Fairlife","barcode":"856312002771","source_url":"https://www.heb.com/product-detail/fairlife-lactose-free-2-reduced-fat-ultra-filtered-milk-52-oz/1838031","price":5.32,"effective_price":5.32,"currency":"USD","size":"52 oz","unit":"oz","unit_quantity":52,"price_per_unit_price":0.1,"price_per_unit_quantity":1,"price_per_unit_unit":"oz","category":"Milk","breadcrumbs":["Dairy & eggs","Milk"],"image":"https://images.heb.com/is/image/HEBGrocery/prd-large/001838031.jpg","images":["https://images.heb.com/is/image/HEBGrocery/prd-large/001838031.jpg","https://images.heb.com/is/image/HEBGrocery/prd-medium/001838031.jpg","https://images.heb.com/is/image/HEBGrocery/prd-small/001838031.jpg","https://images.heb.com/is/image/HEBGrocery/001838031-1","https://images.heb.com/is/image/HEBGrocery/001838031-2","https://images.heb.com/is/image/HEBGrocery/001838031-3","https://images.heb.com/is/image/HEBGrocery/001838031-4","https://images.heb.com/is/image/HEBGrocery/001838031-5","https://images.heb.com/is/image/HEBGrocery/001838031-6","https://images.heb.com/is/image/HEBGrocery/001838031-7"],"availability":["IN_STORE","CURBSIDE_PICKUP","CURBSIDE_DELIVERY"],"stock_status":"IN_STOCK","in_stock":true,"store_id":92,"location":"In Dairy on the Back Wall","coupon_available":false,"on_ad":false},{"id":"314130","sku":"4122075377","slug":"/product-detail/h-e-b-whole-milk-1-gal/314130","name":"H-E-B Whole Milk, 1 gal","brand":"H-E-B","barcode":"041220753772","source_url":"https://www.heb.com/product-detail/h-e-b-whole-milk-1-gal/314130","price":3.88,"effective_price":3.88,"currency":"USD","size":"1 gal","price_per_unit_price":0.03,"price_per_unit_quantity":1,"price_per_unit_unit":"oz","category":"Milk","breadcrumbs":["Dairy & eggs","Milk"],"image":"https://images.heb.com/is/image/HEBGrocery/prd-large/000314130.jpg","images":["https://images.heb.com/is/image/HEBGrocery/prd-large/000314130.jpg","https://images.heb.com/is/image/HEBGrocery/prd-medium/000314130.jpg","https://images.heb.com/is/image/HEBGrocery/prd-small/000314130.jpg","https://images.heb.com/is/image/HEBGrocery/000314130-1","https://images.heb.com/is/image/HEBGrocery/000314130-2"],"availability":["IN_STORE","CURBSIDE_PICKUP","CURBSIDE_DELIVERY"],"stock_status":"IN_STOCK","in_stock":true,"store_id":92,"location":"In Dairy on the Back Wall","coupon_available":false,"on_ad":false},{"id":"931316","sku":"4122018929","slug":"/product-detail/central-market-organics-whole-milk-1-gal/931316","name":"Central Market Organics Whole Milk, 1 gal","brand":"Central Market","barcode":"041220189298","source_url":"https://www.heb.com/product-detail/central-market-organics-whole-milk-1-gal/931316","price":7.78,"discount_price":6.98,"effective_price":6.98,"currency":"USD","size":"1 gal","price_per_unit_price":0.05,"price_per_unit_quantity":1,"price_per_unit_unit":"oz","category":"Milk","breadcrumbs":["Dairy & eggs","Milk"],"image":"https://images.heb.com/is/image/HEBGrocery/prd-large/000931316.jpg","images":["https://images.heb.com/is/image/HEBGrocery/prd-large/000931316.jpg","https://images.heb.com/is/image/HEBGrocery/prd-medium/000931316.jpg","https://images.heb.com/is/image/HEBGrocery/prd-small/000931316.jpg","https://images.heb.com/is/image/HEBGrocery/000931316-1"],"availability":["IN_STORE","CURBSIDE_PICKUP","CURBSIDE_DELIVERY"],"stock_status":"IN_STOCK","in_stock":true,"store_id":92,"location":"In Dairy on the Back Wall","coupon_available":false,"on_ad":false,"promotion_type":"price_cut","promotion_label":"Price cut"},{"id":"481244","sku":"4122062871","slug":"/product-detail/h-e-b-reduced-fat-2-milk-1-2-gal/481244","name":"H-E-B Reduced Fat 2% Milk, 1/2 gal","brand":"H-E-B","barcode":"041220628711","source_url":"https://www.heb.com/product-detail/h-e-b-reduced-fat-2-milk-1-2-gal/481244","price":2.24,"effective_price":2.24,"currency":"USD","size":"1/2 gal","price_per_unit_price":0.04,"price_per_unit_quantity":1,"price_per_unit_unit":"oz","category":"Milk","breadcrumbs":["Dairy & eggs","Milk"],"image":"https://images.heb.com/is/image/HEBGrocery/prd-large/000481244.jpg","images":["https://images.heb.com/is/image/HEBGrocery/prd-large/000481244.jpg","https://images.heb.com/is/image/HEBGrocery/prd-medium/000481244.jpg","https://images.heb.com/is/image/HEBGrocery/prd-small/000481244.jpg"],"availability":["IN_STORE","CURBSIDE_PICKUP","CURBSIDE_DELIVERY"],"stock_status":"IN_STOCK","in_stock":true,"store_id":92,"location":"In Dairy on the Back Wall","coupon_available":false,"on_ad":false},{"id":"671076","sku":"4122003331","slug":"/product-detail/h-e-b-mootopia-13g-protein-lactose-free-2-reduced-fat-milk-1-2-gal/671076","name":"H-E-B Mootopia 13g Protein Lactose Free 2% Reduced Fat Milk, 1/2 gal","brand":"H-E-B","barcode":"041220033317","source_url":"https://www.heb.com/product-detail/h-e-b-mootopia-13g-protein-lactose-free-2-reduced-fat-milk-1-2-gal/671076","price":5.48,"effective_price":5.48,"currency":"USD","size":"1/2 gal","price_per_unit_price":0.09,"price_per_unit_quantity":1,"price_per_unit_unit":"oz","category":"Milk","breadcrumbs":["Dairy & eggs","Milk"],"image":"https://images.heb.com/is/image/HEBGrocery/prd-large/000671076.jpg","images":["https://images.heb.com/is/image/HEBGrocery/prd-large/000671076.jpg","https://images.heb.com/is/image/HEBGrocery/prd-medium/000671076.jpg","https://images.heb.com/is/image/HEBGrocery/prd-small/000671076.jpg","https://images.heb.com/is/image/HEBGrocery/000671076-1"],"availability":["IN_STORE","CURBSIDE_DELIVERY","CURBSIDE_PICKUP"],"stock_status":"IN_STOCK","in_stock":true,"store_id":92,"location":"In Dairy on the Back Wall","coupon_available":false,"on_ad":false},{"id":"690987","sku":"4122018923","slug":"/product-detail/central-market-organics-2-reduced-fat-milk-1-2-gal/690987","name":"Central Market Organics 2% Reduced Fat Milk, 1/2 gal","brand":"Central Market","barcode":"041220189236","source_url":"https://www.heb.com/product-detail/central-market-organics-2-reduced-fat-milk-1-2-gal/690987","price":4.04,"effective_price":4.04,"currency":"USD","size":"1/2 gal","price_per_unit_price":0.06,"price_per_unit_quantity":1,"price_per_unit_unit":"oz","category":"Milk","breadcrumbs":["Dairy & eggs","Milk"],"image":"https://images.heb.com/is/image/HEBGrocery/prd-large/000690987.jpg","images":["https://images.heb.com/is/image/HEBGrocery/prd-large/000690987.jpg","https://images.heb.com/is/image/HEBGrocery/prd-medium/000690987.jpg","https://images.heb.com/is/image/HEBGrocery/prd-small/000690987.jpg","https://images.heb.com/is/image/HEBGrocery/000690987-1"],"availability":["IN_STORE","CURBSIDE_PICKUP","CURBSIDE_DELIVERY"],"stock_status":"IN_STOCK","in_stock":true,"store_id":92,"location":"In Dairy on the Back Wall","coupon_available":true,"on_ad":false,"promotion_type":"coupon","promotion_label":"Has coupon"},{"id":"314135","sku":"4122080612","slug":"/product-detail/h-e-b-whole-milk-1-2-gal/314135","name":"H-E-B Whole Milk, 1/2 gal","brand":"H-E-B","barcode":"041220806126","source_url":"https://www.heb.com/product-detail/h-e-b-whole-milk-1-2-gal/314135","price":2.24,"effective_price":2.24,"currency":"USD","size":"1/2 gal","price_per_unit_price":0.04,"price_per_unit_quantity":1,"price_per_unit_unit":"oz","category":"Milk","breadcrumbs":["Dairy & eggs","Milk"],"image":"https://images.heb.com/is/image/HEBGrocery/prd-large/000314135.jpg"}],"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/12513/h-e-b+us+grocery+api/23833/search+h-e-b+us+products' --header 'Authorization: Bearer YOUR_API_KEY'
{"status":"success","source":"heb_us","build_id":"d0c209888b9c40457f1d547397de3f067e48a015","store_id":92,"item":{"id":"314125","sku":"4122006939","slug":"/product-detail/h-e-b-reduced-fat-2-milk/314125","name":"H-E-B Reduced Fat 2% Milk","brand":"H-E-B","barcode":"041220069392","source_url":"https://www.heb.com/product-detail/h-e-b-reduced-fat-2-milk/314125","price":3.88,"effective_price":3.88,"currency":"USD","size":"1 gal","price_per_unit_price":0.03,"price_per_unit_quantity":1,"price_per_unit_unit":"oz","image":"https://images.heb.com/is/image/HEBGrocery/prd-medium/000314125.jpg","images":["https://images.heb.com/is/image/HEBGrocery/prd-medium/000314125.jpg","https://images.heb.com/is/image/HEBGrocery/prd-small/000314125.jpg","https://images.heb.com/is/image/HEBGrocery/000314125-1","https://images.heb.com/is/image/HEBGrocery/000314125-2"],"availability":["IN_STORE","CURBSIDE_PICKUP","CURBSIDE_DELIVERY"],"stock_status":"IN_STOCK","in_stock":true,"store_id":92,"location":"In Dairy on the Back Wall","coupon_available":false,"on_ad":false,"description":"Made in Texas by farmers who pledge no artificial growth hormones (rBST),* H-E-B reduced fat 2% milk is enriched with vitamins E, A & D. Boasting 38% less than fat than whole milk, it's a win for the waistline and the tastebuds. • 1 gallon of 2% milk • Reduced fat (38% less fat than whole milk) • Vitamins E, A & D • rBST-free* • Great for cereal, coffee and cookies *No significant difference has been shown between milk from cows treated or not treated with rBST (artificial growth hormone).","short_description":"Made in Texas by farmers who pledge no artificial growth hormones (rBST),* H-E-B reduced fat 2% milk is enriched with vitamins E, A & D. Boasting 38% less than fat than whole milk, it's a win for the waistline and the tastebuds. • 1 gallon of 2% milk • Reduced fat (38% less fat than whole milk) • Vitamins E, A & D • rBST-free* • Great for cereal, coffee and cookies *No significant difference has been shown between milk from cows treated or not treated with rBST (artificial growth hormone).","ingredients":"Reduced Fat Milk, Vitamin A Palmitate, Vitamin D3, Vitamin E.","safety_warning":"Contains: MILK. Keep refrigerated at 40°F or below.","store":{"id":92,"name":"Victoria H-E-B plus!","address1":"6106 N. NAVARRO","latitude":28.85178,"longitude":-96.99499},"variants":[{"id":"4122006939","barcode":"041220069392","size":"1 gal","availability":["IN_STORE","CURBSIDE_PICKUP","CURBSIDE_DELIVERY"],"price":3.88,"effective_price":3.88,"currency":"USD"}],"availability_details":{"__typename":"Availability"},"nutrition":[{"servingsPerContainer":"16","servingSize":"1.00 cup","calories":"120","caloriesFromFat":"45","nutrients":[{"title":"Total Fat","fontModifier":"BOLD","unit":"5g","percentage":"8%","subItems":[{"title":"Saturated Fat","fontModifier":"PLAIN","unit":"3g","percentage":"15%","__typename":"DailyValueItemType"},{"title":"Trans Fat","fontModifier":"ITALIC","unit":"0g","__typename":"DailyValueItemType"}],"__typename":"DailyValueItemType"},{"title":"Cholesterol","fontModifier":"BOLD","unit":"20mg","percentage":"7%","__typename":"DailyValueItemType"},{"title":"Sodium","fontModifier":"BOLD","unit":"100mg","percentage":"4%","__typename":"DailyValueItemType"},{"title":"Total Carbohydrate","fontModifier":"BOLD","unit":"12g","percentage":"4%","subItems":[{"title":"Dietary Fiber","fontModifier":"PLAIN","unit":"0g","percentage":"0%","__typename":"DailyValueItemType"},{"title":"Sugars","fontModifier":"PLAIN","unit":"12g","__typename":"DailyValueItemType"}],"__typename":"DailyValueItemType"},{"title":"Protein","fontModifier":"BOLD","unit":"8g","__typename":"DailyValueItemType"}],"vitaminsAndMinerals":[{"title":"Potassium","fontModifier":"PLAIN","unit":"342mg","percentage":"10%","__typename":"DailyValueItemType"},{"title":"Vitamin A","fontModifier":"PLAIN","unit":"0","percentage":"10%","__typename":"DailyValueItemType"},{"title":"Calcium","fontModifier":"PLAIN","unit":"0","percentage":"30%","__typename":"DailyValueItemType"},{"title":"Vitamin C","fontModifier":"PLAIN","unit":"0","percentage":"0%","__typename":"DailyValueItemType"},{"title":"Iron","fontModifier":"PLAIN","unit":"0","percentage":"0%","__typename":"DailyValueItemType"},{"title":"Vitamin D","fontModifier":"PLAIN","unit":"0","percentage":"25%","__typename":"DailyValueItemType"},{"title":"Vitamin E","fontModifier":"PLAIN","unit":"0","percentage":"25%","__typename":"DailyValueItemType"}],"__typename":"NutritionLabelType"}]}}
curl --location --request GET 'https://zylalabs.com/api/12513/h-e-b+us+grocery+api/23836/get+h-e-b+us+product+by+url?url=https://www.heb.com/product-detail/h-e-b-reduced-fat-2-milk-1-gal/314125' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 H-E-B 美国杂货 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
领先企业的信赖之选
每个端点返回与杂货商品、类别和商店信息相关的结构化数据 例如 "搜索 H-E-B 美国产品" 端点提供产品详细信息,如名称、品牌、价格和可用性,而 "获取 H-E-B 美国商店" 端点返回特定商店的详细信息,如地址、营业时间和提供的服务
关键字段因端点而异,但通常包括标识符(例如,产品 ID,商店 ID)、描述性属性(例如,名称,类别,品牌)、定价信息(例如,价格,有效价格)和可用性状态(例如,库存,交货选项)
参数根据终点不同而有所变化 例如终点“搜索H-E-B美国产品”接受关键字进行产品搜索 而终点“搜索H-E-B商店”允许按地址 城市或邮政编码过滤以定位商店
响应数据通常以JSON格式组织,顶层状态字段指示成功或失败,后面跟随相关的数据数组。例如,“搜索H-E-B美国商店”响应包括一个商店对象的列表,每个对象包含详细属性,如名称、地址和营业时间
数据直接来源于H-E-B的库存和商店系统,确保实时反映产品的可用性、价格和促销。这种直接集成有助于保持数据对用户的准确性和相关性
典型的使用案例包括构建食品杂货购物应用程序 提升零售数据分析以及创建个性化购物体验 开发人员可以使用API使用户能够根据他们的偏好搜索产品 定位商店并发现促销活动
用户可以通过利用特定于每个端点的各种参数来自定义请求。例如,在使用“浏览 H-E-B 美国类别”端点时,用户可以指定商店上下文以检索与特定位置相关的类别数据
当遇到部分或空结果时,用户应检查响应中的状态字段。如果状态指示成功但返回没有结果,可能是由于没有匹配项。在这种情况下,实现后备逻辑或用户通知可以增强用户体验