# Breuninger Product Details API Documentation

`GET /api/breuninger/product` returns one product as JSON. A public product link or a ten-digit `id` from search or ids uses one lookup each and bills one credit. The direct product path for an id is live verified; no slug is invented. `variant` selects one 32-character colour id.

## What you get

`product` holds `id`, `variant`, `title`, `brand`, `price`, `original_price`, `discount_percent`, `currency`, `availability`, `online_available`, `is_from_price`, `delivery` with shipping and delivery time, per-size `sizes`, `specs` and full-size `images`.

## Prices and absence

Prices are numbers in EUR. `original_price` is the struck price and `discount_percent` the saving; `Bestpreis` is the 30-day EU reference and is never used as a discount. A `variant` whose size data is missing returns a structured failure and costs nothing. Rating and on-site review count are absent platform-wide and are not returned as zero.

## Credits

A successful request costs **1 credit**. Errors, challenges and `404` answers cost nothing. The response shows the charge in `meta.credits_charged`.

- **Documentation:** [https://scrappa.co/docs/breuninger-api/breuninger_product](https://scrappa.co/docs/breuninger-api/breuninger_product)
- **API group:** Breuninger API
- **Endpoint:** `GET https://scrappa.co/api/breuninger/product`

## 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 |
| --- | --- | --- | --- |
| `id` | string | No | Ten-digit id from search or ids. Use this or url. |
| `url` | string | No | Public product link. Use this or id. |
| `variant` | string | No | Optional 32-character colour id from a search tile. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/breuninger/product?id=1003244478"
```

## Example response

```json
{
    "success": true,
    "product": {
        "id": "1003244478",
        "variant": "471cb8b9a5504e44b666ae9fc9b0fae9",
        "title": "Cocktailkleid",
        "brand": "Riani",
        "price": 109.99,
        "original_price": 139.99,
        "discount_percent": 21,
        "currency": "EUR",
        "availability": "https://schema.org/InStock",
        "online_available": true,
        "is_from_price": false,
        "delivery": {
            "shipping": [],
            "shipping_cost": 4.95,
            "delivery_time": "2-4 Tage"
        },
        "sizes": [
            {
                "name": "34",
                "article_number": null,
                "in_stock": true,
                "partner_article": false
            }
        ],
        "specs": [],
        "images": [
            "https://cms.brnstc.de/product_images/1122x1536_retina/example.jpg"
        ]
    },
    "meta": {
        "endpoint_family": "breuninger-product",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | Breuninger has no product with that id or link (`not_found`). Non-billable. |
| 422 | Validation Error | A query parameter is missing, unknown, conflicting or unusable. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Upstream Unavailable | Breuninger could not be reached, answered with a challenge, or changed its page shape (`upstream_blocked`, `upstream_unavailable`, `parser_drift`). Retryable and never billed. Clients are never rate limited. |

## 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)
