Mercato
Mercato Store API
One Mercato store by slug, as its page shows it: name, neighborhood, address, business phone, hours, the year it joined Mercato, order minimum, delivery fee line, rating, item count, aisles, search filters, its first 20 products with the store's prices, the site's groupings (Featured, Popular in My Area, New Items, Discounted Items) and the ZIP codes it delivers to. 1 credit per request.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonstorestringrequiredA Mercato store slug as the site writes it (stores[].slug, e.g. sahadis) or a mercato.com/shop/... store link.
Example: sahadis
Notes
Mercato. Mercato (mercato.com) is the US online marketplace for independent grocers, butchers, bakeries and specialty food shops: each store lists its own products at its own prices, for delivery, pickup or, at some stores, national shipping. Scavio reads the public Mercato pages on request. Mercato publishes no public product API; this is a separate option on one Scavio key, with the same key and response envelope as every other Scavio platform. Every endpoint costs 1 credit. products are the store's first 20; store-products pages through every product and deals through the discounted ones. delivery_zips lists the ZIP codes the store delivers to (351 for Sahadi's in this capture). The store owner's name and photo are not returned.
Prices are set by each store. The store-level endpoints (store, store-products, deals, product, categories, store-reviews, store-info) need no ZIP. search, stores, product-global and delivery-slots answer for a US ZIP code (zip, 5 digits): the stores that deliver to it or offer pickup near it, as Mercato lists them for a visitor who set that ZIP. United States only, English, prices in US dollars.
Mercato shows no UPC, SKU or manufacturer part number. store_product_id is one store's listing of a product (the input of product) and product_id the product across stores (the input of product-global). A store has a slug (the input of store, store-products, deals and store-info) and a numeric store_id (the input of categories, store-reviews and delivery-slots); stores and search return both.
| Endpoint | What it returns | Credits per call |
|---|---|---|
search | The stores near a US ZIP that list a product, nearest first, 9 a page, each with up to 15 matching products priced at that store, plus its distance, order minimum, delivery fee and next delivery | 1 |
stores | The stores serving a US ZIP, nearest first, 9 a page: slug and store id, address, business phone, distance, order minimum, delivery fee, rating, item count and SNAP acceptance | 1 |
store | One store by slug: hours, order minimum, delivery fee line, rating, aisles, its first 20 products with prices, the site's groupings and the ZIP codes it delivers to | 1 |
store-products | One store's products at its prices: keywords, a category, a sort by featured, popularity, price or name, 20 a page | 1 |
deals | One store's discounted items, 20 a page: original and sale price as the page states them, the offer, its limit and its end time | 1 |
product | One store's listing of a product: price, price per lb, pricing type, weight, stock, organic and SNAP flags, claims, ingredients, nutrition and the store selling it | 1 |
product-global | One product as a visitor in a US ZIP sees it: the first store's listing and price, the other stores that list it with their store product ids, breadcrumbs and related products | 1 |
categories | One store's categories in three levels with the store's item count in each, plus its search filters with counts | 1 |
store-reviews | One store's reviews, newest first, 20 a page: rating, comment, date, likes and replies; no reviewer names | 1 |
store-info | One store's published business details by slug or id: address, phone, rating, description, the ZIP codes it delivers to and featured products | 1 |
delivery-slots | One store's delivery and pickup windows for the next 30 days for a US ZIP: open slots per hour, the delivery fee per window and the order minimum; nothing is booked | 1 |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=120)
d = client.mercato.store(store="sahadis")["data"]
print(d["name"], d["address"], d["phone"], d["order_minimum_text"])
print(d["hours"])
for g in d["groupings"]:
print(g["name"], g["total"])Response