Skip to content
Scrappa Get API key
SHOP APOTHEKE API 1 credit / request

SHOP APOTHEKE Search API Documentation

GET https://scrappa.co/api/shop-apotheke/search

SHOP APOTHEKE Search API returns products from the public German pharmacy catalogue. Search by keyword, choose a sort value, filter by category, price or discount, and page with the page parameter.

Prices are numbers with EUR as currency. Base prices are numeric EUR amounts with currency. Canonical PZN and pharmacy-only flags are included. Images are full-size urls. The html source is a fallback for a query only: it cannot honour paging, sort or filters, so sending those with source=html returns a validation error. Cost: 1 credit per request. Failed requests are not billed.

SHOP APOTHEKE Search API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/shop-apotheke/search
Auth header
x-api-key
Cost
1 credit / request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "items": [
            {
                "pzn": "10019621",
                "name": "Ibuprofen 400 mg",
                "image": "https://cdn.shop-apotheke.com/images/D10/019/621/D10019621-p1.jpg",
                "price": 3.99,
                "currency": "EUR",
                "in_stock": true,
                "object_id": "10019621",
                "base_price": {
                    "amount": 0.08,
                    "currency": "EUR",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

8 optional filters available.

query string Required

Search text, 2 to 100 characters.

Example value coffee shops
category string Optional

Category code from data.categories in a search answer.

Example value example
min_price number Optional

Minimum price in EUR.

Example value 10
max_price number Optional

Maximum price in EUR.

Example value 10
discount integer Optional

Minimum discount in percent.

Example value 10
sort string Optional

One of relevance, price_asc, price_desc, topseller or newest.

Example value relevance
page integer Optional

One-based page number. Default 1.

Example value 1
per_page integer Optional

24, 50 or 100 hits. Default 24.

Example value 10
source string Optional

json for the rich index or html for the public result page. The html source accepts query only. Sending page, sort, per_page, category, min_price, max_price or discount with source=html returns a validation error.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data success
JSON Response
200 OK
{
    "data": {
        "items": [
            {
                "pzn": "10019621",
                "name": "Ibuprofen 400 mg",
                "image": "https://cdn.shop-apotheke.com/images/D10/019/621/D10019621-p1.jpg",
                "price": 3.99,
                "currency": "EUR",
                "in_stock": true,
                "object_id": "10019621",
                "base_price": {
                    "amount": 0.08,
                    "currency": "EUR",
                    "formatted": "0,08 EUR / 1 St"
                },
                "list_price": 13.99,
                "rating_count": 474,
                "variant_code": "3339743300",
                "pharmacy_only": true,
                "average_rating": 4.8,
                "discount_percent": 71
            }
        ],
        "pagination": {
            "page": 1,
            "total": 580,
            "per_page": 24,
            "total_pages": 25,
            "has_next_page": true
        }
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

Validation error

No query was sent or a filter value is not valid

{
    "meta": {
        "billable": false
    },
    "error": {
        "code": "VALIDATION_ERROR",
        "message": "The request cannot be served as sent."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.