# BCC Product Search API Documentation

GET /api/bcc/search returns public BCC result cards for a keyword. Each item has an id, link, title, full-size image, EUR price, numeric rating and review count. Sort, price, facet and page parameters are not available and return 422; the first result page is never relabelled.

- **Documentation:** [https://scrappa.co/docs/bcc-api/bcc_search](https://scrappa.co/docs/bcc-api/bcc_search)
- **API group:** BCC API
- **Endpoint:** `GET https://scrappa.co/api/bcc/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 keyword, for example wasmachine. |
| `sort` | string | No | Not supported, returns 422. |
| `page` | integer | No | Not supported, returns 422. |
| `price` | string | No | Not supported, returns 422. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/bcc/search?q=wasmachine"
```

## Example response

```json
{
    "success": true,
    "query": "wasmachine",
    "items": [
        {
            "id": "lg-oled-evo-c5-55c56lb-2025-8806096361924",
            "title": "Example Wasmachine",
            "url": "https://www.bcc.nl/product/lg-oled-evo-c5-55c56lb-2025-8806096361924",
            "price": 339,
            "currency": "EUR",
            "rating": 4.3,
            "review_count": 86,
            "image": "https://bcc-images.example.com/product-images/8806096361924.jpg"
        }
    ],
    "item_count": 24,
    "meta": {
        "endpoint_family": "bcc-search",
        "billable": true,
        "attempts": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing, unknown or not available. No lookup is made and the request is not billed. |
| 503 | Upstream Unavailable | The public source could not be reached or changed shape. Retryable and never billed. |

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