APIs / Marketplaces / Clas Ohlson
1 credit per call10 endpoints14 datapointsChecked working 6 Dec 2026
Clas Ohlson API
Clas Ohlson API for Swedish product search, prices, ratings, review texts, store stock and shelf locations as JSON. 1 credit per successful call.
{
"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
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | codestring | namestring | descriptionstring | currentPriceobject | formattedCurrentPricestring | comparisonPriceobject | inStockboolean | ratinginteger | reviewsinteger | imageUrlurl | mainCategoryIdstring | mainCategoryNamestring | mainCategoryPathstring | urlurl |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 36-7687 | LED-lampor adventsljusstake E10, 10-55 V, 4-pack, Northlight | 4 varmvita topplampor med klart, räfflat glas. Lampa till adventsljusstake eller.... | {2 fields} | 59,90 kr | {2 fields} | true | 4 | 2307 | https://images.clasohlson.com/medias/sys_master/h99/hbc/68916824735774.png | 2535 | Reservlampor julbelysning | /Jul/Julbelysning/Reservlampor-julbelysning/c/2535 | https://www.clasohlson.com/se/LED-lampor-adventsljusstake-E10,-10-55-V,-4-pack,-Northlight/p/36-7687 |
| 2 | 36-9922-1 | Uppladdningsbar LED-lampa E14/E27 med fjärrkontroll | Trådlös ljuskälla för adventsstjärnor, fönsterlampor etc med E14-/E27-sockel. Up.... | {2 fields} | 199,90 kr | — | true | 4 | 28 | https://images.clasohlson.com/medias/sys_master/h7e/h77/68915574341662.png | 2533 | Adventsstjärnor & julstjärnor | /Jul/Julbelysning/Adventsstjärnor-&-julstjärnor/c/2533 | https://www.clasohlson.com/se/Uppladdningsbar-LED-lampa-E14-E27-med-fjarrkontroll/p/36-9922-1 |
| 3 | 36-7453 | Batteridriven ljuskälla LED | Trådlös LED-lampa med timer och band för upphängning. Montera den batteridrivna .... | {2 fields} | 59,90 kr | — | false | 3 | 1590 | https://images.clasohlson.com/medias/sys_master/ha0/h52/68915565789214.png | 2533 | Adventsstjärnor & julstjärnor | /Jul/Julbelysning/Adventsstjärnor-&-julstjärnor/c/2533 | https://www.clasohlson.com/se/Batteridriven-ljuskalla-LED/p/36-7453 |
[
{
"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%"
}
]code,name,description,currentPrice,formattedCurrentPrice,comparisonPrice,inStock,rating,reviews,imageUrl,mainCategoryId,mainCategoryName,mainCategoryPath,url
36-7687,"LED-lampor adventsljusstake E10, 10-55 V, 4-pack, Northlight","4 varmvita topplampor med klart, räfflat glas. Lampa till adventsljusstake eller....","{""amount"":59.9,""currency"":""SEK""}","59,90 kr","{""amount"":14.975,""currency"":""SEK""}",true,4,2307,https://images.clasohlson.com/medias/sys_master/h99/hbc/68916824735774.png,2535,Reservlampor julbelysning,/Jul/Julbelysning/Reservlampor-julbelysning/c/2535,"https://www.clasohlson.com/se/LED-lampor-adventsljusstake-E10,-10-55-V,-4-pack,-Northlight/p/36-7687"
36-9922-1,Uppladdningsbar LED-lampa E14/E27 med fjärrkontroll,"Trådlös ljuskälla för adventsstjärnor, fönsterlampor etc med E14-/E27-sockel. Up....","{""amount"":199.9,""currency"":""SEK""}","199,90 kr",,true,4,28,https://images.clasohlson.com/medias/sys_master/h7e/h77/68915574341662.png,2533,Adventsstjärnor & julstjärnor,/Jul/Julbelysning/Adventsstjärnor-&-julstjärnor/c/2533,https://www.clasohlson.com/se/Uppladdningsbar-LED-lampa-E14-E27-med-fjarrkontroll/p/36-9922-1
36-7453,Batteridriven ljuskälla LED,Trådlös LED-lampa med timer och band för upphängning. Montera den batteridrivna ....,"{""amount"":59.9,""currency"":""SEK""}","59,90 kr",,false,3,1590,https://images.clasohlson.com/medias/sys_master/ha0/h52/68915565789214.png,2533,Adventsstjärnor & julstjärnor,/Jul/Julbelysning/Adventsstjärnor-&-julstjärnor/c/2533,https://www.clasohlson.com/se/Batteridriven-ljuskalla-LED/p/36-7453Recorded from our API · 3 items shown · 14 datapoints per itemGET /v1/clas-ohlson/search?text=lampa
14 datapoints
Identity
- namestring
- mainCategoryIdstring
- mainCategoryNamestring
- mainCategoryPathstring
Contact
- imageUrlurl
- urlurl
Reputation
- ratinginteger
- reviewsinteger
Price
- currentPriceobject
- formattedCurrentPricestring
- comparisonPriceobject
Other
- codestring
- descriptionstring
- inStockboolean
Playground
Run this API
curl "https://api.perceptlayer.com/v1/clas-ohlson/search?text=lampa" \
-H "X-API-Key: $API_KEY"Clas Ohlson · 10 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/clas-ohlson/category | id+4 optional | itemspaginationcurrency | 1 credit |
GET/v1/clas-ohlson/ids | none+2 optional | urlcode | 1 credit |
GET/v1/clas-ohlson/product | code+1 optional | productIdreviewKeyurlproductimagesstores | 1 credit |
GET/v1/clas-ohlson/questions | query | titlecreated_atresponses | 1 credit |
GET/v1/clas-ohlson/review-list | query+1 optional | authorscorescore_maxcreated_attextlanguage+4 more | 1 credit |
GET/v1/clas-ohlson/reviews | key | keyscoreaverage_ratingreview_countquestion_countdistribution+2 more | 1 credit |
GET/v1/clas-ohlson/search | text+1 optional | itemspaginationcurrency | 1 credit |
GET/v1/clas-ohlson/shelf | product_idstore_id | productIdstoreIdshelves | 1 credit |
GET/v1/clas-ohlson/stock | product_id | productIdquantityInStockstockLevelIndicatorinStock | 1 credit |
GET/v1/clas-ohlson/store-stock | product_idstore_ids[] | productIdstoresstore_countrequested_store_ids | 1 credit |
Overview
About the Clas Ohlson API
What you can get
The Clas Ohlson API returns Clas Ohlson Sweden product, review and stock data as JSON through 10 endpoints. Prices are in SEK.
- Search and browse:
searchtakes atext, withpage.categorytakes a categoryid, withpage,facets,sortProperty(sortingPrice, custRating, newArrivalStartDate or name_sv) andsortOrder(asc or desc).idslists product codes and URLs, withoffsetandlimit. - Products:
producttakes acode(such as36-7453), withslug. - Reviews:
reviewstakes a reviewkeyand returns the rating summary.review-listtakes thequerythatreviewsreturns, withoffset.questionstakes its questionquery. - Stock:
stocktakes aproduct_id.store-stocktakes aproduct_idandstore_ids[].shelftakes aproduct_idand astore_idand returns where the product sits in that store.
The recorded search for "lampa" returns items, each with code, name, description, currentPrice, oldPrice, inStock, rating, reviews, imageUrl, mainCategoryName, url and percentageDiscountBandrole, plus pagination and facets. It matched 2,454 products over 123 pages of 20; the first, a battery LED light, was 59.90 SEK, down from 79.90 (-25%).
How a call works
Ids chain from search to stock: GET /v1/clas-ohlson/search?text=lampa with your key in the X-API-Key header returns each product's code. product takes that code and returns the productId (such as 367453000), the reviewKey and a list of stores. Pass productId to stock, store-stock and shelf as product_id, with store ids from product. Pass reviewKey to reviews as key; it returns a review_query for review-list and a question_query for questions. Page reviews with offset or the returned next_page_query. Every successful call costs 1 credit; failed calls cost nothing.
More marketplaces APIs
Use cases
Track Clas Ohlson prices and discounts across a category
Use the Clas Ohlson API to track Clas Ohlson prices and discounts across a categoryCheck stock in specific stores, and the shelf and area to find it on
Use the Clas Ohlson API to check stock in specific stores, and the shelf and area to find it onCollect Swedish review texts with verified-buyer flags
Use the Clas Ohlson API to collect Swedish review texts with verified-buyer flagsChart a product's rating distribution from `reviews`
Use the Clas Ohlson API to chart a product's rating distribution from `reviews`FAQ
Questions
How much does the Clas Ohlson API cost?
Each successful call costs 1 credit, on every endpoint, and each page is one call. Failed calls cost nothing.
Which id goes where?
`product` takes the short `code` from search (`36-7453`). Stock endpoints take the long `productId` that `product` returns (`367453000`). `reviews` takes the `reviewKey` (`Pr367453000`), and `review-list` and `questions` take the query strings `reviews` returns.
What do the stock endpoints return?
`stock` returns `quantityInStock`, a `stockLevelIndicator` and `inStock` online; the recording showed 0 and Red. `store-stock` returns `storeStock` per store; store 26, Borås Knalleland, had 51. `shelf` returns the `shelfTypeName`, `shelfNumbers` and `areaName`.
Are review and question texts included?
Reviews come with `text`, `score`, `author`, `language` and `verified_buyer`. The recorded product had 1,594 reviews averaging 3.2. Questions come back with titles and dates, but without answer texts.
Do I need a Clas Ohlson account?
No. You call this Clas Ohlson API with your Perceptlayer key in the `X-API-Key` header, with no Clas Ohlson login.
Is this the official Clas Ohlson API?
No. Perceptlayer is an independent service and is not affiliated with Clas Ohlson. It returns Clas Ohlson data as JSON with a Perceptlayer key, so there is no Clas Ohlson developer account, app review or partner approval to get first. It only reads data: if Clas Ohlson has an official API and you need to act on your own Clas Ohlson account, such as posting, managing orders or reading private data, use that one.
Should I build a Clas Ohlson scraper instead?
You can, but a Clas Ohlson scraper is code you maintain: page changes break it, requests get blocked, and Clas Ohlson's terms govern how you collect data. The Clas Ohlson API gives you 10 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Clas Ohlson API with 100 free credits
No credit card. Failed calls are never billed.