# Kieskeurig Product Details API Documentation

Scrappa's `GET /api/kieskeurig/product` endpoint returns one Kieskeurig product by its numeric id as structured JSON, with price, full-size image, rating, specifications and current shop offers. Each offer has a numeric shop id, delivery cost and one consistent availability code. Specifications use clean names and litre units, with no raw internal keys. Offers come from the public product page when the detail record has none. Pass `path` from a search result to use one lookup instead of two. Unknown public offers and results without a positive price return HTTP 404 with code `PRODUCT_OFFERS_NOT_PUBLIC` and are not billed. Use an id from `GET /api/kieskeurig/search` or `GET /api/kieskeurig/autocomplete`, and pass `source_url` to `GET /api/kieskeurig/price-history` for a single lookup. One request costs one credit. Failed requests are not billed.

- **Documentation:** [https://scrappa.co/docs/kieskeurig-api/kieskeurig_product](https://scrappa.co/docs/kieskeurig-api/kieskeurig_product)
- **API group:** Kieskeurig API
- **Endpoint:** `GET https://scrappa.co/api/kieskeurig/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` | integer | Yes | Numeric product id from search or suggestions. Required. |
| `path` | string | No | Optional source_url from a search result, or its path part. Use it for one public-offer lookup. External hosts are rejected. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/kieskeurig/product?id=52156666&path=%2Fkoelkast%2Fproduct%2F52156666-samsung-koelkast"
```

## Example response

```json
{
    "success": true,
    "id": 52156666,
    "product": {
        "id": 52156666,
        "title": "Samsung Koelkast RB37",
        "brand": "Samsung",
        "price": 699,
        "currency": "EUR",
        "offer_count": 8,
        "rating": 8.4,
        "review_count": 61,
        "lowest_price_ever": 649,
        "highest_price_ever": 749,
        "offers": [
            {
                "shop_id": 42,
                "shop_name": "Example Shop",
                "amount": 699,
                "currency": "EUR",
                "delivery_cost": 0,
                "delivery": "ONE_DAY",
                "availability": "ONE_DAY"
            }
        ]
    },
    "meta": {
        "duration_ms": 538,
        "attempts": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | One or more query parameters failed validation. |
| 422 | Invalid Category | The category slug is not public. Use a slug from the categories endpoint. |
| 422 | Invalid Brand | The brand is not present in the returned category set. Allowed brands are listed in error.brands. Not billed. |
| 404 | No Public Offers | No public shop offers are available for this product. Not billed. |
| 404 | No Public Price History | No public dated price points are available for this product. Not billed. |
| 503 | Upstream Unavailable | Kieskeurig did not return usable public data. Please retry. |

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