# Clas Ohlson Scraper (`mrdoe/clas-ohlson-scraper`) Actor

- **URL**: https://apify.com/mrdoe/clas-ohlson-scraper.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 product returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

![Clas Ohlson Sweden Scraper - Clas Ohlson Sweden scraper showing price, discount and rating](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/clas-ohlson-scraper--hero.png)

### What does Clas Ohlson Sweden Scraper do?

Clas Ohlson Sweden Scraper reads Clas Ohlson's own on-sale, new-arrival or bestseller product feed and returns, for each product, the article code, brand, name, current price in SEK, original price when discounted, a discount flag, stock status, customer rating, review count and image URL. Choose which feed to read and it paginates automatically up to the limit you set.

### Why use Clas Ohlson Sweden Scraper?

- Covers Clas Ohlson, a major Nordic hardware/electronics chain not covered by most product-data tools.
- Three ready-made feeds - on sale, new arrivals, bestsellers - no category hunting needed.
- Returns both current and original price, with a ready-made discount flag.
- Includes customer rating and review count per product.
- No account or API key.

### What makes this different

Most hardware/electronics scrapers need a specific category URL per run. This Actor reads Clas Ohlson's own curated feeds (deals, new arrivals, bestsellers) directly, so you get the most commercially relevant products without picking categories yourself.

### Who can use the Clas Ohlson Scraper and how?

- **Deal and coupon sites:** Source currently discounted Clas Ohlson items for a Swedish audience.
- **Price trackers:** Monitor Clas Ohlson's on-sale feed for price-drop alerts.
- **Trend watchers:** Track new arrivals and bestsellers to spot what's gaining traction.
- **Market researchers:** Study pricing and discount patterns at a major Nordic retailer.

### How it works

![Clas Ohlson Sweden Scraper workflow: your input, collection, output](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/clas-ohlson-scraper--how-it-works.png)

1. **Your input** — choose a feed (on sale, new arrivals or bestsellers) and a max results count
2. **The Actor collects it** — the Actor calls Clas Ohlson's own feed API and paginates automatically
3. **Your output** — you get one row per product, with price, discount, stock and rating

### What data can you extract?

The dataset has 12 fields per row:

| Field | Type | Description |
|---|---|---|
| `code` | string | Clas Ohlson's article code. |
| `name` | string | Product name. |
| `brand` | string | Brand name. |
| `url` | string | Product page URL. |
| `priceSek` | number | Current price in SEK. |
| `oldPriceSek` | number | Original price in SEK, when discounted. |
| `onSale` | boolean | True when the product has a discounted price. |
| `inStock` | boolean | Whether the product is currently in stock. |
| `category` | string | Main category name. |
| `ratingValue` | number | Average customer rating out of 5. |
| `reviewCount` | number | Number of customer reviews. |
| `imageUrl` | string | Product image URL. |

### How to use Clas Ohlson Sweden Scraper

![Clas Ohlson Sweden Scraper input form](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/clas-ohlson-scraper--input.png)

1. Open the Actor and go to the **Input** tab.
2. Choose a Feed from the dropdown and set Max results.
3. Optionally set filters and a **Max results** limit.
4. Click **Start**. A default run finishes in under a minute.
5. Open the **Output** tab, then download the dataset or connect it to your tools.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `feed` | string | No | `"onSale"` | Which Clas Ohlson Sweden product feed to scrape. |
| `maxItems` | integer | No | `30` | Maximum number of products to return. |
| `proxyConfiguration` | object | No | `{"useApifyProxy":false}` | Clas Ohlson's listing API works without a proxy for moderate volumes. Enable Apify Proxy for larger runs. |

### Output Data

![Clas Ohlson Sweden Scraper dataset table](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/clas-ohlson-scraper--output.png)

Each row is one product: article code, brand, name, current and original price in SEK, a discount flag, stock status, rating and image URL.

![Clas Ohlson Sweden Scraper field map of one record](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/clas-ohlson-scraper--fields.png)

A real dataset item:

```json
{
  "code": "10-3-33",
  "name": "Philips OneBlade Intimate intim trimmer QP1930/22",
  "brand": "PHILIPS",
  "url": "https://www.clasohlson.com/se/Philips-OneBlade-Intimate-intim-trimmer-QP1930-22/p/10-3-33",
  "priceSek": 299,
  "oldPriceSek": 399,
  "onSale": true,
  "inStock": true,
  "category": "Rakhyvlar",
  "ratingValue": 5,
  "reviewCount": 1,
  "imageUrl": "https://www.clasohlson.com/medias/sys_master/he0/he4/68913218027550.jpg"
}
```

### Usage Examples

#### Scrape the on-sale feed

```json
{
  "feed": "onSale",
  "maxItems": 30
}
```

#### Scrape bestsellers

```json
{
  "feed": "bestseller",
  "maxItems": 50
}
```

### Tips for Best Results

- Use the On sale feed on a schedule to catch new markdowns as they appear.
- Compare oldPriceSek and priceSek over successive runs to track discount depth over time.
- Default is 5 results for a fast test. Set the max to 0 to return everything available.

### Known Limitations

- Only the three curated feeds are supported, not arbitrary category or search URLs.
- Full technical specs are on the product page itself and are not included in this listing-level data.

### Integrations

Run it from the Apify API, on a schedule, or from a webhook. Send results straight to Google Sheets, Make, Zapier, Slack or your own database with Apify's built-in integrations.

### Export Formats

Download the dataset as JSON, CSV, Excel, XML, HTML table or RSS from the **Output** tab or the API.

### Frequently Asked Questions

#### Does it need a Clas Ohlson account?

No. The Actor reads Clas Ohlson's public feed API and needs no account or key.

#### Can I target a specific category instead of a feed?

This Actor reads the three curated feeds (on sale, new arrivals, bestsellers); it doesn't target an arbitrary category URL.

#### How many products are in each feed?

It varies by feed and changes daily; the Actor paginates through as many as are available, up to your Max results.

#### Do I need an account or login?

No. The Actor reads public data and needs no account or key.

#### Am I charged for failed runs or empty results?

You are only charged for results that are actually written to the dataset.

#### Can I run it on a schedule?

Yes. Create a Task with your input and add a schedule in Apify Console. With monitor mode on, each scheduled run returns only what changed since the previous one.

### Enterprise and custom work

Need higher volumes, a custom output schema, dedicated scheduling or a no-breaking-changes commitment for a production pipeline? Open an issue on the Actor page and describe your use case. Bulk terms and custom builds are available.

### Support

Questions or a missing field? Open an issue from the **Issues** tab on this Actor's page and it will be looked at.

### Legal / Responsible Use

You are responsible for using the data in line with the source's terms and applicable law. The Actor collects publicly available data only and is not affiliated with the source.

# Actor input Schema

## `feed` (type: `string`):

Which Clas Ohlson Sweden product feed to scrape.

## `maxItems` (type: `integer`):

Maximum number of products to return.

## `proxyConfiguration` (type: `object`):

Clas Ohlson's listing API works without a proxy for moderate volumes. Enable Apify Proxy for larger runs.

## Actor input object example

```json
{
  "feed": "onSale",
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "feed": "onSale",
    "maxItems": 30,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/clas-ohlson-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "feed": "onSale",
    "maxItems": 30,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/clas-ohlson-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "feed": "onSale",
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call mrdoe/clas-ohlson-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/clas-ohlson-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/C3gHMsXKcTcSJN2Ff/builds/99JMq7i8WxkIJaVY3/openapi.json
