# Vreemd Nieuws Monitor (`codeclouds/vreemd-nieuws-monitor`) Actor

Detecteert kant-en-klare 'vreemd nieuws'-leads (bizar, absurd, opmerkelijk, human interest) voor content-makers en journalisten uit GDELT, Rechtspraak.nl, KNMI, Tweede Kamer en Retraction Watch — rule-based weirdness-scoring bespaart 5 API-integraties + handmatige curatie. Vanaf $0,01/item, PPE.

- **URL**: https://apify.com/codeclouds/vreemd-nieuws-monitor.md
- **Developed by:** [Dennis](https://apify.com/codeclouds) (community)
- **Categories:** Other
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 vreemd nieuws 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Vreemd Nieuws Monitor

Een Apify actor die automatisch opmerkelijke, bizarre of absurde nieuwsfeiten detecteert uit open overheidsbronnen. Output is een gestructureerde leads-feed voor content-makers, journalisten en social-media-accounts.

### Bronnen

- **GDELT** - wereldwijde nieuwsgebeurtenissen, gefilterd op weirdness-score in de titel.
- **Rechtspraak.nl** - Nederlandse uitspraken, gefilterd op opmerkelijke combinaties in titel en samenvatting.
- **KNMI** - weerextremen, gefilterd op extreme windsnelheid, temperatuur en neerslag.

### Installatie

`ash
npm ci
`

### Gebruik

`ash
npm run dev
`

Of via Apify Console met de standaard inputparameters.

### Inputparameters

| Parameter | Type | Default | Beschrijving |
|-----------|------|---------|--------------|
| sources | array | \["gdelt","rechtspraak","knmi"] | Welke bronnen moeten worden doorzocht. |
| an | string | (7 dagen terug) | Startdatum (YYYY-MM-DD). |
| 	ot | string | (vandaag) | Einddatum (YYYY-MM-DD). |
| weirdnessThreshold | integer | 5 | Minimum weirdness-score (1-10). |
| maxResults | integer | 100 | Maximum aantal resultaten. |
|egions | array | \[] | GDELT landcodes filter (bijv. \["NL","US"]). |

### Output

Elk record bevat:

- source - gdelt,  echtspraak of knmi
- itle - titel van het artikel of de uitspraak
- samenvatting - korte samenvatting of bronvermelding
- weirdnessScore - 1 (bijna normaal) tot 10 (extreem vreemd)
- date - datum (YYYY-MM-DD)
- location - locatie indien beschikbaar
- sourceUrl - link naar origineel
- eventType - type gebeurtenis
-

echtsgebied - rechtsgebied (alleen rechtspraak.nl)

- latitude / longitude - coordinaten indien beschikbaar (v1: null)
- erificationTier - official of unverified\_report

### Filterlogica

#### GDELT

Rule-based keyword-filter op Engelse en Nederlandse vreemdheidstermen in de titel. Weirdness-score is 1-10 op basis van matched keyword-strength. Geen gebruik van LLM in v1.

#### Rechtspraak.nl

Keyword-filter op ongebruikelijke combinaties in titel en samenvatting (dier + eigendom, absurde geldbedragen, etc.). Weirdness-score op basis van matched termen.

#### KNMI

Threshold-based filtering op extreme weerswaarden: windstoot > 100 km/h, temperatuur > 40C of < -30C, neerslag > 100 mm/dag, en extreme weercodes.

### Ontwikkeling

`ash
npm run typecheck
npm test
`

### Licentie

Apache-2.0

# Actor input Schema

## `sources` (type: `array`):

Welke bronnen moeten worden doorzocht.

## `van` (type: `string`):

Startdatum (YYYY-MM-DD).

## `tot` (type: `string`):

Einddatum (YYYY-MM-DD).

## `weirdnessThreshold` (type: `integer`):

Minimum weirdness-score (1-10).

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

Maximum aantal vreemd-nieuwsitems.

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

Filter op landcodes voor GDELT.

## Actor input object example

```json
{
  "sources": [
    "gdelt",
    "rechtspraak",
    "knmi",
    "tweede-kamer",
    "retraction-watch"
  ],
  "van": "",
  "tot": "",
  "weirdnessThreshold": 5,
  "maxResults": 100,
  "regions": []
}
```

# Actor output Schema

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

Alle resultaten in het 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("codeclouds/vreemd-nieuws-monitor").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("codeclouds/vreemd-nieuws-monitor").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 codeclouds/vreemd-nieuws-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,codeclouds/vreemd-nieuws-monitor"
        }
    }
}

```

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/VwK66jIxi43kgIgG8/builds/0dOfsMM0ZNCbP1l9a/openapi.json
