# APONEO Search API Documentation

<p>Search public APONEO products by keyword or 8 digit PZN. Filter by exact category facet, price range and prescription, sort by price and page with start in steps of 10. Prices are numbers in EUR. Items carry pharmacy_only as null when the search page does not expose it. Filters are verified against returned items. One credit per successful request.</p>

- **Documentation:** [https://scrappa.co/docs/aponeo-api/aponeo_search](https://scrappa.co/docs/aponeo-api/aponeo_search)
- **API group:** APONEO API
- **Endpoint:** `GET https://scrappa.co/api/aponeo/search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `q` | string | Yes | Search keyword or 8 digit PZN. |
| `category` | string | No | Exact Category_facet path from the facets block. |
| `price_min` | string | No | Minimum price in EUR. |
| `price_max` | string | No | Maximum price in EUR. |
| `sort` | string | No | price_asc or price_desc. Other sorts are rejected. |
| `page` | string | No | Page number, default 1. |
| `prescription` | string | No | true for prescription-only products, false for OTC. |

## Example response

```json
{
    "data": {
        "page": 1,
        "items": [
            {
                "pzn": "04114918",
                "name": "Aspirin",
                "price": 4.95,
                "currency": "EUR",
                "prescription": false
            }
        ],
        "query": "aspirin",
        "start": 0,
        "total": 27,
        "facets": {
            "Category_facet": []
        },
        "has_more": true
    },
    "meta": {
        "billable": true
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A filter, sort or identifier failed validation. No credit is charged. |
| 503 | Upstream Unavailable | Public data is temporarily unavailable. No credit is charged. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
