Mercato
Mercato Product API
One store's listing of a product on Mercato, by store product id: the store's price, price per lb and pricing type, net weight, quantity steps, stock, organic and SNAP flags, claims, description, ingredients, nutrition, images, and the store selling it with its address, phone, rating and delivery and pickup options. 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/jsonstore_product_idstring | integerrequiredA store product id (products[].store_product_id, e.g. 2898940): one store's listing of a product. A mercato.com store item link ending in one works too.
Example: 2898940
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. store_product_id comes from products[] in search, store, store-products and deals, or from other_stores[] in product-global. Almonds at Sahadi's read 9.00 USD each at 9.00 USD per lb, estimated true: a weighed item whose final price depends on its weight. nutrition is null when the listing carries no nutrition panel. A mercato.com store item link that ends in a store product id works too.
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)
p = client.mercato.product(store_product_id="2898940")["data"]
print(p["name"], p["price_text"], p["pricing_type"], p["net_weight"], p["in_stock"])
print(p["seller"]["name"], p["seller"]["address"], p["same_day_delivery"], p["pickup"])Response