METRO / Makro
METRO / Makro Recommendations API
The articles a METRO / Makro shop shows as frequently bought together with one article, at the store you choose (up to 6): each with its article id, name, brand, own-brand and food flags, categories and packs with article number, stock status and the store's net and gross price, VAT and promotions. 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/jsonarticle_idstringArticle id as the shop writes it (items[].article_id, e.g. BTY-X13731). Send article_id or url.
Example: BTY-X13731
urlstringOr a product link of the market's shop.
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
bundlestringA pack of the article (bundles[].bundle_number, 4 digits, e.g. 0021). Default: its first pack.
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. Recommendations are per pack: bundle picks one (bundles[].bundle_number, e.g. 0021); the default is the article's first pack. Every recommended article_id is an input of product.
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.recommendations(article_id="BTY-X13731", country="nl", store_id="00001")["data"]
for it in d["items"]:
b = it["bundles"][0]
print(it["article_id"], it["name"], b["label"], b["price"]["gross"])Response