---
title: "medpex API: German online pharmacy search as JSON"
description: "medpex API for German online pharmacy search, prices against RRP, PZNs, unit prices, stock flags and reviews as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/medpex
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / medpex

1 credit per call 6 endpoints 30 datapoints 

# medpex API

medpex API for German online pharmacy search, prices against RRP, PZNs, unit prices, stock flags and reviews as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

medpex

GET /v1/medpex/search?query=ibuprofen 

```
{
  "success": true,
  "data": {
    "results": [
      {
        "id": "03161577",
        "pzn": "03161577",
        "product_id": "1ebc6472-e38a-4ca9-b05c-239b52d3ad90",
        "readable_id": "FX5JU02P",
        "group_id": "46cb7bee-a812-4360-91f6-e6343f994347",
        "name": "IbuHEXAL® akut 400 mg 50 St",
        "slug": "ibuhexal-akut-400-mg",
        "url": "https://www.medpex.de/ibuhexal-akut-400-mg/03161577",
        "sub_headline": "Schmerz- und fiebersenkend mit bewährtem Ibuprofen für Ihre Hausapotheke",
        "brand": "IbuHEXAL",
        "manufacturer": "Hexal AG",
        "price": 6.39,
        "recommended_price": 13.99,
        "currency": "EUR",
        "discount_percent": 54,
        "base_price": {
          "amount": 0.13,
          "unit": "St",
          "raw": "0.13 €/St"
        },
        "images": [
          "https://statics.medpex.de/static/produkte/FX5JU02P/docmorris/ibuhexal-akut-400-mg-50-st-03161577-0-1790340699011843.png"
        ],
        "in_stock": true,
        "rating": 4.75,
        "review_count": 617,
        "pharmacy_only": true,
        "prescription_only": false,
        "sales_type": "otx",
        "sales_type_filter": "otc",
        "packaging_size": "50 St",
        "pharmaceutical_form": "Filmtabletten",
        "category_hierarchy": {
          "lv1": [
            "Arzneimittel-Gesundheit > Erkältung & Immunsystem",
            "Arzneimittel-Gesundheit > Schmerzmittel"
          ],
          "lv0": [
            "Arzneimittel-Gesundheit"
          ],
          "lv2": [
            "Arzneimittel-Gesundheit > Erkältung & Immunsystem > Fieber"
          ]
        },
        "categories": [
          "arzneimittel-gesundheit",
          "arzneimittel-gesundheit/erkaeltung-immunsystem",
          "arzneimittel-gesundheit/erkaeltung-immunsystem/fieber"
        ],
        "seller": {
          "seller_id": "6fee4fe5-caf4-485d-9e1a-a3a5808ec912",
          "seller_name": "medpex",
          "seller_postal_code": "6422",
          "has_same_day_delivery": false
        },
        "campaigns": [
          "blackfrida",
          "blackfriday"
        ]
      },
      {
        "id": "20097214",
        "pzn": "20097214",
        "product_id": "16977c19-00d1-4368-9293-44ecd0b2462a",
        "readable_id": "J3TX9TTF",
        "group_id": "16977c19-00d1-4368-9293-44ecd0b2462a",
        "name": "medpex Ibuprofen 400 mg 50 St",
        "slug": "medpex-ibuprofen-400-mg",
        "url": "https://www.medpex.de/medpex-ibuprofen-400-mg/20097214",
        "sub_headline": "Kurzzeitige Linderung von Schmerzen und Fieber mit Ibuprofen 400 mg",
        "brand": "medpex",
        "manufacturer": "DocMorris N.V.",
        "price": 3.49,
        "recommended_price": 11.25,
        "currency": "EUR",
        "discount_percent": 69,
        "base_price": {
          "amount": 0.07,
          "unit": "St",
          "raw": "0.07 €/St"
        },
        "images": [
          "https://statics.medpex.de/static/produkte/J3TX9TTF/docmorris/medpex-ibuprofen-400-mg-50-st-20097214-0-1790340728880952.png"
        ],
        "in_stock": true,
        "rating": 4.75,
        "review_count": 8,
        "pharmacy_only": true,
        "prescription_only": false,
        "sales_type": "otx",
        "sales_type_filter": "otc",
        "packaging_size": "50 St",
        "pharmaceutical_form": "Filmtabletten",
        "category_hierarchy": {
          "lv1": [
            "Arzneimittel-Gesundheit > Erkältung & Immunsystem",
            "Arzneimittel-Gesundheit > Frauengesundheit",
            "Arzneimittel-Gesundheit > Schmerzmittel"
          ],
          "lv0": [
            "Arzneimittel-Gesundheit",
            "Kosmetik"
          ],
          "lv2": [
            "Arzneimittel-Gesundheit > Frauengesundheit > Menstruationsbeschwerden",
            "Arzneimittel-Gesundheit > Erkältung & Immunsystem > Fieber",
            "Kosmetik > Urlaub & Sonne > Reise Sets"
          ]
        },
        "categories": [
          "arzneimittel-gesundheit",
          "arzneimittel-gesundheit/schmerzmittel",
          "arzneimittel-gesundheit/erkaeltung-immunsystem"
        ],
        "seller": {
          "seller_id": "6fee4fe5-caf4-485d-9e1a-a3a5808ec912",
          "seller_name": "medpex",
          "seller_postal_code": "6422",
          "has_same_day_delivery": false
        },
        "campaigns": [
          "blackfriday",
          "blackfrida"
        ]
      },
      {
        "id": "07728561",
        "pzn": "07728561",
        "product_id": "cf020a8a-6647-4966-aa38-0f638d61cd58",
        "readable_id": "FX5CCQ6V",
        "group_id": "cf020a8a-6647-4966-aa38-0f638d61cd58",
        "name": "Ibuprofen HEUMANN Schmerztabletten 400 mg 50 St",
        "slug": "ibuprofen-heumann-schmerztabletten-400-mg",
        "url": "https://www.medpex.de/ibuprofen-heumann-schmerztabletten-400-mg/07728561",
        "sub_headline": "Leichte Einnahme bei Schmerzen und Fieber, wirkt bei leichten Beschwerden",
        "brand": "Heumann",
        "manufacturer": "HEUMANN PHARMA GmbH & Co. Generica KG",
        "price": 3.99,
        "recommended_price": 11.84,
        "currency": "EUR",
        "discount_percent": 66,
        "base_price": {
          "amount": 0.08,
          "unit": "St",
          "raw": "0.08 €/St"
        },
        "images": [
          "https://statics.medpex.de/static/produkte/FX5CCQ6V/docmorris/ibuprofen-heumann-schmerztabletten-400-mg-50-st-07728561-0-1790340680503805.jpeg"
        ],
        "in_stock": true,
        "rating": 4.84,
        "review_count": 734,
        "pharmacy_only": true,
        "prescription_only": false,
        "sales_type": "otx",
        "sales_type_filter": "otc",
        "packaging_size": "50 St",
        "pharmaceutical_form": "Filmtabletten",
        "category_hierarchy": {
          "lv2": [
            "Arzneimittel-Gesundheit > Schmerzmittel > Kopfschmerzen & Migräne",
            "Arzneimittel-Gesundheit > Erkältung & Immunsystem > Fieber"
          ],
          "lv1": [
            "Arzneimittel-Gesundheit > Schmerzmittel",
            "Arzneimittel-Gesundheit > Erkältung & Immunsystem"
          ],
          "lv0": [
            "Arzneimittel-Gesundheit"
          ]
        },
        "categories": [
          "arzneimittel-gesundheit",
          "arzneimittel-gesundheit/schmerzmittel",
          "arzneimittel-gesundheit/schmerzmittel/kopfschmerzen-migraene"
        ],
        "seller": {
          "seller_id": "6fee4fe5-caf4-485d-9e1a-a3a5808ec912",
          "seller_name": "medpex",
          "seller_postal_code": "6422",
          "has_same_day_delivery": false
        }
      }
    ],
    "total": 193,
    "page": 1,
    "page_size": 20,
    "total_pages": 10,
    "query": "ibuprofen",
    "facets": {
      "brand_names": {
        "400": 3,
        "Ibuprofen": 131,
        "Nurofen": 29,
        "Ratiopharm": 26,
        "IBUFLAM": 24,
        "IbuHEXAL": 22,
        "Schmerzgel": 17,
        "Voltaren": 14,
        "Heumann": 12,
        "Thomapyrin": 12,
        "Dolormin": 11,
        "Proff": 10,
        "Biatain": 9,
        "Ibu ratiopharm": 9,
        "Ibutop": 9,
        "AbZ": 8,
        "IBU 1 A Pharma": 8,
        "Ibuprofen AbZ": 8,
        "doc": 8,
        "Aliud Pharma": 7,
        "Dexcel": 7,
        "Spalt": 7,
        "akut": 7,
        "Ibu-Lysin ratiopharm": 6,
        "Junior Fieber- & Schmerzsaft": 6,
        "axicur": 6,
        "beta": 6,
        "Eudorlin": 5,
        "Extra": 5,
        "Ibu 400 akut": 5,
        "Ibu-Lysin": 5,
        "Schmelztabletten": 5,
        "Stada": 5,
        "Weichkapseln": 5,
        "Zentiva": 5,
        "Doppelherz": 4,
        "INTENSIV": 4,
        "Ibu Aristo": 4,
        "IbuDex 400": 4,
        "Ibutad": 4,
        "Migräne": 4,
        "Pharma": 4,
        "TENSION DUO": 4,
        "Classic": 3,
        "Filmtabletten": 3,
        "Holstana": 3,
        "IbuDex 200": 3,
        "Ibudolor": 3,
        "Junior Zäpfchen": 3,
        "Mometason": 3
      },
      "price_range": {
        "0-10": 195,
        "10-20": 175,
        "20-30": 28,
        "40-": 26,
        "30-40": 11
      },
      "category_names": {
        "Arzneimittel-Gesundheit": 294,
        "Schmerzmittel": 237,
        "Erkältung & Immunsystem": 171,
        "Fieber": 162,
        "Kopfschmerzen & Migräne": 142,
        "Muskeln & Gelenke": 72,
        "Rückenschmerzen": 68,
        "Gelenke": 65,
        "Menstruationsbeschwerden": 40,
        "Frauengesundheit": 25,
        "Wohlbefinden": 17,
        "Zahnschmerzen": 16,
        "Erkältungspräparate": 14,
        "Kosmetik": 12,
        "Baby": 11,
        "Heil- & Hilfsmittel": 11,
        "Reise Sets": 8,
        "Urlaub & Sonne": 8,
        "Wundbehandlung": 8,
        "Binden": 6,
        "Homöopathie & Natur": 6,
        "Homöopathische Komplexmittel": 6,
        "Rheuma & Arthrose": 6,
        "Schnupfen & Nebenhöhlen": 6,
        "Vitamine & Mineralien": 5,
        "Zahn- & Mundpflege": 4,
        "Bandagen": 2,
        "Blähungen": 2,
        "Multivitaminpräparate": 2,
        "Verdauung": 2,
        "Vitamin E": 2,
        "Wechseljahre": 2,
        "Abführmittel": 1,
        "Beruhigung & Nervenstärkung": 1,
        "Bluthochdruck": 1,
        "Erbrechen & Übelkeit": 1,
        "Ernährung": 1,
        "Erste Hilfe": 1,
        "Galle & Leber": 1,
        "Herz, Kreislauf & Gefäße": 1,
        "Magen & Darm": 1,
        "Männergesundheit": 1,
        "Selen": 1,
        "Sodbrennen": 1,
        "Stress & innere Unruhe": 1
      },
      "manufacturer.name": {
        "ratiopharm GmbH": 38,
        "Reckitt Benckiser Deutschland GmbH": 31,
        "Zentiva Pharma GmbH": 26,
        "AbZ-Pharma GmbH": 24,
        "1A Pharma GmbH": 22,
        "Hexal AG": 22,
        "A. Nattermann & Cie GmbH": 20,
        "Dexcel Pharma GmbH": 19,
        "Haleon Germany GmbH": 19,
        "ALIUD Pharma GmbH": 18,
        "axicorp Pharma GmbH - Geschäftsbereich OTC (Axicur)": 15,
        "Dr. Theiss Naturwaren GmbH": 14,
        "PUREN Pharma GmbH & Co. KG": 13,
        "HEUMANN PHARMA GmbH & Co. Generica KG": 12,
        "Kenvue Germany GmbH (OTC)": 12,
        "STADA Consumer Health Deutschland GmbH": 10,
        "betapharm Arzneimittel GmbH": 10,
        "Hermes Arzneimittel GmbH": 8,
        "PharmaSGP GmbH": 7,
        "STADAPHARM GmbH": 6,
        "Berlin-Chemie AG": 5,
        "Aristo Pharma GmbH": 4,
        "Coloplast GmbH": 4,
        "Queisser Pharma GmbH & Co. KG": 4,
        "TAD Pharma GmbH": 4,
        "ACA Müller/ADAG Pharma AG": 3,
        "Ascopharm GmbH": 3,
        "B. Braun Melsungen AG": 3,
        "Denk Pharma GmbH & Co. KG": 3,
        "Divers": 3,
        "DocMorris N.V.": 3,
        "Dr. Pfleger Arzneimittel GmbH": 3,
        "Holsten Pharma GmbH": 3,
        "Hypo-A GmbH": 3,
        "JUTA Pharma GmbH": 3,
        "Blanco Pharma GmbH": 2,
        "DEMO Pharmaceuticals GmbH": 2,
        "Docpharm GmbH": 2,
        "Dr. Reckeweg & Co. GmbH": 2,
        "ETHYPHARM GmbH": 2,
        "G.L. Pharma GmbH": 2,
        "Hemopharm GmbH": 2,
        "PXG Pharma GmbH": 2,
        "Pädia GmbH": 2,
        "Recordati Pharma GmbH": 2,
        "Sophien Arzneimittel GmbH": 2,
        "WEPA Apothekenbedarf GmbH & Co. KG": 2,
        "Alliance Healthcare Deutschland GmbH": 1,
        "B2B Medical GmbH": 1,
        "DHU-Arzneimittel GmbH & Co. KG": 1
      },
      "sales_type_filter": {
        "otc": 298,
        "rx": 127,
        "bpc": 10
      },
      "rating.average_overall": {
        "1": 4,
        "3": 7,
        "4": 5,
        "5": 28,
        "4.79": 19,
        "4.75": 16,
        "4.72": 12,
        "4.71": 10,
        "4.77": 10,
        "4.87": 9,
        "4.67": 8,
        "4.84": 8,
        "4.89": 8,
        "4.57": 7,
        "4.8": 7,
        "4.82": 7,
        "4.88": 7,
        "4.38": 6,
        "4.56": 6,
        "4.73": 6,
        "4.51": 5,
        "4.7": 5,
        "4.74": 5,
        "4.78": 5,
        "4.81": 5,
        "4.85": 5,
        "4.86": 5,
        "4.69": 4,
        "4.83": 4,
        "4.92": 4,
        "3.89": 3,
        "4.37": 3,
        "4.5": 3,
        "4.61": 3,
        "4.25": 2,
        "4.95": 2,
        "3.67": 1,
        "4.17": 1,
        "4.26": 1,
        "4.33": 1,
        "4.43": 1,
        "4.64": 1
      },
      "attributes.packaging_size": {
        "20 St": 111,
        "50 St": 73,
        "10 St": 63,
        "100 St": 36,
        "100 ml": 12,
        "30 St": 12,
        "1 Set": 11,
        "5 St": 11,
        "100 g": 9,
        "2X20 St": 9,
        "2X50 St": 9,
        "50 g": 9,
        "150 g": 6,
        "120 St": 4,
        "10X100 ml": 3,
        "12 St": 3,
        "24 St": 3,
        "3X20 St": 3,
        "1 St": 2,
        "120 g": 2,
        "180 g": 2,
        "2X100 ml": 2,
        "2X150 g": 2,
        "2X180 g": 2,
        "3X180 g": 2,
        "3X50 St": 2,
        "4 St": 2,
        "1 kg": 1,
        "10X50 ml": 1,
        "150 ml": 1,
        "18 St": 1,
        "2 St": 1,
        "20 g": 1,
        "200 g": 1,
        "20X100 ml": 1,
        "20X150 ml": 1,
        "22 ml": 1,
        "2X10 St": 1,
        "2X100 g": 1,
        "2X12 St": 1,
        "2X120 g": 1,
        "2X150 ml": 1,
        "2X24 St": 1,
        "2X30 St": 1,
        "30 g": 1,
        "36 St": 1,
        "3X12 St": 1,
        "3X150 g": 1,
        "3X18 St": 1,
        "3X24 St": 1
      },
      "pharmaceutical_properties.pharmaceutical_form": {
        "Filmtabletten": 275,
        "Gel": 31,
        "Weichkapseln": 19,
        "Suspension zum Einnehmen": 17,
        "Tabletten": 15,
        "Verband": 11,
        "Creme": 10,
        "Infusionslösung": 8,
        "Kapseln": 8,
        "Retard-Tabletten": 6,
        "Suppositorien": 6,
        "Schmelztabletten": 5,
        "Pulver": 4,
        "Pflaster": 3,
        "Granulat": 2,
        "Mischung": 2,
        "Sirup": 2,
        "Injektionslösung": 1,
        "Überzogene Tabletten": 1
      }
    },
    "facet_stats": {
      "brand_names": {
        "min": 400,
        "max": 400,
        "avg": 400,
        "sum": 1200
      },
      "rating.average_overall": {
        "min": 1,
        "max": 5,
        "avg": 4.62471,
        "sum": 1197.8
      }
    },
    "pagination": {
      "page": 1,
      "page_size": 20,
      "total": 193,
      "total_pages": 10,
      "has_more": true
    },
    "filters": {
      "rx": false,
      "applied_upstream": true
    }
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_9f1e62bf16ff433abdd85dd097cb157a",
    "credits_charged": 1,
    "credits_remaining": 4888
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | id string | pzn string | product\_id string | readable\_id string | group\_id string | name string | slug string | url url | sub\_headline string | brand string | manufacturer string | price number | recommended\_price number | currency string | discount\_percent integer | base\_price object | images string\[\] | in\_stock boolean | rating number | review\_count integer | pharmacy\_only boolean | prescription\_only boolean | sales\_type string | sales\_type\_filter string | packaging\_size string | pharmaceutical\_form string | category\_hierarchy object | categories string\[\] | seller object | campaigns string\[\] |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 03161577 | 03161577 | 1ebc6472-e38a-4ca9-b05c-239b52d3ad90 | FX5JU02P | 46cb7bee-a812-4360-91f6-e6343f994347 | IbuHEXAL® akut 400 mg 50 St | ibuhexal-akut-400-mg | https://www.medpex.de/ibuhexal-akut-400-mg/03161577 | Schmerz- und fiebersenkend mit bewährtem Ibuprofen für Ihre Hausapotheke | IbuHEXAL | Hexal AG | 6.39 | 13.99 | EUR | 54 | {3 fields} | \[1 item\] | true | 4.75 | 617 | true | false | otx | otc | 50 St | Filmtabletten | {3 fields} | \[3 items\] | {4 fields} | \[2 items\] |
| 2 | 20097214 | 20097214 | 16977c19-00d1-4368-9293-44ecd0b2462a | J3TX9TTF | 16977c19-00d1-4368-9293-44ecd0b2462a | medpex Ibuprofen 400 mg 50 St | medpex-ibuprofen-400-mg | https://www.medpex.de/medpex-ibuprofen-400-mg/20097214 | Kurzzeitige Linderung von Schmerzen und Fieber mit Ibuprofen 400 mg | medpex | DocMorris N.V. | 3.49 | 11.25 | EUR | 69 | {3 fields} | \[1 item\] | true | 4.75 | 8 | true | false | otx | otc | 50 St | Filmtabletten | {3 fields} | \[3 items\] | {4 fields} | \[2 items\] |
| 3 | 07728561 | 07728561 | cf020a8a-6647-4966-aa38-0f638d61cd58 | FX5CCQ6V | cf020a8a-6647-4966-aa38-0f638d61cd58 | Ibuprofen HEUMANN Schmerztabletten 400 mg 50 St | ibuprofen-heumann-schmerztabletten-400-mg | https://www.medpex.de/ibuprofen-heumann-schmerztabletten-400-mg/07728561 | Leichte Einnahme bei Schmerzen und Fieber, wirkt bei leichten Beschwerden | Heumann | HEUMANN PHARMA GmbH & Co. Generica KG | 3.99 | 11.84 | EUR | 66 | {3 fields} | \[1 item\] | true | 4.84 | 734 | true | false | otx | otc | 50 St | Filmtabletten | {3 fields} | \[3 items\] | {4 fields} | — |

Recorded from our API · 3 items shown · 30 datapoints per item GET /v1/medpex/search?query=ibuprofen

30 datapoints

### Identity

-   id string
-   product\_id string
-   readable\_id string
-   group\_id string
-   name string
-   slug string
-   brand string
-   sales\_type string
-   sales\_type\_filter string
-   category\_hierarchy object

### Contact

-   url url
-   seller object

### Reputation

-   images string\[\]
-   rating number
-   review\_count integer

### Price

-   price number
-   recommended\_price number
-   currency string
-   discount\_percent integer
-   base\_price object

### Other

-   pzn string
-   sub\_headline string
-   manufacturer string
-   in\_stock boolean
-   pharmacy\_only boolean
-   prescription\_only boolean
-   packaging\_size string
-   pharmaceutical\_form string
-   categories string\[\]
-   campaigns string\[\]

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/medpex/search?query=ibuprofen" \
  -H "X-API-Key: $API_KEY"
```

