# Aponeo — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search for medications and health products from Aponeo.de, view detailed pricing and availability, browse by category, and discover current deals and promotions. Find specific products by PZN code, check bestsellers, or explore newly added items to compare prices and stock status.

**Category:** Healthcare | **Website:** [aponeo.de/](https://aponeo.de/) | **Docs:** [parse.bot/marketplace/e5c3df2f-54de-4eca-943f-ba1e36e8ac8d/aponeo-de-api](https://parse.bot/marketplace/e5c3df2f-54de-4eca-943f-ba1e36e8ac8d/aponeo-de-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-aponeo-de-api-e5c3df2f/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_apo_cash_deals

Get products with APO Cash bonus deals. Products are parsed from HTML and include name, PZN, URL, price, and discount percentage.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aponeo-de-api-e5c3df2f/get_apo_cash_deals \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_category_products

Browse products within a specific category with pagination. Products are parsed from the page HTML and include name, PZN, URL, price, and discount information. Categories correspond to top-level URL paths on the site.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | Yes | Category path as it appears in the site URL (e.g., 'arzneimittel', 'sport-fitness', 'koerperpflege-kosmetik') |
| `page` | integer | No | Page number for pagination |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aponeo-de-api-e5c3df2f/get_category_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","page":"<integer>"}'
```

### get_deals

Get current discounted products (Schnäppchen) from the promotions page. Returns a flat list of products with pricing and brand information from the site's dataLayer.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aponeo-de-api-e5c3df2f/get_deals \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_new_products

Fetch newly listed products from the Neuheiten page. Returns products with pricing information from the site's dataLayer.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aponeo-de-api-e5c3df2f/get_new_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_product_by_pzn

Direct lookup for a product by PZN. Searches for the PZN and returns the product page data including JSON-LD, descriptions, attributes, and availability. Functionally equivalent to get_product_detail without a slug — always searches by PZN.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `pzn` | string | Yes | The PZN of the product to lookup (e.g., '03464237') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aponeo-de-api-e5c3df2f/get_product_by_pzn \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pzn":"<string>"}'
```

### get_product_detail

Fetch full details for a product by PZN and optional slug. Returns JSON-LD structured data (including offers, ratings, reviews), text descriptions, product attributes, and availability status. When slug is provided, navigates directly to the product page URL; otherwise searches by PZN to find the product page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `pzn` | string | Yes | The unique pharmacy number (PZN) of the product (e.g., '03464237') |
| `slug` | string | No | The product URL slug (e.g., 'aspirin-plus-c-brausetabletten'). When provided, constructs the direct URL /{pzn}-{slug}.html for faster lookup. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aponeo-de-api-e5c3df2f/get_product_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pzn":"<string>","slug":"<string>"}'
```

### get_topseller_products

Fetch top-selling products from the Topseller page. Returns the current bestseller list with pricing from the site's dataLayer.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aponeo-de-api-e5c3df2f/get_topseller_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_products

Full-text search over Aponeo's product catalog. Returns products from the site's dataLayer including name, PZN, pricing, brand, and manufacturer. Paginated by page number; total_results indicates the full result count. Each product carries a PZN suitable for fetching full detail via get_product_detail.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination |
| `query` | string | Yes | Search keyword (e.g., 'aspirin', 'ibuprofen', 'vitamin d') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aponeo-de-api-e5c3df2f/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```
