# Matas Scraper — Danish Health & Beauty Products & Prices (`studio-amba/matas-scraper`) Actor

Scrape products from Matas.dk, Denmark's largest health and beauty chain with 260+ stores. Skincare, makeup, vitamins, personal care, and wellness.

- **URL**: https://apify.com/studio-amba/matas-scraper.md
- **Developed by:** [Jelle Desramaults](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Matas Scraper

Extract products, prices, ratings, and beauty data from Matas.dk — Denmark's leading health, beauty, and pharmacy retailer with 260+ stores.

### What is Matas Scraper?

Matas is Denmark's dominant beauty and health retailer, operating over 260 stores nationwide and a comprehensive online shop. Their catalog spans premium skincare, makeup, haircare, fragrances, vitamins, natural health products, and personal care — from luxury brands like Clinique and Estee Lauder to Danish favorites and Matas' own private-label products.

This scraper crawls Matas.dk's search results and product detail pages, extracting structured data from JSON-LD markup and HTML. It handles search queries, category browsing, pagination, and product detail enrichment automatically.

**Common use cases:**

- **Nordic beauty market intelligence** — Track product launches, pricing, and brand positioning in the Danish beauty market
- **Competitive pricing analysis** — Compare Matas prices against other Nordic retailers like Normal, Kicks, or online pharmacies
- **Skincare & cosmetics research** — Build datasets of beauty products with ratings, prices, and brand information for trend analysis
- **Private-label monitoring** — Track Matas' own-brand products and their pricing relative to branded alternatives
- **Cross-border price comparison** — Compare Danish health and beauty prices (in DKK) against German, Belgian, or other European markets

### What data does Matas Scraper extract?

- 🧴 **Product name & brand** — Full product name with brand attribution
- 💰 **Price in DKK** — Current price and original/sale price when applicable
- ⭐ **Ratings & reviews** — Customer rating (normalized to 5-point scale) and review count
- 📦 **Stock availability** — Whether the product is in stock, available online, or pre-order
- 🏷️ **Product identifiers** — EAN/GTIN barcode, SKU, and MPN where available
- 🗂️ **Category & breadcrumbs** — Product category extracted from page navigation
- 🖼️ **Product images** — Primary image and gallery URLs when available
- 📝 **Product description** — Cleaned text description stripped of HTML

### How to scrape Matas.dk

#### Search by keyword
Enter any search term in Danish or English — "shampoo", "mascara", "solcreme" (sunscreen), "vitaminer" (vitamins). The scraper fetches search results from Matas.dk's search page.

#### Browse by category
Paste a Matas category URL like `https://www.matas.dk/hudpleje` (skincare) or `https://www.matas.dk/makeup` to scrape all products in that section.

#### Input parameters

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `searchQuery` | String | `shampoo` | Search keyword (e.g., "mascara", "solcreme") |
| `categoryUrl` | String | — | Matas.dk category URL to scrape |
| `maxResults` | Integer | 100 | Maximum products to return (up to 50,000) |
| `proxyConfiguration` | Object | — | Proxy settings for better reliability |

**Tip:** For best results, use Danish search terms. Matas.dk's search works well with Danish product names and categories.

### Output

```json
{
    "name": "CeraVe Moisturising Cream 340 g",
    "brand": "CeraVe",
    "price": 129.95,
    "originalPrice": 159.95,
    "currency": "DKK",
    "ean": "3337875597395",
    "sku": "MAT-87539",
    "inStock": true,
    "rating": 4.6,
    "reviewCount": 892,
    "url": "https://www.matas.dk/cerave-moisturising-cream-340g",
    "imageUrl": "https://www.matas.dk/media/catalog/product/cerave-moisturising-cream.jpg",
    "description": "CeraVe Moisturising Cream er en fugtighedscreme til toer til meget toer hud. Indeholder tre essentielle ceramider og hyaluronsyre.",
    "category": "Hudpleje",
    "categories": ["Hudpleje", "Ansigtspleje", "Fugtighedscreme"],
    "scrapedAt": "2026-04-03T10:15:00.000Z"
}
````

### How much does it cost?

Matas Scraper uses Cheerio-based crawling (no browser) for both listing and product pages. Product detail pages provide richer data through JSON-LD extraction.

| Volume | Estimated CU | Estimated Cost |
|--------|-------------|----------------|
| 50 products | ~0.03 CU | ~$0.02 |
| 200 products | ~0.1 CU | ~$0.05 |
| 1,000 products | ~0.5 CU | ~$0.25 |
| 5,000 products | ~2.5 CU | ~$1.25 |

Costs increase slightly with product detail page crawling. Actual costs depend on your Apify plan.

### Can I integrate?

Yes. Connect Matas product data to your existing workflows:

- **Google Sheets** — Track Danish beauty product prices in a shared spreadsheet
- **Webhooks** — Get notified when scraping completes or when specific products change price
- **Zapier / Make / n8n** — Automate data flows from Matas into your tools
- **Amazon S3 / Google Cloud** — Store beauty product datasets for long-term analysis
- **Slack / Email** — Set up price drop alerts on watched products

### Can I use it as an API?

Yes. Call the scraper from your code and process Danish beauty data programmatically.

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("studio-amba/matas-scraper").call(run_input={
    "searchQuery": "solcreme",
    "maxResults": 100,
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    price_eur = round(item['price'] / 7.46, 2)  ## DKK to EUR estimate
    print(f"{item['brand']} — {item['name']}: {item['price']} DKK (~{price_eur} EUR)")
```

#### JavaScript

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

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('studio-amba/matas-scraper').call({
    searchQuery: 'solcreme',
    maxResults: 100,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach(item => {
    console.log(`${item.brand} — ${item.name}: ${item.price} DKK`);
});
```

### FAQ

**Why DKK instead of EUR?**
Denmark uses the Danish Krone (DKK), not the Euro. All Matas prices are in DKK. The exchange rate is approximately 1 EUR = 7.46 DKK (fixed within a narrow band due to Denmark's ERM II peg).

**Does Matas sell prescription medicines?**
No. Matas is a health and beauty retailer, not a licensed pharmacy. They sell OTC health products, vitamins, supplements, skincare, and cosmetics — but no prescription medicines. For prescription drug data, see our Farmaline or Shop Apotheke scrapers.

**Can I scrape product reviews?**
The scraper extracts aggregate rating and review count. Individual review text is not currently extracted but could be added as a feature. Contact us if you need full review text.

**How does the scraper handle Matas product pages?**
The scraper first extracts product URLs from search/category listing pages, then visits each product page individually to get rich JSON-LD data (ratings, EAN, brand, description). If JSON-LD is not available, it falls back to HTML parsing.

**Does Matas have a loyalty program that affects prices?**
Matas has the "Club Matas" loyalty program, but loyalty prices are only visible when logged in. The scraper extracts public (non-member) prices only.

**Can I search in English?**
Matas.dk's search is optimized for Danish. English brand names work (e.g., "CeraVe", "L'Oreal"), but product categories and descriptions are in Danish. Use Danish terms for category searches.

**What are the most popular Matas product categories?**
Matas is strongest in skincare ("hudpleje"), makeup ("makeup"), haircare ("haarpleje"), fragrances ("parfume"), vitamins ("vitaminer"), sun care ("solpleje"), and personal hygiene. They also carry a growing range of organic and natural products ("naturlig pleje").

**How does Matas handle sale prices?**
When a product is on sale, the scraper captures both the current selling price in the `price` field and the original price in the `originalPrice` field. Matas runs regular promotional campaigns, especially around Danish holidays and seasonal transitions. The scraper detects strikethrough/old prices from both JSON-LD data and HTML markup.

### Tips for Nordic beauty market analysis

Matas data is particularly valuable for beauty and personal care market research:

1. **Track seasonal trends** — Danish beauty buying patterns shift dramatically with seasons. Sunscreen ("solcreme") peaks in spring, skincare ("hudpleje") in winter. Schedule monthly runs to capture these cycles.
2. **Compare DKK to EUR pricing** — Denmark's fixed exchange rate to the Euro (approximately 7.46 DKK = 1 EUR) makes cross-border price comparison straightforward. Compare Matas prices to the same brands on dm.de or Farmaline.be.
3. **Monitor brand performance** — Use the `brand` field to track how many products each brand has listed, their average pricing, and their rating distribution. This reveals which brands are gaining or losing shelf space.
4. **Use ratings as quality signals** — Products with 100+ reviews and 4.5+ ratings are strong performers. Filter for these to identify top-selling items in each category.
5. **Combine search and category approaches** — Use `searchQuery` for specific products (brand names, ingredients) and `categoryUrl` for broad category sweeps.

### Limitations

- Matas.dk uses a modern JavaScript-heavy frontend; the Cheerio-based scraper extracts data from HTML and JSON-LD, which covers most products but may miss some dynamically loaded content
- Pagination relies on detecting "next page" links in the HTML, which may not work for all page layouts
- Club Matas member prices and exclusive offers are not accessible through public scraping
- Product availability may differ between online and physical stores
- The scraper does not extract ingredient lists or detailed product specifications beyond what JSON-LD provides

### Other pharmacy scrapers

Expand your health and beauty data coverage across Europe:

- [Farmaline Scraper](https://apify.com/studio-amba/farmaline-scraper) — Belgium's largest online pharmacy (70,000+ products, bilingual NL/FR)
- [dm Scraper](https://apify.com/studio-amba/dm-scraper) — Germany's largest drugstore chain (beauty, health, household)
- [Shop Apotheke Scraper](https://apify.com/studio-amba/shopapotheke-scraper) — Europe's leading online pharmacy (DE/AT/CH/BE/FR/IT)
- [Viata Scraper](https://apify.com/studio-amba/viata-scraper) — Belgian online pharmacy with health and wellness products
- [Apotheek.be Scraper](https://apify.com/studio-amba/apotheek-scraper) — Belgian pharmacy directory with locations and opening hours
- [Multipharma Scraper](https://apify.com/studio-amba/multipharma-scraper) — One of Belgium's largest pharmacy chains

### Your feedback

Interested in Nordic beauty market data? Need deeper product detail extraction from Matas? Have suggestions for improving the scraper? [Open an issue](https://console.apify.com/actors/studio-amba/matas-scraper/issues) or contact us on Apify. We welcome all feedback.

# Actor input Schema

## `searchQuery` (type: `string`):

Search for products by keyword (e.g., 'shampoo', 'mascara', 'solcreme').

## `categoryUrl` (type: `string`):

A Matas category page URL to scrape. Example: https://www.matas.dk/hudpleje. Leave empty to use search.

## `maxResults` (type: `integer`):

Maximum number of products to return.

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

Proxy settings for better reliability.

## Actor input object example

```json
{
  "searchQuery": "shampoo",
  "maxResults": 100
}
```

# 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 = {
    "searchQuery": "shampoo"
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/matas-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 = { "searchQuery": "shampoo" }

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

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

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

```

## CLI example

```bash
echo '{
  "searchQuery": "shampoo"
}' |
apify call studio-amba/matas-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=studio-amba/matas-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Matas Scraper — Danish Health & Beauty Products & Prices",
        "description": "Scrape products from Matas.dk, Denmark's largest health and beauty chain with 260+ stores. Skincare, makeup, vitamins, personal care, and wellness.",
        "version": "0.1",
        "x-build-id": "qHzNr5pQ13wznma82"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/studio-amba~matas-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-studio-amba-matas-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/studio-amba~matas-scraper/runs": {
            "post": {
                "operationId": "runs-sync-studio-amba-matas-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/studio-amba~matas-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-studio-amba-matas-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQuery": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Search for products by keyword (e.g., 'shampoo', 'mascara', 'solcreme')."
                    },
                    "categoryUrl": {
                        "title": "Category URL",
                        "type": "string",
                        "description": "A Matas category page URL to scrape. Example: https://www.matas.dk/hudpleje. Leave empty to use search."
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 50000,
                        "type": "integer",
                        "description": "Maximum number of products to return.",
                        "default": 100
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings for better reliability."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
