---
title: "SHOP APOTHEKE API: German online pharmacy search as JSON"
description: "SHOP APOTHEKE API for German online pharmacy search, PZN lookups, prices, discounts, active substances and review texts as JSON. 1 credit per call."
url: https://perceptlayer.com/apis/shop-apotheke
---

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

1 credit per call 4 endpoints 24 datapoints 

# SHOP APOTHEKE API

SHOP APOTHEKE API for German online pharmacy search, PZN lookups, prices, discounts, active substances and review texts as JSON. 1 credit per call.

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

SHOP APOTHEKE

GET /v1/shop-apotheke/search?query=ibuprofen 

```
{
  "success": true,
  "data": {
    "items": [
      {
        "object_id": "10019621",
        "pzn": "10019621",
        "ean": "4150100196212",
        "variant_code": "3339743300",
        "name": "Ibu-ratiopharm® 400 mg akut Schmerztabletten mit dem Wirkstoff Ibuprofen zur effektiven Behandlung von akuten Schmerzen",
        "brand": "IBU ratiopharm",
        "manufacturer": "ratiopharm GmbH",
        "price": 3.99,
        "currency": "EUR",
        "list_price": 13.99,
        "discount_percent": 71,
        "base_price": {
          "amount": 0.08,
          "currency": "EUR",
          "formatted": "0,08 € / 1 St"
        },
        "resolved_pzn": "10019621",
        "category_codes": [
          "csd00075",
          "csd00072",
          "csd00001"
        ],
        "active_substances": [
          "Ibuprofen"
        ],
        "pharma_form": "Filmtabletten",
        "deeplink": "arzneimittel/10019621/ibu-ratiopharm-400-mg-akut-schmerztabletten.htm",
        "image": "https://cdn.shop-apotheke.com/images/D10/019/621/D10019621-p1.jpg",
        "product_url": "https://www.shop-apotheke.com/arzneimittel/10019621/ibu-ratiopharm-400-mg-akut-schmerztabletten.htm",
        "in_stock": true,
        "prescription_medicine": false,
        "pharmacy_only": true,
        "average_rating": 4.8,
        "rating_count": 474
      },
      {
        "object_id": "15893535",
        "pzn": "15893535",
        "ean": "",
        "variant_code": "PF04798241",
        "name": "Redcare Ibuprofen 400 mg",
        "brand": "",
        "manufacturer": "IVC Pragen GmbH",
        "price": 3.49,
        "currency": "EUR",
        "list_price": 11.28,
        "discount_percent": 69,
        "base_price": {
          "amount": 0.07,
          "currency": "EUR",
          "formatted": "0,07 € / 1 St"
        },
        "resolved_pzn": "15893535",
        "category_codes": [
          "csd00275",
          "csd00269",
          "csd00001"
        ],
        "active_substances": [
          "Ibuprofen"
        ],
        "pharma_form": "Filmtabletten",
        "deeplink": "arzneimittel/15893535/redcare-ibuprofen-400-mg.htm",
        "image": "https://cdn.shop-apotheke.com/images/D15/893/535/D15893535-p1.jpg",
        "product_url": "https://www.shop-apotheke.com/arzneimittel/15893535/redcare-ibuprofen-400-mg.htm",
        "in_stock": true,
        "prescription_medicine": false,
        "pharmacy_only": true,
        "average_rating": 4.8,
        "rating_count": 259
      },
      {
        "object_id": "03045316",
        "pzn": "3045316",
        "ean": "",
        "variant_code": "3341530200",
        "name": "Ibu 400 akut - 1 A Pharma®",
        "brand": "IBU 400",
        "manufacturer": "1 A Pharma GmbH (D)",
        "price": 5.29,
        "currency": "EUR",
        "list_price": 10.42,
        "discount_percent": 49,
        "base_price": {
          "amount": 0.11,
          "currency": "EUR",
          "formatted": "0,11 € / 1 St"
        },
        "resolved_pzn": "3045316",
        "category_codes": [
          "csd00065",
          "csd00061",
          "csd00001"
        ],
        "active_substances": [
          "Ibuprofen"
        ],
        "pharma_form": "Filmtabletten",
        "deeplink": "arzneimittel/3045316/ibu-400-akut-1-a-pharma.htm",
        "image": "https://cdn.shop-apotheke.com/images/D03/045/316/D03045316-p1.jpg",
        "product_url": "https://www.shop-apotheke.com/arzneimittel/3045316/ibu-400-akut-1-a-pharma.htm",
        "in_stock": true,
        "prescription_medicine": false,
        "pharmacy_only": true,
        "average_rating": 4.9,
        "rating_count": 327
      }
    ],
    "categories": [
      {
        "code": "csd00001",
        "count": 509
      },
      {
        "code": "csd00269",
        "count": 479
      },
      {
        "code": "csd00275",
        "count": 420
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 24,
      "total": 580,
      "total_pages": 25,
      "has_next_page": true,
      "returned_page": 0,
      "filtered_out": 0,
      "approximate_total": false
    }
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_7947130ac4f24def8ae212f29a759047",
    "credits_charged": 1,
    "credits_remaining": 4866
  }
}
```

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.

