# Netherlands Permit Leads: omgevingsvergunning notices (`goobertje/netherlands-permit-leads`) Actor

Get new Dutch permit announcements (omgevingsvergunning) as flat rows with title, issuing municipality, activity tags and map coordinates.

- **URL**: https://apify.com/goobertje/netherlands-permit-leads.md
- **Developed by:** [goober](https://apify.com/goobertje) (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 permit notices

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

## Dutch building and environmental permit announcements with location (omgevingsvergunning API)

Get new Dutch permit announcements (omgevingsvergunning) as flat rows with title, issuing municipality, activity tags and map coordinates. Built for contractors, installers, tree surgeons, demolition firms and suppliers who want to hear about building and tree-felling projects as soon as the municipality publishes them.

The data comes from the official government publications API (Gemeenteblad, Provinciaal blad, Waterschapsblad, Staatscourant). No proxies, no browser, no account needed.

### Why use this Actor

- Official source: the SRU API of the Dutch government publications repository, not scraped web pages.
- Fresh: announcements appear in the API the day they are published.
- Location in the row: coordinates, location label and, when the publisher supplied a structured address, street, house number and postcode.
- Delta mode: schedule it daily and receive only announcements you have not received before.
- Cheap and capped: $3.00 per 1,000 rows, and `maxItems` caps every run.

### Quick start

Click Start with the prefilled input:

```json
{ "publishedWithinDays": 7, "maxItems": 5 }
```

You get the 5 newest permit announcements of the last 7 days from all of the Netherlands. A run like this takes a few seconds and costs $0.015.

### Input

| Field | What it does |
|---|---|
| `municipalities` | Issuing authorities by official name, for example `["Apeldoorn", "'s-Gravenhage"]`. Case does not matter; whole words match, so `"Bergen"` finds every Bergen. |
| `keywords` | Words in the title (Dutch), for example `["zonnepanelen", "kappen bomen"]`. Several words in one keyword must all occur. Keywords are alternatives. |
| `activities` | Activity tag from the metadata: `bouwen`, `kappen`, `slopen`, `milieu`, `natuur`, `reclame`, `uitweg en inrit`, `ruimtelijke ordening`, `brandveilig gebruik`. |
| `postalCodePrefixes` | Postcode prefixes such as `["44", "3511"]`. Only announcements with a structured address have a postcode (about one in seven). |
| `publishedWithinDays` | 1 to 365 calendar days including today (Europe/Amsterdam). Default 7. |
| `dateFrom`, `dateTo` | Explicit publication dates (`YYYY-MM-DD`); they override the day window. |
| `onlyNew`, `stateStoreName` | Delta mode, see below. |
| `maxItems` | Maximum rows (and charges) per run. Default 100. |

Province filters are not offered: the source metadata has no province field.

### What you get

| Field | Meaning |
|---|---|
| `id` | Official publication id, for example `gmb-2026-508055` |
| `title`, `summary` | Title as published; abstract from the metadata when present |
| `publicationDate` | ISO date |
| `authority`, `authorityType` | Issuing body and its type (gemeente, provincie, waterschap, ...) |
| `publicationName` | Gemeenteblad, Provinciaal blad, Waterschapsblad or Staatscourant |
| `subjects`, `activities` | Metadata labels and permit activities |
| `locationType`, `locationText`, `locationCount` | Kind of location marker (Adres, Punt, Vlak, Lijn, Perceel, ...), its label, and how many markers the record has |
| `street`, `houseNumber`, `houseLetter`, `houseNumberAddition`, `postalCode`, `locality` | Only from a structured address in the metadata, otherwise `null` |
| `municipality` | Municipality the first location lies in |
| `latitude`, `longitude`, `coordinateSource` | WGS84. `point` = published coordinate. `area-centre` = centre of the bounding box of a published area or line |
| `objectionDeadline`, `inspectionUrl` | When published in the metadata |
| `url`, `xmlUrl`, `pdfUrl` | Links on officielebekendmakingen.nl and the official repository |
| `scrapedAt` | Time of the run |

Nothing is parsed out of the title: the address in a title such as "Kloosterdijk 116 7685PZ Beerzerveld" stays inside `title`. Unknown values are `null`.

Sample row from a real run (2026-11-11), shortened:

```json
{
  "id": "gmb-2026-508091",
  "title": "Ontvangen aanvraag voor een omgevingsvergunning, een bedrijfswoning omzetten naar plattelandswoning, de Leiding 20a 7738PH Witharen",
  "summary": "een bedrijfswoning omzetten naar plattelandswoning",
  "publicationDate": "2026-11-11",
  "authority": "Ommen",
  "authorityType": "gemeente",
  "publicationName": "Gemeenteblad",
  "activities": ["bouwen"],
  "locationType": "Punt",
  "locationText": "Gebiedsmarkering",
  "latitude": 52.5495211866979,
  "longitude": 6.35727562689624,
  "coordinateSource": "point",
  "postalCode": null,
  "url": "https://zoek.officielebekendmakingen.nl/gmb-2026-508091.html"
}
```

All 5 rows of that run are in `samples/live_run_5_rows.json`.

### Pricing

Pay per event: `permit-notice`, $3.00 per 1,000 rows ($0.003 each). One charge per row pushed to the dataset. Skipped rows (already delivered in delta mode, duplicates, unusable records) and failed runs are not charged. `maxItems` and your maximum cost per run both stop the run.

Example: 250 rows cost 250 x $0.003 = $0.75; 1,000 rows cost $3.00; the 5-row prefill costs $0.015.

### Use with AI agents (MCP, Claude, Cursor, n8n, Make)

AI agents can call this Actor through the Apify MCP server.

```json
{ "mcpServers": { "apify": { "url": "https://mcp.apify.com?tools=goobertje/netherlands-permit-leads" } } }
```

Sign in with OAuth in the browser on first use.

Example prompts and the input each one maps to:

1. "Which tree felling permits did Apeldoorn publish this week?" -> `{"municipalities": ["Apeldoorn"], "activities": ["kappen"], "publishedWithinDays": 7, "maxItems": 50}`
2. "Find permit announcements mentioning solar panels in the last 30 days." -> `{"keywords": ["zonnepanelen"], "publishedWithinDays": 30, "maxItems": 100}`
3. "Give me only new demolition permits since my last run." -> `{"activities": ["slopen"], "onlyNew": true, "stateStoreName": "demolition-feed", "maxItems": 200}`

In n8n, Make or Zapier, use the Apify node or module, pick this Actor and paste the same JSON.

### Use cases

- Roofers and solar installers: find "dakkapel" and "zonnepanelen" announcements near your service area.
- Tree surgeons: follow `kappen` permits per municipality.
- Demolition and asbestos firms: follow `slopen` announcements.
- Suppliers and architects: map new construction applications by location.
- Market research: count permit activity per municipality over time.

### FAQ

**Where does the data come from, and may I use it?**
From the SRU API of repository.overheid.nl, the official publications repository run by KOOP for the Dutch government. Dutch copyright law (Auteurswet art. 11) allows reuse of government publications unless a publication says otherwise. The operator asks bulk users to use the SRU API instead of scraping pages, and this Actor fetches only that API.

**How fresh is it?**
Announcements usually appear the day they are published. Rows are sorted newest first.

**How much does a typical run cost?**
A daily delta run of one municipality is usually a few rows, a few cents. Nationwide, roughly 1,100 announcements were published per day in the week checked.

**What if the source blocks or fails?**
The Actor waits and slows down on 429/403 and stops after three in a row without trying to bypass anything. If rows were already delivered, the run still ends as Succeeded and the status message says why it stopped.

**Can I get only new rows?**
Yes. Set `onlyNew` to true and schedule the Actor. The ids of delivered rows are stored in the named key-value store `stateStoreName`. The store remembers rows for at least 400 days (longer if your window is wider), up to 100,000 ids; if the cap ever evicts old ids, a warning is logged. Use one store name per feed.

**What is not included?**
No decision text beyond the announcement, no province field, no applicant names or documents; coordinates only when the record has a location marker.

### Limits and caveats

- The source answers at most the first 10,000 results of a query. The Actor then narrows the date window; if one date alone has more matches it stops and says so. Use narrower filters for very large pulls.
- Municipality matching is on whole words (`"Bergen"` matches several municipalities). Names are the official spelling, for example `'s-Gravenhage` for The Hague.
- Keywords match the Dutch title only.
- Only about one in seven announcements has a structured address and postcode. Areas and lines have no single coordinate, so `area-centre` is a bounding box centre of the published shape.
- Requests are limited to about one per second, at most 300 per run. A run therefore delivers at most about 14,900 announcements (300 requests of 50); for more, split by date or municipality. A run that hits the request cap before delivering anything fails (in delta mode it succeeds when everything read was already delivered earlier).
- There is no procedure-stage field in the source: whether an announcement is an application received, a granted permit or an extended decision period is only visible in the title text.
- Several location markers: the address fields (street to locality, `municipality`, `locationText`, `locationType`) come from the first marker that has a postcode (with `postalCodePrefixes` set: the first whose postcode matches), otherwise from the first marker. Coordinates come from the same marker when valid, else from the first marker with valid ones. Coordinates outside the Netherlands (including Bonaire, Saba and Sint Eustatius) are left empty rather than swapped or guessed.
- Delta state could not be saved: the run ends as Succeeded with a status message, and the next run may repeat rows.

### Privacy and legal

Announcements can relate to private addresses and natural persons. You are responsible for lawful use of the data, including under the GDPR (AVG). This Actor returns only what the official announcement metadata publishes.

Source: officielebekendmakingen.nl / KOOP (Dutch government). This Actor is not affiliated with, endorsed by or operated by KOOP, the Dutch government or any municipality.

Found a problem or want a field added? Open an issue on the Actor page.

# Actor input Schema

## `municipalities` (type: `array`):

Keep announcements published by these authorities, using the official name. Matching ignores case and works on whole words, so "Nuenen" finds "Nuenen, Gerwen en Nederwetten" but "Bergen" finds every Bergen. Provinces and water boards can be given the same way. Up to 20 names. Empty means all of the Netherlands. Example: \["Apeldoorn", "'s-Gravenhage"].

## `keywords` (type: `array`):

Keep announcements whose title contains these words. A keyword with several words needs all of them; the keywords are alternatives (any of). Use Dutch words, as in the titles. Up to 20 keywords. Empty means any. Example: \["zonnepanelen", "dakkapel", "kappen bomen"].

## `activities` (type: `array`):

Keep announcements tagged with one of these activities in the official metadata. Values seen in live data: bouwen, kappen, slopen, milieu, natuur, reclame, uitweg en inrit, ruimtelijke ordening, brandveilig gebruik. Not every announcement is tagged. Up to 20. Empty means any. Example: \["bouwen", "slopen"].

## `postalCodePrefixes` (type: `array`):

Keep announcements where any location marker has a postcode starting with one of these prefixes (the row then shows the matching marker): 1 to 4 digits, or a full postcode such as 4455TR. Only announcements with a structured address carry a postcode (roughly one in seven), so this filter returns fewer rows than municipality filters. Up to 20. Empty means any. Example: \["44", "3511"].

## `publishedWithinDays` (type: `integer`):

Only announcements published today or in the previous days, 1 to 365 days in total (Europe/Amsterdam calendar). Ignored when Published from or Published until is set. Default: 7. Example: 3.

## `dateFrom` (type: `string`):

First publication date to include (YYYY-MM-DD). Overrides Published within last days. Leave empty to use the day window. Example: "2026-10-01".

## `dateTo` (type: `string`):

Last publication date to include (YYYY-MM-DD). Overrides Published within last days. Leave empty for no upper limit. Example: "2026-10-31".

## `onlyNew` (type: `boolean`):

Remember every delivered announcement id in a named key-value store and skip them on later runs, so a daily schedule only returns announcements not delivered before. Skipped announcements are not billed. The first run returns everything that matches. Default: off.

## `stateStoreName` (type: `string`):

Name of the persistent key-value store that holds the delta state. Use a different name per feed (for example per municipality). Only lowercase letters, digits and hyphens are allowed (not at the start or end). Default: "permit-leads-state".

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

Maximum number of announcements (dataset items, each one billed) a run outputs; the run stops once reached. Skipped announcements are not counted and not billed. Default: 100. Example: 20.

## `requestDelaySecs` (type: `number`):

Pause between requests to the government API, to stay polite. Minimum 1, maximum 30. Default: 1.

## Actor input object example

```json
{
  "municipalities": [],
  "keywords": [],
  "activities": [],
  "postalCodePrefixes": [],
  "publishedWithinDays": 7,
  "onlyNew": false,
  "stateStoreName": "permit-leads-state",
  "maxItems": 5,
  "requestDelaySecs": 1
}
```

# Actor output Schema

## `permits` (type: `string`):

Permit announcements from the official overheid.nl publications SRU API.

# 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 = {
    "publishedWithinDays": 7,
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("goobertje/netherlands-permit-leads").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 = {
    "publishedWithinDays": 7,
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("goobertje/netherlands-permit-leads").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 '{
  "publishedWithinDays": 7,
  "maxItems": 5
}' |
apify call goobertje/netherlands-permit-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,goobertje/netherlands-permit-leads"
        }
    }
}
```

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/uLB0EkJrRIejzZ1n4/builds/E8fOvXnJNugocNEpX/openapi.json
