London flood warnings and Thames levels (Environment Agency)
Flood warnings and alerts in force around London, and the latest water or tidal level at the Thames stations in London, and the nearest ten rainfall gauges (latest 15-minute total and rain per UTC day, 14 days kept), from the Environment Agency's real-time flood-monitoring API. Each warning with its severity, area and times; each station with its latest readings. Not a warning service.
Three layers: the source (who publishes it, the terms, when it was read), the raw data as the publisher served it, and the processed data, what this site makes of it. The processing is where the value is: named fields, places joined, gaps marked, every value kept with its source and time.
1. The source
At a glance
| Field | Value |
|---|---|
| Publisher | Environment Agency (England) |
| Source | https://environment.data.gov.uk/flood-monitoring/doc/reference |
| Reader page | https://check-for-flooding.service.gov.uk/ |
| Schedule | hourly: the Pages workflow (.github/workflows/pages.yml) every hour; two list requests, one request per Thames station, one list of rainfall gauges and one request per gauge (about twenty-two requests, 2.5 seconds apart, about a minute) |
| Owner | data.b@PrompTugal.dinis |
| Collector | sources/ea-flood/collect.mjs |
| Since | 2026-11-18 |
| Last read | 2026-11-21 07:04 UTC |
| Last run | ok: 23 requests ok, 0 failed |
| Now | 0 warnings, 10 stations, 10 rain gauges |
| Licence | The data: Open Government Licence v3.0 (Environment Agency). This page, the card and the records we add: CC BY 4.0. |
Reuse terms
Open Government Licence v3.0, no registration; acknowledge with: "this uses Environment Agency flood and river level data from the real-time data API (Beta)". Not reviewed by a person. Reuse: yes, OGL v3.0 with the attribution above.
These APIs are provided as open data under the Open Government Licence with no requirement for registration. If you make use of this data please acknowledge this with the following attribution statement: this uses Environment Agency flood and river level data from the real-time data API (Beta)
Open question: The reference asks crawlers to take the latest values of all stations in one call every 15 minutes; this collector asks per station and per gauge, about twenty requests once an hour, which is lighter than a full copy every 15 minutes. security@PrompTugal.dinis to review.
2. The raw data
The raw files are the Environment Agency's own answers (warnings with their free-text messages, the station list, each station's latest readings), kept in the vault copy and not served here: the API. This uses Environment Agency flood and river level data from the real-time data API (Beta), under the Open Government Licence v3.0.
3. The processed data
The collector asks the Environment Agency for the warnings within 30 km of central London and the Thames level stations within 15 km, keeps each warning's id, severity, area, river, county and times (not the free-text message) and each station's latest readings with their unit and time, and builds the links from the ids. It also reads the nearest ten rainfall gauges within 15 km (one request each) and keeps each gauge's latest 15-minute total and the rain per UTC day for 14 days, each 15-minute reading counted once by its timestamp. Not a warning service: follow the Environment Agency. The result: latest.json.
Flood warnings and alerts around London by severity, and the latest level at each Thames station. The data: /api/v1/ea-flood/latest.json.
More about this source
What runs by code, by agents and by people
Code
- the collector reads the EA's warnings and stations near the point on the card, keeps the named fields and the latest readings
- GitHub Actions runs it and deploys the site
Agents
- data.b.dev@PrompTugal.dinis wrote the collector and card on 18 November 2026 for data.b@ (WS-177)
People
- Dinis Cruz decided London as the first place beyond Portugal on 18 November 2026 (board/guidance/2026-11-18-london.md); no person has checked the values (not reviewed)
Cost
| Field | Value |
|---|---|
| per run tokens | 0 |
| per run model cost usd | 0 |
| runner | GitHub Actions on a public repository: no charge; about twenty-two requests a run (under 300 KB) |
| build tokens | not measured |
| note | Code only: no model is called when the data is collected. |
API addresses
These addresses stay for the life of v1 (the contract).
curl -s https://data.promptugal.news/api/v1/ea-flood/latest.json
curl -s https://data.promptugal.news/api/v1/ea-flood/reads.json | head -c 600
Vault
Vault not yet created. The collector writes the bytes of each read to a vault copy; until the vault exists they are not kept.
Last runs
| Time (UTC) | Requests ok | Requests failed | Reads with changed bytes |
|---|---|---|---|
| 2026-11-21 07:04 UTC | 23 | 0 | 20 of 23 |
| 2026-11-20 18:04 UTC | 23 | 0 | 17 of 23 |
| 2026-11-20 07:04 UTC | 23 | 0 | 19 of 23 |
| 2026-11-19 18:04 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 16:04 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 15:03 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 14:04 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 13:04 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 12:04 UTC | 23 | 0 | 17 of 23 |
| 2026-11-19 11:04 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 10:04 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 09:04 UTC | 23 | 0 | 17 of 23 |
| 2026-11-19 08:04 UTC | 23 | 0 | 17 of 23 |
| 2026-11-19 07:04 UTC | 23 | 0 | 17 of 23 |
| 2026-11-19 06:03 UTC | 23 | 0 | 17 of 23 |
| 2026-11-19 05:03 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 04:03 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 03:04 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 02:03 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 01:25 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 01:17 UTC | 23 | 0 | 0 of 23 |
| 2026-11-19 01:12 UTC | 23 | 0 | 13 of 23 |
| 2026-11-19 00:53 UTC | 23 | 0 | 16 of 23 |
| 2026-11-19 00:19 UTC | 23 | 0 | 19 of 23 |
Showing 24 of 32 runs kept. Full detail with sha256: reads.json.
Preview of the values
The first 5 of 10 entries in stations, as read 2026-11-21 07:04 UTC. Source: https://environment.data.gov.uk/flood-monitoring/doc/reference. Long values are shortened here; the file has them whole.
| id | label | river | town | lat | long | Source |
|---|---|---|---|---|---|---|
| 0001 | Silvertown | Thames Tideway | Silvertown | 51.4975 | 0.05262 | source |
| 0003 | Charlton | Thames Tideway | Charlton | 51.49695 | 0.02043 | source |
| 0006 | Westminster | Thames Tideway | Westminster | 51.50122 | -0.12385 | source |
| 0007 | Tower Pier | Thames Tideway | Tower Pier | 51.50675 | -0.07871 | source |
| 0009 | Richmond | Thames Tideway | Richmond | 51.46226 | -0.31619 | source |