# MediaMarkt Spain Scraper: Prices & Deals (`kareninatech/mediamarkt-scraper`) Actor

Scrape MediaMarkt.es products and prices without a browser. Search by words, categories, Black Friday or Navidad campaigns, or URLs. Extract real discount, Club price, financing, delivery, store pickup, energy label, ratings, EUR+USD prices, a deals report, and a price-drop monitor.

- **URL**: https://apify.com/kareninatech/mediamarkt-scraper.md
- **Developed by:** [Karen Gisela Gallegos Aguilar](https://apify.com/kareninatech) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## MediaMarkt Spain Scraper: products, prices and Black Friday deals

Use this MediaMarkt API alternative to scrape MediaMarkt.es products, prices and Black Friday or Navidad deals, then export JSON, CSV or Excel.

**Fast and cheap: no browser.** This Actor reads MediaMarkt Spain (mediamarkt.es) from the same public page data the website uses. 100 products take about 5 seconds.

Built for **Black Friday, Cyber Monday, Navidad and Reyes**: get every product from the Black Friday campaign, find the real discounts, spot fake ones, pick gifts by budget and track prices every day.

### What you get

- **Product data:** id, name, brand, EAN, link, image, category path, badges (Semanas Black, Oferta del día, Top venta ...), key specs from the product card.
- **Prices in EUR and USD:** price, crossed-out price and **what that crossed-out price is** (previous price, recommended price, lowest price in 30 days ...), saving in euros, **real discount %** computed by the Actor, promotion price, **MediaMarkt Club price** and app price.
- **Financing ("Financia en N meses"):** months, monthly payment, total you pay, interest, TAE and the **extra cost vs paying cash**.
- **MediaMarkt vs marketplace:** `seller_type`, seller name, id and seller rating.
- **Delivery and pickup:** available to buy, home delivery, delivery dates and days, shipping cost, **store pickup**.
- **EU energy label:** class (A-G) plus links to the label and the product sheet.
- **Ratings:** average stars and number of reviews.
- **Deal labels:** `hot_deal`, `good_deal`, `small_discount`, `no_discount`, compared with the same category in your run.
- **Gift helper:** `gift_budget` (Under 25 EUR ... Over 1,000 EUR) and `gift_score` (discount, rating, MediaMarkt seller, fast delivery, store pickup).
- **DEALS_REPORT** in the key-value store: price and discount stats, top discounts, biggest savings, Black Friday badge count, financing stats, seller mix, energy classes, best rated, suspicious discounts, gift picks by budget, and summaries by brand, category and seller.
- **Monitor mode:** schedule it and get only new products, price drops and price increases, with the previous price and the lowest price seen. It flags `suspicious_discount` when the crossed-out price goes up or the "discounted" price rises between runs.
- **Product details (optional):** full spec sheet, all images, offers from other sellers, manufacturer warranty and the rating split by stars.

### How to use it

Fill one or more of these:

| Input | Example |
|---|---|
| `search_terms` | `televisor`, `iphone 17`, `freidora de aire`, `lego`, `ps5` |
| `campaigns` | `black-friday`, `cyber-monday`, `navidad`, `ofertas-flash`, or any `/es/campaign/...` URL |
| `categories` | `https://www.mediamarkt.es/es/category/televisores-399.html`, `399`, `portátiles` |
| `start_urls` | Any mediamarkt.es search, category, `/es/list/...`, brand, campaign or product URL. Filters in the URL are kept. |

If you leave everything empty, the Actor runs a quick search for "televisor" (100 products).

**Big lists:** MediaMarkt shows only 30 pages (360 products) per list. When a list is bigger and you ask for more, the Actor splits it by price ranges by itself, so you can get thousands of products from one search or category.

**Filters:** `min_price`, `max_price` (EUR), `brands`, `seller_type` (MediaMarkt or marketplace), `promotion` (e.g. "Semanas Black"), `min_discount_pct`, `deals_only`, `min_rating`, `only_available`, `exclude_refurbished`. Price, brand, seller, promotion and refurbished filters are sent to MediaMarkt, so you don't pay for products you don't want. Then the Actor checks every product again. Product URLs you paste are always saved.

**Sort:** relevance, lowest price, highest price, best rated, best sellers, newest, or biggest discount.

#### Example: all Black Friday deals with at least 30% off

```json
{
  "campaigns": ["black-friday"],
  "min_discount_pct": 30,
  "sort": "discount_desc",
  "max_items": 2000
}
```

#### Example: Christmas gifts under 100 EUR, sold by MediaMarkt, 4+ stars

```json
{
  "search_terms": ["auriculares", "lego", "smartwatch"],
  "max_price": 100,
  "seller_type": "mediamarkt",
  "min_rating": 4,
  "max_items": 300
}
```

#### Example: daily TV price monitor for Black Friday

```json
{
  "categories": ["https://www.mediamarkt.es/es/category/televisores-399.html"],
  "brands": ["Samsung", "LG"],
  "monitor_mode": true,
  "monitor_key": "tvs-black-friday",
  "max_items": 1000
}
```

Schedule it daily in Apify. The first run saves everything. Later runs save only what changed.

### Output example

```json
{
  "id": "1627521",
  "name": "TV OLED 55\" - Samsung TQ55S90HAEXXC, OLED 4K, Smart TV",
  "brand": "SAMSUNG",
  "category_path": ["Televisión", "Televisores", "TV OLED"],
  "price_eur": 949,
  "list_price_eur": 1998,
  "list_price_meaning": "previous_price",
  "discount_eur": 1049,
  "discount_pct": 52.5,
  "price_usd": 1045.23,
  "badges": ["Semanas Black"],
  "black_friday_deal": true,
  "installment_months": 24,
  "installment_monthly_eur": 47.81,
  "installment_apr_pct": 20.69,
  "seller_type": "mediamarkt",
  "seller_name": "MediaMarkt",
  "available": true,
  "delivery_days_max": 4,
  "store_pickup": true,
  "energy_class": "F",
  "rating": 4.9,
  "review_count": 135,
  "deal_label": "hot_deal",
  "gift_budget": "500 - 1,000 EUR",
  "url": "https://www.mediamarkt.es/es/product/_tv-oled-55-samsung-tq55s90haexxc-1627521.html"
}
```

The Output tab has ready views: Overview, Deals, Financing, Gift finder, Energy and delivery, and Monitor changes. You can download JSON, CSV or Excel.

### How much does it cost?

You pay per product saved, plus a tiny start fee. See the Pricing tab. Platform usage is very low because there is no browser.

MediaMarkt blocks Apify server IPs, so the Actor uses a Spanish residential proxy by default. You don't need to set anything. It is light: one page of 12 products is about 0.1 MB, so 1,000 products use about 8 MB of proxy traffic (a few cents of platform usage). If you set your own proxy and it gets blocked, the Actor switches to the Spanish residential proxy by itself.

### Tips

- Search words that match a category (e.g. "televisor") are sent by MediaMarkt to that category. The Actor follows them like the website does.
- When a big list is split by price, products come in price order, not relevance order.
- `campaigns` reads the product lists linked from the campaign page. Campaign pages change often (Black Friday lists appear in November), so check the `notes` in DEALS_REPORT.
- The crossed-out price code comes from MediaMarkt: `XOP` previous price, `RRP` recommended price, `LOP` lowest price in the last 30 days.
- `fetch_details` opens one extra page per product. Use it only when you need the full spec sheet.
- `usd_rate` lets you fix the EUR/USD rate. By default the Actor uses the European Central Bank rate of the day.

### Is it legal?

This Actor only reads public product pages and prices, like a visitor would. It does not log in and does not collect personal data. Check MediaMarkt's terms and your local laws for your use case.

### Input and output details

### Input reference

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `search_terms` | array | No | — | Words you would type in the mediamarkt.es search box, e.g. televisor, iphone 17, freidora de aire, lego, ps5. If MediaMarkt sends a word to a category, the Actor follows it. Leave everything empty to search "televisor". |
| `campaigns` | array | No | — | Campaign names or URLs: black-friday, cyber-monday, navidad (regalos-navidad), ofertas-flash, campanas-y-ofertas, dia-sin-iva, or any https://www.mediamarkt.es/es/campaign/... URL. The Actor saves the featured product... |
| `categories` | array | No | — | Category URLs (https://www.mediamarkt.es/es/category/televisores-399.html), category ids (399 or CAT_ES_MM_399) or names (portátiles, cafeteras). |
| `start_urls` | array | No | — | Any mediamarkt.es URL: search pages (/es/search.html?query=...), category pages (/es/category/...) and list pages (/es/list/...) with their filters, campaign pages (/es/campaign/...) or product pages (/es/product/...). |
| `max_items` | integer | No | `100` | Maximum products to save in total (shared between all lists). MediaMarkt shows only 30 pages (360 products) per list; bigger lists are split by price automatically, so you can get them all. |
| `max_items_per_list` | integer | No | — | Optional cap for each search, category or campaign list. Empty = share Max products evenly. |
| `sort` | string | No | `relevance` | Order of the lists on MediaMarkt. "Biggest discount first" sorts the products this run saves. |
| `min_price` | integer | No | — | Only products from this price (euros, VAT included). |
| `max_price` | integer | No | — | Only products up to this price (euros, VAT included). Great for gift budgets. |
| `brands` | array | No | — | Only these brands, e.g. Samsung, LG, Apple, Xiaomi, Lego. Each brand becomes its own list on MediaMarkt. |
| `seller_type` | string | No | `any` | MediaMarkt itself or the marketplace (third-party sellers). |
| `promotion` | string | No | — | Only products in a MediaMarkt promotion, exactly as the site names it in the "Campañas destacadas" filter, e.g. Semanas Black, Oferta del día, Black Friday. |
| `min_discount_pct` | integer | No | — | Only products at least this % below the crossed-out price. |
| `deals_only` | boolean | No | `False` | If true, keep only products that show a crossed-out previous price. |
| `min_rating` | integer | No | — | Only products with at least this customer rating, for example 4. Leave empty for all ratings. |
| `only_available` | boolean | No | `False` | Skip products that cannot be bought online right now. |
| `exclude_refurbished` | boolean | No | `False` | If true, skip refurbished (reacondicionado) products. |
| `fetch_details` | boolean | No | `False` | Open each product page for the full spec sheet, all images, other marketplace offers, warranty and the rating split. Slower (one extra page per product). Product URLs always get details. |
| `monitor_mode` | boolean | No | `False` | Remember products between runs. Saves only new products and price changes, with the previous price, lowest price seen and a fake-discount warning. Schedule it daily for Black Friday. |
| `monitor_key` | string | No | — | Use a different name for each thing you track (e.g. tvs-black-friday). Memory is kept in a named key-value store mediamarkt-monitor-<name>. |
| `emit_unchanged` | boolean | No | `False` | In monitor mode, also save products whose price did not change. |
| `emit_removed` | boolean | No | `False` | In monitor mode, save products that disappeared from the lists since the last run (only when the run read every list to the end). |
| `usd_rate` | string | No | — | Fixed rate for the USD columns, e.g. 1.16. Empty = today's European Central Bank rate. |
| `max_concurrency` | integer | No | `4` | Pages read at the same time. Keep it low to be gentle with the site. |
| `proxyConfiguration` | object | No | `{"useApifyProxy": false}` | Leave it empty: on Apify the Actor uses a Spanish residential proxy by default, because MediaMarkt blocks Apify server IPs. It is light (about 0.1 MB per page of 12 products). If you set your own proxy and it gets blo... |

### Output fields

| Field | Description |
|-------|-------------|
| `image` | Main image URL. |
| `name` | Product name as shown on MediaMarkt. |
| `brand` | Brand (manufacturer). |
| `price_eur` | Current price in euros (VAT included). |
| `list_price_eur` | Crossed-out price in euros (only when higher than the price). |
| `discount_pct` | Real discount % computed from price and crossed-out price. |
| `seller_name` | Seller name. |
| `available` | Can be bought online now. |
| `store_pickup` | Can be picked up in a MediaMarkt store. |
| `rating` | Average customer rating (1-5). |
| `review_count` | Number of customer reviews. |
| `url` | Product page URL. |
| `id` | MediaMarkt product number (from the product URL). Used to dedupe. |
| `monitor_status` | Monitor mode: new, price_drop, price_increase, unchanged or removed. |
| `scraped_at` | When it was scraped (ISO). |

The dataset also includes 80 further fields. Open the Output tab in the Actor for the full list.

### FAQ

**Which site does this scrape?** MediaMarkt Spain (mediamarkt.es), including search words, categories, campaign pages (Black Friday / Navidad) and product URLs.

**Do I need to code?** No. Enter a search or URL and run. Export JSON, CSV or Excel, or call the Actor via the Apify API.

**What extra commercial fields do I get?** Real discount, Club price, financing, delivery, store pickup, energy label, ratings, EUR+USD prices, a deals report, and a price-drop monitor.

**Is this an official MediaMarkt tool?** No. It reads public product pages and is not affiliated with MediaMarkt. Follow their terms when you use the data.

### Related Actors

More data extractors by [kareninatech](https://apify.com/kareninatech):

- [Falabella Chile Scraper — prices and CMR deals](https://apify.com/kareninatech/falabella-scraper)
- [El Corte Inglés Scraper — Spain prices and EAN](https://apify.com/kareninatech/elcorteingles-scraper)
- [Coppel Mexico Scraper — prices, deals and credit cost](https://apify.com/kareninatech/coppel-scraper)
- [OCC Mundial Jobs Scraper — Mexico jobs and salaries](https://apify.com/kareninatech/occ-mundial-jobs-scraper)
- [elempleo Scraper — Colombia jobs and salaries](https://apify.com/kareninatech/elempleo-scraper)

### Support

Found a problem or need a field? Open an issue in the Issues tab. I usually answer within a day.

# Actor input Schema

## `search_terms` (type: `array`):

Words you would type in the mediamarkt.es search box, e.g. televisor, iphone 17, freidora de aire, lego, ps5. If MediaMarkt sends a word to a category, the Actor follows it. Leave everything empty to search "televisor".

## `campaigns` (type: `array`):

Campaign names or URLs: black-friday, cyber-monday, navidad (regalos-navidad), ofertas-flash, campanas-y-ofertas, dia-sin-iva, or any https://www.mediamarkt.es/es/campaign/... URL. The Actor saves the featured products and reads every product list linked from the campaign page.

## `categories` (type: `array`):

Category URLs (https://www.mediamarkt.es/es/category/televisores-399.html), category ids (399 or CAT_ES_MM_399) or names (portátiles, cafeteras).

## `start_urls` (type: `array`):

Any mediamarkt.es URL: search pages (/es/search.html?query=...), category pages (/es/category/...) and list pages (/es/list/...) with their filters, campaign pages (/es/campaign/...) or product pages (/es/product/...).

## `max_items` (type: `integer`):

Maximum products to save in total (shared between all lists). MediaMarkt shows only 30 pages (360 products) per list; bigger lists are split by price automatically, so you can get them all.

## `max_items_per_list` (type: `integer`):

Optional cap for each search, category or campaign list. Empty = share Max products evenly.

## `sort` (type: `string`):

Order of the lists on MediaMarkt. "Biggest discount first" sorts the products this run saves.

## `min_price` (type: `integer`):

Only products from this price (euros, VAT included).

## `max_price` (type: `integer`):

Only products up to this price (euros, VAT included). Great for gift budgets.

## `brands` (type: `array`):

Only these brands, e.g. Samsung, LG, Apple, Xiaomi, Lego. Each brand becomes its own list on MediaMarkt.

## `seller_type` (type: `string`):

MediaMarkt itself or the marketplace (third-party sellers).

## `promotion` (type: `string`):

Only products in a MediaMarkt promotion, exactly as the site names it in the "Campañas destacadas" filter, e.g. Semanas Black, Oferta del día, Black Friday.

## `min_discount_pct` (type: `integer`):

Only products at least this % below the crossed-out price.

## `deals_only` (type: `boolean`):

If true, keep only products that show a crossed-out previous price.

## `min_rating` (type: `integer`):

Only products with at least this customer rating, for example 4. Leave empty for all ratings.

## `only_available` (type: `boolean`):

Skip products that cannot be bought online right now.

## `exclude_refurbished` (type: `boolean`):

If true, skip refurbished (reacondicionado) products.

## `fetch_details` (type: `boolean`):

Open each product page for the full spec sheet, all images, other marketplace offers, warranty and the rating split. Slower (one extra page per product). Product URLs always get details.

## `monitor_mode` (type: `boolean`):

Remember products between runs. Saves only new products and price changes, with the previous price, lowest price seen and a fake-discount warning. Schedule it daily for Black Friday.

## `monitor_key` (type: `string`):

Use a different name for each thing you track (e.g. tvs-black-friday). Memory is kept in a named key-value store mediamarkt-monitor-<name>.

## `emit_unchanged` (type: `boolean`):

In monitor mode, also save products whose price did not change.

## `emit_removed` (type: `boolean`):

In monitor mode, save products that disappeared from the lists since the last run (only when the run read every list to the end).

## `usd_rate` (type: `string`):

Fixed rate for the USD columns, e.g. 1.16. Empty = today's European Central Bank rate.

## `max_concurrency` (type: `integer`):

Pages read at the same time. Keep it low to be gentle with the site.

## `proxyConfiguration` (type: `object`):

Leave it empty: on Apify the Actor uses a Spanish residential proxy by default, because MediaMarkt blocks Apify server IPs. It is light (about 0.1 MB per page of 12 products). If you set your own proxy and it gets blocked, the Actor switches to the Spanish residential proxy by itself.

## Actor input object example

```json
{
  "search_terms": [
    "televisor"
  ],
  "max_items": 100,
  "sort": "relevance",
  "seller_type": "any",
  "deals_only": false,
  "only_available": false,
  "exclude_refurbished": false,
  "fetch_details": false,
  "monitor_mode": false,
  "emit_unchanged": false,
  "emit_removed": false,
  "max_concurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of scraped results using the dataset 'overview' view.

## `deals` (type: `string`):

No description

## `financing` (type: `string`):

No description

## `gifts` (type: `string`):

No description

## `energy` (type: `string`):

No description

## `monitor` (type: `string`):

No description

## `results` (type: `string`):

All scraped results from the default dataset without view transformation.

## `dealsReport` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "search_terms": [
        "televisor"
    ],
    "max_items": 100,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kareninatech/mediamarkt-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "search_terms": ["televisor"],
    "max_items": 100,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("kareninatech/mediamarkt-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "search_terms": [
    "televisor"
  ],
  "max_items": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call kareninatech/mediamarkt-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kareninatech/mediamarkt-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/lQPhxBSzfMnCwG1xq/builds/FH8P3FGRCga6cNQOw/openapi.json
