# Dutch Legislative Calendar (`vizellie/nl-legislative-calendar`) Actor

Upcoming and in-progress Dutch bills (Wet) and orders in council (AMvB) from the wetgevingskalender. One row per item, with the official page. This is not the text of a law that is already in force.

- **URL**: https://apify.com/vizellie/nl-legislative-calendar.md
- **Developed by:** [Vi Zellie](https://apify.com/vizellie) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 saved calendar items

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 Legislative Calendar

List Dutch bills (Wet) and orders in council (AMvB) from the wetgevingskalender, so you can see what is on the way rather than what is already in the statute book.

Each row is one calendar item: the official id, the title, the type, the phase the calendar publishes, the dates it publishes, and a link to the item on wetgevingskalender.overheid.nl. The bill text is not downloaded.

Not legal advice, and not an official government service. Source: KOOP Wetgevingskalender.

The source spells the order-in-council value `Amvb`. A search for `AMvB` returned no rows on 8 November 2026.

### Who it is for

Public-affairs teams who want a short list of bills on a topic, and a schedule that skips ids already saved.

### What you get

- One row per matching item, up to the row cap.
- The calendar id, title, type (`Wet` or `Amvb`) and the phase field the record actually contains (`actievefase`).
- The first-signatory department, issued date, modified date and entry-into-force date when the record has them.
- A link to the official calendar page.
- New items only, for a schedule. Off by default. A normal run does not open a named store.
- A note when the search service does not respond. That run does not charge an item row.

One run sends one search. When the document type is omitted, the search covers both Wet and AMvB. On 8 November 2026 that combined search reported 3987 items. The form does not ask for all of them.

### Tutorial

1. Leave **Document type** on Wet and **Keyword** on `klimaat`.
2. Leave **Max items** at 5 on the form. When the field is omitted, the run saves up to 40.
3. Leave **New items only** off until you schedule the task.
4. Run the Actor. Open `url` for the official page. The phase in the row is the calendar's own phase, not a status this Actor invented.
5. For a schedule, turn **New items only** on and keep the same state key.

### Example input

```json
{
  "documentType": "Wet",
  "keyword": "klimaat",
  "maxResults": 5,
  "newItemsOnly": false
}
```

### Example output

This row was the first hit for that search on 8 November 2026. The search reported 8 items.

```json
{
  "id": "WGK025584",
  "title": "Fiscale klimaat maatregelen glastuinbouw",
  "documentType": "Wet",
  "phase": "Bekendmaking",
  "department": "Ministerie van Financiën",
  "issued": "2023-09-07",
  "modified": "2024-01-03",
  "entryIntoForce": "2024-01-01",
  "url": "https://wetgevingskalender.overheid.nl/Regeling/WGK025584",
  "recordUrl": "https://repository.officiele-overheidspublicaties.nl/wgk/WGK025584/1/xml/WGK025584.xml",
  "source": "KOOP Wetgevingskalender"
}
```

`phase` is copied from the calendar. An empty field means the record did not include it. `url` is the public calendar page.

### Pricing

You pay a small fee when the run starts, then a fee for each calendar item that is saved.

| What | Price |
|---|---|
| Run start | $0.00005 |
| Saved calendar item | $0.002 |

Items that were not saved are free. That includes ids already seen, rows past **Max items**, and a search that did not respond or returned nothing.

**Examples**

- The form, 5 items saved: 5 x $0.002 = **$0.01**, plus the $0.00005 start fee.
- The omitted cap of 40 items, all saved: 40 x $0.002 = **$0.08**, plus the start fee.
- A scheduled run that saves 3 new rows: 3 x $0.002 = **$0.006**, plus the start fee.
- A quiet run, or a run where the calendar does not respond: **$0.00005**.

Use **Max items** and Apify's maximum cost per run to cap a single run. The pricing tab on the store is the price you are charged if it ever differs.

### Scheduling and integrations

Save a task, turn on **New items only**, and schedule it with the same state key. The dataset can go to Google Sheets, Slack, email, Make or Zapier, or you can read it from the Apify API.

The state record stores ids only.

### Nederlands

Dit leest de wetgevingskalender: wetsvoorstellen en AMvB's die nog in procedure zijn, of die de kalender nog toont. Het is niet de tekst van een wet die al geldt.

De eerste keer: type Wet, trefwoord `klimaat`, hooguit 5 rijen. Op 8 november 2026 gaf die zoekopdracht 8 items. De eerste was "Fiscale klimaat maatregelen glastuinbouw" (WGK025584), fase Bekendmaking.

Laat je het type weg, dan worden Wet en AMvB allebei gevraagd. Het trefwoord mag leeg blijven. Laat je het maximum weg, dan worden hooguit 40 rijen opgeslagen. De bron schrijft het type als `Amvb`. `AMvB` gaf nul rijen.

Een item dat niet is opgeslagen, rekenen we niet aan. De prijs is $0.00005 bij de start en $0.002 per opgeslagen item.

Geen juridisch advies, en geen officiële overheidsdienst. Bron: KOOP Wetgevingskalender.

### No personal data

This Actor does not collect personal data.

- It reads published calendar metadata. It does not download the bill.
- Email addresses and phone numbers are removed if they appear in a title or department line.
- The state store, when new items only is on, keeps item ids. It does not keep the text.
- Raw responses are not stored.
- Logs do not include the address that was called.

### FAQ

**Does a row mean the bill is not yet law?**
Not always. The calendar also keeps items whose phase is Bekendmaking. The row shows the phase the source sent. This Actor does not decide whether a text is in force.

**Why is an item missing?**
The run reads one page of matches, up to the cap (or 100 ids when new items only is on). It does not page through the whole calendar.

**What if the calendar is down?**
The run finishes and the summary says the service did not respond. No item row is charged.

**Where do the rows come from?**
The KOOP SRU search for the wetgevingskalender. This Actor is not affiliated with KOOP or Logius. Read the official page before you act on an item.

### Next additions

- A phase filter, using the phase values the calendar already publishes, such as Voorbereiding or Tweede Kamer.

### Feedback

Missing a field? Open an issue on the Actor's Issues tab.

# Actor input Schema

## `documentType` (type: `string`):

Wet is a bill. Amvb is an order in council (algemene maatregel van bestuur). The source spells that value Amvb. When this field is omitted the run asks for both. The form starts with Wet.

## `keyword` (type: `string`):

Words from the item title. The form starts with klimaat. Leave this empty for no title filter. The text is not requested as an address.

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

Most calendar items saved in one run, from 1 to 100. When this field is omitted the run saves up to 40. The form starts at 5.

## `newItemsOnly` (type: `boolean`):

Save only items whose official id was not saved by an earlier run with the same state store and state key. Off by default, so a normal run does not need a named store.

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

Named key-value store used only when new items only is on. It remembers item ids, not the item text.

## `stateKey` (type: `string`):

Key inside the state store. Use a different key for each schedule.

## Actor input object example

```json
{
  "documentType": "Wet",
  "keyword": "klimaat",
  "maxResults": 5,
  "newItemsOnly": false,
  "stateStoreName": "legislative-calendar-state",
  "stateKey": "default"
}
```

# Actor output Schema

## `items` (type: `string`):

Identifier, title, type, phase, dates and the official calendar page.

## `summary` (type: `string`):

The OUTPUT record in the default key-value store.

# 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 = {
    "documentType": "Wet",
    "keyword": "klimaat",
    "maxResults": 5,
    "stateKey": "default"
};

// Run the Actor and wait for it to finish
const run = await client.actor("vizellie/nl-legislative-calendar").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 = {
    "documentType": "Wet",
    "keyword": "klimaat",
    "maxResults": 5,
    "stateKey": "default",
}

# Run the Actor and wait for it to finish
run = client.actor("vizellie/nl-legislative-calendar").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 '{
  "documentType": "Wet",
  "keyword": "klimaat",
  "maxResults": 5,
  "stateKey": "default"
}' |
apify call vizellie/nl-legislative-calendar --silent --output-dataset

```

## MCP server setup

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

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/GwCKApWpabIHLrKZe/builds/oUnaeLObD97TrctTE/openapi.json
