# MediaMarkt Deutschland Scraper API: Preise und Produkte (`scraperseurope/mediamarkt-germany`) Actor

MediaMarkt Deutschland auslesen: aktuelle EUR-Preise, EAN, Hersteller, Bewertungen und Produktlinks. Paginierte Suche, API und JSON-, CSV- oder Excel-Export für Preis- und Katalogvergleiche.

- **URL**: https://apify.com/scraperseurope/mediamarkt-germany.md
- **Developed by:** [Scrapers Europe](https://apify.com/scraperseurope) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Deutschland Scraper API: Preise und Produkte

Bei einer reinen Marken-Landingpage wechselt die automatische Wiederherstellung zur nativen Suche nach dem Markennamen als exakter Wortgruppe, zum Beispiel mit Anführungszeichen um Logitech. Der tatsächliche Quell-Suchbegriff bleibt in der Such-URL sichtbar. Nur verifizierte primäre Treffer werden ausgegeben; eine leere Wiederherstellung wird nicht als leere ursprüngliche Suche ausgegeben.

Öffentliche MediaMarkt Deutschland-Produkte mit aktuellen EUR-Preisen, veröffentlichten EAN, Herstellern, Bewertungen, Bildern und Produktlinks erfassen. Mit der Apify API oder JSON-, CSV- und Excel-Export für Katalog- und Preisvergleiche.

```json
{"term": "laptop", "maxItems": 3}
```

Nur primäre Suchprodukte, keine fremden Empfehlungslisten. Strukturierte Produktangebote werden mit den IDs der tatsächlichen Quellseite und deren bedingungslosen Preisen abgeglichen. Keine Kundenkartenpreise, Finanzierungsraten, Gutscheine oder persönlichen Angebote als allgemein verfügbaren Produktpreis ausgeben. Nicht veröffentlichte Felder bleiben leer; keine vollständige Varianten-, Händler- oder Bestandsabdeckung behaupten.

Eine offizielle Suchumleitung bleibt auf ihrer Quellkategorie; Seite zwei startet nicht wieder auf Seite eins. Bei unterstützten Kampagnenseiten folgt der Actor nur dem eindeutigen tatsächlichen Link zum vollständigen Katalog. Fehlt dieser, wird eine Quellvertragsabweichung gemeldet, keine leere oder vollständige Suche erfunden. Die Quelle begrenzt große Suchen häufig auf 30 Seiten mit je 12 Produkten, obwohl die Gesamtzahl höher ist. Das ist ein reales Quellfenster und wird als teilweise ausgewiesen.

`searchTerms` ersetzt `term`, `maxItems` gilt gemeinsam und `maxPages` je Suche. Ohne diese Werte keine versteckten festen Ergebnis- oder Seitengrenzen. Standardzeitbudget 240 Sekunden, einstellbar bis 7200; Apify-Ausgabenlimits gelten. Fortlaufende Ausgabe, gemeinsame Deduplizierung und automatische Proxys ohne Kunden-Cookies oder technische Einrichtung. Frühere Ergebnisse bleiben bei späteren Fehlern erhalten. Blockaden sind keine leeren Suchen; `RUN_SUMMARY` und `DIAGNOSTICS` prüfen.

USD 0.004 je echtem, eindeutigem ausgegebenem Ergebnis plus Apify-Verbrauch zulasten des Nutzers. Keine Berechnung für Duplikate, Fehler oder Zusammenfassungen. Privat bis zur ausdrücklichen Freigabe; Preise werden erst bei Veröffentlichung aktiviert und geprüft. Unabhängig, nicht mit MediaMarkt verbunden. Quellbedingungen und geltendes Recht beachten.

# Actor input Schema

## `term` (type: `string`):

Produkt, Elektronikartikel, Marke oder Suchbegriff im deutschen MediaMarkt-Shop.

## `searchTerms` (type: `array`):

Ersetzt den Einzelbegriff; Produkte werden gemeinsam dedupliziert.

## `maxItems` (type: `integer`):

Globale Grenze. Ohne Wert keine feste versteckte Ergebnisgrenze.

## `maxPages` (type: `integer`):

Pro Suche. Ohne Wert bis zum Quellenende oder zum Zeit- und Ausgabenbudget.

## `maxRuntimeSecs` (type: `integer`):

Frühere Ergebnisse bleiben bei späteren Fehlern erhalten.

## `requestTimeoutSecs` (type: `integer`):

Maximale Wartezeit auf eine Quellanfrage.

## Actor input object example

```json
{
  "term": "laptop",
  "maxRuntimeSecs": 240,
  "requestTimeoutSecs": 30
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `diagnostics` (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 = {
    "term": "laptop"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraperseurope/mediamarkt-germany").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 = { "term": "laptop" }

# Run the Actor and wait for it to finish
run = client.actor("scraperseurope/mediamarkt-germany").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 '{
  "term": "laptop"
}' |
apify call scraperseurope/mediamarkt-germany --silent --output-dataset

```

## MCP server setup

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

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/hSBUemLidXK03N0M5/builds/4kq0AelXV1Hy0UqqM/openapi.json
