Skip to content

MediaMarkt Product Reviews API

Scrape MediaMarkt product reviews instantly with a simple API call

🆕: November 26, 2024

A GET request to our /api/getter/?platform="mediamarkt_reviews" endpoint allows you to scrape customer reviews for any product listing URL on MediaMarkt's online store in real-time.

Example

Here's how you can scrape customer reviews for any product on one of MediaMarkt's domains:

1
curl 'https://data.unwrangle.com/api/getter/?platform=mediamarkt_reviews&url=https%3A%2F%2Fwww.mediamarkt.de%2Fde%2Fproduct%2F_jbl-partybox-encore-bluetooth-lautsprecher-schwarz-2780212.html&api_key=API_KEY'
1
2
3
4
5
import requests

url = 'https://data.unwrangle.com/api/getter/?platform=mediamarkt_reviews&url=https%3A%2F%2Fwww.mediamarkt.de%2Fde%2Fproduct%2F_jbl-partybox-encore-bluetooth-lautsprecher-schwarz-2780212.html&api_key=API_KEY'
response = requests.get(url)
print(response.json())
1
2
3
const response = await fetch('https://data.unwrangle.com/api/getter/?platform=mediamarkt_reviews&url=https%3A%2F%2Fwww.mediamarkt.de%2Fde%2Fproduct%2F_jbl-partybox-encore-bluetooth-lautsprecher-schwarz-2780212.html&api_key=API_KEY')
const data = await response.json()
console.log(data)
1
2
3
4
5
6
<?php
$url = 'https://data.unwrangle.com/api/getter/?platform=mediamarkt_reviews&url=https%3A%2F%2Fwww.mediamarkt.de%2Fde%2Fproduct%2F_jbl-partybox-encore-bluetooth-lautsprecher-schwarz-2780212.html&api_key=API_KEY';
$response = file_get_contents($url);
$data = json_decode($response, true);
print_r($data);
?>
1
2
3
4
5
6
require 'net/http'
require 'uri'

uri = URI.parse('https://data.unwrangle.com/api/getter/?platform=mediamarkt_reviews&url=https%3A%2F%2Fwww.mediamarkt.de%2Fde%2Fproduct%2F_jbl-partybox-encore-bluetooth-lautsprecher-schwarz-2780212.html&api_key=API_KEY')
response = Net::HTTP.get(uri)
puts response

Query Parameters

As you can see in the example below, our endpoint needs the following query parameters:

Review Query

url

Required

Product listing's URL on MediaMarkt. Remove unnecessary query parameters and encode the URL.

page

Optional

The page number for which you want the results. Default value is 1.

Other Required Parameters

platform

Required

Specifies the scraping engine you wish to invoke. In this case, the value should be mediamarkt_reviews.

api_key

Required

Your account's token—which can be obtained by signing up here.

Note

The value of the query parameter url must be URL or percent encoded. If you're using Python, this can be done with the function urlencode.

Results

Each request returns up to 10 reviews. The response will include the following attributes for each review present in the response:

Attributes Returned Data Type Information Represented
id string Retailer ID of the review
date string Date when review was published
rating int Rating by reviewer
review_title string Review title (if available)
review_text string Review's text content
review_url string Link to review
author_name string Reviewer's name
advantages array List of advantages mentioned by reviewer
disadvantages array List of disadvantages mentioned by reviewer
meta_data dict Dict containing meta data like verified purchase status, helpful votes, and syndication information
lang_code string Country level language of review content

Response Example

Each request returns up to 10 results. Here's the response you can expect for the request showcased above:

{
    "success": true,
    "url": "https://www.mediamarkt.de/de/product/_jbl-partybox-encore-bluetooth-lautsprecher-schwarz-2780212.html",
    "page": 1,
    "total_results": 187,
    "no_of_pages": 19,
    "result_count": 10,
    "reviews": [
        {
            "id": "1175239033",
            "date": "2024-11-18",
            "rating": 5,
            "review_title": "Super Produkt",
            "review_text": "Toller Klang macht Spaß mit Karaoke",
            "review_url": null,
            "author_name": "Lutzy 1968",
            "advantages": [
                "Besser Klang als andere Modelle"
            ],
            "disadvantages": [
                "Gibt keine"
            ],
            "meta_data": {
                "verified_purchase": true,
                "helpful_vote_count": 0,
                "negative_vote_count": 0,
                "total_feedback_count": 0,
                "is_syndicated": false,
                "is_incentivized": false,
                "syndication_source": null,
                "source_client": "mediamarkt"
            },
            "lang_code": "de_DE"
        }
        ...
    ],
    "meta_data": {
        "rating_distribution": {
            "5": 147,
            "4": 21,
            "3": 9,
            "1": 5,
            "2": 5
        },
        "total_results": 187
    },
    "remaining_credits": 1921088
}

Request Cost

10 credits are deducted for each successful request

Supported Countries

The countries we support to scrape MediaMarkt's reviews from are listed below:

Country Domain Code
Germany MediaMarkt.de de
Netherlands MediaMarkt.nl nl
Switzerland MediaMarkt.ch ch
Spain MediaMarkt.es es
Poland MediaMarkt.pl pl
Belgium MediaMarkt.be be
Austria MediaMarkt.at at

Support

If you want to add a parameter to our response, or have any question or feedback, please write to us at support@unwrangle.com