---
title: "Clas Ohlson API: Category | Perceptlayer"
description: "Category from Clas Ohlson as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/clas-ohlson/category
---

[APIs](https://perceptlayer.com/apis) / [Clas Ohlson](https://perceptlayer.com/apis/clas-ohlson) / Category

# Clas Ohlson: Category

Category from Clas Ohlson as JSON. 1 credit per successful call.

GET `/v1/clas-ohlson/category`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `id` | string | Required | Any |
| `page` | integer | Optional | Any |
| `facets` | string | Optional | Up to 200 characters |
| `sortProperty` | string | Optional | sortingPrice, custRating, newArrivalStartDate, name\_sv |
| `sortOrder` | string | Optional | asc, desc |

## Example request

Clas Ohlson

GET /v1/clas-ohlson/category?id=2533 

```
{
  "success": true,
  "data": {
    "items": [
      {
        "code": "36-7453",
        "name": "Batteridriven ljuskälla LED",
        "description": "Trådlös LED-lampa med timer och band för upphängning. Montera den batteridrivna ....",
        "currentPrice": {
          "amount": 59.9,
          "currency": "SEK"
        },
        "oldPrice": {
          "amount": 79.9,
          "currency": "SEK"
        },
        "formattedCurrentPrice": "59,90 kr",
        "formattedOldPrice": "79,90 kr",
        "inStock": false,
        "rating": 3,
        "reviews": 1590,
        "imageUrl": "https://images.clasohlson.com/medias/sys_master/ha0/h52/68915565789214.png",
        "mainCategoryId": "2533",
        "mainCategoryName": "Adventsstjärnor & julstjärnor",
        "mainCategoryPath": "/Jul/Julbelysning/Adventsstjärnor-&-julstjärnor/c/2533",
        "url": "https://www.clasohlson.com/se/Batteridriven-ljuskalla-LED/p/36-7453",
        "percentageDiscountBandrole": "-25%"
      },
      {
        "code": "36-9922-1",
        "name": "Uppladdningsbar LED-lampa E14/E27 med fjärrkontroll",
        "description": "Trådlös ljuskälla för adventsstjärnor, fönsterlampor etc med E14-/E27-sockel. Up....",
        "currentPrice": {
          "amount": 199.9,
          "currency": "SEK"
        },
        "formattedCurrentPrice": "199,90 kr",
        "inStock": true,
        "rating": 4,
        "reviews": 28,
        "imageUrl": "https://images.clasohlson.com/medias/sys_master/h7e/h77/68915574341662.png",
        "mainCategoryId": "2533",
        "mainCategoryName": "Adventsstjärnor & julstjärnor",
        "mainCategoryPath": "/Jul/Julbelysning/Adventsstjärnor-&-julstjärnor/c/2533",
        "url": "https://www.clasohlson.com/se/Uppladdningsbar-LED-lampa-E14-E27-med-fjarrkontroll/p/36-9922-1"
      },
      {
        "code": "36-6785-1",
        "name": "Adventsstjärna 70 cm Northlight",
        "description": "Stor julstjärna med stämningsfullt hålmönster....",
        "currentPrice": {
          "amount": 89.9,
          "currency": "SEK"
        },
        "oldPrice": {
          "amount": 129.9,
          "currency": "SEK"
        },
        "formattedCurrentPrice": "89,90 kr",
        "formattedOldPrice": "129,90 kr",
        "inStock": true,
        "rating": 4,
        "reviews": 1052,
        "imageUrl": "https://images.clasohlson.com/medias/sys_master/hf8/h9c/68928254345246.png",
        "mainCategoryId": "2533",
        "mainCategoryName": "Adventsstjärnor & julstjärnor",
        "mainCategoryPath": "/Jul/Julbelysning/Adventsstjärnor-&-julstjärnor/c/2533",
        "url": "https://www.clasohlson.com/se/Adventsstjarna-70-cm-Northlight/p/36-6785-1",
        "percentageDiscountBandrole": "-31%"
      }
    ],
    "pagination": {
      "current_page": 1,
      "per_page": 20,
      "total_items": 78,
      "total_pages": 4,
      "has_more": true
    },
    "filters": {
      "id": "2533",
      "page": 1
    },
    "facets": {
      "fixed": [
        {
          "header": "Pris",
          "key": "sortingPrice",
          "items": [
            "…",
            "…"
          ]
        },
        {
          "header": "Lagerstatus",
          "key": "stockStatus",
          "items": [
            "…"
          ]
        },
        {
          "key": "saleCampaignStatus"
        }
      ],
      "relevant": [
        {
          "header": "Sockel",
          "key": "lamp_base",
          "items": [
            "…"
          ]
        },
        {
          "header": "Strömbrytare",
          "key": "on_off_switch",
          "items": [
            "…",
            "…"
          ]
        }
      ]
    },
    "currency": "SEK"
  },
  "meta": {
    "endpoint_family": "category"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/clas-ohlson?try=category#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `items` | object\[\] |
| `pagination` | object |
| `currency` | string |
