# 🏡 Funda.nl Scraper (`scraper-engine/funda-nl-scraper`) Actor

- **URL**: https://apify.com/scraper-engine/funda-nl-scraper.md
- **Developed by:** [Scraper Engine](https://apify.com/scraper-engine) (community)
- **Categories:** Real estate, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🏡 Funda.nl Listings Scraper

🚀 Scrape property listings from **Funda.nl** in bulk — addresses, prices, photos, agent info, energy labels, floor & plot area, and more — streamed live to your output table with smart proxy fallback.

Drop in one or many Funda search URLs (any `https://www.funda.nl/.../zoeken/...` page works) and the actor walks the paginated results and saves every unique listing as a clean, structured row.

### ✨ Why choose this Actor?

- ⚡ **Fast & lightweight** — runs without a headless browser, so it is fast and cheap
- 🛡️ **Smart proxy fallback** — starts with a direct connection, then escalates to **datacenter → residential** if Funda blocks the request (sticky once locked)
- 📊 **Live output table** — each listing appears in the dataset as it is collected
- 🔁 **Built-in retries** — automatic exponential backoff on transient failures
- 🧭 **Pagination handled for you** — walks `search_result=1, 2, 3, …` until the page is empty or `maxItems` is hit
- 🧱 **Deduplication** — the same listing never appears twice, even across overlapping URLs

### 🔑 Key features

- 📺 **Bulk URL input** — paste as many Funda search URLs as you need
- 🔢 **Max-items cap** to keep runs predictable
- ⏳ **Configurable jittered delay** between requests
- 🛡️ **Apify Proxy** integration (datacenter / residential / SERP / custom country)
- 🧾 **Multi-section output**: config, listings, by-URL stats, and final summary

### 📥 Input

```json
{
  "urls": [
    "https://www.funda.nl/en/zoeken/koop?selected_area=%5B%22bergen-li%22%5D"
  ],
  "maxItems": 200,
  "requestDelay": 1,
  "maxRetries": 3,
  "proxyConfiguration": { "useApifyProxy": false }
}
````

| Field | Description |
|-------|-------------|
| `urls` | 🔗 Funda search URLs (bulk) |
| `maxItems` | 📦 Maximum unique listings to collect |
| `requestDelay` | ⏸️ Base delay between requests (seconds) — jitter added automatically |
| `maxRetries` | 🔁 Retry attempts per page |
| `proxyConfiguration` | 🛡️ Apify Proxy settings for fallback tiers |

### 📤 Output

Results are pushed to the dataset in four sections, available as separate views in the **Output** tab:

| Section | Content |
|---------|---------|
| `config` | ⚙️ Run configuration snapshot |
| `listing` | 🏡 One row per unique listing |
| `byUrl` | 📊 Per-URL stats |
| `summary` | 🏁 Final summary of the run |

#### Example listing row (truncated)

```json
{
  "section": "listing",
  "_id": "8000840",
  "_index": "listings-wonen-searcher-alias-prod",
  "globalId": 8000840,
  "placement": "listing_results_normal",
  "object_type": "house",
  "construction_type": "resale",
  "offering_type": ["buy"],
  "number_of_bedrooms": 3,
  "number_of_rooms": 5,
  "floor_area": [89],
  "plot_area": [296],
  "energy_label": "E",
  "publish_date": "2026-05-13T17:00:04.0037011+02:00",
  "address": {
    "street_name": "Murseltseweg",
    "house_number": "42",
    "postal_code": "5854CX",
    "city": "Bergen (LI)",
    "country": "NL"
  },
  "price": {
    "selling_price": [315000],
    "selling_price_condition": "kosten_koper"
  },
  "agent": [
    { "name": "Hansdemakelaar", "association": "NVM", "id": 13136 }
  ],
  "object_detail_page_relative_url": "/detail/koop/bergen-li/huis-murseltseweg-42/44455203/"
}
```

### 🚀 How to use the Actor (via Apify Console)

1. Log in at <https://console.apify.com> → **Actors**
2. Open **🏡 Funda.nl Listings Scraper**
3. Paste your Funda search URLs into the **URLs** field
4. Set `maxItems` to cap the run, and leave proxy off for the fastest start
5. Click **▶️ Start**
6. Watch live logs and rows fill the **Output** tab in real time
7. Export results as JSON, CSV, XLSX, or pull via the Apify API

### 🧰 Best use cases

- 🏘️ Real-estate market research (price trends, energy labels, areas)
- 🤝 Lead generation for brokers and agents
- 🧭 Building location-specific dashboards / alerts
- 📈 Tracking the supply side of a neighbourhood over time

### ❓ Frequently asked questions

**Does it support every Funda search URL?**
Yes — any URL on `funda.nl` whose results page is rendered with the standard `__NUXT_DATA__` payload is supported (search, area filters, koop / huur, English & Dutch variants).

**How does pagination work?**
The actor walks pages via the `search_result` query parameter (1, 2, 3, …) until either there are no more listings, the total hits is reached, or `maxItems` is hit.

**What happens if Funda blocks the IP?**
The actor automatically escalates: **direct → datacenter proxy → residential proxy**. Once it locks onto residential, it stays there for the remainder of the run and retries blocked requests up to 3 times.

**Do I need to enable proxies?**
Not for typical small runs — direct usually works. Enable Apify Proxy in the input if you want to start with a specific group or country.

**Can I run multiple search URLs at once?**
Yes — pass an array. The actor deduplicates listings across URLs so overlapping areas do not double-bill.

### 🆘 Support & feedback

For issues, custom features, or commercial requests, contact us at **dev.scraperengine@gmail.com** or open an issue from the Actor's page on Apify Console.

### ⚠️ Legal & ethical notice

Only collect data from **publicly available** Funda listings. Respect Funda's Terms of Service and applicable laws (GDPR, etc.). You are responsible for ensuring your use case is compliant.

# Actor input Schema

## `urls` (type: `array`):

🎯 One or more Funda.nl search/listing URLs. Bulk input supported — paste as many search URLs as you want. Example: https://www.funda.nl/en/zoeken/koop?selected\_area=%5B%22bergen-li%22%5D

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

📦 Maximum number of unique listings to collect across all URLs. The actor stops paginating once this limit is reached.

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

🛡️ Toggle Apify Proxy on to customize fallback proxy groups or country. Leave off for default smart fallback behavior.

## Actor input object example

```json
{
  "urls": [
    "https://www.funda.nl/en/zoeken/koop?selected_area=%5B%22bergen-li%22%5D"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "urls": [
        "https://www.funda.nl/en/zoeken/koop?selected_area=%5B%22bergen-li%22%5D"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraper-engine/funda-nl-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 = {
    "urls": ["https://www.funda.nl/en/zoeken/koop?selected_area=%5B%22bergen-li%22%5D"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("scraper-engine/funda-nl-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.funda.nl/en/zoeken/koop?selected_area=%5B%22bergen-li%22%5D"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call scraper-engine/funda-nl-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scraper-engine/funda-nl-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "🏡 Funda.nl Scraper",
        "description": null,
        "version": "0.1",
        "x-build-id": "BuEOXLwwTJ8zcoUP4"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scraper-engine~funda-nl-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scraper-engine-funda-nl-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scraper-engine~funda-nl-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scraper-engine-funda-nl-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scraper-engine~funda-nl-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scraper-engine-funda-nl-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "urls"
                ],
                "properties": {
                    "urls": {
                        "title": "🔗 Funda Search URLs",
                        "type": "array",
                        "description": "🎯 One or more Funda.nl search/listing URLs. Bulk input supported — paste as many search URLs as you want. Example: https://www.funda.nl/en/zoeken/koop?selected_area=%5B%22bergen-li%22%5D",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItems": {
                        "title": "🔢 Max Listings (per run)",
                        "minimum": 1,
                        "maximum": 500000,
                        "type": "integer",
                        "description": "📦 Maximum number of unique listings to collect across all URLs. The actor stops paginating once this limit is reached.",
                        "default": 20
                    },
                    "proxyConfiguration": {
                        "title": "Apify Proxy",
                        "type": "object",
                        "description": "🛡️ Toggle Apify Proxy on to customize fallback proxy groups or country. Leave off for default smart fallback behavior."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
