# Clas Ohlson Category API Documentation

<p><strong>Clas Ohlson Category API Documentation</strong> Browse a public Clas Ohlson Sweden category by numeric id with facets, sort and page. Returns the same rich product cards as search plus fixed and relevant facets. One request costs 1 credit. Empty and failed requests are not billed. Not affiliated with Clas Ohlson.</p>

- **Documentation:** [https://scrappa.co/docs/clasohlson-api/clasohlson_category](https://scrappa.co/docs/clasohlson-api/clasohlson_category)
- **API group:** Clas Ohlson API
- **Endpoint:** `GET https://scrappa.co/api/clasohlson/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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Numeric category id from a category link. |
| `page` | integer | No | 1-based page. |
| `facets` | string | No | Facet filter such as [brand=NORTHLIGHT]. |
| `sortProperty` | string | No | sortingPrice, custRating, newArrivalStartDate or name_sv. |
| `sortOrder` | string | No | asc or desc. |

## Example response

```json
{
    "data": {
        "items": [
            {
                "code": "36-6382",
                "currentPrice": {
                    "amount": 599,
                    "currency": "SEK"
                }
            }
        ],
        "facets": {
            "fixed": [],
            "relevant": []
        },
        "currency": "SEK"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "category"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. Not billable. |

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