沃尔沃斯杂货API是一个强大且用户友好的接口,旨在通过为开发者提供来自澳大利亚领先超市连锁店的各种杂货相关数据,增强购物体验。该API赋予用户搜索产品、访问实时定价信息、查看促销以及检索包括营养成分、过敏原和成分在内的全面产品详细信息的能力。借助沃尔沃斯杂货API,开发者可以将杂货数据无缝集成到他们的应用程序中,使最终用户能够轻松浏览产品、比较价格并做出明智的购买决策。该API支持多种端点,允许实现高级功能,如检索商店位置列表、检查库存可用性和管理客户购物车。安全性和可扩展性已经内置于API的设计中,确保它能够处理大量请求,同时保护用户数据和隐私。这使其适合从移动杂货应用到基于Web的购物平台的各种应用,增强客户参与度并推动销售。此外,该API定期更新最新的产品供应和促销,确保开发者能够为用户提供最准确和及时的信息。凭借广泛的文档和强大的支持资源,沃尔沃斯杂货API使开发者能够创新并创建满足消费者多样化需求的量身定制的购物体验。无论您是在为餐食规划、预算还是个性化购物构建应用程序,沃尔沃斯杂货API都提供了创建丰富、互动和响应式应用程序所需的工具,吸引用户并简化杂货购物。通过利用这个API的力量,企业可以挖掘在线杂货购物的巨大潜力,并通过增强服务提供改善客户忠诚度
搜索沃尔沃斯产品 - 端点功能
| 对象 | 描述 |
|---|---|
query |
[必需] Search term such as milk, bread, coffee, pasta, or yogurt. |
page |
可选 1-based page number. Backend page size is fixed to 36. |
{"status":"success","total":2151,"results":[{"id":888140,"sku":"888140","barcode":"9300633556150","name":"Woolworths Full Cream Milk 3L","slug":"woolworths-full-cream-milk","brand":"Woolworths","price":5.15,"discount_price":5.15,"unit_price":"$1.72 / 1L","is_on_special":false,"price_info":[{"price":5.15,"discount_price":5.15,"unit_price":"$1.72 / 1L"}],"unit":"Each","size":"3L","minimum_quantity":1,"stock_status":"InStock","is_available":true,"is_purchasable":true,"image":"https://cdn0.woolworths.media/content/wowproductimages/large/888140.jpg","images":["https://cdn0.woolworths.media/content/wowproductimages/large/888140.jpg"],"url":"https://www.woolworths.com.au/shop/productdetails/888140","source_url":"https://www.woolworths.com.au/shop/productdetails/888140","category_id":"1_6E4F4E4","description":"Woolworths Full Cream Milk 3L","specifications":{"ingredients":"Pasteurised and Homogenised Full Cream Milk.","allergens":null,"storage":null,"lifestyle":"Gluten Free,Low Salt,Source of Protein,Vegetarian"},"ingredients":"Pasteurised and Homogenised Full Cream Milk.","allergens":null,"nutrition":{"Name":"Nutritional Information","Attributes":[{"Id":702,"Name":"Calcium Quantity Per 100g - Total - NIP","Value":"117.0mg","Description":"Calcium Quantity Per 100g - Total - NIP","SortOrder":71},{"Id":47,"Name":"Calcium Quantity Per Serve - Total - NIP","Value":"292.0mg","Description":"Calcium Quantity Per Serve - Total - NIP","SortOrder":75},{"Id":705,"Name":"Carbohydrate Quantity Per 100g - Total - NIP","Value":"4.8g","Description":"Carbohydrate Quantity Per 100g - Total - NIP","SortOrder":83},{"Id":706,"Name":"Carbohydrate Quantity Per Serve - Total - NIP","Value":"12.0g","Description":"Carbohydrate Quantity Per Serve - Total - NIP","SortOrder":87},{"Id":125,"Name":"Cholesterol Quantity Per Serve - Total - NIP","Value":"25.03mg","Description":"Cholesterol Quantity Per Serve - Total - NIP","SortOrder":115},{"Id":759,"Name":"Energy kJ Quantity Per 100g - Total - NIP","Value":"264.0kJ","Description":"Energy kJ Quantity Per 100g - Total - NIP","SortOrder":239},{"Id":760,"Name":"Energy kJ Quantity Per Serve - Total - NIP","Value":"660.0kJ","Description":"Energy kJ Quantity Per Serve - Total - NIP","SortOrder":243},{"Id":253,"Name":"Fat Saturated Quantity Per 100g - Total - NIP","Value":"2.2g","Description":"Fat Saturated Quantity Per 100g - Total - NIP","SortOrder":251},{"Id":258,"Name":"Fat Saturated Quantity Per Serve - Total - NIP","Value":"5.5g","Description":"Fat Saturated Quantity Per Serve - Total - NIP","SortOrder":255},{"Id":764,"Name":"Fat Total Quantity Per 100g - Total - NIP","Value":"3.4g","Description":"Fat Total Quantity Per 100g - Total - NIP","SortOrder":263},{"Id":166,"Name":"Fat Total Quantity Per 100g - ValueWord - NIP","Value":"3.4","Description":"Fat Total Quantity Per 100g - ValueWord - NIP","SortOrder":264},{"Id":264,"Name":"Fat Total Quantity Per Serve - Total - NIP","Value":"8.5g","Description":"Fat Total Quantity Per Serve - Total - NIP","SortOrder":267},{"Id":834,"Name":"Monounsaturated Quantity Per Serve - Total - NIP","Value":"2.23g","Description":"Monounsaturated Quantity Per Serve - Total - NIP","SortOrder":483},{"Id":435,"Name":"Polyunsaturated Quantity Per Serve - Total - NIP","Value":"0.23g","Description":"Polyunsaturated Quantity Per Serve - Total - NIP","SortOrder":567},{"Id":493,"Name":"Potassium Quantity Per Serve - Total - NIP","Value":"347.98mg","Description":"Potassium Quantity Per Serve - Total - NIP","SortOrder":579},{"Id":878,"Name":"Protein Quantity Per 100g - Total - NIP","Value":"3.3g","Description":"Protein Quantity Per 100g - Total - NIP","SortOrder":587},{"Id":882,"Name":"Protein Quantity Per Serve - Total - NIP","Value":"8.2g","Description":"Protein Quantity Per Serve - Total - NIP","SortOrder":591},{"Id":477,"Name":"Serving Size - Total - NIP","Value":"250.0 ML","Description":"Serving Size - Total - NIP","SortOrder":607},{"Id":544,"Name":"Servings Per Pack - Total - NIP","Value":"12.0","Description":"Servings Per Pack - Total - NIP","SortOrder":611},{"Id":491,"Name":"Sodium Quantity Per 100g - Total - NIP","Value":"44.0mg","Description":"Sodium Quantity Per 100g - Total - NIP","SortOrder":623},{"Id":495,"Name":"Sodium Quantity Per Serve - Total - NIP","Value":"110.0mg","Description":"Sodium Quantity Per Serve - Total - NIP","SortOrder":627},{"Id":908,"Name":"Sugars Quantity Per 100g - SuffixUnits - NIP","Value":"g","Description":"Sugars Quantity Per 100g - SuffixUnits - NIP","SortOrder":646},{"Id":909,"Name":"Sugars Quantity Per 100g - Total - NIP","Value":"4.8g","Description":"Sugars Quantity Per 100g - Total - NIP","SortOrder":647},{"Id":910,"Name":"Sugars Quantity Per 100g - ValueWord - NIP","Value":"4.8","Description":"Sugars Quantity Per 100g - ValueWord - NIP","SortOrder":648},{"Id":911,"Name":"Sugars Quantity Per Serve - SuffixUnits - NIP","Value":"g","Description":"Sugars Quantity Per Serve - SuffixUnits - NIP","SortOrder":650},{"Id":912,"Name":"Sugars Quantity Per Serve - Total - NIP","Value":"12.0g","Description":"Sugars Quantity Per Serve - Total - NIP","SortOrder":651},{"Id":572,"Name":"Sugars Quantity Per Serve - ValueWord - NIP","Value":"12.0","Description":"Sugars Quantity Per Serve - ValueWord - NIP","SortOrder":652},{"Id":593,"Name":"Trans Quantity Per 100g - Total - NIP","Value":"1.0g","Description":"Trans Quantity Per 100g - Total - NIP","SortOrder":667},{"Id":510,"Name":"Trans Quantity Per Serve - Total - NIP","Value":"<1g","Description":"Trans Quantity Per Serve - Total - NIP","SortOrder":671}]}},{"id":888137,"sku":"888137","barcode":"9300633556143","name":"Woolworths Full Cream Milk 2L","slug":"woolworths-full-cream-milk","brand":"Woolworths","price":3.55,"discount_price":3.55,"unit_price":"$1.78 / 1L","is_on_special":false,"price_info":[{"price":3.55,"discount_price":3.55,"unit_price":"$1.78 / 1L"}],"unit":"Each","size":"2L","minimum_quantity":1,"stock_status":"InStock","is_available":true,"is_purchasable":true,"image":"https://cdn0.woolworths.media/content/wowproductimages/large/888137.jpg","images":["https://cdn0.woolworths.media/content/wowproductimages/large/888137.jpg"],"url":"https://www.woolworths.com.au/shop/productdetails/888137","source_url":"https://www.woolworths.com.au/shop/productdetails/888137","category_id":"1_6E4F4E4","description":"Woolworths Full Cream Milk 2L","specifications":{"ingredients":"Pasteurised and Homogenised Full Cream Milk.","allergens":null,"storage":null,"lifestyle":"Gluten Free,Low Salt,Source of Protein,Vegetarian"},"ingredients":"Pasteurised and Homogenised Full Cream Milk.","allergens":null,"nutrition":{"Name":"Nutritional Information","Attributes":[{"Id":702,"Name":"Calcium Quantity Per 100g - Total - NIP","Value":"117.0mg","Description":"Calcium Quantity Per 100g - Total - NIP","SortOrder":71},{"Id":47,"Name":"Calcium Quantity Per Serve - Total - NIP","Value":"292.0mg","Description":"Calcium Quantity Per Serve - Total - NIP","SortOrder":75},{"Id":705,"Name":"Carbohydrate Quantity Per 100g - Total - NIP","Value":"4.8g","Description":"Carbohydrate Quantity Per 100g - Total - NIP","SortOrder":83},{"Id":706,"Name":"Carbohydrate Quantity Per Serve - Total - NIP","Value":"12.0g","Description":"Carbohydrate Quantity Per Serve - Total - NIP","SortOrder":87},{"Id":125,"Name":"Cholesterol Quantity Per Serve - Total - NIP","Value":"25.03mg","Description":"Cholesterol Quantity Per Serve - Total - NIP","SortOrder":115},{"Id":759,"Name":"Energy kJ Quantity Per 100g - Total - NIP","Value":"264.0kJ","Description":"Energy kJ Quantity Per 100g - Total - NIP","SortOrder":239},{"Id":760,"Name":"Energy kJ Quantity Per Serve - Total - NIP","Value":"660.0kJ","Description":"Energy kJ Quantity Per Serve - Total - NIP","SortOrder":243},{"Id":253,"Name":"Fat Saturated Quantity Per 100g - Total - NIP","Value":"2.2g","Description":"Fat Saturated Quantity Per 100g - Total - NIP","SortOrder":251},{"Id":258,"Name":"Fat Saturated Quantity Per Serve - Total - NIP","Value":"5.5g","Description":"Fat Saturated Quantity Per Serve - Total - NIP","SortOrder":255},{"Id":764,"Name":"Fat Total Quantity Per 100g - Total - NIP","Value":"3.4g","Description":"Fat Total Quantity Per 100g - Total - NIP","SortOrder":263},{"Id":166,"Name":"Fat Total Quantity Per 100g - ValueWord - NIP","Value":"3.4","Description":"Fat Total Quantity Per 100g - ValueWord - NIP","SortOrder":264},{"Id":264,"Name":"Fat Total Quantity Per Serve - Total - NIP","Value":"8.5g","Description":"Fat Total Quantity Per Serve - Total - NIP","SortOrder":267},{"Id":834,"Name":"Monounsaturated Quantity Per Serve - Total - NIP","Value":"2.23g","Description":"Monounsaturated Quantity Per Serve - Total - NIP","SortOrder":483},{"Id":435,"Name":"Polyunsaturated Quantity Per Serve - Total - NIP","Value":"0.23g","Description":"Polyunsaturated Quantity Per Serve - Total - NIP","SortOrder":567},{"Id":493,"Name":"Potassium Quantity Per Serve - Total - NIP","Value":"347.98mg","Description":"Potassium Quantity Per Serve - Total - NIP","SortOrder":579},{"Id":878,"Name":"Protein Quantity Per 100g - Total - NIP","Value":"3.3g","Description":"Protein Quantity Per 100g - Total - NIP","SortOrder":587},{"Id":882,"Name":"Protein Quantity Per Serve - Total - NIP","Value":"8.2g","Description":"Protein Quantity Per Serve - Total - NIP","SortOrder":591},{"Id":477,"Name":"Serving Size - Total - NIP","Value":"250.0 ML","Description":"Serving Size - Total - NIP","SortOrder":607},{"Id":544,"Name":"Servings Per Pack - Total - NIP","Value":"8.0","Description":"Servings Per Pack - Total - NIP","SortOrder":611},{"Id":491,"Name":"Sodium Quantity Per 100g - Total - NIP","Value":"44.0mg","Description":"Sodium Quantity Per 100g - Total - NIP","SortOrder":623},{"Id":495,"Name":"Sodium Quantity Per Serve - Total - NIP","Value":"110.0mg","Description":"Sodium Quantity Per Serve - Total - NIP","SortOrder":627},{"Id":908,"Name":"Sugars Quantity Per 100g - SuffixUnits - NIP","Value":"g"}]}}],"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/12458/woolworths+grocery+api/23601/search+woolworths+products?query=milk&page=1' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
每个终点都返回与Woolworths产品相关的结构化数据 终点“列出类别”提供类别的分类 “搜索产品”根据关键字返回产品列表 “获取产品详情”提供产品的详细信息 “探索类别”列出特定类别内的产品
关键字段根据端点而异 对于“查找产品”,预期字段包括产品名称 价格和可用性 “获取产品详情”包括字段如产品ID 描述 营养信息和过敏原 每个端点的响应结构旨在简化集成
参数根据端点而有所不同 对于“搜索产品”可以使用关键字来细化搜索 “浏览分类”可以接受类别ID来过滤结果 每个端点的文档提供了特定的参数选项以有效地自定义请求
响应数据以JSON格式组织,具有清晰的层次结构。例如“获取产品细节”返回一个包含产品属性的主对象,而“列出类别”提供一个类别列表,每个类别都有一个ID和一个名称,便于导航和使用
数据直接从沃尔沃斯的库存和产品数据库中获取,确保反映实时的可用性和产品的准确细节 定期更新保持数据的完整性和相关性,使开发者能够向用户提供最新的信息
典型的用例包括创建超市购物应用程序、餐饮计划工具和价格比较平台 开发人员可以利用API通过无缝集成产品搜索、类别导航和详细产品信息来改善用户体验
用户可以在分析JSON响应时使用返回的数据在他们的应用程序中显示产品信息例如可以创建动态产品列表按类别过滤或显示详细的产品页面提高用户参与度和决策能力
在处理部分或空结果时检查响应状态和数据字段 实施恢复机制例如在未找到结果时显示消息或建议替代搜索 这确保了即使数据有限也能提供流畅的用户体验
服务级别:
100%
响应时间:
4,358ms
服务级别:
100%
响应时间:
20,003ms
服务级别:
100%
响应时间:
6,523ms
服务级别:
100%
响应时间:
5,240ms
服务级别:
100%
响应时间:
9,689ms
服务级别:
100%
响应时间:
1,489ms
服务级别:
100%
响应时间:
9,066ms
服务级别:
100%
响应时间:
6,267ms
服务级别:
100%
响应时间:
11,433ms
服务级别:
100%
响应时间:
3,967ms