# UK Flood Monitoring Stations: 5,527 stations (`phonic_lily/uk-flood-monitoring-stations`) Actor

Search 5,527 Environment Agency flood-monitoring stations in England: name, river, catchment, town, coordinates and grid reference, status, opening date and monitored quantities (level, flow, rainfall). Station metadata only, no readings. Embedded data, pay per record.

- **URL**: https://apify.com/phonic_lily/uk-flood-monitoring-stations.md
- **Developed by:** [Henri bousquet](https://apify.com/phonic_lily) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.00 / 1,000 station returneds

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

## UK Flood Monitoring Stations: 5,527 stations

Search 5,527 Environment Agency flood-monitoring stations in England: name, river, catchment, town, coordinates and grid reference, status, opening date and monitored quantities (level, flow, rainfall). Station metadata only, no readings. Embedded data, pay per record.

**No scraping, no live dependency, no login**: the data is embedded in the Actor and searched locally. You pay per record returned (pay-per-event `station-result`), never for empty runs.

### Input

Every filter is optional; combine them freely. `maxResults` caps both the output and the bill.

### Output fields

- `station_reference` : Station reference (stable id).
- `name` : Station name.
- `river_name` : River name, null if none.
- `catchment_name` : Catchment name.
- `town` : Nearest town.
- `latitude` : Latitude (WGS84), null if not located.
- `longitude` : Longitude (WGS84).
- `easting` : British National Grid easting.
- `northing` : British National Grid northing.
- `grid_reference` : OS grid reference.
- `rloi_id` : Real Time Levels Online id.
- `wiski_id` : WISKI hydrology id.
- `date_opened` : Date opened (YYYY-MM-DD).
- `status` : active, suspended, closed or ukcmf (null if not given).
- `datum_offset_m` : Datum offset in metres.
- `parameters` : Quantities monitored: level, flow, rainfall, wind...
- `measure_count` : Number of measure definitions at the station (no readings are included).
- `has_stage_scale` : True when a stage scale is published.

Every record also carries `license` and `attribution` so you can republish with the required credit.

### Data and licence

Environment Agency, flood monitoring API (https://environment.data.gov.uk/flood-monitoring/id/stations?\_limit=10000), fetched 2026-11-09. The API documentation (https://environment.data.gov.uk/flood-monitoring/doc/reference) states the APIs are open data under the Open Government Licence (v3.0) and requests the attribution 'this uses Environment Agency flood and river level data from the real-time data API (Beta)'. Station metadata only: no level, flow or rainfall readings and no flood warnings are included. Empty values are null, never 0. Beta source; do not use for safety-critical decisions. This is not an official Environment Agency service and does not imply endorsement.

Snapshot date: 2026-11-09. Empty values are returned as `null` (never as 0).

# Actor input Schema

## `name` (type: `string`):

Station name (accent- and case-insensitive substring).

## `river` (type: `string`):

River name (accent- and case-insensitive substring).

## `catchment` (type: `string`):

Catchment (accent- and case-insensitive substring).

## `town` (type: `string`):

Town (accent- and case-insensitive substring).

## `parameter` (type: `string`):

Monitored quantity (level, flow, rainfall, wind) (accent- and case-insensitive substring).

## `stationReference` (type: `string`):

Station reference (accent- and case-insensitive substring).

## `statuses` (type: `array`):

Status (active, suspended, closed). Records with an empty value never match.

## `openedFrom` (type: `string`):

ISO date YYYY-MM-DD (inclusive).

## `openedTo` (type: `string`):

ISO date YYYY-MM-DD (inclusive).

## `nearLatitude` (type: `number`):

Latitude of the search center (-90..90). Use with nearLongitude and radiusKm.

## `nearLongitude` (type: `number`):

Longitude of the search center (-180..180).

## `radiusKm` (type: `number`):

Search radius in km (max 20000). Results get a distance_km field and are sorted by distance.

## `minLatitude` (type: `number`):

South edge of a bounding box; give all four box values together.

## `maxLatitude` (type: `number`):

North edge of the bounding box.

## `minLongitude` (type: `number`):

West edge; if greater than max longitude the box crosses the antimeridian.

## `maxLongitude` (type: `number`):

East edge of the bounding box.

## `sortBy` (type: `string`):

Sort order of results. Default: file order (or distance when a radius is given).

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

Maximum records returned and billed (1..10000).

## Actor input object example

```json
{
  "maxResults": 100
}
```

# Actor output Schema

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

Dataset items returned by the run.

# 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("phonic_lily/uk-flood-monitoring-stations").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("phonic_lily/uk-flood-monitoring-stations").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 phonic_lily/uk-flood-monitoring-stations --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,phonic_lily/uk-flood-monitoring-stations"
        }
    }
}
```

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/pmvtq9gwJEdsdwTSW/builds/ZViM7gFlTEyJ70vUH/openapi.json
