# Vanden Borre Product Search API Documentation

`GET /api/vandenborre/vandenborre.search` returns public Vanden Borre data for NL and FR as JSON. Prices are numbers in EUR with Recupel and transport shown separately. Ids and the product_page_url come from search and are accepted unchanged by detail and reviews. Images are full-size URLs. Ratings and review counts are numbers and review dates are ISO 8601. Requested filters are honoured and a later page never returns page one. `product` accepts the `url` from search for enriched detail with specs and ratings; an `id` returns the public index record. `reviews` returns an empty list when the storefront publishes no review fragment for that id.

## Credits

A successful request costs **1 credit**. Errors, challenges and empty results cost nothing. The response shows the charge in `meta.credits_charged`. Clients are never rate limited.

- **Documentation:** [https://scrappa.co/docs/vandenborre-api/vandenborre_search](https://scrappa.co/docs/vandenborre-api/vandenborre_search)
- **API group:** Vanden Borre API
- **Endpoint:** `GET https://scrappa.co/api/vandenborre/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 |
| --- | --- | --- | --- |
| `q` | string | Yes | Search term, for example iphone. |
| `site` | string | No | nl (default) or fr. |
| `page` | integer | No | Zero-based result page. |
| `hits_per_page` | integer | No | Results per page, 1 to 100. |
| `category` | string | No | Category value from the facets of an earlier search. |
| `brand` | string | No | Brand facet value, for example APPLE. |
| `min_price` | number | No | Minimum price in EUR. |
| `max_price` | number | No | Maximum price in EUR. |
| `sort` | string | No | popular, price_asc or price_desc. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/vandenborre/search?q=iphone&site=nl"
```

## Example response

```json
{
    "success": true,
    "currency": "EUR",
    "site": "nl",
    "products": [
        {
            "id": "7592760",
            "name": "Example",
            "price": {
                "current": 1449,
                "currency": "EUR"
            }
        }
    ],
    "nbHits": 0,
    "meta": {
        "endpoint_family": "vandenborre-search",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | No record exists for that id (`not_found`). Non-billable. |
| 422 | Validation Error | A parameter is missing, unknown, conflicting or not published by the storefront. Non-billable. |
| 503 | Upstream Unavailable | The source could not be reached, answered with a challenge, or changed its shape. 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)
