# Shop Apotheke Scraper API: Preise, PZN und Verfügbarkeit (`scraperseurope/shop-apotheke-germany`) Actor

Extrahieren Sie Shop-Apotheke-Produktdaten für Deutschland: EUR-Preise, PZN, EAN, Marken, Hersteller, Packungsgrößen, Bewertungen und veröffentlichte Verfügbarkeit. Paginierte Suche, API und JSON-, CSV- oder Excel-Export.

- **URL**: https://apify.com/scraperseurope/shop-apotheke-germany.md
- **Developed by:** [Scrapers Europe](https://apify.com/scraperseurope) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 product delivereds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Shop Apotheke Deutschland Scraper und API

Vergleichen Sie das oeffentliche deutsche Shop-Apotheke-Sortiment: Produktpreise in EUR, PZN, EAN, Marken, Hersteller, Packungsgroessen, Bewertungen und veroeffentlichte Verfuegbarkeit. Ergebnisse als JSON, CSV oder Excel exportieren oder ueber die Apify-API abrufen.

```json
{"term":"vitamin","maxItems":3}
```

`searchTerms` ersetzt `term` fuer mehrere Begriffe. `maxItems` gilt gemeinsam, `maxPages` pro Suche. Ohne diese Werte gibt es keine feste kuenstliche Ergebnis- oder Seitengrenze. Standard-Zeitbudget: 240 Sekunden, anpassbar bis 7200. Die echte Suchfenstergrenze der Quelle wird aus deren Suchantwort ermittelt und als `source_pagination_limit` ausgewiesen, nicht als vollstaendig erschoepftes Sortiment. Engere Suchbegriffe koennen andere Ergebnisse innerhalb dieses Fensters erschliessen.

Ausgabe: `product_id`, `title`, `source_url`, `price`, `currency`, `pzn`, `ean`, `brand`, `manufacturer`, `pack_size`, `unit`, `pharma_form`, `unit_price_text`, `list_price`, `available`, `availability_text`, `availability_code`, `has_variants`, `image_url`, `rating` und `review_count`, ergaenzt um Land, Suchbegriff, Seite und Abrufzeit. Produktpreise werden mit den formatierten EUR-Preisen und der Cent-Darstellung der Quelle abgeglichen. Referenzpreise sind keine unabhaengig bestaetigte Preishistorie. Nicht jedes Marketplace-Produkt besitzt eine PZN oder EAN. Varianten werden nicht als vollstaendig einzeln erfasste SKUs behauptet. Gutscheine, Versand und persoenliche Angebote werden nicht erfunden.

Fortlaufende Lieferung, gemeinsame Deduplizierung und automatische Zugriffs-/Proxy-Verwaltung ohne Kundencookies. Echte leere Suchen ergeben `no_results`, Sperren nicht. Fruehere Ergebnisse bleiben bei spaeteren Fehlern erhalten; `RUN_SUMMARY` und `DIAGNOSTICS` dokumentieren Unterbrechungen. Keine Kunden-/Patientendaten und keine medizinischen Empfehlungen.

USD 0.004 pro echtem, einzigartigem geliefertem Produkt plus Plattformverbrauch auf Kosten des Nutzers. Fehler, Duplikate und Zusammenfassungen sind nicht kostenpflichtig. Privater Kandidat: kommerzielles Pricing wird erst bei ausdruecklich erlaubter Veroeffentlichung aktiviert und kontrolliert. Unabhaengiges Werkzeug ohne Verbindung zu Shop Apotheke; keine Garantie auf Vollstaendigkeit oder Lieferbarkeit. Quellbedingungen und geltendes Recht beachten.

# Actor input Schema

## `term` (type: `string`):

Produkt, Marke oder PZN für die deutsche Shop-Apotheke-Suche.

## `searchTerms` (type: `array`):

Ersetzt den Einzelbegriff; doppelte Produkte werden nur einmal geliefert und berechnet.

## `maxItems` (type: `integer`):

Ohne Wert keine feste Ergebnisgrenze; gilt für alle Suchen zusammen.

## `maxPages` (type: `integer`):

Ohne Wert bis zum Ende der Quelle oder des Zeit- und Ausgabenbudgets.

## `maxRuntimeSecs` (type: `integer`):

Frühere Ergebnisse bleiben bei Fehlern auf späteren Seiten erhalten.

## `requestTimeoutSecs` (type: `integer`):

Maximale Wartezeit auf eine Quellanfrage.

## Actor input object example

```json
{
  "term": "vitamin",
  "maxRuntimeSecs": 240,
  "requestTimeoutSecs": 30
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `diagnostics` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "term": "vitamin"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraperseurope/shop-apotheke-germany").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "term": "vitamin" }

# Run the Actor and wait for it to finish
run = client.actor("scraperseurope/shop-apotheke-germany").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "term": "vitamin"
}' |
apify call scraperseurope/shop-apotheke-germany --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scraperseurope/shop-apotheke-germany"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/nW7qJhy3wHMWJQxgm/builds/KvHOYsyFA1HEEevAE/openapi.json
