# bonprix Product Details API Documentation

Scrappa's `GET /api/bonprix/product` returns one bonprix product as JSON. Pass `id` (an article id from search, suggestions or the sitemap) or the product `url`.

## What you get

`product` has `id`, `article_id`, `title`, `brand`, `description`, numeric `price`, `original_price`, `discount_percent`, `currency`, `availability`, `rating`, `review_count`, full-size `images`, `breadcrumbs` and `attributes`. `reviews` holds the public review set from the same page.

## Price per size

`variants[]` gives every size with `id`, `size`, `price`, `original_price`, `discount_percent`, `currency`, `available`, `availability_text` and `selected`. When the site reports no original price, the API emits none and no discount. Pass `size_id` to select one size.

When the page omits the headline offer price, `product.price` falls back to the lowest priced size variant and `availability` is derived from the variants.

## Credits

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

- **Documentation:** [https://scrappa.co/docs/bonprix-api/bonprix_product](https://scrappa.co/docs/bonprix-api/bonprix_product)
- **API group:** bonprix API
- **Endpoint:** `GET https://scrappa.co/api/bonprix/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 | Article id from other bonprix endpoints. Use this or url. |
| `url` | string | No | bonprix product link. Use this or id. |
| `size_id` | string | No | Size id from the product variants. |
| `site` | string | No | Storefront: DE (default) or AT. |

## Example request

```bash
#!/bin/bash

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

## Example response

```json
{
    "success": true,
    "product": {
        "id": "926761",
        "article_id": "926761",
        "title": "Kleid und Bolero aus reiner Baumwolle",
        "price": 17.99,
        "original_price": 24.99,
        "discount_percent": 28,
        "currency": "EUR",
        "rating": 4.67,
        "review_count": 9,
        "images": [
            "https://www.bonprix.de/image/926761/1400x1960.jpg"
        ],
        "variants": [
            {
                "id": "3610931959",
                "size": "92",
                "price": 17.99,
                "original_price": 24.99,
                "discount_percent": 28,
                "currency": "EUR",
                "available": true,
                "selected": false
            }
        ]
    },
    "reviews": [
        {
            "author": "Kundin",
            "date": "2026-10-04T00:00:00Z",
            "rating": 5,
            "title": "Sehr sch\u00f6n",
            "text": "Passt gut."
        }
    ],
    "meta": {
        "endpoint_family": "bonprix-product",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | bonprix has no record for that id or link (`not_found`). Non-billable. |
| 422 | Page Not Applied | bonprix did not apply the requested page or identifier (`upstream_rejected`). The request fails instead of returning unchecked results. Non-billable. |
| 422 | Validation Error | A query parameter is missing, unknown or unusable. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Upstream Unavailable | bonprix could not be reached in time, answered with a block or returned an unexpected page. 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)
