APIs / Marketplaces / SHOP APOTHEKE

1 credit per call4 endpoints24 datapointsChecked working 6 Dec 2026

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.

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 OKJSONX-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_idstringpznstringeanstringvariant_codestringnamestringbrandstringmanufacturerstringpricenumbercurrencystringlist_pricenumberdiscount_percentintegerbase_priceobjectresolved_pznstringcategory_codesstring[]active_substancesstring[]pharma_formstringdeeplinkstringimageurlproduct_urlurlin_stockbooleanprescription_medicinebooleanpharmacy_onlybooleanaverage_ratingnumberrating_countinteger
1100196211001962141501001962123339743300Ibu-ratiopharm® 400 mg akut Schmerztabletten mit dem Wirkstoff Ibuprofen zur effektiven Behandlung von akuten SchmerzenIBU ratiopharmratiopharm GmbH3.99EUR13.9971{3 fields}10019621[3 items][1 item]Filmtablettenarzneimittel/10019621/ibu-ratiopharm-400-mg-akut-schmerztabletten.htmhttps://cdn.shop-apotheke.com/images/D10/019/621/D10019621-p1.jpghttps://www.shop-apotheke.com/arzneimittel/10019621/ibu-ratiopharm-400-mg-akut-schmerztabletten.htmtruefalsetrue4.8474
21589353515893535PF04798241Redcare Ibuprofen 400 mgIVC Pragen GmbH3.49EUR11.2869{3 fields}15893535[3 items][1 item]Filmtablettenarzneimittel/15893535/redcare-ibuprofen-400-mg.htmhttps://cdn.shop-apotheke.com/images/D15/893/535/D15893535-p1.jpghttps://www.shop-apotheke.com/arzneimittel/15893535/redcare-ibuprofen-400-mg.htmtruefalsetrue4.8259
30304531630453163341530200Ibu 400 akut - 1 A Pharma®IBU 4001 A Pharma GmbH (D)5.29EUR10.4249{3 fields}3045316[3 items][1 item]Filmtablettenarzneimittel/3045316/ibu-400-akut-1-a-pharma.htmhttps://cdn.shop-apotheke.com/images/D03/045/316/D03045316-p1.jpghttps://www.shop-apotheke.com/arzneimittel/3045316/ibu-400-akut-1-a-pharma.htmtruefalsetrue4.9327

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

24 datapoints

Identity

  • object_idstring
  • namestring
  • brandstring
  • category_codesstring[]

Contact

  • deeplinkstring
  • product_urlurl

Reputation

  • imageurl
  • average_ratingnumber
  • rating_countinteger

Price

  • pricenumber
  • currencystring
  • list_pricenumber
  • discount_percentinteger
  • base_priceobject

Other

  • pznstring
  • eanstring
  • variant_codestring
  • manufacturerstring
  • resolved_pznstring
  • active_substancesstring[]
  • pharma_formstring
  • in_stockboolean
  • prescription_medicineboolean
  • pharmacy_onlyboolean

Playground

Run this API

cURLshell
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.

EndpointRequired parametersReturnsCost
GET/v1/shop-apotheke/categories
none
sitemapsproduct_sitemaps
1 credit
GET/v1/shop-apotheke/product
id+1 optional
product
1 credit
GET/v1/shop-apotheke/reviews
variant_code+2 optional
variant_codereviewsaverage_ratingrating_countrating_histogram
1 credit
GET/v1/shop-apotheke/search
query+8 optional
object_idpzneanvariant_codenamebrand+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.

MarketplacesJSONRESTMCP

More marketplaces APIs

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.