Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests Python package
Current Environment Agency flood alerts and warnings for England for mapping affected flood areas and monitoring official severity changes.
Report a ProblemFrom Source to Product Signal
The Environment Agency's flood API lists current official alerts and warnings, refreshed about every fifteen minutes. Start with five records from one response and preserve severity and flood-area identifiers. Warning geography is not equivalent to a nearby gauge measurement.
Install the packages, then run the notebook cell.
python -m pip install requests
import requests
response = requests.get(
"https://environment.data.gov.uk/flood-monitoring/id/floods",
timeout=30,
)
response.raise_for_status()
for warning in response.json()["items"][:5]:
print(warning["floodAreaID"], warning["severity"],
warning.get("timeMessageChanged"))Test a Useful Signal
Check whether current warnings support a region-specific alert card.
Environment Agency is a government source. Last verified 2026-09-28. Temporal coverage: current official flood alerts and warnings.