METRO / Makro
METRO / Makro Search API
Search one METRO / Makro national shop by keyword, priced at the store you choose: 24 products a page, each with its variants and packs, every pack's net and gross price, VAT, strike-through price, promotions with dates, quantity tiers and stock status, plus brand, diet and certificate counts and the categories the matches sit in. 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/jsonquerystringrequiredSearch text, 1 to 200 characters. The market's language works best.
Example: koffie
countrystringrequiredThe national shop: nl, es, bg, hu, kz, md, pl, ro, rs, ua (prices shown), fr (non-food prices only), de, at, hr, cz, it, pt, sk, tr (catalog only: every price null).
Example: nl
store_idstring | integerA store number of the market (stores[].store_id, e.g. 00001). Prices and stock status are that store's. Default: the shop's own default store. One store per request.
Example: 00001
pageintegerdefault:11 to 200. 24 products a page; total_pages says how deep the list goes.
sortstringdefault:relevancerelevance or price_asc (lowest list price first). price_asc is a 400 in markets whose prices are login-only.
relevance— The shop's own order (default).price_asc— Lowest list price first; not offered in de, at, hr, cz, it, pt, sk, tr.
brandstringOne brand, as facets.brands[].name lists it.
Example: RIOBA
promotionbooleantrue: only articles on promotion at the store.
own_brandbooleantrue: only METRO / Makro own brands (METRO Chef, METRO PROFESSIONAL, aro and others); false: only other brands.
categorystringLimit to a category path (categories[].path, e.g. vers/agf).
Notes
METRO / Makro. METRO / Makro is METRO AG's cash-and-carry wholesaler for restaurants, hotels, caterers and independent retailers. Its national online shops (METRO in most countries, Makro in the Netherlands, Spain, Poland, Czechia and Portugal) list food, drinks, kitchen equipment and non-food articles in packs, with net and gross prices per store. Scavio reads the public shop data on request. METRO publishes no public developer API for this data; 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. Search in the market's language works best (koffie, café, kawa, kávé). Filter by brand, promotion, own_brand or a category path; sort by relevance or price_asc. A search with no match answers 200 with total 0.
country is required: one of 19 national shops. Prices are shown to visitors in nl, es, bg, hu, kz, md, pl, ro, rs and ua, each in its own currency (EUR in nl, es and bg; HUF, KZT, MDL, PLN, RON, RSD, UAH); fr shows prices for non-food articles only (food prices are for logged-in customers, price_hidden_reason login_required_food). de, at, hr, cz, it, pt, sk and tr show prices to logged-in business customers only: their answers carry the full catalog (names, brands, EANs, specs, categories, stock status, stores) with every price null, price_visible false and price_hidden_reason login_required. Names come in the market's language as the shop writes them.
| Endpoint | What it returns | Credits per call |
|---|---|---|
search | Keyword search in one national shop at the store you choose: 24 products a page with every pack's net and gross price, VAT, promotions and stock status, plus brand, diet and certificate counts | 1 |
product | One article in full by article id or link: every variant and pack with its EAN, price, quantity tiers, deposit and stock status, plus specs, ingredients, allergens and documents | 1 |
category | One category's products by path or link, priced at the store you choose, with brand, promotion and own-brand filters, price sort and paging | 1 |
categories | The shop's category tree for one market and store, with the path category takes, 1 to 6 levels deep | 1 |
deals | The articles on promotion at one store, with each pack's promotion, dates, strike-through price and quantity tiers | 1 |
stores | Every store of one market's shop with store number, city, business phone and email, opening hours and store page | 1 |
store | One store by number: name, street address, time zone, business contacts and opening hours | 1 |
recommendations | The shop's frequently bought together articles for one article at one store (up to 6), each with its packs and prices | 1 |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=120)
d = client.metro.search(query="koffie", country="nl", store_id="00001")["data"]
print(d["store_id"], d["total"], d["currency"])
for it in d["items"]:
for b in it["bundles"]:
p = b["price"]
print(it["article_id"], b["label"], p and p["net"], p and p["gross"], b["availability"])Response