| # | object\_id string | pzn string | ean string | variant\_code string | name string | brand string | manufacturer string | price number | currency string | list\_price number | discount\_percent integer | base\_price object | resolved\_pzn string | category\_codes string\[\] | active\_substances string\[\] | pharma\_form string | deeplink string | image url | product\_url url | in\_stock boolean | prescription\_medicine boolean | pharmacy\_only boolean | average\_rating number | rating\_count integer |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 10019621 | 10019621 | 4150100196212 | 3339743300 | Ibu-ratiopharm® 400 mg akut Schmerztabletten mit dem Wirkstoff Ibuprofen zur effektiven Behandlung von akuten Schmerzen | IBU ratiopharm | ratiopharm GmbH | 3.99 | EUR | 13.99 | 71 | {3 fields} | 10019621 | \[3 items\] | \[1 item\] | Filmtabletten | arzneimittel/10019621/ibu-ratiopharm-400-mg-akut-schmerztabletten.htm | https://cdn.shop-apotheke.com/images/D10/019/621/D10019621-p1.jpg | https://www.shop-apotheke.com/arzneimittel/10019621/ibu-ratiopharm-400-mg-akut-schmerztabletten.htm | true | false | true | 4.8 | 474 |
| 2 | 15893535 | 15893535 |  | PF04798241 | Redcare Ibuprofen 400 mg |  | IVC Pragen GmbH | 3.49 | EUR | 11.28 | 69 | {3 fields} | 15893535 | \[3 items\] | \[1 item\] | Filmtabletten | arzneimittel/15893535/redcare-ibuprofen-400-mg.htm | https://cdn.shop-apotheke.com/images/D15/893/535/D15893535-p1.jpg | https://www.shop-apotheke.com/arzneimittel/15893535/redcare-ibuprofen-400-mg.htm | true | false | true | 4.8 | 259 |
| 3 | 03045316 | 3045316 |  | 3341530200 | Ibu 400 akut - 1 A Pharma® | IBU 400 | 1 A Pharma GmbH (D) | 5.29 | EUR | 10.42 | 49 | {3 fields} | 3045316 | \[3 items\] | \[1 item\] | Filmtabletten | arzneimittel/3045316/ibu-400-akut-1-a-pharma.htm | https://cdn.shop-apotheke.com/images/D03/045/316/D03045316-p1.jpg | https://www.shop-apotheke.com/arzneimittel/3045316/ibu-400-akut-1-a-pharma.htm | true | false | true | 4.9 | 327 |

Recorded from our API · 3 items shown · 24 datapoints per item GET /v1/shop-apotheke/search?query=ibuprofen

24 datapoints

### Identity

-   object\_id string
-   name string
-   brand string
-   category\_codes string\[\]

### Contact

-   deeplink string
-   product\_url url

### Reputation

-   image url
-   average\_rating number
-   rating\_count integer

### Price

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

### Other

-   pzn string
-   ean string
-   variant\_code string
-   manufacturer string
-   resolved\_pzn string
-   active\_substances string\[\]
-   pharma\_form string
-   in\_stock boolean
-   prescription\_medicine boolean
-   pharmacy\_only boolean

Playground

## Run this API

cURL shell 

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

