---
title: "dm-drogerie markt API: Search | Perceptlayer"
description: "Search from dm-drogerie markt as JSON. 1–5 credits per successful call."
url: https://perceptlayer.com/apis/dm/search
---

[APIs](https://perceptlayer.com/apis) / [dm-drogerie markt](https://perceptlayer.com/apis/dm) / Search

# dm-drogerie markt: Search

Search from dm-drogerie markt as JSON. 1–5 credits per successful call.

GET `/v1/dm/search`

## Parameters

Send parameters in the query string.

Required Send `q` or `category`.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string | Optional | Up to 120 characters |
| `category` | string | Optional | Up to 40 characters |
| `brand` | string | Optional | Up to 80 characters |
| `price_from` | number | Optional | Any |
| `price_to` | number | Optional | Any |
| `sort` | string | Optional | relevance, price\_asc, price\_desc, new, rating |
| `page` | integer | Optional | Any |
| `page_size` | integer | Optional | Any |
| `mode` | string | Optional | frontend, crawl |
| `pharmacy` | boolean | Optional | Any |
| `popular_facet` | string | Optional | Up to 80 characters |

## Example request

dm-drogerie markt

GET /v1/dm/search?q=hautcreme&sort=relevance&page=1&mode=frontend 

```
{
  "success": true,
  "data": {
    "mode": "frontend",
    "query": "hautcreme",
    "sort": "relevance",
    "pharmacy": false,
    "page": 1,
    "page_size": 30,
    "items": [
      {
        "id": "1646638",
        "dan": "1646638",
        "gtin": "3600551068749",
        "name": "Mixa Pflegecreme 10% Urea Cica Repair, 400 ml",
        "brand": "Mixa",
        "price": 7.95,
        "currency": "EUR",
        "base_price": {
          "value": 19.88,
          "unit": "1 l",
          "text": "0,4 l (19,88 € je 1 l)"
        },
        "image": "https://products.dm-static.com/images/f_auto,q_auto,c_fit,h_1200,w_1200/v1758149484/assets/pas/images/a2bdc7a8-823e-45ab-a1f0-f86c0fdf8d75/mixa-pflegecreme-10-prozent-urea-cica-repair",
        "rating": 4.5379,
        "review_count": 2203,
        "url": "https://www.dm.de/p/d/1646638/mixa-pflegecreme-10-prozent-urea-cica-repair"
      },
      {
        "id": "1574857",
        "dan": "1574857",
        "gtin": "4066447870251",
        "name": "Balea Bodylotion Urea, 400 ml",
        "brand": "Balea",
        "price": 1.75,
        "currency": "EUR",
        "base_price": {
          "value": 4.38,
          "unit": "1 l",
          "text": "0,4 l (4,38 € je 1 l)"
        },
        "image": "https://products.dm-static.com/images/f_auto,q_auto,c_fit,h_1200,w_1200/v1769302224/assets/pas/images/8b4c4add-1a46-45a7-a72c-617fc6e12ff0/balea-bodylotion-urea",
        "rating": 4.1239,
        "review_count": 226,
        "url": "https://www.dm.de/p/d/1574857/balea-bodylotion-urea"
      },
      {
        "id": "1369168",
        "dan": "1369168",
        "gtin": "4006000309859",
        "name": "NIVEA Körpermilch Reichhaltige Body Milk, 400 ml",
        "brand": "NIVEA",
        "price": 5.45,
        "currency": "EUR",
        "base_price": {
          "value": 13.63,
          "unit": "1 l",
          "text": "0,4 l (13,63 € je 1 l)"
        },
        "image": "https://products.dm-static.com/images/f_auto,q_auto,c_fit,h_1200,w_1200/v1785281362/assets/pas/images/0850054c-5c93-4eb3-a214-b5c8411f4e8a/nivea-koerpermilch-reichhaltige-body-milk",
        "rating": 4.6446,
        "review_count": 1618,
        "url": "https://www.dm.de/p/d/1369168/nivea-koerpermilch-reichhaltige-body-milk"
      }
    ],
    "facets": [
      {
        "key": "categoryNames",
        "label": "Kategorien",
        "values": [
          {
            "value": "Gesichtspflege",
            "label": "Gesichtspflege",
            "count": 419
          },
          {
            "value": "Tagescreme",
            "label": "Tagescreme",
            "count": 268
          },
          {
            "value": "Teint",
            "label": "Teint",
            "count": 244
          }
        ]
      },
      {
        "key": "popularFacet",
        "label": "Beliebte Filter",
        "values": [
          {
            "value": "Lieferbar",
            "label": "Lieferbar",
            "count": 1103
          },
          {
            "value": "Vegan",
            "label": "Vegan",
            "count": 708
          },
          {
            "value": "Marke von dm",
            "label": "Marke von dm",
            "count": 400
          }
        ]
      },
      {
        "key": "brandName",
        "label": "Marken",
        "values": [
          {
            "value": "Balea",
            "label": "Balea",
            "count": 168
          },
          {
            "value": "NIVEA",
            "label": "NIVEA",
            "count": 102
          },
          {
            "value": "alverde NATURKOSMETIK",
            "label": "alverde NATURKOSMETIK",
            "count": 77
          }
        ]
      }
    ],
    "total": 1569,
    "total_pages": 34,
    "has_more": true
  },
  "meta": {
    "request_id": "req_fd1b61d3c2b743058612952995dc1c48",
    "credits_charged": 1,
    "credits_remaining": 4942
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/dm?try=search#playground) with your own parameters. 1–5 credits per successful call (1 credit for most calls, 5 when the store can only be reached by a costlier route); failed calls are free.

## Response fields

`data` has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `mode` | string |
| `pharmacy` | boolean |
| `items` | object\[\] |
