# dm Scraper · Products, Prices, Stock & Reviews (13 Shops) (`memo23/dm-scraper`) Actor

Scrape dm-drogerie markt in 13 countries by keyword, category, brand or product link, or track article numbers and EANs. Get prices, unit prices, sale prices, ratings, online and store stock by postcode, plus ingredients, usage, maker, star breakdown and reviews. Past the 1,000 limit.

- **URL**: https://apify.com/memo23/dm-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 products

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

## dm Scraper · Products, Prices, Stock & Reviews (13 Shops)

Turn dm-drogerie markt searches, category, brand and sale pages, product links, article numbers or EAN barcodes into clean product rows: price, unit price, previous price on sale items, price without VAT, rating and rating count, badges, pictures and online availability. Add postcodes or towns to read stock and shelf counts in the nearest dm stores. Turn on product details for the description, ingredients, usage, warnings, maker, country of origin, the date dm last raised the price, the star breakdown and customer reviews. Works in all 13 dm online shops, from dm.de and dm.at to dm.cz, dm.hu, dm.pl and dm-drogeriemarkt.it.

| Input | Rows you get |
|---|---|
| Search words (`shampoo`, `zahnpasta`) | Every product dm finds, with your filters applied |
| Article number (`1569035`) or EAN (`4066447966008`) | That one product, so a list of them is a price tracker |
| Category, brand or sale link (`/haare`, `/marken/balea`, `/ausverkauf`) | The products on that page, all of them, also past 1,000 |
| Search link with filters set on dm | The products behind that search |
| Product link (`/p/d/1493055/...`) | That one product |