SHOP APOTHEKE · 4 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/shop-apotheke/categories`](https://perceptlayer.com/apis/shop-apotheke/categories) | none | `sitemaps` `product_sitemaps` | 1 credit |
| [GET `/v1/shop-apotheke/product`](https://perceptlayer.com/apis/shop-apotheke/product) | `id` +1 optional | `product` | 1 credit |
| [GET `/v1/shop-apotheke/reviews`](https://perceptlayer.com/apis/shop-apotheke/reviews) | `variant_code` +2 optional | `variant_code` `reviews` `average_rating` `rating_count` `rating_histogram` | 1 credit |
| [GET `/v1/shop-apotheke/search`](https://perceptlayer.com/apis/shop-apotheke/search) | `query` +8 optional | `object_id` `pzn` `ean` `variant_code` `name` `brand` +18 more | 1 credit |

Overview

## About the SHOP APOTHEKE API

## What you can get

The SHOP APOTHEKE API returns product data from the German online pharmacy SHOP APOTHEKE as JSON through 4 endpoints. Prices are in EUR.

-   **Search:** `search` takes a `query`, with `category`, `min_price`, `max_price`, `discount`, `sort` (relevance, price\_asc, price\_desc, topseller or newest), `page` and `per_page` (24, 50 or 100).
-   **Products:** `product` takes an `id` (the PZN), with `slug`.
-   **Reviews:** `reviews` takes a `variant_code`, with `page` and `page_size`.
-   **Sitemaps:** `categories` lists the shop's sitemap files, including the product sitemaps.

The recorded search for "ibuprofen" returns `items`, each with `pzn`, `ean`, `variant_code`, `name`, `brand`, `manufacturer`, `price`, `list_price`, `discount_percent`, `base_price`, `category_codes`, `active_substances`, `pharma_form`, `product_url`, `in_stock`, `prescription_medicine`, `pharmacy_only`, `average_rating` and `rating_count`, plus `pagination` (580 results over 25 pages in that recording). The first, Ibu-ratiopharm 400 mg akut, was 3.99 EUR against a list price of 13.99, 0.08 EUR per tablet, rated 4.8 from 474 ratings.

## How a call works

Search, then look up: `GET /v1/shop-apotheke/search?query=ibuprofen` with your key in the `X-API-Key` header returns each product's `pzn` and `variant_code`. `product` takes the `pzn` as `id`, for example `GET /v1/shop-apotheke/product?id=10019621`, and `reviews` takes the `variant_code`, for example `GET /v1/shop-apotheke/reviews?variant_code=3339743300`. Ask for the next `page` while `has_next_page` is true. 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 SHOP APOTHEKE prices and discounts for a list of PZNs

`Use the SHOP APOTHEKE API to track SHOP APOTHEKE prices and discounts for a list of PZNs` 

### Compare products by active substance, form and pack size

`Use the SHOP APOTHEKE API to compare products by active substance, form and pack size` 

### Find the biggest discounts in a search with \`discount\` and \`sort\`

`` Use the SHOP APOTHEKE API to find the biggest discounts in a search with `discount` and `sort` `` 

### Split prescription and pharmacy-only products from OTC items

`Use the SHOP APOTHEKE API to split prescription and pharmacy-only products from OTC items` 

FAQ

## Questions

**How much does the SHOP APOTHEKE API cost?**

Each successful call costs 1 credit, on every endpoint. Failed calls cost nothing.

**Which id goes where?**

\`product\` takes the PZN as \`id\`. \`reviews\` takes the \`variant\_code\`, a separate number that \`search\` returns for each product (for example \`3339743300\` for PZN \`10019621\`).

**What do reviews return?**

Each review has \`id\`, \`rating\`, \`title\`, \`body\`, \`submitted\_at\` and \`product\_name\`, plus the product's \`average\_rating\`, \`rating\_count\`, a \`rating\_histogram\` and \`total\`, 20 per page by default.

**Do I need a SHOP APOTHEKE account?**

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

**Is this the official SHOP APOTHEKE API?**

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

**Should I build a SHOP APOTHEKE scraper instead?**

You can, but a SHOP APOTHEKE scraper is code you maintain: page changes break it, requests get blocked, and SHOP APOTHEKE's terms govern how you collect data. The SHOP APOTHEKE API gives you 4 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 SHOP APOTHEKE 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)
