{
"products": [
{
"name": "Organic Green Asparagus",
"price": "$4.43",
"currency": "$",
"customerReview": "4.7 out of 5 stars",
"customerReviewCount": "6185",
"shippingMessage": "$4.99 for 2-hour delivery with Prime",
"amazonLink": "https://www.amazon.com/dp/B002QY5PB2?tag=mahmudul07-20&linkCode=ogi&th=1&psc=1",
"image": "https://m.media-amazon.com/images/I/71B9p9DbUwL._AC_UL320_.jpg",
"boughtInfo": "80K+ bought in past month"
},
{
"name": "Organic Zucchini Squash",
"price": "$1.76",
"currency": "$",
"customerReview": "4.7 out of 5 stars",
"customerReviewCount": "11854",
"shippingMessage": "$4.99 for 2-hour delivery with Prime",
"amazonLink": "https://www.amazon.com/dp/B000P6J1P4?tag=mahmudul07-20&linkCode=ogi&th=1&psc=1",
"image": "https://m.media-amazon.com/images/I/71ownyOYwcS._AC_UL320_.jpg",
"boughtInfo": "90K+ bought in past month"
},
{
"name": "Amazon Fresh Brand, Mini Cucumbers, 16 Oz",
"price": "$2.19",
"currency": "$",
"customerReview": "4.5 out of 5 stars",
"customerReviewCount": "14069",
"shippingMessage": "FREE 2-hour delivery on orders over $100 with Prime",
"amazonLink": "https://www.amazon.com/dp/B086WXSSQV?tag=mahmudul07-20&linkCode=ogi&th=1&psc=1",
"image": "https://m.media-amazon.com/images/I/81JYWbCSJwL._AC_UL320_.jpg",
"boughtInfo": "70K+ bought in past month"
},
{
"name": "Asparagus, 1 Bunch",
"price": "$1.49",
"currency": "$",
"customerReview": "4.6 out of 5 stars",
"customerReviewCount": "4868",
"shippingMessage": "FREE 2-hour delivery on orders over $100 with Prime",
"amazonLink": "https://www.amazon.com/dp/B00E3J9QSG?tag=mahmudul07-20&linkCode=ogi&th=1&psc=1",
"image": "https://m.media-amazon.com/images/I/71xbZj3wP2L._AC_UL320_.jpg",
"boughtInfo": "20K+ bought in past month"
},
{
"name": "Green Onions (Scallions), One Bunch",
"price": "$0.99",
"currency": "$",
"customerReview": "4.7 out of 5 stars",
"customerReviewCount": "14848",
"shippingMessage": "FREE 2-hour delivery on orders over $100 with Prime",
"amazonLink": "https://www.amazon.com/dp/B002B9280S?tag=mahmudul07-20&linkCode=ogi&th=1&psc=1",
"image": "https://m.media-amazon.com/images/I/51gZXdUHXML._AC_UL320_.jpg",
"boughtInfo": "100K+ bought in past month"
},
{
"name": "Amazon Fresh Brand, Stoplight Bell Peppers, 3 Count",
"price": "$2.79",
"currency": "$",
"customerReview": "4.8 out of 5 stars",
"customerReviewCount": "7979",
"shippingMessage": "FREE 2-hour delivery on orders over $100 with Prime",
"amazonLink": "https://www.amazon.com/dp/B086WXFWP4?tag=mahmudul07-20&linkCode=ogi&th=1&psc=1",
"image": "https://m.media-amazon.com/images/I/71dI2aAJUFL._AC_UL320_.jpg",
"boughtInfo": "20K+ bought in past month"
},
{
"name": "Amazon Grocery Sliced Baby Bella Mushrooms, 8 Oz (Previously Fresh Brand, Packaging May Vary)",
"price": "$2.19",
"currency": "$",
"customerReview": "4.6 out of 5 stars",
"customerReviewCount": "15609",
"shippingMessage": "FREE 2-hour delivery on orders over $100 with Prime",
"amazonLink": "https://www.amazon.com/dp/B07XVZLV79?tag=mahmudul07-20&linkCode=ogi&th=1&psc=1",
"image": "https://m.media-amazon.com/images/I/811VOhb8qoL._AC_UL320_.jpg",
"boughtInfo": "30K+ bought in past month"
},
{
"name": "Asparagus, 1 Bunch",
"price": "$3.77",
"currency": "$",
"customerReview": "4.7 out of 5 stars",
"customerReviewCount": "26045",
"shippingMessage": "$4.99 for 2-hour delivery with Prime",
"amazonLink": "https://www.amazon.com/dp/B078ZG3THS?tag=mahmudul07-20&linkCode=ogi&th=1&psc=1",
"image": "https://m.media-amazon.com/images/I/71rpY2GtFHL._AC_UL320_.jpg",
"boughtInfo": "40K+ bought in past month"
},
{
"name": "Organic Broccoli, 1 Each",
"price": "$4.26",
"currency": "$",
"customerReview": "4.7 out of 5 stars",
"customerReviewCount": "9002",
"shippingMessage": "$4.99 for 2-hour delivery with Prime",
"amazonLink": "https://www.amazon.com/dp/B000P6L3K0?tag=mahmudul07-20&linkCode=ogi&th=1&psc=1",
"image": "https://m.media-amazon.com/images/I/81w4CCxS1uL._AC_UL320_.jpg",
"boughtInfo": "70K+ bought in past month"
},
{
"name": "Church Brothers Farms Halved Brussels Sprouts, 12 Oz",
"price": "$3.79",
"currency": "$",
"customerReview": "4.3 out of 5 stars",
"customerReviewCount": "1689",
"shippingMessage": "FREE 2-hour delivery on orders over $100 with Prime",
"amazonLink": "https://www.amazon.com/dp/B09GWBRFSH?tag=mahmudul07-20&linkCode=ogi&th=1&psc=1",
"image": "https://m.media-amazon.com/images/I/81kuoCZSlCL._AC_UL320_.jpg",
"boughtInfo": "10K+ bought in past month"
},
{
"name": "365 by Whole Foods Market Bean Green Microwave Trimmed Organic, 12 Ounce",
"price": "$3.99",
"currency": "$",
"customerReview": "4.6 out of 5 stars",
"customerReviewCount": "3754",
"shippingMessage": "$4.99 for 2-hour delivery with Prime",
"amazonLink": "https://www.amazon.com/dp/B07KG9MY3B?tag=mahmudul07-20&linkCode=ogi&th=1&psc=1",
"image": "https://m.media-amazon.com/images/I/615qf9LlUDL._AC_UL320_.jpg",
"boughtInfo": "70K+ bought in past month"
}
.....
},"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/6434/grocery+api/9256/amazon+price?query=potato' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 杂货 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
### 超市 API:轻松查找超市价格
**超市 API** 允许用户在多个零售商(如亚马逊和沃尔玛)之间搜索和比较超市价格。该 API 帮助用户找到实时价格、客户评价、可用性和交付选项,适用于诸如蔬菜、水果等超市商品。开发人员可以将此 API 集成到电子商务平台、超市送货应用程序或价格比较网站中。
#### 主要功能:
1. **按产品或类别搜索**:
- 按名称或类别(例如“蔬菜”)查询超市商品,并获取相关产品列表。
- 查找亚马逊和沃尔玛等主要零售商的不同超市商品的价格和可用性。
2. **跨零售商比较价格**:
- 查看来自亚马逊和沃尔玛的产品价格,包括任何折扣或优惠。
- 比较所选产品的交付选项、运输成本和店内自取的可用性。
3. **客户评价和评分**:
- 获取每个产品的客户评价和评分的详细信息,帮助用户做出明智的购买决策。
- 包括评价数量和总体评分。
4. **产品链接**:
- 直接链接到零售商购买产品,使用户能够快速高效地购物。
- 与联盟链接集成,以提供货币化机会。
5. **运输和交付信息**:
- 查找运输成本和交付时间(例如“使用 Prime 的 2 小时交付”在亚马逊或“明天自取”在沃尔玛)。
- 获取额外信息,例如该产品是否是畅销品或缺货。
6. **视觉产品数据**:
- 每个产品的高质量图像,以增强电子商务平台或应用程序上的用户体验。
- 为产品列表增添视觉吸引力和清晰度。
每个端点返回有关杂货产品的详细信息,包括名称、价格、客户评论、运输选项和产品图片。例如,亚马逊端点提供的数据包括“有机西兰花”的价格、评论评分和配送信息
响应数据中的关键字段包括“名称”“价格”“客户评价”“运输信息”“亚马逊链接”和“图片”这些字段为用户提供了作出明智购买决策的必要细节
响应数据以JSON格式组织,产品以数组列出。每个产品对象包含如名称、价格、评论和链接等字段,便于在应用程序中解析和显示
每个端点提供有关产品名称、价格、客户评价、运输选项和可用性的信息。例如,沃尔玛端点包括产品是否为畅销品或缺货的详细信息
用户可以使用“查询”等参数自定义他们的数据请求,以搜索特定的产品或类别。例如,针对“蔬菜”的请求将返回所选零售商的相关杂货商品
数据来源于亚马逊和沃尔玛等主要零售商 该API汇集了来自这些平台的实时信息,以确保用户获得准确的最新产品详情
典型的使用案例包括构建价格比较网站 食品清单应用程序 和电子商务平台 开发者可以利用 API 提升用户体验 通过提供实时价格和产品信息
用户可以解析JSON响应以提取相关字段以在其应用程序中显示。例如,他们可以以用户友好的格式显示产品名称、价格和图片,从而促进更轻松的购物决策