# BCC Category Products API Documentation

GET /api/bcc/category returns the products, per-shop offers, facets and page counters of a public BCC category. Pass a category path from the sitemap. Prices are numbers in EUR with original price and discount. Sort, price, facet and page parameters are not available and return 422; page one is never relabelled.

- **Documentation:** [https://scrappa.co/docs/bcc-api/bcc_category](https://scrappa.co/docs/bcc-api/bcc_category)
- **API group:** BCC API
- **Endpoint:** `GET https://scrappa.co/api/bcc/category`

## 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 path such as televisie, from the sitemap. |
| `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/category?category=televisie"
```

## Example response

```json
{
    "success": true,
    "category": "televisie",
    "currency": "EUR",
    "products": [
        {
            "ean": "8806096361924",
            "name": "Example Television",
            "brand": "lg",
            "image": "https://bcc-images.example.com/product-images/8806096361924.jpg",
            "price": 999,
            "original_price": 1199,
            "discount_percent": 16.68,
            "rating": 4.5,
            "review_count": 86,
            "partner_count": 4,
            "category_id": "42"
        }
    ],
    "offers": [
        {
            "ean": "8806096361924",
            "shop": "Example Shop",
            "price": 999,
            "original_price": 1199,
            "discount_percent": 16.68,
            "in_stock": true,
            "updated_at": "2026-11-21T19:37:19+00:00"
        }
    ],
    "facets": {
        "filters": []
    },
    "pagination": {
        "total": 993,
        "per_page": 48,
        "current_page": 1,
        "last_page": 21
    },
    "meta": {
        "endpoint_family": "bcc-category",
        "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)