medpex · 6 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/medpex/category`](https://perceptlayer.com/apis/medpex/category) | `category` +8 optional | `results` `facet_stats` `pagination` `category` `categories` | 1 credit |
| [GET `/v1/medpex/product`](https://perceptlayer.com/apis/medpex/product) | `id` | `id` `pzn` `product_id` `readable_id` `group_id` `bv_product_id` +25 more | 1 credit |
| [GET `/v1/medpex/reviews`](https://perceptlayer.com/apis/medpex/reviews) | `id` +2 optional | `product_id` `reviews` `aggregate` `scope` | 1 credit |
| [GET `/v1/medpex/search`](https://perceptlayer.com/apis/medpex/search) | `query` +8 optional | `results` `facet_stats` `pagination` | 1 credit |
| [GET `/v1/medpex/sitemap`](https://perceptlayer.com/apis/medpex/sitemap) | none +3 optional | `maps` | 1 credit |
| [GET `/v1/medpex/suggest`](https://perceptlayer.com/apis/medpex/suggest) | `query` | `suggestions` `phrases` | 1 credit |

Overview

## About the medpex API

## What you can get

The medpex API returns medpex online pharmacy data from Germany as JSON through 6 endpoints. Products are identified by their PZN, and prices are in EUR.

-   **Search:** `search` takes a `query`, with `page`, `page_size`, `min_price`, `max_price`, `min_rating`, `rx`, and a `facet_name` (such as `brand_names`, `manufacturer.name` or `sales_type_filter`) with a `facet_value`. `suggest` takes a partial `query`.
-   **Categories:** `category` takes a `category` path such as `arzneimittel-gesundheit/schmerzmittel`, with the same filters.
-   **Products:** `product` takes a PZN as `id`.
-   **Reviews:** `reviews` takes an `id`, with `slug` and `limit`.
-   **Sitemap:** `sitemap` lists the site's sitemaps, with `map`, `page` and `page_size`.

The recorded search for "ibuprofen" returns `results`, each with `pzn`, `name`, `brand`, `manufacturer`, `price`, `recommended_price`, `discount_percent`, `base_price`, `in_stock`, `rating`, `review_count`, `pharmacy_only`, `prescription_only`, `packaging_size`, `pharmaceutical_form` and `category_hierarchy`, plus `total` (193), `total_pages` and brand `facets`. The first, IbuHEXAL akut 400 mg 50 tablets, was 6.39 EUR against a recommended 13.99 (54% off).

## How a call works

Search, then look up: `GET /v1/medpex/search?query=ibuprofen` with your key in the `X-API-Key` header returns each product's `pzn`. Pass it to `product` or `reviews` as `id`, for example `GET /v1/medpex/product?id=03161577`. Page search and categories with `page` up to `total_pages`. Every successful call costs 1 credit; failed calls cost nothing.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

Use cases

### Track medpex prices and discounts against the recommended price for a list of PZNs

`Use the medpex API to track medpex prices and discounts against the recommended price for a list of PZNs` 

### Compare unit prices across pack sizes of the same medicine

`Use the medpex API to compare unit prices across pack sizes of the same medicine` 

### List pain relief or cold medicines in a category, filtered by brand

`Use the medpex API to list pain relief or cold medicines in a category, filtered by brand` 

### Separate pharmacy-only and prescription-only products with their flags

`Use the medpex API to separate pharmacy-only and prescription-only products with their flags` 

FAQ

## Questions

**How much does the medpex API cost?**

Each successful call costs one credit, whichever endpoint you call, and each page of results is one call. Failed calls cost nothing.

**Can I look products up by PZN?**

Yes. \`product\` and \`reviews\` take the PZN as \`id\`, and every search and category result carries its \`pzn\`, so you can match medpex to other German pharmacies.

**How many reviews come back?**

The first page only: \`reviews\` returns up to \`limit\` reviews (10 by default), each with \`id\`, \`rating\`, \`title\`, \`text\`, \`date\` and \`author\`, plus the \`total\` and \`aggregate\` rating. For PZN \`03161577\` that was 617 reviews averaging 4.7.

**Do I need a medpex account?**

No. You call this medpex API with your Perceptlayer key in the \`X-API-Key\` header, with no medpex login.

**Is this the official medpex API?**

No. Perceptlayer is an independent service and is not affiliated with medpex. It returns medpex data as JSON with a Perceptlayer key, so there is no medpex developer account, app review or partner approval to get first. It only reads data: if medpex has an official API and you need to act on your own medpex account, such as posting, managing orders or reading private data, use that one.

**Should I build a medpex scraper instead?**

You can, but a medpex scraper is code you maintain: page changes break it, requests get blocked, and medpex's terms govern how you collect data. The medpex API gives you 6 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the medpex API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
