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

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

# Clas Ohlson: Search

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

GET `/v1/clas-ohlson/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `text` | string | Required | Up to 200 characters |
| `page` | integer | Optional | Any |

## Example request

Clas Ohlson

GET /v1/clas-ohlson/search?text=lampa 

```
{
  "success": true,
  "data": {
    "items": [
      {
        "code": "36-7687",
        "name": "LED-lampor adventsljusstake E10, 10-55 V, 4-pack, Northlight",
        "description": "4 varmvita topplampor med klart, räfflat glas. Lampa till adventsljusstake eller....",
        "currentPrice": {
          "amount": 59.9,
          "currency": "SEK"
        },
        "formattedCurrentPrice": "59,90 kr",
        "comparisonPrice": {
          "amount": 14.975,
          "currency": "SEK"
        },
        "inStock": true,
        "rating": 4,
        "reviews": 2307,
        "imageUrl": "https://images.clasohlson.com/medias/sys_master/h99/hbc/68916824735774.png",
        "mainCategoryId": "2535",
        "mainCategoryName": "Reservlampor julbelysning",
        "mainCategoryPath": "/Jul/Julbelysning/Reservlampor-julbelysning/c/2535",
        "url": "https://www.clasohlson.com/se/LED-lampor-adventsljusstake-E10,-10-55-V,-4-pack,-Northlight/p/36-7687"
      },
      {
        "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-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%"
      }
    ],
    "pagination": {
      "current_page": 1,
      "per_page": 20,
      "total_items": 2454,
      "total_pages": 123,
      "has_more": true
    },
    "filters": {
      "text": "lampa",
      "page": 1
    },
    "facets": {
      "fixed": [
        {
          "header": "Pris",
          "key": "sortingPrice",
          "items": [
            "…",
            "…"
          ]
        },
        {
          "header": "Lagerstatus",
          "key": "stockStatus",
          "items": [
            "…"
          ]
        },
        {
          "key": "saleCampaignStatus"
        }
      ],
      "relevant": [
        {
          "header": "Sockel",
          "key": "lamp_base",
          "items": [
            "…",
            "…",
            "…"
          ],
          "sortedItems": [
            "…",
            "…",
            "…"
          ]
        },
        {
          "header": "Dimbar",
          "key": "dimmable",
          "items": [
            "…",
            "…"
          ]
        },
        {
          "header": "Form",
          "key": "shape",
          "items": [
            "…",
            "…",
            "…"
          ],
          "sortedItems": [
            "…",
            "…",
            "…"
          ]
        }
      ]
    },
    "currency": "SEK"
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_0aefa4bc4b3f481da279802855199331",
    "credits_charged": 1,
    "credits_remaining": 4967
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/clas-ohlson?try=search#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 |
