# Kieskeurig Product Search API Documentation

Scrappa's `GET /api/kieskeurig/search` endpoint lists products in a Kieskeurig category as structured JSON. Use a category slug from `GET /api/kieskeurig/categories`. Known aliases such as smartphones are mapped to the site slug. Unknown slugs return HTTP 422 with close matches. Each product carries a numeric price in EUR, an offer count, a rating, a full-size image and current shop offers. Filter by price, score and brand, and page with skip. The brand filter matches the returned category set case-insensitively; an unknown brand returns HTTP 422 `INVALID_BRAND` with the allowed brands. `sort=laagste_prijs` orders the returned set by ascending price; it does not re-fetch the full category. One request costs one credit. Failed requests are not billed.

- **Documentation:** [https://scrappa.co/docs/kieskeurig-api/kieskeurig_search](https://scrappa.co/docs/kieskeurig-api/kieskeurig_search)
- **API group:** Kieskeurig API
- **Endpoint:** `GET https://scrappa.co/api/kieskeurig/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 |
| --- | --- | --- | --- |
| `category` | string | Yes | Category slug from the categories endpoint, e.g. koelkast. Aliases such as smartphones are mapped. Unknown slugs return 422. Required. |
| `limit` | integer | No | Products per page, 1 to 48. Default: 10. |
| `skip` | integer | No | Number of products to skip. Default: 0. |
| `min_price` | number | No | Lowest price in EUR. |
| `max_price` | number | No | Highest price in EUR. |
| `score` | number | No | Minimum review score from 1 to 10. |
| `brand` | string | No | Brand name to keep from the returned category set, case-insensitive. Unknown brands return 422 with allowed brands. |
| `sort` | string | No | Use laagste_prijs for ascending prices within the returned set. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/kieskeurig/search?category=koelkast&limit=10"
```

## Example response

```json
{
    "success": true,
    "category": "koelkast",
    "limit": 10,
    "skip": 0,
    "total": 4359,
    "products": [
        {
            "id": 52156666,
            "title": "Samsung Koelkast RB37",
            "brand": "Samsung",
            "price": 699,
            "currency": "EUR",
            "offer_count": 8,
            "rating": 8.4,
            "review_count": 61,
            "offers": [
                {
                    "shop_id": 42,
                    "shop_name": "Example Shop",
                    "amount": 699,
                    "currency": "EUR",
                    "delivery_cost": 0,
                    "delivery": "ONE_DAY",
                    "availability": "ONE_DAY"
                }
            ]
        }
    ],
    "facets": {
        "price_range": {
            "min": 3,
            "max": 15899,
            "currency": "EUR"
        }
    },
    "pager": {
        "first_skip": 0,
        "skip": 0,
        "next_skip": 10,
        "last_skip": 4350
    },
    "meta": {
        "duration_ms": 490,
        "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)
