# Biltema Scraper (`mrdoe/biltema-scraper`) Actor

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

## Pricing

from $2.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

![Biltema Scraper - Biltema scraper showing price, stock status and discount for automotive and tool products](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/biltema-scraper--hero.png)

### What does Biltema Scraper do?

Biltema Scraper reads any Biltema.se leaf category page and returns, for each product, the article number, name, current price in SEK, previous price when discounted, a discount flag, stock status and quantity, whether it's a new product, and an image URL. Give it one or more category URLs and it returns the products in that category up to the limit you set.

### Why use Biltema Scraper?

- Covers Biltema, a major Nordic automotive, tools and hardware chain not covered by most product-data tools.
- Returns both current and previous price, with a ready-made discount flag.
- Stock quantity included per product, not just an in-stock flag.
- Works on any leaf category URL across Biltema's full catalog.
- No account or API key.

### What makes this different

Most hardware/automotive scrapers focus on US/UK chains. This Actor reads Biltema's own category listing API directly, returning clean structured pricing and stock data for the Swedish market specifically.

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

- **Price trackers:** Monitor Biltema prices and discounts across categories over time.
- **DIY buyers and contractors:** Compare tool and hardware prices before a purchase.
- **Market researchers:** Study pricing patterns in the Swedish automotive and hardware market.
- **Deal and comparison sites:** Source current Biltema pricing for a Swedish audience.

### How it works

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

1. **Your input** — add one or more Biltema.se leaf category URLs, plus a max results count
2. **The Actor collects it** — the Actor resolves each category's internal ID and calls Biltema's own listing API
3. **Your output** — you get one row per product, with price, discount and stock status

### What data can you extract?

The dataset has 11 fields per row:

| Field | Type | Description |
|---|---|---|
| `id` | string | Biltema's internal product ID. |
| `articleNumber` | string | Article number as shown in-store. |
| `name` | string | Product name. |
| `url` | string | Product page URL. |
| `priceSek` | number | Current price in SEK. |
| `previousPriceSek` | number | Previous price in SEK, when the product is discounted. |
| `onSale` | boolean | True when the product has a reduced price. |
| `inStock` | boolean | Whether the product is currently open for sale. |
| `stockQuantity` | number | Reported stock quantity. |
| `isNew` | boolean | Whether Biltema flags this as a new product. |
| `imageUrl` | string | Product image URL. |

### How to use Biltema Scraper

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

1. Open the Actor and go to the **Input** tab.
2. Add one or more leaf category URLs under Start URLs (e.g. a specific tool or part category page).
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 |
|---|---|---|---|---|
| `startUrls` | array | No | `[{"url":"https://www.biltema.se/verktyg/handverktyg/hammare/"}]` | One or more Biltema.se leaf category URLs, e.g. https://www.biltema.se/verktyg/handverktyg/hammare/. |
| `maxItems` | integer | No | `30` | Maximum number of products to return, per category URL. |
| `proxyConfiguration` | object | No | `{"useApifyProxy":false}` | Biltema's category and listing pages work without a proxy for moderate volumes. Enable Apify Proxy for larger runs. |

### Output Data

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

Each row is one product: article number, name, current and previous price in SEK, a discount flag, stock status and image URL.

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

A real dataset item:

```json
{
  "id": "2000057345",
  "articleNumber": "81-519",
  "name": "Gummiklubba",
  "url": "https://www.biltema.se/verktyg/handverktyg/hammare/gummiklubba-2000057345",
  "priceSek": 69.9,
  "previousPriceSek": null,
  "onSale": false,
  "inStock": true,
  "stockQuantity": 0,
  "isNew": false,
  "imageUrl": "https://productimages.biltema.com/v1/image/product/medium/2000057345/1"
}
```

### Usage Examples

#### Scrape a category

```json
{
  "startUrls": [
    {
      "url": "https://www.biltema.se/verktyg/handverktyg/hammare/"
    }
  ],
  "maxItems": 30
}
```

#### Scrape multiple categories

```json
{
  "startUrls": [
    {
      "url": "https://www.biltema.se/verktyg/handverktyg/hammare/"
    },
    {
      "url": "https://www.biltema.se/verktyg/handverktyg/bits/"
    }
  ],
  "maxItems": 20
}
```

### Tips for Best Results

- Make sure the category URL is a leaf category (one that lists actual products) rather than a top-level department page.
- Re-run on a schedule and compare priceSek over time to catch price changes.
- Default is 5 results for a fast test. Set the max to 0 to return everything available.

### Known Limitations

- Only category listing pages are supported, not free-text search.
- Technical specs and store-pickup availability 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 Biltema account?

No. The Actor reads Biltema's public category listing API and needs no account or key.

#### Does this work for car parts too?

Yes - any Biltema.se leaf category URL works, including automotive parts, not only tools.

#### What's a leaf category URL?

The deepest-level category page that actually lists products, e.g. /verktyg/handverktyg/hammare/ rather than the top-level /verktyg/ department page.

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

## `startUrls` (type: `array`):

One or more Biltema.se leaf category URLs, e.g. https://www.biltema.se/verktyg/handverktyg/hammare/.

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

Maximum number of products to return, per category URL.

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

Biltema's category and listing pages work without a proxy for moderate volumes. Enable Apify Proxy for larger runs.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.biltema.se/verktyg/handverktyg/hammare/"
    }
  ],
  "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 = {
    "startUrls": [
        {
            "url": "https://www.biltema.se/verktyg/handverktyg/hammare/"
        }
    ],
    "maxItems": 30,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/biltema-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 = {
    "startUrls": [{ "url": "https://www.biltema.se/verktyg/handverktyg/hammare/" }],
    "maxItems": 30,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/biltema-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 '{
  "startUrls": [
    {
      "url": "https://www.biltema.se/verktyg/handverktyg/hammare/"
    }
  ],
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call mrdoe/biltema-scraper --silent --output-dataset

```

## MCP server setup

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