# NL Wealth Barometer (Municipalities & Districts, CBS) (`researchdata/nl-wealth-barometer`) Actor

- **URL**: https://apify.com/researchdata/nl-wealth-barometer.md
- **Developed by:** [Research Analyst](https://apify.com/researchdata) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 region scoreds

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

## NL Wealth Barometer (Municipalities & Districts, CBS)

One transparent prosperity index per Dutch municipality, district (wijk) and neighbourhood (buurt) from Statistics Netherlands (CBS): income per inhabitant, poverty, average WOZ home value and high-income share, plus labour participation as a context column. Open data, no API key, documented method.

> **Beta:** the upstream API response format is parsed defensively. Please open an issue with an example if a field comes back empty.

### Why use it

- Site selection and market sizing for retail, services and field sales in the Netherlands
- Real-estate and investment screening by municipality or district
- Data journalism and research: one clean regional table instead of several StatLine downloads
- AI agents: one structured call for 'how wealthy is this part of the Netherlands?'

No API keys, no scraping of HTML – the actor talks to the official public API, handles paging,
rate limits and retries, and returns flat JSON you can export as CSV/Excel or call from code,
Make, Zapier, n8n or AI agents (Apify MCP server).

### Input

| Field | Title | Description |
|---|---|---|
| `level` | Level | 'municipality' = all ~340 municipalities; 'district' = ~3,400 wijken; 'neighbourhood' = ~14,600 buurten (income is suppressed for most of them, see limits). |
| `regions` | Regions | Optional filter: part of a region or municipality name (e.g. Utrecht) or a CBS code prefix (e.g. GM0344, WK0344). |
| `indexIncludesHomeValue` | Include WOZ home value in the index | On (default): the average WOZ value of homes is a component (weight 20 %, higher = wealthier). Off: the index uses income, poverty and the high-income share only. |
| `maxResults` | Max rows | Upper limit of returned rows (cost control). |

Example input:

```json
{
  "level": "municipality",
  "regions": [
    "Utrecht"
  ],
  "indexIncludesHomeValue": true,
  "maxResults": 500
}
```

### Output (one dataset item per result)

```json
{
  "level": "municipality",
  "key": "GM0363",
  "name": "Amsterdam",
  "municipality": "Amsterdam",
  "dataYear": "2025",
  "population": 934526,
  "populationDensityPerKm2": 4968,
  "avgHomeValueWozEur": 518000,
  "avgHomeValueWozEurYear": "2025",
  "avgIncomePerInhabitantEur": 41000,
  "avgIncomePerInhabitantEurYear": "2024",
  "avgIncomePerEarnerEur": 49300,
  "povertyPct": 6.7,
  "povertyPctYear": "2024",
  "highestIncome20Pct": 25.7,
  "lowestIncome40Pct": 39.4,
  "netLabourParticipationPct": 71,
  "wealthIndex": 70.4,
  "wealthTier": "high",
  "indexBasis": "income+poverty+homeValue+highIncome",
  "indexRank": 84
}
```

#### Status values

`wealthIndex` = weighted mean of percentile ranks (0-100, higher = wealthier): average income per inhabitant 40 %, persons in poverty 25 % (inverted), average WOZ value of homes 20 % (optional, on by default) and share of the 20 % highest incomes 15 %. `netLabourParticipationPct` is delivered but not scored, because it penalises affluent places with many retirees (e.g. Laren). Components a region lacks are left out and the weights renormalised; at least two are required, otherwise `wealthIndex` is null. `indexBasis` lists the components used. `wealthTier`: very high ≥ 80, high ≥ 60, medium ≥ 40, low ≥ 20, very low. Percentiles are computed against all regions of the chosen level, not against your filter. Each indicator column has a `...Year` column: the newest CBS table that publishes the value is used (WOZ values of 2025 are available now, income/poverty/labour of 2025 are not yet, so 2024 is used). Incomes and WOZ values are in euro (CBS publishes them in thousands of euro).

### Use with AI agents (Apify MCP server)

Add the Apify MCP server (`https://mcp.apify.com`) to Claude, Cursor or any MCP client and enable this actor
(`researchdata/nl-wealth-barometer`). The agent can then call it directly: describe what you need, the agent fills the input
fields above, runs the actor and reads the dataset. Because results are flat JSON with explicit nulls, an agent can
use them without extra parsing. Set a maximum cost per run to keep agent calls capped.

### Pricing

Pay per event: **$0.003 per `region-scored`** (region scored). You only pay for results you get;
set a max cost per run to cap spending.
Higher Apify plans get automatic volume discounts: Bronze −10 %, Silver −20 %, Gold −30 %.

#### Cost example

At $0.003 per result: 50 results ≈ $0.15, 1,000 results ≈ $3.00.
Set a maximum cost per run in the run options to cap spending.

### Limits

- CBS suppresses many small-area values for privacy: in the 2024 table about 45 % of districts and 87 % of neighbourhoods have no income value, and a few percent no WOZ or poverty value. The index then rests on fewer components (see `indexBasis`) and is null with fewer than two. Treat neighbourhood scores with different `indexBasis` as less comparable.
- The index is a relative ranking, not a valuation. Do not use it as the sole basis for financial decisions.
- Income, poverty and labour figures lag: the 2025 table does not yet publish them, so 2024 values are used (see the `...Year` columns). Region boundaries follow the CBS 2025 classification; regions merged or renamed between years can lack older values.
- Province is not included; filter by municipality name or CBS code.

### FAQ

**Does it need an API key?**\
No. The actor reads the open CBS StatLine OData API (CC BY 4.0).

**Which year is it?**\
WOZ values and population are 2025, income, poverty and labour participation 2024 until CBS publishes the 2025 values; every indicator has a ...Year column.

**Is this a net-worth measure?**\
No. It is a relative prosperity ranking from income, poverty, home values and the high-income share, not household wealth.

**Which levels are available?**\
Municipalities, districts (wijken) and neighbourhoods (buurten).

### Data source & terms

Statistics Netherlands (CBS), table 'Kerncijfers wijken en buurten' (2025 and 2024 releases), licence CC BY 4.0, read through the CBS StatLine OData API. Please cite 'Bron: CBS'. Please respect the data provider's terms and cite the original resource in publications.
This actor is an independent tool and is not affiliated with or endorsed by the data provider.

# Actor input Schema

## `level` (type: `string`):

'municipality' = all ~340 municipalities; 'district' = ~3,400 wijken; 'neighbourhood' = ~14,600 buurten (income is suppressed for most of them, see limits).

## `regions` (type: `array`):

Optional filter: part of a region or municipality name (e.g. Utrecht) or a CBS code prefix (e.g. GM0344, WK0344).

## `indexIncludesHomeValue` (type: `boolean`):

On (default): the average WOZ value of homes is a component (weight 20 %, higher = wealthier). Off: the index uses income, poverty and the high-income share only.

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

Upper limit of returned rows (cost control).

## Actor input object example

```json
{
  "level": "municipality",
  "regions": [
    "Utrecht"
  ],
  "indexIncludesHomeValue": true,
  "maxResults": 500
}
```

# Actor output Schema

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

No description

## `tiers` (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 = {
    "regions": [
        "Utrecht"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("researchdata/nl-wealth-barometer").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 = { "regions": ["Utrecht"] }

# Run the Actor and wait for it to finish
run = client.actor("researchdata/nl-wealth-barometer").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 '{
  "regions": [
    "Utrecht"
  ]
}' |
apify call researchdata/nl-wealth-barometer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,researchdata/nl-wealth-barometer"
        }
    }
}
```

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/bQsGMhuI9RhOCZqt1/builds/sVfIlOfKywsyEvBIv/openapi.json
