# Klaravik Scraper (`mrdoe/klaravik-scraper`) Actor

Scrape Klaravik (Swedish heavy-machinery, truck, trailer and forestry equipment auction marketplace) by exact product URL or automatic discovery from its active-auctions sitemap: current price, category, brand and full vehicle/machine specs. No login, no key.

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

## Pricing

Pay per event

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

![Klaravik Scraper - Klaravik scraper showing current price and vehicle specs](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/klaravik-scraper--hero.png)

### What does Klaravik Scraper do?

Klaravik Scraper reads Klaravik.se product pages and returns the title, description, current price, category, brand, condition, availability, images and auction end time for each item. Give it exact product URLs, or leave them empty to automatically discover items currently up for auction from Klaravik's own sitemap.

### Why use Klaravik Scraper?

- Covers Klaravik, a major Swedish auction marketplace for trucks, machinery, trailers, forestry and construction equipment.
- Reads Klaravik's own structured product data directly, including full vehicle/machine specs packed into the description.
- Includes auction end time so you can track how much time is left on a lot.
- Works without needing to find product URLs yourself - discovers current items automatically from the live auctions sitemap.
- No account or API key.

### What makes this different

Most Swedish auction scrapers cover antiques and collectibles. This Actor covers heavy machinery, trucks and forestry equipment specifically, pulling full technical specs (engine, mileage, weight, inspection dates) straight from Klaravik's structured product data.

### Who can use the Klaravik Scraper and how?

- **Equipment dealers and resellers:** Track trucks, machinery and trailers for resale opportunities.
- **Fleet buyers:** Monitor specific vehicle categories as auctions approach their end.
- **Price researchers:** Study used heavy-equipment pricing trends by category and brand.
- **Market aggregators:** Pull Klaravik's catalog into a multi-auction-house comparison feed.

### How it works

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

1. **Your input** — add exact product URLs, or leave them empty to discover current items from the sitemap
2. **The Actor collects it** — the Actor reads each product page's own structured price and spec data directly
3. **Your output** — you get one row per item, with current price, category, brand and full specs

### What data can you extract?

The dataset has 12 fields per row:

| Field | Type | Description |
|---|---|---|
| `sku` | string | Klaravik's internal item SKU. |
| `title` | string | Item title. |
| `url` | string | Item page URL. |
| `description` | string | Full item description, including vehicle/machine specs. |
| `category` | string | Item category. |
| `brand` | string | Brand/make. |
| `imageUrls` | array | Item image URLs. |
| `priceSek` | number | Current price in SEK. |
| `currency` | string | Currency (SEK). |
| `availability` | string | Stock availability, e.g. "InStock". |
| `itemCondition` | string | Item condition, e.g. "UsedCondition". |
| `auctionEndsAt` | string | Auction end time (ISO). |

### How to use Klaravik Scraper

![Klaravik Scraper input form](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/klaravik-scraper--input.png)

1. Open the Actor and go to the **Input** tab.
2. Add one or more exact Product URLs, or leave them empty to automatically discover current auction items.
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 |
|---|---|---|---|---|
| `productUrls` | array | No | `[]` | One or more exact Klaravik.se product URLs. Leave empty to discover items currently up for auction instead. |
| `keyword` | string | No | — | Only keep discovered items whose URL contains this text (e.g. "lastbil" for trucks). Ignored when Product URLs are given. |
| `maxItems` | integer | No | `20` | Maximum number of items to return. |
| `proxyConfiguration` | object | No | `{"useApifyProxy":false}` | Klaravik's product pages work without a proxy for moderate volumes. Enable Apify Proxy for larger runs. |

### Output Data

![Klaravik Scraper dataset table](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/klaravik-scraper--output.png)

Each row is one item: title, description (with full specs), current price, category, brand, condition, availability, images and auction end time.

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

A real dataset item:

```json
{
  "sku": "1863638",
  "title": "Båttrailer Majava VT 1300 PRO 1300 kg",
  "url": "https://www.klaravik.se/auktion/produkt/1863638-battrailer-majava-vt-1300-pro-1300-kg/",
  "description": "Båttrailer Majava VT 1300 PRO 1300 kg Märke: Majava Modell: VT 1300 PRO 1300 kg Fordonsår: 2020 Chassinummer/Serienummer: YG62166LVLB210347…",
  "category": "Båttrailers & upptagningsvagnar",
  "brand": "Majava",
  "imageUrls": [
    "https://media.se.klaravik.com/public/productimages/9a/a3/1863638/extrabilder39038208_large.jpg?v=1792128687"
  ],
  "priceSek": 13500,
  "currency": "SEK",
  "availability": "InStock",
  "itemCondition": "UsedCondition",
  "auctionEndsAt": "2026-10-23T11:38:00+02:00"
}
```

### Usage Examples

#### Discover current items

```json
{
  "maxItems": 20
}
```

#### Discover trucks only

```json
{
  "maxItems": 20,
  "keyword": "lastbil"
}
```

#### Scrape an exact item

```json
{
  "productUrls": [
    {
      "url": "https://www.klaravik.se/auktion/produkt/3305998-kranbil-maskinbil-volvo-fh-med-fassi-f710/"
    }
  ]
}
```

### Tips for Best Results

- Provide exact product URLs directly when you already know which items you want.
- Re-run on a schedule to track price changes as auctions close.
- Default is 5 results for a fast test. Set the max to 0 to return everything available.

### Known Limitations

- Automatic discovery pulls from the active-auctions sitemap; closed auctions aren't covered.
- Category/browse pages on the site itself are bot-protected - use the keyword filter instead of a category URL.

### 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 Klaravik account?

No. The Actor reads Klaravik's public product pages and needs no account or key.

#### How does automatic discovery work?

It reads Klaravik's own active-auctions sitemap for currently listed items and scrapes each one.

#### Can I filter by category or vehicle type?

Yes - use the keyword filter to only keep discovered items whose URL contains that text.

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

## `productUrls` (type: `array`):

One or more exact Klaravik.se product URLs. Leave empty to discover items currently up for auction instead.

## `keyword` (type: `string`):

Only keep discovered items whose URL contains this text (e.g. "lastbil" for trucks). Ignored when Product URLs are given.

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

Maximum number of items to return.

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

Klaravik's product pages work without a proxy for moderate volumes. Enable Apify Proxy for larger runs.

## Actor input object example

```json
{
  "productUrls": [],
  "maxItems": 20,
  "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 = {
    "productUrls": [],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/klaravik-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 = {
    "productUrls": [],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/klaravik-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 '{
  "productUrls": [],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call mrdoe/klaravik-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/klaravik-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/sUAMtxlGPT7hol479/builds/V7xbiZ7hro6IlR6GZ/openapi.json
