360 Secure SkillHub
360 安全技能中心

METRO / Makro API - Cash and Carry Wholesale Prices per Store, Promotions, Stores

通过 Scavio API 按国家和门店检索 METRO / Makro 的商品、净价/含税价、包装、促销、分类树和门店营业信息;返回结构化 JSON,部分市场仅登录可见价格显示为空。调用需配置 SCAVIO_API_KEY,每次请求消耗 1 积分。

分类:生活
scavio-ai
scavio-ai
热度 16.98
最近更新 2026-11-30 20:09:12

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add scavio-ai/metro-makro-api
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
metro-makro-api
description
METRO / Makro API for METRO / Makro (METRO AG's cash-and-carry wholesale online shops across Europe; 19 national shops, pick one with country) - what an article costs at the METRO or Makro store you choose, net and gross with the VAT rate, per pack, with quantity tiers, promotions and their dates, strike-through prices and deposits, in the market's own currency, plus the store's stock status per pack, as each shop shows it to a visitor who is not signed in (on 2026-11-30 at Makro Netherlands store 00001 the search "koffie" matched 806 articles; Douwe EGBERTS Excellent Gold 500 g read 8.47 EUR net / 9.23 EUR gross at 9% VAT under a 25% promotion ending 2026-12-01, list price 12.31 gross, and its 4 PAK 36.92 gross; Makro Spain listed 37 stores; Makro Poland had 1,246 articles on promotion at store 00095) with search, one article with its variants, packs, EANs, ingredients, allergens and nutrition, category listings, the category tree, the promotions at a store, every store of a market and one store's address and hours, and the shop's frequently-bought-together articles. 8 endpoints, 1 credit each. Prices shown in nl, es, bg, hu, kz, md, pl, ro, rs, ua and fr (non-food only); de, at, hr, cz, it, pt, sk and tr show prices to logged-in business customers only (price null, catalog data returned). No reviews, unit counts, leaflets or METRO Markets.
version
1.0.0
tags
metro, makro, metro-makro, metro-api, makro-api, metro-cash-and-carry, makro-cash-and-carry, metro-ag, cash-and-carry, wholesale, wholesale-prices, b2b-prices, horeca, foodservice, net-price, gross-price, vat, quantity-tiers, promotions, store-prices, price-per-store, pack-price, ean-lookup, stores, store-hours, frequently-bought-together, netherlands, spain, poland, hungary, romania, bulgaria, serbia, ukraine, kazakhstan, moldova, france, germany, austria, croatia, czechia, italy, portugal, slovakia, turkey, eur, huf, pln, ron, rsd, uah, kzt, mdl, product-data, price-monitoring, structured-data, json
metadata
{"openclaw":{"requires":{"env":["SCAVIO_API_KEY"]},"primaryEnv":"SCAVIO_API_KEY","timeout":120,"throttle":1,"homepage":"https://scavio.dev/metro-api?utm_source=agent-skills&utm_medium=skill&utm_campaign=metro-makro-api"}}

METRO / Makro via Scavio

Read METRO / Makro (METRO AG's cash-and-carry wholesale online shops across Europe) market by market and store by store: search, one article with its variants and packs, category listings, the category tree, the articles on promotion at a store, every store of a market, one store's address and hours, and the shop's "frequently bought together" articles. All 8 endpoints return structured JSON and cost 1 credit each.

The one fact to get right: every answer is one national shop and one store. country is required on every call and picks the shop (nl and es are branded Makro, de, fr and most others METRO; store_brand says which). Prices and stock are per store: send store_id (a store number from /stores), or the shop's own default store is used and store_id in the answer names it. Prices differ between stores of the same market: measured 2026-11-30 at Makro Spain, Nescafe Classic read 7.03 EUR gross at store 00001 (Madrid) and 6.79 EUR at store 00006 (Canary Islands, 0% VAT). Always say which shop and store a price came from.

Five limits shape every answer, so say them plainly:

  • Where prices are shown. 10 shops show prices to every visitor: nl, es, bg, hu, kz, md, pl, ro, rs, ua. France (fr) shows non-food prices only (food prices carry price_hidden_reason login_required_food). The other 8 shops - de, at, hr, cz, it, pt, sk, tr - show prices to logged-in business customers only: there every price is null (price_visible false, price_hidden_reason login_required) and the catalog data (names, packs, EANs, ingredients, stores) is still returned. Never estimate a hidden price.
  • Net and gross. Each pack carries net and gross (with VAT), vat_percent, the list price before a promotion, strike-through prices, quantity_tiers and promotions with start and end dates, in the market's currency (EUR, HUF, KZT, MDL, PLN, RON, RSD, UAH). Say which one you quote.
  • Packs. An article is sold in one or more packs (bundles: e.g. 1 PAK and 4 PAK); each pack has its own price, EAN and stock status. unit_price is per piece of the pack.
  • Stock is a status. availability is available, limited or unavailable at the store; there are no unit counts.
  • Credits. Every call costs 1 credit. credits_used in the response is the truth. A not-found (404) is charged; a refused input (400) and an upstream failure (502, 503) are not.

METRO / Makro publishes no public developer API for this data. This skill reads the shops' public pages on request instead.

See also: for US warehouse clubs use costco-product-data, sams-club-product-data or bjs-wholesale-club-api; for Brazil's cash-and-carry use atacadao-api.

When to trigger

Use this skill when the user asks to:

  • Look up what an article costs at a METRO or Makro store, net and gross, per pack
  • Compare one article's price across stores of the same market, or across METRO / Makro markets
  • List what is on promotion at a METRO or Makro store, with the promotion's end date and the strike-through price
  • Search a METRO / Makro shop by keyword (in the market's language works best: koffie, café, kawa, kávé)
  • Read an article's ingredients, allergens, nutrition, EANs and pack dimensions
  • Browse a METRO / Makro category or get the shop's category tree
  • List the stores of a METRO / Makro market, or one store's address and opening hours
  • Find what the shop suggests buying together with an article

Setup

Get a free API key at scavio.dev (50 free credits to get started, no card required):

export SCAVIO_API_KEY=sk_live_your_key

If you do not have a key yet

An agent running this skill without SCAVIO_API_KEY set will get 401 on every call below. The whole path from nothing to a working key is self-serve:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. A new account starts with 50 credits. Every METRO / Makro call costs 1 credit, so 50 credits cover 50 calls.

When the balance runs out the API answers 402 with a JSON body carrying billing_url. Topping up needs no code change - the same key keeps working. Paid plans start with Hobby at $15 per month for 3,000 credits; on Growth, 1,000 credits cost $1.

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev.

Endpoint What it returns Credits
POST /api/v1/metro/search Search one shop at one store, 24 articles a page, with packs, prices, stock status, brand facets and result categories 1
POST /api/v1/metro/product One article in full at one store, by article id or link: details, ingredients, allergens, nutrition, documents, every variant and pack 1
POST /api/v1/metro/category One category's articles by path or link, 24 a page, with filters and sort 1
POST /api/v1/metro/categories The shop's category tree (1 to 6 levels) with the paths category takes 1
POST /api/v1/metro/deals The articles on promotion at one store, with the promotion detail per pack 1
POST /api/v1/metro/stores Every store of one market's shop with city, business contacts and hours 1
POST /api/v1/metro/store One store: address, timezone, business contact block and hours 1
POST /api/v1/metro/recommendations The shop's "frequently bought together" articles for one article (up to 6) 1

Workflow

  1. Pick the shop. country is required on every call: nl, es, bg, hu, kz, md, pl, ro, rs, ua, fr, de, at, hr, cz, it, pt, sk, tr.
  2. Pick the store. /stores with country lists every store with its store_id and city (37 in es, 102 in de). Without store_id the shop's default store is used.
  3. Find the article. /search with query (filters: brand, promotion, own_brand, category; sort relevance or price_asc), or /category with a path from /categories. Each item carries article_id and its bundles.
  4. Read it in full. /product with article_id (or a product url) for every variant and pack with EANs, ingredients, allergens and nutrition.
  5. Promotions. /deals lists the articles on promotion at the store, with promotions (name, type, start, end) and strike-through prices per pack.

Parameters

Parameter Endpoint Description
country every endpoint (required) The national shop: nl, es, bg, hu, kz, md, pl, ro, rs, ua, fr (non-food prices only), de, at, hr, cz, it, pt, sk, tr (prices null: login-only)
store_id every endpoint except stores (required on store) A store number of the market (stores[].store_id, e.g. 00001). Default: the shop's default store
query search (required) Search text, 1-200 characters, e.g. koffie
article_id product, recommendations Article id as the shop writes it (items[].article_id, e.g. BTY-X13731). Send article_id or url, not both
url product, recommendations A product link of the market's shop, instead of article_id
category category (required); search, deals (optional) A category path (categories[].path, e.g. vers/agf, frescos/carne) or a category link
page search, category, deals 1-200, 24 articles a page; total_pages says how deep the list goes
sort search, category, deals relevance (default) or price_asc (not offered where prices are login-only)
brand search, category, deals One brand, as facets.brands[].name lists it, e.g. RIOBA
promotion search, category true: only articles on promotion at the store
own_brand search, category, deals true: only METRO / Makro own brands (METRO Chef, aro, ...); false: only other brands
depth categories Levels to return, 1 to 6 (default 3)
bundle recommendations A pack of the article (bundles[].bundle_number, e.g. 0021). Default: its first pack

Examples

Search at one store

Request {"query": "koffie", "country": "nl", "store_id": "00001"}: store_brand Makro, currency EUR, total 806, 34 pages of 24. One item, abridged to one pack:

{
  "article_id": "BTY-X13731",
  "variant_number": "0032",
  "name": "Douwe EGBERTS Excellent Gold 500 g",
  "brand": "Douwe EGBERTS",
  "own_brand": false,
  "availability": "available",
  "bundles": [
    {
      "bundle_number": "0021",
      "label": "1 PAK",
      "bundle_size": 1,
      "ean": "8711000261934",
      "availability": "available",
      "price_visible": true,
      "price": {
        "currency": "EUR",
        "net": 8.47,
        "gross": 9.23,
        "vat_percent": 9,
        "list_gross": 12.31,
        "strike_through_gross": 12.31,
        "unit_price": { "net": 8.47, "gross": 9.23 },
        "quantity_tiers": [],
        "promotions": [{ "name": "25% KORTING OP DOUWE EGBERTS EN L'OR KOFFIEBONEN 5", "value_type": "percent_off", "start": "2026-11-17T23:00:00Z", "end": "2026-12-01T22:59:00Z", "tiers": [{ "min_quantity": 1, "value": 25 }] }]
      }
    }
  ]
}

The same article's 4 PAK (bundle 0022) read 33.87 net / 36.92 gross.

A price per kilo

/category with {"category": "frescos/carne", "country": "es"} (803 articles): METRO Chef Filete de pechuga pollo vacío, pack "1 KILO", read 6.65 EUR net / 7.32 gross at 10% VAT, with price_per_unit {unit kg, net 16.63, gross 18.29}.

Python

import requests

BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

def metro(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/metro/{endpoint}", headers=HEADERS, json=body, timeout=120)
    r.raise_for_status()
    return r.json()

# 1. The stores of Makro Spain (1 credit)
stores = metro("stores", {"country": "es"})["data"]["stores"]
print([(s["store_id"], s["city"]) for s in stores[:3]])

# 2. One article at two stores (1 credit each)
for store_id in ("00001", "00006"):
    res = metro("search", {"query": "nescafe", "country": "es", "store_id": store_id})["data"]
    for it in res["items"][:3]:
        b = it["bundles"][0]
        price = b["price"] or {}
        print(res["store_id"], it["article_id"], it["name"], b["label"], price.get("net"), price.get("gross"))

# 3. What is on promotion at one Makro Poland store (1 credit)
deals = metro("deals", {"country": "pl", "store_id": "00095"})["data"]
print(deals["total"], deals["items"][0]["name"])

Response shapes

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }. Each call fetches the page data when the request asks for it.

Every answer starts with the market fields country, store_brand (METRO or Makro), locale, currency, prices (shown, non_food_only or login_required).

  • pack price (bundles[].price, null when hidden) - currency, net, gross, vat_percent, vat_amount, list_net, list_gross, strike_through_net, strike_through_gross, unit_price {net, gross}, deposit {net, gross}, net_without_deposit, gross_without_deposit, price_per_unit {unit, content_units, net, gross}, quantity_tiers[] {min_quantity, net, gross, discount_fraction}, promotions[] {name, value_type, start, end, tiers[] {min_quantity, value}}, labels[] {type, text, start, end}. Next to it: price_visible, price_hidden_reason.
  • search / category / deals - store_id, store_requested, query (search), url (category), filters {brand, promotion, own_brand, category}, sort, page, page_size, total, total_pages, has_more, count, items[] {id, article_id, variant_number, name, brand, own_brand, food, image, url, categories, availability, bundles[] {bundle_id, bundle_number, label, name, bundle_size, ean, availability, price_visible, price_hidden_reason, price}}, facets {brands[] {name, count}, diet_types, certificates, promotion_count, own_brand_count}, result_categories[] {name, path, count, children}.
  • product - store_id, store_requested, requested, article_id, name, brand, own_brand, food, url, categories, details, features[] {type, label, value, values[] {label, value, unit, qualifier}}, characteristics[] {name, value, unit}, nutrition {columns, rows}, images, documents[] {title, url}, variant_count, variants[] {variant_id, variant_number, name, image, url, availability, categories, bundles[] (as in search, plus eans, article_number, packaging_type, weight_article, net_content, base_content, gross_weight, dimensions, deposit_article, warranty_months)}.
  • categories - store_id, depth, count, node_count, categories[] {id, name, path, children}.
  • stores - count, stores[] {store_id, city, phone, email, hours[] {day, open, close, closed_from, closed_to}, store_page}.
  • store - store_id, country_code, name, address {street, house_number, postcode, city, district, province, country}, timezone, contact {phone, email, website}, city, phone, email, hours, store_page.
  • recommendations - store_id, store_requested, article_id, variant_number, bundle_number, count, items[] {article_id, variant_id, name, brand, own_brand, food, image, url, categories, bundles[] {bundle_id, bundle_number, label, name, article_number, availability, price_visible, price_hidden_reason, price}}.

Guardrails

  • Name it "METRO / Makro (METRO AG's cash-and-carry wholesale online shops across Europe)" on first mention, and use the shop's own brand (store_brand) for a market.
  • Store scope: every price and stock status is one store's in one market. Always name the market and store_id next to a price, and never call one store's number "the METRO price".
  • Prices: say net or gross, with vat_percent, the currency and the fetched_at time. Quote the pack (label) the price belongs to. A promotion's price is not the list price: list_gross is the price before it, and promotions[].end says when it stops.
  • Hidden prices: where price_visible is false, say the shop shows prices to logged-in business customers only (or, in France, food prices). Never estimate, convert or infer a hidden price from another market.
  • Stock: availability is a status at the store when fetched, not a unit count and not a promise the shelf still has it.
  • Use: keep any use descriptive - checking prices, promotions, packs and stores for a purchasing decision.
  • Links and content: refer to articles by name and article id or EAN; do not republish the shops' photos or product copy, and do not use the answers to copy or rebuild their catalogues.
  • Not covered: reviews (the shops have none), search suggestions, stock unit counts, leaflets, the METRO Markets marketplace, prices behind a business login, cart, ordering and checkout, price history, the Pakistan and Russia shops.
  • Terms: Scavio does not store METRO / Makro data: each call fetches the public page data at the moment the request asks for it and returns what it shows as JSON, with no response cache. The shops' terms restrict reuse of their content and automated extraction; read the current terms of the shop you use and get your own advice. This is not legal advice.
  • Never fabricate prices, article ids, EANs, store numbers or promotions. Only return what the API returned, with the market and store it came from.

Failure handling

  • 400 means a missing or invalid parameter, and it is not charged: "country is required"; a country that is not served; "send one of article_id or url"; sort price_asc on a shop whose prices are login-only; a bundle that is not a pack of the article; store_id missing on store.
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 402 means the balance is out of credits. The body carries billing_url.
  • 404 means not found, and it is charged: an article id the shop does not have at the store, a category path or a store number the market does not have. A search with no match (or a store id the market does not have) answers 200 with total 0.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 and 503 mean METRO / Makro data was temporarily unavailable. They are not charged.
  • Allow a client timeout of at least 120 seconds.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

SDKs

pip install scavio==0.116.0
npm install scavio@0.117.0
import { Scavio } from "scavio";

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const { data: res } = await scavio.metro.search({ query: "koffie", country: "nl", store_id: "00001" });
const { data: art } = await scavio.metro.product({ country: "nl", article_id: "BTY-X13731" });
const { data: stores } = await scavio.metro.stores({ country: "es" });
const { data: deals } = await scavio.metro.deals({ country: "pl", store_id: "00095" });

In Python (from scavio import ScavioClient, client = ScavioClient()) the same methods are client.metro.search(...), product, category, categories, deals, stores, store and recommendations, with the same parameter names as keyword arguments (search(query, country, ...), product(country, article_id, ...)).

MCP

The Scavio MCP server exposes all 8 endpoints as tools: search_metro, get_metro_product, get_metro_category, get_metro_categories, get_metro_deals, get_metro_stores, get_metro_store and get_metro_recommendations. METRO / Makro is opt-in: add metro to SCAVIO_PLATFORMS.

{
  "mcpServers": {
    "scavio": {
      "command": "npx",
      "args": ["-y", "@scavio/mcp-server@0.118.0"],
      "env": {
        "SCAVIO_API_KEY": "sk_live_your_key",
        "SCAVIO_PLATFORMS": "default,metro"
      }
    }
  }
}

Docs

Full reference per endpoint: search, product, category, categories, deals, stores, store, recommendations. Platform page: scavio.dev/metro-api.