# Boligsiden Scraper (`dadhalfdev/boligsiden-scraper`) Actor

Scrape homes for sale from boligsiden.dk. Filter by home type and place, or paste a Boligsiden URL.

- **URL**: https://apify.com/dadhalfdev/boligsiden-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 results

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

## 🏠 Boligsiden Scraper

Want [Boligsiden](https://www.boligsiden.dk/tilsalg) homes in a spreadsheet? This scraper makes it easy.

Use **filters** — better for AI agents — **or** paste a link. An `input_url` or `start_urls` overrides the filters. If you set both, both are used.

Boligsiden lists Danish homes for sale, for rent, and sold, with price, type, size, rooms, and the estate agent. This actor returns up to 2000 rows per run.

### 💡 Perfect for...

- **Buyers:** Export flats and houses with prices and size.
- **Agents:** Watch new listings by home type, place, and status.
- **Data analysts:** Compare Danish asking prices, rents, and sold prices.
- **🤖 AI Agents:** Power Claude, Cursor, Codex, the Hermes Agent, and OpenClaw workflows with live results.

### ✨ Why you'll love this scraper

- 🔗 **Links or filters:** Paste Boligsiden search or listing links, or type the same filters as the site. Links win when set.
- 🎯 **Website-matched filters:** Status, home type, place, price, size, and rooms.
- 🌐 **Listing rows:** Address split into street, postal code, and city, plus price, type, size, rooms, and agent.

### 📦 What's inside the data?

`id`, `url`, `address`, `street`, `postal_code`, `city`, `property_type`, `price`, `currency`, `price_per_m2`, `area_m2`, `rooms`, `monthly_cost`, `year_built`, `agent`, `days_on_market`, `days_on_market_total`, `label`, `image`

Turn on `include_details` for `description` and `images`. A single listing link includes them too.

### 🚀 Quick start

**Option A:** paste `https://www.boligsiden.dk/tilsalg/ejerlejlighed`.
**Option B:** set property status to For sale, home type to Apartment, and a place such as København.

**Input example (filters):**

```
{
  "property_status": "For sale",
  "property_type": "Apartment",
  "location": "København",
  "area_min": 50,
  "max_results": 100
}
```

**Input example (links):**

```
{
  "input_url": "https://www.boligsiden.dk/tilsalg/ejerlejlighed",
  "max_results": 100
}
```

**Output example:**

```
{
  "id": "b571d9ba-f814-47dd-b392-930865df0758",
  "url": "https://www.boligsiden.dk/adresse/c.f.-richs-vej-96-3-th-2000-frederiksberg?udbud=b571d9ba-f814-47dd-b392-930865df0758",
  "address": "C.F. Richs Vej 96, 3. th., 2000 Frederiksberg",
  "street": "C.F. Richs Vej 96, 3. th.",
  "postal_code": 2000,
  "city": "Frederiksberg",
  "property_type": "Ejerlejlighed",
  "price": 3995000,
  "currency": "DKK",
  "price_per_m2": 64435,
  "area_m2": 62,
  "rooms": 2,
  "monthly_cost": 3806,
  "year_built": 2000,
  "agent": "LokalBolig Frederiksberg og VesterbroApS",
  "days_on_market": 0,
  "days_on_market_total": 0,
  "label": "Nyhed",
  "image": "https://images.boligsiden.dk/images/case/b571d9ba-f814-47dd-b392-930865df0758/600x400/991e208d-1e2a-4543-b07b-95069cdb4efa.webp",
  "description": "Velindrettet 2 værelses med vestvendt altan.",
  "images": [
    "https://images.boligsiden.dk/images/case/b571d9ba-f814-47dd-b392-930865df0758/1440x960/991e208d-1e2a-4543-b07b-95069cdb4efa.webp"
  ]
}
```

`description` and `images` are filled when `include_details` is on, or when you paste one listing link.

**Output fields:**

| Field | Description |
|-------|-------------|
| `id` | Listing id. |
| `url` | Public address page. |
| `address` | Full address. |
| `street` | Street, number, floor, and door. |
| `postal_code` | Postal code. |
| `city` | City or postal district. |
| `property_type` | Home type, such as Ejerlejlighed or Villa. |
| `price` | Asking price in kroner. For rentals, the monthly rent. For sold homes, the sale price. |
| `currency` | DKK. |
| `price_per_m2` | Price per square metre. |
| `area_m2` | Living area in square metres. |
| `rooms` | Rooms. |
| `monthly_cost` | Monthly cost in kroner when the listing shows one. For rentals, the monthly rent. |
| `year_built` | Year built. |
| `agent` | Estate agent. |
| `days_on_market` | Days on the market in the current spell. |
| `days_on_market_total` | Total days on the market. |
| `label` | Badge such as Nyhed when the card shows one. |
| `image` | Primary photo. |
| `description` | Listing text. Included with `include_details`, or from a listing link. |
| `images` | Photo gallery. Included with `include_details`, or from a listing link. |

### 📋 Input reference

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Boligsiden search or listing link. Overrides the filters. Combined with `start_urls` when both are set. |
| `start_urls` | array | No | — | Boligsiden search or listing links. Overrides the filters. |
| `property_status` | string | No | `For sale` | For sale, For rent, Sold, Til salg, Leje, or Solgt. |
| `property_type` | string | No | — | Villa, Ejerlejlighed, Rækkehus, Fritidsbolig, Andelsbolig, Landejendom, Helårsgrund, Villalejlighed, Fritidsgrund, or Husbåd. Apartment, house, and townhouse work too. |
| `location` | string | No | — | Municipality, city, area, or postal code, such as København or 8000. |
| `price_min` | integer | No | — | Lowest price in kroner. |
| `price_max` | integer | No | — | Highest price in kroner. |
| `area_min` | integer | No | — | Smallest living area in square metres. |
| `area_max` | integer | No | — | Largest living area in square metres. |
| `rooms_min` | integer | No | — | Minimum number of rooms. |
| `include_details` | boolean | No | `false` | Open each home for the description and photo gallery. |
| `max_results` | integer | No | `50` | How many rows to return (1–2000). |

### 🔧 Custom scrapers and agents

If you need a custom web scraper, or custom AI agents and workflows, contact me through [tuik.ai](https://www.tuik.ai). We help businesses cut costs and time by up to 10x.

# Actor input Schema

## `input_url` (type: `string`):

A Boligsiden search or listing link. Overrides the filters. If you also set start URLs, both are used.

## `start_urls` (type: `array`):

Boligsiden search or listing links. Overrides the filters. Combined with Input URL when both are set.

## `property_status` (type: `string`):

For sale, For rent, or Sold. Danish labels work too: Til salg, Leje, and Solgt.

## `property_type` (type: `string`):

Villa, Ejerlejlighed, Rækkehus, Fritidsbolig, Andelsbolig, Landejendom, Helårsgrund, Villalejlighed, Fritidsgrund, or Husbåd. Apartment, house, and townhouse work too.

## `location` (type: `string`):

A municipality, city, area, or postal code, such as København, Aarhus, or 8000.

## `price_min` (type: `integer`):

Lowest price in kroner. For rentals this is the monthly rent.

## `price_max` (type: `integer`):

Highest price in kroner. For rentals this is the monthly rent.

## `area_min` (type: `integer`):

Smallest living area in square metres.

## `area_max` (type: `integer`):

Largest living area in square metres.

## `rooms_min` (type: `integer`):

Minimum number of rooms.

## `include_details` (type: `boolean`):

Open each home to collect the description and photo gallery. Leave this off for a fast search. A single listing link includes them anyway.

## `max_results` (type: `integer`):

How many rows to return (1-2000).

## Actor input object example

```json
{
  "property_status": "For sale",
  "include_details": false,
  "max_results": 50
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of scraped homes.

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

All scraped homes from the default dataset.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/boligsiden-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/boligsiden-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 '{}' |
apify call dadhalfdev/boligsiden-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dadhalfdev/boligsiden-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/5FvePqpyE7ZfqcQ9m/builds/U3RFhC3haF8HTAWRW/openapi.json
