Piloterr Mediamarkt API
The Mediamarkt API from Piloterr — 2 operation(s) for mediamarkt.
The Mediamarkt API from Piloterr — 2 operation(s) for mediamarkt.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/piloterr-com:piloterr-com-mediamarkt-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Piloterr API Reference Mediamarkt API
description: Complete API reference documentation.
version: 1.0.0
servers:
- url: https://api.piloterr.com
description: API Server
tags:
- name: Mediamarkt
paths:
/v2/mediamarkt/search:
get:
summary: MediaMarkt Search
description: 'Search a MediaMarkt shop by keyword. Set region for Switzerland, Germany, Austria, and the other MediaMarktSaturn countries, then page the results.
**Credit cost:** 2 credits per call'
operationId: get-mediamarkt-search
security:
- ApiKeyAuth: []
parameters:
- name: query
in: query
required: true
description: 'Keyword or MediaMarkt URL. Example: iphone'
schema:
type: string
description: 'Keyword or MediaMarkt URL. Example: iphone'
- name: region
in: query
required: false
description: 'Shop code. Example: ch-fr or de. Default ch-fr. Ignored when query is a full URL.'
schema:
type: string
description: 'Shop code. Example: ch-fr or de. Default ch-fr. Ignored when query is a full URL.'
- name: page
in: query
required: false
description: 'Page number from 1. Example: 1'
schema:
type: number
minimum: 1
description: 'Page number from 1. Example: 1'
- name: return_page_source
in: query
required: false
description: 'When true, return raw HTML as {"result": "..."}.'
schema:
type: boolean
description: 'When true, return raw HTML as {"result": "..."}.'
- $ref: '#/components/parameters/fields'
- $ref: '#/components/parameters/is_async'
- $ref: '#/components/parameters/soft_fail'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
type: object
properties:
id:
type: string
ean:
type: string
url:
type: string
name:
type: string
brand:
type: string
image:
type: string
price:
type: integer
locale:
type: string
rating:
type: number
region:
type: string
currency:
type: string
availability:
type: string
energy_class:
type: string
review_count:
type: integer
price_display:
type: string
shipping_cost:
type: integer
is_marketplace:
type: boolean
pagination:
type: object
properties:
next:
type: string
page:
type: integer
per_page:
type: integer
total_pages:
type: integer
total_results:
type: integer
examples:
iPhone search on mediamarkt.ch/fr:
value:
results:
- id: '2203371'
ean: 0195949036064
url: https://www.mediamarkt.ch/fr/product/_apple-iphone-15-2203371.html
name: APPLE iPhone 15 128 GB Black Dual SIM
brand: APPLE
image: https://assets.mmsrg.com/isr/166325/c1/-/ASSET_MMS_118271101
price: 629
locale: fr-CH
rating: 4.69
region: ch-fr
currency: CHF
availability: available
energy_class: B
review_count: 391
price_display: CHF 629.00
shipping_cost: 0
is_marketplace: false
pagination:
next: https://www.mediamarkt.ch/fr/category/apple-iphones-789083.html?page=2
page: 1
per_page: 12
total_pages: 43
total_results: 511
HDMI search on mediamarkt.de:
value:
results:
- id: '2784029'
ean: '4049011177437'
url: https://www.mediamarkt.de/de/product/_isy-ihd-3400-hdmi-kabel-3-m-2784029.html
name: ISY IHD-3400, High Speed HDMI-Kabel, 3 m
brand: ISY
image: https://assets.mmsrg.com/isr/166325/c1/-/ASSET_MMS_92199048
price: 12.99
locale: de-DE
rating: 4.86
region: de
currency: EUR
availability: available
review_count: 28
price_display: 12,99 €
shipping_cost: 2.99
is_marketplace: false
specifications:
- name: Produkttyp
value: High Speed HDMI-Kabel
- name: Anschluss A
value: HDMI
pagination:
next: https://www.mediamarkt.de/de/search.html?query=hdmi&page=2
page: 1
per_page: 12
total_pages: 4190
total_results: 50273
'400':
description: Bad Request — missing or invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Bad Request
'401':
description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidKey:
value:
error: Invalid API Key
planRateLimit:
value:
error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
keyQuota:
value:
error: 'Rate limit exceeded for the API key: quota monthly'
'402':
description: Payment Required — your subscription or credit balance is insufficient.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Payment required
'500':
description: Internal Server Error — something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Internal Error
tags:
- Mediamarkt
post:
summary: MediaMarkt Search
description: 'Search a MediaMarkt shop by keyword. Set region for Switzerland, Germany, Austria, and the other MediaMarktSaturn countries, then page the results.
**Credit cost:** 2 credits per call'
operationId: post-mediamarkt-search
security:
- ApiKeyAuth: []
parameters:
- $ref: '#/components/parameters/fields'
- $ref: '#/components/parameters/is_async'
- $ref: '#/components/parameters/soft_fail'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
description: 'Keyword or MediaMarkt URL. Example: iphone'
region:
type: string
description: 'Shop code. Example: ch-fr or de. Default ch-fr. Ignored when query is a full URL.'
page:
type: number
minimum: 1
description: 'Page number from 1. Example: 1'
return_page_source:
type: boolean
description: 'When true, return raw HTML as {"result": "..."}.'
required:
- query
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
type: object
properties:
id:
type: string
ean:
type: string
url:
type: string
name:
type: string
brand:
type: string
image:
type: string
price:
type: integer
locale:
type: string
rating:
type: number
region:
type: string
currency:
type: string
availability:
type: string
energy_class:
type: string
review_count:
type: integer
price_display:
type: string
shipping_cost:
type: integer
is_marketplace:
type: boolean
pagination:
type: object
properties:
next:
type: string
page:
type: integer
per_page:
type: integer
total_pages:
type: integer
total_results:
type: integer
examples:
iPhone search on mediamarkt.ch/fr:
value:
results:
- id: '2203371'
ean: 0195949036064
url: https://www.mediamarkt.ch/fr/product/_apple-iphone-15-2203371.html
name: APPLE iPhone 15 128 GB Black Dual SIM
brand: APPLE
image: https://assets.mmsrg.com/isr/166325/c1/-/ASSET_MMS_118271101
price: 629
locale: fr-CH
rating: 4.69
region: ch-fr
currency: CHF
availability: available
energy_class: B
review_count: 391
price_display: CHF 629.00
shipping_cost: 0
is_marketplace: false
pagination:
next: https://www.mediamarkt.ch/fr/category/apple-iphones-789083.html?page=2
page: 1
per_page: 12
total_pages: 43
total_results: 511
HDMI search on mediamarkt.de:
value:
results:
- id: '2784029'
ean: '4049011177437'
url: https://www.mediamarkt.de/de/product/_isy-ihd-3400-hdmi-kabel-3-m-2784029.html
name: ISY IHD-3400, High Speed HDMI-Kabel, 3 m
brand: ISY
image: https://assets.mmsrg.com/isr/166325/c1/-/ASSET_MMS_92199048
price: 12.99
locale: de-DE
rating: 4.86
region: de
currency: EUR
availability: available
review_count: 28
price_display: 12,99 €
shipping_cost: 2.99
is_marketplace: false
specifications:
- name: Produkttyp
value: High Speed HDMI-Kabel
- name: Anschluss A
value: HDMI
pagination:
next: https://www.mediamarkt.de/de/search.html?query=hdmi&page=2
page: 1
per_page: 12
total_pages: 4190
total_results: 50273
'400':
description: Bad Request — missing or invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Bad Request
'401':
description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidKey:
value:
error: Invalid API Key
planRateLimit:
value:
error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
keyQuota:
value:
error: 'Rate limit exceeded for the API key: quota monthly'
'402':
description: Payment Required — your subscription or credit balance is insufficient.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Payment required
'500':
description: Internal Server Error — something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Internal Error
tags:
- Mediamarkt
/v2/mediamarkt/product:
get:
summary: MediaMarkt Product
description: 'Read one MediaMarkt product by id or product URL, in the region you choose. You get price, currency, EAN, and availability.
**Credit cost:** 2 credits per call'
operationId: get-mediamarkt-product
security:
- ApiKeyAuth: []
parameters:
- name: query
in: query
required: true
description: 'Product URL or article id.
```
https://www.mediamarkt.ch/fr/product/_apple-iphone-15-2203371.html
```'
schema:
type: string
description: 'Product URL or article id.
```
https://www.mediamarkt.ch/fr/product/_apple-iphone-15-2203371.html
```'
- name: region
in: query
required: false
description: 'Shop code when query is an article id. Example: ch-fr. Default ch-fr.'
schema:
type: string
description: 'Shop code when query is an article id. Example: ch-fr. Default ch-fr.'
- name: return_page_source
in: query
required: false
description: 'When true, return raw HTML as {"result": "..."}.'
schema:
type: boolean
description: 'When true, return raw HTML as {"result": "..."}.'
- $ref: '#/components/parameters/fields'
- $ref: '#/components/parameters/is_async'
- $ref: '#/components/parameters/soft_fail'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
id:
type: string
ean:
type: string
sku:
type: string
url:
type: string
name:
type: string
brand:
type: string
image:
type: string
price:
type: integer
locale:
type: string
rating:
type: number
region:
type: string
currency:
type: string
vat_rate:
type: number
condition:
type: string
price_note:
type: string
availability:
type: string
energy_class:
type: string
review_count:
type: integer
price_display:
type: string
shipping_cost:
type: integer
specifications:
type: array
items:
type: object
properties:
name:
type: string
group:
type: string
value:
type: string
examples:
APPLE iPhone 15 on mediamarkt.ch/fr:
value:
id: '2203371'
ean: 0195949036064
sku: '2203371'
url: https://www.mediamarkt.ch/fr/product/_apple-iphone-15-2203371.html
name: APPLE iPhone 15 128 GB Black Dual SIM
brand: APPLE
image: https://assets.mmsrg.com/isr/166325/c1/-/ASSET_MMS_118271101
price: 629
locale: fr-CH
rating: 4.69
region: ch-fr
currency: CHF
vat_rate: 0.08
condition: new
price_note: TVA incluse sans frais d'envoi
availability: available
energy_class: B
review_count: 391
price_display: CHF 629.00
shipping_cost: 0
specifications:
- name: Type de produit
group: Caractéristiques techniques
value: Smartphone
- name: Système d'exploitation
group: Caractéristiques techniques
value: iOS
'400':
description: Bad Request — missing or invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Bad Request
'401':
description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidKey:
value:
error: Invalid API Key
planRateLimit:
value:
error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
keyQuota:
value:
error: 'Rate limit exceeded for the API key: quota monthly'
'402':
description: Payment Required — your subscription or credit balance is insufficient.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Payment required
'500':
description: Internal Server Error — something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Internal Error
tags:
- Mediamarkt
post:
summary: MediaMarkt Product
description: 'Read one MediaMarkt product by id or product URL, in the region you choose. You get price, currency, EAN, and availability.
**Credit cost:** 2 credits per call'
operationId: post-mediamarkt-product
security:
- ApiKeyAuth: []
parameters:
- $ref: '#/components/parameters/fields'
- $ref: '#/components/parameters/is_async'
- $ref: '#/components/parameters/soft_fail'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
description: 'Product URL or article id.
```
https://www.mediamarkt.ch/fr/product/_apple-iphone-15-2203371.html
```'
region:
type: string
description: 'Shop code when query is an article id. Example: ch-fr. Default ch-fr.'
return_page_source:
type: boolean
description: 'When true, return raw HTML as {"result": "..."}.'
required:
- query
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
id:
type: string
ean:
type: string
sku:
type: string
url:
type: string
name:
type: string
brand:
type: string
image:
type: string
price:
type: integer
locale:
type: string
rating:
type: number
region:
type: string
currency:
type: string
vat_rate:
type: number
condition:
type: string
price_note:
type: string
availability:
type: string
energy_class:
type: string
review_count:
type: integer
price_display:
type: string
shipping_cost:
type: integer
specifications:
type: array
items:
type: object
properties:
name:
type: string
group:
type: string
value:
type: string
examples:
APPLE iPhone 15 on mediamarkt.ch/fr:
value:
id: '2203371'
ean: 0195949036064
sku: '2203371'
url: https://www.mediamarkt.ch/fr/product/_apple-iphone-15-2203371.html
name: APPLE iPhone 15 128 GB Black Dual SIM
brand: APPLE
image: https://assets.mmsrg.com/isr/166325/c1/-/ASSET_MMS_118271101
price: 629
locale: fr-CH
rating: 4.69
region: ch-fr
currency: CHF
vat_rate: 0.08
condition: new
price_note: TVA incluse sans frais d'envoi
availability: available
energy_class: B
review_count: 391
price_display: CHF 629.00
shipping_cost: 0
specifications:
- name: Type de produit
group: Caractéristiques techniques
value: Smartphone
- name: Système d'exploitation
group: Caractéristiques techniques
value: iOS
'400':
description: Bad Request — missing or invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Bad Request
'401':
description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalidKey:
value:
error: Invalid API Key
planRateLimit:
value:
error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
keyQuota:
value:
error: 'Rate limit exceeded for the API key: quota monthly'
'402':
description: Payment Required — your subscription or credit balance is insufficient.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Payment required
'500':
description: Internal Server Error — something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: Internal Error
tags:
- Mediamarkt
components:
parameters:
fields:
name: fields
in: query
required: false
description: Comma-separated list of response fields to return, with dot notation for nested fields (e.g. `name,location.city`).
schema:
type: string
is_async:
name: is_async
in: query
required: false
description: 'Run the request as a background job: the API answers `202` with a `job_id` to poll on `GET /v1/jobs/{id}`.'
schema:
type: boolean
default: false
soft_fail:
name: soft_fail
in: query
required: false
description: Return HTTP 200 even when the request fails; the error is in the `error` field of the body.
schema:
type: boolean
default: false
schemas:
ErrorResponse:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable error message.
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
description: Your API key. Include it in the x-api-key header for every request.