Official Alerts and Notifications
UK Flood AlertsUK Flood Alerts
API endpoint for getting flood warnings in JSON format. Currently only supports UK flood alerts, sourced from UK Department for Environment, Food and Rural Affairs.
Default end point to fetch all current active alerts:
http://api.meteomatics.com/get_flood_alerts?<fields>
With following options
Field | Description | Example |
datetime |
Start and end times in which alert is active, default is 'now'. Further information here. | datetime=2025-04-12T12:45Z |
bbox |
A bounding box specified by maximal and minimal latitude and longitude formatted according to BBOX=<min_lon,min_lat,max_lon,max_lat> . The response will only contain alerts within this area. Default value is world ('-180,-90,180,90'), which will return alerts for all regions. |
bbox=5.8,45.7,10.7,47.9 |
source |
For now, only "uk-defra" available, default value shows all sources. | source=uk-defra |
with_area_geometry |
Allowed values: 'true', 'false', with default value 'false', i.e., the result will have no geometry information | with_area_geometry=true |
Output is JSON of the following form, with the contents of the "properties" field specific to the source:
{
"alerts": [
{
"source": "..., string, unique source identifier",
"source_long": "..., string, long name",
"flood_area": "..., object, optional, area geometry as geojson",
"properties" : "... object, source specific properties"
}
]
}
uk-defra specific format:
{
"source": "uk-defra",
"source_long": "UK Department for Environment, Food and Rural Affairs",
"properties": {
"time_message_changed": "...",
"time_raised": "...",
"time_severity_changed": "...",
"description": "...",
"ea_area_name": "...",
"is_tidal": "...",
"message": "...",
"severity": "...",
"severity_level": "...",
"flood_area_id": "..."
}
}
The current (UK only) endpoint includes current active alerts, it does not include alerts which have recently become inactive. The severity level represents the strength of the warning, with 1 being the most severe:
Severity Level | Meaning |
1 | Severe Flood Warning |
2 | Flood Warning |
3 | Flood Alert |
Example JSON output:
-
Flood warning on August 7th, 2025, with severity update on August 9th, 2025:
{ "source": "uk", "source_long": "UK DEFRA", "properties": { "flood_area_id": "013FWFGM19", "severity": "Severe Flood Warning", "severity_level": 1, "message": "Severe flooding expected. Danger to life.", "time_raised": "2025-08-07T08:00:00Z", "time_severity_changed": "2025-08-09T08:00:00Z" } }
Query including options:
https://api.meteomatics.com/get_flood_alerts?datetime=2025-04-12T12:45Z&source=uk-defra&BBOX=46.0,6.5,49.0,12.5&with_area_geometry=true.Current situation:
https://api.meteomatics.com/get_flood_alerts