# EU River Basin Pollutant Threshold Records — EEA WISE (`nexgensignal/eu-river-basin-pollutant-threshold-records`) Actor

Keyless pay-per-record EEA WISE WFD surface-water river-basin-specific pollutant standards — pollutant, matrix, standard value and unit in source units, verbatim. No person data. Gold $0.0335/record.

- **URL**: https://apify.com/nexgensignal/eu-river-basin-pollutant-threshold-records.md
- **Developed by:** [NexGen Signal](https://apify.com/nexgensignal) (community)
- **Categories:** Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $33.50 / 1,000 rbsp standard records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## EU River Basin Pollutant Threshold Records — EEA WISE

**Keyless. Pay per record. River-basin-specific pollutant standards — matrix, value, and unit, basin by basin.**

This actor turns the **European Environment Agency (EEA) WISE (Water Information System for Europe)** into clean, per-record data — the river-basin-specific pollutant (RBSP) environmental quality standards set for Europe's surface waters. Each run reads the EEA's keyless DiscoData SQL service and delivers one row per RBSP standard record, structured for environmental and water-management analysis, reusable with acknowledgement of the EEA, with no personal data of any kind.

### What this is, in one paragraph

Under the Water Framework Directive, member states set environmental quality standards for river-basin-specific pollutants — the substances that matter locally beyond the EU-wide priority list. This actor reads that table and delivers one record per standard: the country and river basin district, the pollutant, the MATRIX it applies to (water, biota, sediment), the standard type, the VALUE and UNIT in the source units verbatim, the scale, and the water-category applicability flags. It is the river-basin-specific standards layer of Europe's surface-water assessment.

### Who buys this and for what job

- **Water-quality analysts comparing river-basin-specific pollutant standards across basins and countries**
- **Regulatory and consultancy teams benchmarking local pollutant standards and matrices**
- **Researchers studying how member states set river-basin-specific quality standards**
- **Data engineers** who want the WISE rbsp-threshold table as clean rows from a keyless source.

### EEA licence — reuse with acknowledgement

One licence rider travels on every record. EEA data may be **reused, including commercially, provided the source is acknowledged**: "Source: European Environment Agency (EEA)." Where third-party content is marked, it keeps its own terms. These are reported values and status labels as filed — not a compliance verdict.

### Water-body grain — no person data

The unit of every record is a river-basin-specific pollutant standard — a water body or river basin and its reported attributes, never a person. WISE reporting is at water-body / river-basin level: there is **no contact, operator, or responsible-person field** in the source table, and none is selected or emitted — the query reads only the water-body identity, the status/flags, and the pollutant, matrix, standard value, and unit. A person-key guard runs on every record as a backstop. The `file_url`, where present, points to the official EEA/Eionet reporting file (an organisation reporting system), never a person.

### A note on scale, honestly

The source table (`SWMET_SWRBSP`) holds **10,310 rows** as verified by an exact `COUNT(*)` at build time — the real, populated RBSP standards table, carrying the 2016 and 2022 reporting cycles. This is the authoritative live count.

### Sample output

![Sample output — EU River Basin Pollutant Threshold Records — EEA WISE](https://api.apify.com/v2/key-value-stores/IXCaMKjxSmUTLHhmq/records/eu-river-basin-pollutant-threshold-records.png)

*Real rows from a live run of this actor (first 5 rows, selected columns).*

One full record from the same run, exactly as delivered:

```json
{
  "record_id": "AT1000:CAS_14797-65-0 - Nitrite:Unpopulated:2016",
  "reporting_year": 2016,
  "country_code": "AT",
  "country_name": "Austria",
  "eu_rbd_code": "AT1000",
  "rbd_name": "DANUBE",
  "rbsp_code": "CAS_14797-65-0 - Nitrite",
  "rbsp_other": null,
  "rbsp_matrix": "Unpopulated",
  "rbsp_category_rw": "Yes",
  "rbsp_category_lw": "Unpopulated",
  "rbsp_category_tw": "Unpopulated",
  "rbsp_category_cw": "Unpopulated",
  "rbsp_standard_type": "Unpopulated",
  "rbsp_value": "unpopulated",
  "rbsp_unit": "unpopulated",
  "rbsp_scale": "Unpopulated",
  "rbsp_tech_guidance": "Unpopulated",
  "rbsp_analytical_method": "Unpopulated",
  "file_url": "http://cdr.eionet.europa.eu/at/eu/wfd2016/districts/at1000/envwvttw/SWMET_AT_20170411.xml",
  "source": "EEA WISE Water Framework Directive (WFD) — surface-water river-basin-specific pollutant standards",
  "source_url": "https://discodata.eea.europa.eu/",
  "licence": "European Environment Agency (EEA) WISE (Water Information System for Europe) — surface-water river-basin-specific pollutant standards. Reuse is permitted, including for commercial purposes, provided the source is acknowledged: 'Source: European Environment Agency (EEA)'. Third-party content, where marked, keeps its own terms.",
  "attribution": "Source: European Environment Agency (EEA), WISE (Water Information System for Europe).",
  "disclaimer": "Surface-water river-basin-specific pollutant (RBSP) environmental quality standards, at river-basin-district / pollutant / matrix / reporting-cycle grain from the EEA WISE Water Framework Directive database. Each record carries the pollutant, the MATRIX (water/biota/sediment), the standard TYPE, and the VALUE + UNIT in the SOURCE UNITS VERBATIM, plus the water-category applicability flags. River-basin grain — there is no contact, operator, or responsible-person field in the source, and none is selected or emitted; a person-key guard runs on every record as a backstop.",
  "observed_at": "2026-09-25T17:33:45Z"
}
```

### Pricing

| Event | Free plan | Bronze | Silver | Gold / Platinum / Diamond |
|-------|-----------|--------|--------|---------------------------|
| `rbsp_threshold_record` | $0.05 | $0.045 | $0.04 | $0.0335 |

Delivered before charged. Blocked runs and empty results cost nothing.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `countryCode` | string | — | Optional 2-letter country code (e.g. DE, FR). |
| `year` | integer | — | Optional reporting cycle year to filter. |
| `maxRecords` | integer | 500 | Ceiling on records delivered and billed. |

### Output

One JSON object per RBSP standard record. Real example (values as reported):

```json
{
  "record_id": "AT1000:CAS_14797-65-0 - Nitrite:Water:2016",
  "reporting_year": 2016,
  "country_code": "AT",
  "country_name": "Austria",
  "eu_rbd_code": "AT1000",
  "rbd_name": "DANUBE",
  "rbsp_code": "CAS_14797-65-0 - Nitrite",
  "rbsp_matrix": "Water",
  "rbsp_standard_type": "AA",
  "rbsp_value": "0.1",
  "rbsp_unit": "mg/L",
  "rbsp_scale": "National level",
  "source": "EEA WISE Water Framework Directive (WFD) \u2014 surface-water river-basin-specific pollutant standards",
  "observed_at": "2026-08-22T00:00:00Z"
}
```

An unbilled `RUN_RECEIPT` records the robots check, the filters, rows seen and delivered, and whether charged equals delivered.

### Field reference

Each record is one RBSP standard. Identity: `record_id`, `country_code`, `country_name`, `eu_rbd_code`, `rbd_name`, and `reporting_year`. Pollutant and standard: `rbsp_code`, `rbsp_other`, `rbsp_matrix`, `rbsp_standard_type`, `rbsp_value`, `rbsp_unit`, and `rbsp_scale`. Applicability: `rbsp_category_rw`, `rbsp_category_lw`, `rbsp_category_tw`, and `rbsp_category_cw`. Method: `rbsp_tech_guidance` and `rbsp_analytical_method`. Plus `file_url`. Provenance travels on every record: `source`, `source_url`, `licence`, `attribution`, `disclaimer`, and `observed_at`.

### How a run works

A run first re-reads the source host's robots posture from your runtime — the EEA DiscoData host — and stops at the door if that ever changes. It pages the WISE rbsp-threshold table (filtered to your optional `countryCode` and `year`), and flattens each row to one record — carrying every value and flag **verbatim**, never anything person-shaped — delivered **before** it is charged, so a blocked or empty run costs you nothing. The actor stops at your `maxRecords` ceiling and records `charge_equals_delivered` in the receipt.

### Coverage and scope

The table holds on the order of **10,310 rows**. Because each record carries the `country_code`, the water-body identity, and the `rbsp_code`, `rbsp_matrix`, and `rbsp_value`, segmenting by country, basin, or year is straightforward. Pull one country, or the whole table to seed a water-analysis warehouse.

### Identifiers and joins

Every record carries the `eu_rbd_code`, keying each standard to the fleet's other WISE cells for that river basin — the failing pollutants, the pressure-substance crosswalk, and the exemptions — so a buyer can compare a basin's local pollutant standards against the substances actually failing and the exemptions claimed there, on a shared identifier rather than a fuzzy name match.

### Working with the data

The standards are a benchmark reference, and the fields make them comparable. Because every record carries an `rbsp_code` with an `rbsp_value` and `rbsp_unit` in the source units and the `rbsp_matrix` it applies to, an analyst can compare how strictly two basins regulate the same pollutant in the same matrix without unit-guessing, and the water-category flags show which water types each standard covers. The `reporting_year` frames each standard in its cycle.

### Cost guidance

One `rbsp_threshold_record` per delivered row: cost = rows delivered × your plan's per-record price. Scope with `countryCode` and `year` to keep runs bounded. 1,000 rows is **$50** (Free) / **$33.50** (Gold).

### Honest limitations

- **As reported.** Values, flags, and status labels are as filed by member states; this actor reformats, it does not audit or recompute.
- **A label, not a verdict.** These are reported classifications, standards, exceedances, or linkages, not an independent compliance or hazard assessment.
- **Acknowledge the EEA.** The acknowledgement travels on every record.
- **No person data** of any kind.

### Differentiation

It is distinct from **eu-groundwater-threshold-value-records** — that cell carries GROUNDWATER threshold values (TVs) by river basin, while this cell carries SURFACE-WATER river-basin-specific pollutant (RBSP) standards with their matrix and water-category applicability; different water compartment, different standard regime. It differs entirely from the Nitrates, Bathing Water, and Urban Waste Water directive cells. Its specific job is the **WFD surface-water river-basin-specific pollutant standards**.

### The NexGen Signal family

Part of the NexGen Signal family of pay-per-record data products:

- [EU Surface Water Failing Pollutant Records — EEA WISE](https://apify.com/nexgensignal/eu-surface-water-failing-pollutant-records)
- [EU Groundwater Threshold Value Records — EEA WISE](https://apify.com/nexgensignal/eu-groundwater-threshold-value-records)
- [EU Surface Water Chemical Exemption Records — EEA WISE](https://apify.com/nexgensignal/eu-surface-water-chemical-exemption-records)
- [EU Pesticide Water Monitoring Records — EEA](https://apify.com/nexgensignal/eu-pesticide-water-monitoring-records)
- [EU Waterbody Quality Records — EEA](https://apify.com/nexgensignal/eu-waterbody-quality-records)

*Source: European Environment Agency (EEA), WISE (Water Information System for Europe) (discodata.eea.europa.eu). EEA data may be reused, including commercially, provided the source is acknowledged: "Source: European Environment Agency (EEA)"; marked third-party content keeps its own terms. Water-body / river-basin grain; no contact, operator, or responsible-person field is selected or emitted, no natural-person data of any kind. Values and status labels as filed, not a compliance verdict.*

# Actor input Schema

## `countryCode` (type: `string`):

Optional 2-letter country code (e.g. DE, FR).

## `year` (type: `integer`):

Optional reporting cycle year to filter.

## `maxRecords` (type: `integer`):

Maximum records delivered and billed.

## Actor input object example

```json
{
  "maxRecords": 10
}
```

# Actor output Schema

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

Delivered records.

# 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 = {
    "maxRecords": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("nexgensignal/eu-river-basin-pollutant-threshold-records").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 = { "maxRecords": 10 }

# Run the Actor and wait for it to finish
run = client.actor("nexgensignal/eu-river-basin-pollutant-threshold-records").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 '{
  "maxRecords": 10
}' |
apify call nexgensignal/eu-river-basin-pollutant-threshold-records --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nexgensignal/eu-river-basin-pollutant-threshold-records"
        }
    }
}
```

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/9zUcmcsJPHL7GEFLu/builds/xdxr3BIxMcOspDkaq/openapi.json