![How the dm Scraper works](https://raw.githubusercontent.com/muhamed-didovic/muhamed-didovic.github.io/main/assets/dm-how-it-works.png)

***

### Why Use This Scraper?

- ✅ All 13 dm online shops: Germany, Austria, Czechia, Slovakia, Hungary, Croatia, Slovenia, Romania, Serbia, Bulgaria, Bosnia and Herzegovina, Poland and Italy
- ✅ Gets every product of a large category or brand, past the 1,000 products dm shows for one search
- ✅ Prices as numbers in the shop's currency, with pack size, unit price (per litre, kilo, piece), price without VAT and the previous price on reduced items
- ✅ In-store stock for the stores nearest a postcode or town, with dm's shelf count for each store
- ✅ Online availability on every row
- ✅ Track a list of article numbers or EAN barcodes run after run, for price and stock monitoring
- ✅ Product details in every shop language: description, highlights, features, ingredients, usage, warnings, storage, maker address, country of origin
- ✅ The date since dm has not raised the price, PAYBACK points, the star breakdown and the share of buyers who recommend the product
- ✅ Customer reviews with stars, text, date, reviewer profile (age group, hair or skin type), sub-ratings and helpful votes
- ✅ One row per product, even when a product turns up in several of your searches

***

### Overview

The dm Scraper is built for brands and distributors checking their shelf in Europe's largest drugstore chain, price analysts comparing dm against Rossmann, Müller and online shops, retail media and category managers watching new launches and private labels (Balea, alverde, Babylove, ebelin), and researchers working with ingredient lists or customer reviews.

Each row carries the product's identity (dm article number, EAN, name, brand, link), the price block (price, previous price, discount, unit price, price without VAT), the rating, badges such as dm brand, new or online only, and availability. Product details, reviews and store stock are optional so that simple price runs stay cheap.

***

### Supported Inputs

#### Search words, article numbers and barcodes

One per line in `searchTerms`. Words run a product search in the shop you pick under `country`. A dm article number (4 to 7 digits) or an EAN barcode (8, 12, 13 or 14 digits) returns that exact product.

```json
{ "searchTerms": ["shampoo", "1569035", "4066447966008"], "country": "de", "maxItems": 100 }
```

#### URL types

| Type | Example |
|---|---|
| Category | `https://www.dm.de/haare` or `https://www.dm.de/pflege-und-parfum/koerperpflege/bodylotion-und-hautcreme` |
| Brand page | `https://www.dm.de/marken/balea` |
| Sale page | `https://www.dm.de/ausverkauf` |
| Search results | `https://www.dm.de/search?query=shampoo` (any filters and sort set on dm are kept) |
| Product page | `https://www.dm.de/p/d/1493055/head-und-shoulders-shampoo-anti-schuppen-classic-clean` |
| Store page (for stock) | `https://www.dm.de/store/d3ci/muenchen/weissenburger-strasse-41` |

Links from every dm shop work the same way (dm.at, dm.cz, mojadm.sk, dm.hu, dm.hr, dm.si, dm.ro, dm.rs, dm-drogeriemarkt.bg, dm-drogeriemarkt.ba, dm.pl, dm-drogeriemarkt.it). Each link uses its own shop.

#### Copy-pasteable startUrls

```json
{
    "startUrls": [
        { "url": "https://www.dm.de/haare" },
        { "url": "https://www.dm.at/search?query=zahnpasta" },
        { "url": "https://www.dm.cz/p/d/2060039/feeleco-prostredek-na-nadobi-ovoce-a-zeleninu" }
    ],
    "maxItems": 500
}
```

#### Unsupported inputs

- dm.mk (North Macedonia) has no online shop and is not supported.
- Content pages without a product list (magazine articles, service pages) return nothing.
- Photo service, dm-Glückskind and account pages are out of scope.

***

### Use Cases

- **Price monitoring**: run a list of article numbers or EANs every day and compare price, unit price and the price-stable date
- **Assortment tracking**: collect a whole category or brand per country and spot new listings, delistings and new badges
- **Private-label analysis**: filter rows with `isDmBrand` to compare dm's own brands against branded products
- **Promotion tracking**: collect the sale page or set `saleOnly` to get every reduced product with previous price and discount
- **Shelf availability**: check stock in the stores around your own postcodes before a campaign or store visit
- **Cross-country price comparison**: the same article number often runs in several dm shops; compare prices across 13 countries
- **Ingredient and claims research**: product details give ingredient lists, tags such as vegan or silicone-free, and warnings
- **Review analysis**: pull customer reviews with reviewer profile and sub-ratings for sentiment and product research

***

### How It Works

1. Add search words, article numbers, barcodes or dm links, and pick the shop for search words.
2. Optionally set filters (brands, price range, sale only, sort), product details, reviews and store locations.
3. The actor reads each search, category or brand page, all of it when it holds more than 1,000 products, up to your `maxItems`.
4. Every product becomes one row with price, rating and availability, plus details, reviews and store stock when you asked for them.
5. Download as JSON, CSV, Excel or XML, or connect the dataset to your own tools.

***

### Input Configuration

#### Input fields

| Field | Type | Default | What it does |
|---|---|---|---|
| `searchTerms` | array | `["shampoo"]` (prefill) | Search words, dm article numbers or EAN barcodes |
| `startUrls` | array | | dm product, category, brand, sale, search or store links |
| `country` | string | `de` | Shop for search words, article numbers and barcodes: `de`, `at`, `cz`, `sk`, `hu`, `hr`, `si`, `ro`, `rs`, `bg`, `ba`, `pl`, `it` |
| `maxItems` | integer | `100` | Stop after this many products across all inputs |
| `scrapeDetails` | boolean | `false` | Add description, ingredients, usage, maker, star breakdown and more (extra event per product) |
| `maxReviewsPerProduct` | integer | `0` | Customer reviews to keep per product (turns on product details) |
| `reviewsSort` | string | `newest` | `newest` or `relevance` |
| `storeLocations` | array | | Postcodes, towns or dm store IDs to read in-store stock for |
| `storesPerLocation` | integer | `3` | Nearest stores per postcode or town (up to 25 stores per run) |
| `sortBy` | string | `relevance` | `relevance` (dm's order), `new`, `rating`, `price_asc`, `price_desc` |
| `brands` | array | | Only these brands, as dm writes them |
| `minPrice` / `maxPrice` | integer | | Price range in whole units of the shop currency |
| `saleOnly` | boolean | `false` | Only reduced sale items |
| `splitLargeSearches` | boolean | `true` | Get all products of searches and categories larger than 1,000 |
| `maxConcurrency` | integer | `8` | Parallel requests |

#### Common scenarios

**Track a list of products every day (price monitoring)**

```json
{ "searchTerms": ["1569035", "1493055", "4066447966008"], "country": "de" }
```

**Whole category in Germany with stock in two Munich stores**

```json
{ "startUrls": [{ "url": "https://www.dm.de/haare" }], "maxItems": 5000, "storeLocations": ["80335"], "storesPerLocation": 2 }
```

**All Balea products with ingredients and 20 reviews each**

```json
{ "startUrls": [{ "url": "https://www.dm.de/marken/balea" }], "maxItems": 1000, "scrapeDetails": true, "maxReviewsPerProduct": 20 }
```

**Sale items in Czechia under 200 CZK, cheapest first**

```json
{ "searchTerms": ["šampon"], "country": "cz", "saleOnly": true, "maxPrice": 200, "sortBy": "price_asc" }
```

***

### Output Overview

One row per product. Fields that need product details or store stock appear only when those options are on.

| Group | Fields |
|---|---|
| Identity | `country`, `dmArticleNumber`, `ean`, `name`, `brand`, `url` |
| Price | `price`, `currency`, `priceText`, `originalPrice`, `discountPercent`, `priceExclVat`, `packageSize`, `unitPrice`, `unitPriceUnit`, `unitPriceText`, `priceNotes` |
| Rating | `rating`, `reviewCount` |
| Labels | `categories`, `badges`, `awards`, `isDmBrand`, `isNew`, `isOnlineOnly`, `isOnSale`, `isPharmacy`, `moreVariants` |
| Pictures | `imageUrl`, `imageUrls` |
| Availability | `onlineAvailable`, `onlineStatus`, `storeStock` |
| Details | `description`, `highlights`, `productFeatures`, `ingredients`, `usageInstructions`, `warnings`, `storageInstructions`, `manufacturer`, `countryOfOrigin`, `otherSections`, `categoryPath`, `categoryCodes`, `tags`, `priceStableSince`, `priceGuaranteeLabel`, `paybackPoints`, `shelfLocation`, `ratingDistribution`, `recommendPercent` |
| Reviews | `reviews`, `reviewsScraped` |
| Origin | `searchTerm`, `sourceUrl`, `searchPosition`, `scrapedAt` |

***

### Output Samples

#### Product with details, one review and store stock

```json
{
    "country": "de",
    "dmArticleNumber": "1569035",
    "ean": "4066447966008",
    "name": "Shampoo Ultra Sensitive, 250 ml",
    "brand": "Balea med",
    "url": "https://www.dm.de/p/d/1569035/balea-med-shampoo-ultra-sensitive",
    "price": 1.75,
    "currency": "EUR",
    "priceText": "1,75 €",
    "originalPrice": null,
    "discountPercent": null,
    "priceExclVat": 1.47,
    "packageSize": "0,25 l",
    "unitPrice": 7,
    "unitPriceUnit": "1 l",
    "unitPriceText": "0,25 l (7,00 € je 1 l)",
    "priceNotes": [],
    "rating": 3.94,
    "reviewCount": 478,
    "categories": ["Shampoo"],
    "badges": ["dm_brand"],
    "awards": [],
    "isDmBrand": true,
    "isNew": false,
    "isOnlineOnly": false,
    "isOnSale": false,
    "isPharmacy": false,
    "moreVariants": null,
    "imageUrl": "https://products.dm-static.com/images/f_auto,q_auto/v1772150521/assets/pas/images/1fcbf079-eaca-4c6f-bf93-ba222052d98a/balea-med-shampoo-ultra-sensitive",
    "onlineAvailable": true,
    "onlineStatus": "Lieferbar",
    "storeStock": [
        {
            "storeId": "D3A4",
            "storeName": "dm-drogerie markt",
            "street": "Dachauer Straße 92",
            "zip": "80335",
            "city": "München",
            "distanceKm": 0.7,
            "nearLocation": "80335",
            "inStock": true,
            "quantity": 9,
            "status": "Dein dm-Markt (9) - keine Express-Abholung"
        }
    ],
    "description": "Das Balea med Shampoo Ultra Sensitive bietet eine besonders sanfte Reinigung für Haar und empfindliche Kopfhaut. ...",
    "highlights": ["Mildes Shampoo für empfindliche Kopfhaut", "Mit Glycerin, Panthenol & Niacinamid", "Besonders sanft", "Ohne Silikone, Parfüm & Parabene"],
    "productFeatures": { "Produkteigenschaften": "vegan, ohne Silikone" },
    "ingredients": "Ingredients : Aqua, Coco-Glucoside, Glycerin, Sodium Coco-Sulfate, ...",
    "usageInstructions": "In das feuchte Haar einmassieren und kurz einwirken lassen. Gründlich ausspülen.",
    "warnings": null,
    "storageInstructions": null,
    "manufacturer": "dm-drogerie markt GmbH + Co. KG\nAm dm-Platz 1\n76227 Karlsruhe\nServiceCenter@dm.de",
    "countryOfOrigin": "Deutschland",
    "otherSections": [],
    "categoryPath": ["Haare", "Haarpflege", "Shampoo"],
    "categoryCodes": ["110101"],
    "tags": ["Vegan", "Ohne Silikone"],
    "priceStableSince": "2020-11-06",
    "priceGuaranteeLabel": "dm-Dauerpreis",
    "paybackPoints": 1,
    "shelfLocation": "Haare · Haarpflege",
    "ratingDistribution": { "1": 83, "2": 31, "3": 22, "4": 37, "5": 305 },
    "recommendPercent": 74,
    "reviews": [
        {
            "reviewId": "1236854885",
            "rating": 4,
            "title": "Gut zur Kopfhaut.",
            "text": "Für meine Kopfhaut ist es super. ...",
            "author": "Agnes",
            "date": "2026-11-14",
            "recommends": true,
            "reviewerInfo": { "Person": "Weiblich, 40 - 49 Jahre", "Haartyp": "coloriert, normal, fein & dünn" },
            "subRatings": { "Wirkung": 4 },
            "helpfulVotes": 0,
            "verifiedPurchase": false
        }
    ],
    "reviewsScraped": 1,
    "detailsScraped": true,
    "searchTerm": "4066447966008",
    "sourceUrl": "https://www.dm.de/p/d/1569035/balea-med-shampoo-ultra-sensitive",
    "searchPosition": null,
    "scrapedAt": "2026-11-15T06:12:41.402Z"
}
```

#### Sale item (price only)

```json
{
    "country": "de",
    "dmArticleNumber": "3118740",
    "name": "Kürbisschnitz-Set, 1 St",
    "brand": "Profissimo",
    "price": 4.95,
    "currency": "EUR",
    "originalPrice": 7.95,
    "discountPercent": 38,
    "unitPriceText": "1 St (4,95 € je 1 St)",
    "isOnSale": true,
    "onlineAvailable": true,
    "sourceUrl": "https://www.dm.de/ausverkauf"
}
```

***

### Key Output Fields

#### Price

`price` is the current price in the shop's `currency`. `originalPrice` and `discountPercent` are filled on reduced items. `unitPrice` with `unitPriceUnit` is the legal base price (per litre, per kilo, per piece). `priceNotes` holds further price lines some shops show, such as the lowest price of the last 30 days in Croatia.

#### Labels

`badges` are language-neutral keys: `dm_brand`, `new`, `promotion`, `os_exclusive` (online only). `awards` holds test seals such as Stiftung Warentest results.

#### Availability

`onlineAvailable` says whether the product can be ordered online. Each `storeStock` entry gives the store, its distance from the postcode or town you entered, `inStock` and `quantity`, the shelf count dm shows for that store.

#### Details

`priceStableSince` is the date since dm has not raised the price (dm's permanent-price promise). `ratingDistribution` counts ratings per star and `recommendPercent` is the share of reviewers who recommend the product. Section texts come in the shop's language.

#### Where it was found

`searchTerm` and `sourceUrl` say which input found the product; `searchPosition` is its place in dm's own result order.

***

### FAQ

#### Which dm countries are supported?

All 13 dm online shops: Germany, Austria, Czechia, Slovakia, Hungary, Croatia, Slovenia, Romania, Serbia, Bulgaria, Bosnia and Herzegovina, Poland and Italy. Pick the shop for search words with `country`; links use their own shop.

#### Can I get more than 1,000 products from one category?

Yes. dm shows at most 1,000 products for one search or category; with `splitLargeSearches` on (the default) the actor gets all of them. A whole German category such as Haare (about 1,800 products) takes under a minute.

#### How do I monitor prices of specific products?

Put their dm article numbers (the number in the product link) or EAN barcodes in `searchTerms` and schedule the actor. Each run returns one row per product with the current price, unit price and availability.

#### How does store stock work?

Add postcodes, towns or dm store IDs to `storeLocations`. The actor finds the nearest stores (3 per location by default) and adds a `storeStock` list to each product with in stock or not and dm's shelf count. Store stock is read in the shop chosen under `country`.

#### Why are `description`, `ingredients` and `reviews` empty?

They need `scrapeDetails` on. Reviews also need `maxReviewsPerProduct` above 0.

#### Why does a row have `detailsError`?

The product page could not be read in this run, usually because the product was just delisted. The rest of the row is still there.

#### What language is the text in?

The language of the shop: German for dm.de and dm.at, Czech for dm.cz, and so on. Field names are the same everywhere.

#### Do the filters apply to article numbers and product links?

No. Filters (brands, price, sale only, sort) narrow word searches and category, brand, sale and search links. Products you name directly are always returned.

***

### Support

Found a bug or need a field that is not there? Open an issue on the actor's **Issues** tab.

Email: muhamed.didovic@gmail.com

***

### Additional Services

Need a custom scraper, a tailored export, or an integration into your own pipeline? Custom builds are available: muhamed.didovic@gmail.com.

***

### Explore More Scrapers

- **idealo Scraper**: prices, shop offers and specs from idealo in 6 countries
- **Fnac Scraper**: products, prices, EAN and marketplace sellers from Fnac.com
- **Leroy Merlin Scraper**: products, prices and sellers from Leroy Merlin in 6 countries
- **Zalando Scraper**: fashion products and prices from Zalando

***

### 🤖 For AI Agents & LLM Apps

Compact reference for AI agents calling this actor via the [Apify MCP server](https://mcp.apify.com) or the Apify API (actor: `memo23/dm-scraper`).

**Purpose:** Public dm-drogerie markt product rows from 13 country shops, from search words, article numbers, EAN barcodes or shop links, with optional product details, customer reviews and in-store stock. No login.

**Minimal input:**

```json
{ "searchTerms": ["shampoo"], "maxItems": 20 }
```

**Output:** one dataset row per product: country, dmArticleNumber, ean, name, brand, url, price, currency, originalPrice, discountPercent, priceExclVat, packageSize, unitPrice, unitPriceUnit, rating, reviewCount, categories, badges, isDmBrand, isNew, isOnlineOnly, isOnSale, imageUrl, onlineAvailable, searchTerm, sourceUrl. With `storeLocations`: storeStock \[{storeId, street, zip, city, distanceKm, inStock, quantity}]. With `scrapeDetails`: description, highlights, productFeatures, ingredients, usageInstructions, warnings, manufacturer, countryOfOrigin, categoryPath, tags, priceStableSince, paybackPoints, ratingDistribution, recommendPercent. With `maxReviewsPerProduct`: reviews \[{rating, title, text, date, reviewerInfo, subRatings}].

**Tips:** pass `country` for non-German shops (`at`, `cz`, `hu`, ...); article numbers and EANs in `searchTerms` return exact products; keep `scrapeDetails` off for price-only runs.

***

### ⚠️ Disclaimer

This actor collects publicly available product information from dm online shops. It is not affiliated with, endorsed by or connected to dm-drogerie markt GmbH + Co. KG. Use the data in line with dm's terms of use and the laws that apply to you, including data protection law for review texts and reviewer names. You are responsible for how you use the data.

***

### SEO Keywords

dm scraper, dm.de scraper, dm drogerie markt scraper, dm drogerie scraper, dm product data, dm prices, dm price tracker, dm price monitoring, drogerie scraper, drugstore scraper Germany, dm Austria scraper, dm.at scraper, dm.cz scraper, dm.hu scraper, dm.pl scraper, dm Italia scraper, dm stock checker, dm store availability, dm Verfügbarkeit, dm Filiale Bestand, dm reviews scraper, dm Bewertungen, Balea products, dm EAN lookup, dm article number lookup, dm ingredients, Inhaltsstoffe scraper, German drugstore prices, beauty product scraper, cosmetics price monitoring Europe

# Actor input Schema

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

One per line. Words run a product search (shampoo, zahnpasta, windeln). A dm article number (1569035) or an EAN barcode (4066447966008) returns that one product, which makes a list of them a price tracker. The filters below apply to word searches.

## `startUrls` (type: `array`):

Links from any dm online shop (dm.de, dm.at, dm.cz, mojadm.sk, dm.hu, dm.hr, dm.si, dm.ro, dm.rs, dm-drogeriemarkt.bg, dm-drogeriemarkt.ba, dm.pl, dm-drogeriemarkt.it): product pages, categories (https://www.dm.de/haare), brand pages (https://www.dm.de/marken/balea), the sale page (https://www.dm.de/ausverkauf) or search results with filters set on dm. Each link uses its own shop, whatever the country below says.

## `country` (type: `string`):

Which dm online shop the search words, article numbers and barcodes run in. Prices come in that shop's currency.

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

Stop after this many products across all inputs. Each product is one row in the dataset.

## `scrapeDetails` (type: `boolean`):

Open each product page to add the full description, highlights, product features, ingredients, usage, warnings, storage, maker address, country of origin, category path, the date the price was last raised, PAYBACK points, all pictures in full size, the star breakdown and the share of buyers who recommend it. Billed as an extra event per product.

## `maxReviewsPerProduct` (type: `integer`):

How many customer reviews to keep on each product's row, with stars, title, text, date, reviewer profile (age group, hair or skin type), sub-ratings and helpful votes. 0 keeps none. Reviews turn product details on and are included in its price.

## `reviewsSort` (type: `string`):

Which reviews come first.

## `storeLocations` (type: `array`):

Postcodes (80335), towns (Graz) or dm store IDs (D3CI) to read in-store stock for. Each row then lists the nearest stores with in stock or not and the shelf count dm shows. Postcodes and towns are looked up in the shop chosen above; store page links pasted above also work.

## `storesPerLocation` (type: `integer`):

How many of the nearest stores to check for each postcode or town. Up to 25 stores per run.

## `sortBy` (type: `string`):

Order of search results. Pasted links keep their own order unless you pick one here.

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

Only these brands, written as dm writes them (Balea, NIVEA, L'ORÉAL PARiS ELVITAL). Leave empty for every brand.

## `minPrice` (type: `integer`):

Lowest price, in whole units of the shop's currency (euro, koruna, forint, ...).

## `maxPrice` (type: `integer`):

Highest price, in whole units of the shop's currency.

## `saleOnly` (type: `boolean`):

Only products dm is clearing out at a reduced price (Ausverkauf), each with its previous price and discount.

## `splitLargeSearches` (type: `boolean`):

dm shows at most 1,000 products for one search or category. With this on you get all of them, for example the whole Haare category or the full range of a brand.

## `maxConcurrency` (type: `integer`):

How many requests run at once. The default suits almost every run.

## Actor input object example

```json
{
  "searchTerms": [
    "shampoo"
  ],
  "country": "de",
  "maxItems": 50,
  "scrapeDetails": false,
  "maxReviewsPerProduct": 0,
  "reviewsSort": "newest",
  "storesPerLocation": 3,
  "sortBy": "relevance",
  "saleOnly": false,
  "splitLargeSearches": true,
  "maxConcurrency": 8
}
```

# Actor output Schema

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

Every product row: price, unit price, rating, availability, plus details, reviews and store stock when enabled.

# 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 = {
    "searchTerms": [
        "shampoo"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/dm-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 = {
    "searchTerms": ["shampoo"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("memo23/dm-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 '{
  "searchTerms": [
    "shampoo"
  ],
  "maxItems": 50
}' |
apify call memo23/dm-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/dm-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/szjpOrnMsegSNdk28/builds/dfh4mY4KT5uMBPoLU/openapi.json
