# Byggmakker Scraper - Norwegian DIY Prices, EAN and Stock (`studio-amba/byggmakker-scraper`) Actor

Scrape product data from byggmakker.no, the Norwegian building materials and DIY chain. Get EAN barcodes, web-shop prices in NOK, campaign prices, brands, categories and store stock for tools, building materials, garden and interior products.

- **URL**: https://apify.com/studio-amba/byggmakker-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 result scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Byggmakker Scraper

Pull product data from byggmakker.no, the Norwegian building materials and DIY chain. The actor returns one row per product with the EAN barcode, current web-shop price in NOK, campaign price when one is active, brand, category path and store stock.

Byggmakker sells tools, building materials, doors and windows, garden products, paint, interior products and workwear from several thousand brands. Every row carries the EAN, so you can match a Byggmakker listing to the same product at Maxbo, Montér, Obs Bygg or any other shop.

### How to scrape Byggmakker data

There are two ways to tell the actor which products to read.

1. Paste product pages into `productUrls`, for example `https://www.byggmakker.no/produkt/hammerbor-sds-max-7-35x400520mm/3165140565790`.
2. Leave `productUrls` empty and fill `urlKeywords`. The actor reads the shop's public product list and keeps products whose address contains one of your words, for example `bosch` or `hammerbor`.

The actor stops at `maxResults`. If you leave everything empty, it reads products from a random position in the product list, so repeated runs return different products.

Search result pages are not read. The site's robots.txt does not allow them, so the actor does not request them.

Products that are only sold in stores have no web-shop price. The actor skips them. Roughly one product in six is skipped for this reason.

### Input

| Field | Type | Description |
|---|---|---|
| `productUrls` | list of URLs | Byggmakker product pages |
| `urlKeywords` | list of words | Used when no URLs are given. Keeps products whose address contains one of the words |
| `maxResults` | number | Maximum number of rows (default 50) |
| `proxyConfiguration` | proxy | Apify Proxy by default |

### What you get back

| Field | Description |
|---|---|
| `ean` | EAN/GTIN barcode, taken from the product address |
| `productId` | Byggmakker product number |
| `name` | Product name as shown on the site |
| `brand` | Brand name |
| `price` | Current web-shop price in NOK, including 25 percent VAT |
| `originalPrice` | Price before the campaign, only when a campaign price is active |
| `discountPercent` | Percent below the original price |
| `promotionValidUntil` | End of the campaign price, when the site gives one |
| `currency` | ISO currency code (NOK) |
| `priceIncludesVat` | Always true |
| `salesUnit` | Unit the price applies to, for example Stykk or Pakke |
| `pricePerUnit` | Comparison price per sales unit |
| `category` | Most specific category |
| `categoryPath` | Categories from top level down |
| `inStock` | True when at least one store has the product in stock |
| `storesInStock` | Number of stores with the product in stock |
| `storesChecked` | Number of stores the stock figure covers |
| `unitsInStores` | Total units in stock across those stores |
| `description` | First 500 characters of the product description |
| `imageUrl` | Main product image |
| `url` | Product page address |
| `scrapedAt` | Time of the read |
| `country`, `language` | `no`, `nb` |

### Example output

```json
{
  "ean": "3165140565790",
  "productId": "42888243",
  "name": "HAMMERBOR SDS-MAX 7 35X400/520MM",
  "brand": "Bosch",
  "price": 2290,
  "originalPrice": null,
  "discountPercent": null,
  "promotionValidUntil": null,
  "currency": "NOK",
  "priceIncludesVat": true,
  "salesUnit": "Stykk",
  "pricePerUnit": 2290,
  "category": "Bor",
  "categoryPath": "Verktøy > Elektroverktøy > Tilbehør elektroverktøy > Bor",
  "inStock": true,
  "storesInStock": 2,
  "storesChecked": 12,
  "unitsInStores": 3,
  "imageUrl": "https://public.keskofiles.com/f/btt/ASSET_MISC_24384910",
  "url": "https://www.byggmakker.no/produkt/hammerbor-sds-max-7-35x400520mm/3165140565790",
  "scrapedAt": "2026-11-04T10:06:45.435Z",
  "country": "no",
  "language": "nb"
}
```

### Use cases

- Compare Byggmakker prices to other Norwegian DIY shops by EAN.
- Track the price and campaign price of a brand over time.
- Check which stores hold a product in stock.
- Build a product catalogue with barcodes, categories and images.
- Monitor how a supplier's range is listed at Byggmakker.

### Cost and speed

The actor reads prices for 50 products in one request, then one product page per priced product, about 0.7 MB each, with four requests at the same time. Twenty products take well under a minute. Pricing is per result, see the pricing box on this page. The usage cost of a run only settles after the run reports SUCCEEDED, so a cost checked during the run is too low.

### Notes and limits

- Prices are web-shop prices in NOK including VAT. Store prices can differ.
- The product list on the site has about 84,500 products. A keyword filter reads only the matching ones.
- Stock covers the stores the site lists for the product. Online delivery stock is not part of it.
- The actor reads publicly visible pages and the public price service of the shop. It does not log in and does not use cookies.
- You are responsible for how you use the data. Check Byggmakker's terms and the rules that apply to your use case.

### Frequently asked questions

#### Does it return EAN barcodes?

Yes. The `ean` field holds the barcode of each product, taken from the product address.

#### Can I search by keyword?

Yes, with `urlKeywords`. The actor filters the product list by address. It does not use the site's search page, because the site's robots.txt does not allow it.

#### Why do some products not appear?

Products without a web-shop price are only sold in stores. They have no price to return, so the actor skips them.

#### Are prices with or without VAT?

With VAT. The `priceIncludesVat` field is always true.

#### How often can I run it?

As often as you like. Daily runs on a fixed list of product pages give a clean price history.

### Related scrapers

- [Hemköp Scraper](https://apify.com/studio-amba/hemkop-scraper) for Swedish grocery prices
- [Apotekeren Scraper](https://apify.com/studio-amba/apotekeren-dk-scraper) for Danish pharmacy prices
- [Kicks Scraper](https://apify.com/studio-amba/kicks-scraper) for Nordic beauty prices
- [Sephora Scraper](https://apify.com/studio-amba/sephora-scraper) for Sephora in six countries
- [dm Scraper](https://apify.com/studio-amba/dm-scraper) for dm drugstore products

# Actor input Schema

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

Product pages from byggmakker.no, e.g. https://www.byggmakker.no/produkt/hammerbor-sds-max-7-35x400520mm/3165140565790. Each product becomes one row.

## `urlKeywords` (type: `array`):

Used when no product URLs are given. The actor reads the shop sitemap and keeps products whose address contains one of these words, e.g. bosch or hammerbor. Leave empty to read products from the sitemap.

## `maxResults` (type: `integer`):

Maximum number of rows (one row per product).

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

Proxy used for the requests. Default is Apify Proxy.

## Actor input object example

```json
{
  "urlKeywords": [
    "bosch"
  ],
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "urlKeywords": [
        "bosch"
    ],
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/byggmakker-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 = {
    "urlKeywords": ["bosch"],
    "maxResults": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/byggmakker-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 '{
  "urlKeywords": [
    "bosch"
  ],
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call studio-amba/byggmakker-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/byggmakker-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/nXsCbOgieeagU7Cfu/builds/sNTHdQIVVCbviua4Z/openapi.json
