# Boulanger Product Details API Documentation

Scrappa's `GET /api/boulanger/product` returns one Boulanger product as JSON. Pass the `id` from search unchanged. The response adds EAN, seller, condition, a boolean stock flag, the full-size image set, a specification map and the aggregate rating and review count. Prices are EUR numbers and discount fields are computed from the source deduction. Aggregate rating and count are available here; individual review bodies are not published.
## Credits

A successful request costs **1 credit**. Public access is included. Errors, blocks and `404` answers cost nothing. The charge is shown in `meta.credits_charged`.

- **Documentation:** [https://scrappa.co/docs/boulanger-api/boulanger_product](https://scrappa.co/docs/boulanger-api/boulanger_product)
- **API group:** Boulanger API
- **Endpoint:** `GET https://scrappa.co/api/boulanger/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 | Yes | Product id from search results, used unchanged. |

## Example request

```bash
#!/bin/bash

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

## Example response

```json
{
    "success": true,
    "product": {
        "id": "1241521",
        "title": "Aspirateur balai DYSON V15 Detect Absolute",
        "brand": "DYSON",
        "ean": "5025155136201",
        "price": 499,
        "currency": "EUR",
        "original_price": 799,
        "discount_amount": 300,
        "discount_percent": 37,
        "in_stock": true,
        "condition": "neuf",
        "seller": "boulanger",
        "images": [
            "https://boulanger.scene7.com/is/image/Boulanger/5025155136201_h_f_l_0"
        ],
        "specs": {
            "brand": "DYSON",
            "Marque": "DYSON"
        },
        "rating": 4.68,
        "review_count": 421
    },
    "meta": {
        "endpoint_family": "boulanger-product",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | Boulanger has no product with that id (`not_found`). Non-billable. |
| 422 | Validation Error | A parameter is missing, unknown or unusable. Unknown filters and sort values are rejected with `unsupported_filter`, never ignored. Non-billable. |
| 503 | Upstream Unavailable | Boulanger could not be reached or answered with a block or 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)
