Alert Info

Weather Alert provides official alert data for China and many countries and regions worldwide. This document helps you understand specifications of alert data, such as the supported regions and alert events.

Warning: All alert events, urgency and other fields are possible to change, including add/modify/delete. We may not be able to give advance notice of these changes, so you have to make your code more compatible to avoid errors when they happen.

We recommend not trying to enumerate these values or mappings, but to output them directly to the screen.

Supported regions#

Weather alerts are not available for all cities, we will continue to expand these data, currently QWeather supports the following countries or regions.

Note: Weather alert messages are based on official data from government departments. When official data is not released properly, we may temporarily take offline the country or region where the failure occurred.

ISO 3166-1Countries or Regions
arArgentina
atAustria
beBelgium
brBrazil
bgBulgaria
caCanada
cnChina
hrCroatia
cyCyprus
czCzechia
dkDenmark
eeEstonia
fiFinland
frFrance
deGermany
grGreece
hkHong Kong
huHungary
isIceland
inIndia
idIndonesia
ieIreland
ilIsrael
itItaly
krKorea (Republic of)
kwKuwait
lvLatvia
ltLithuania
luLuxembourg
moMacao
mtMalta
mdMoldova (Republic of)
meMontenegro
nlNetherlands
nzNew Zealand
mkNorth Macedonia
noNorway
plPoland
ptPortugal
roRomania
ruRussian Federation
saSaudi Arabia
rsSerbia
sgSingapore
skSlovakia
siSlovenia
zaSouth Africa
esSpain
seSweden
chSwitzerland
twTaiwan, Province of China
thThailand
gbUnited Kingdom of Great Britain and Northern Ireland
usUnited States of America

Message type#

The messageType indicates the type or nature of the current alert message. Developers can use this field to determine whether the alert is a newly issued one or an update to a previously issued alert.

messageType.code includes:

  • alert: Initial and active alert
  • update: Updates and supercedes the alert specified in messageType.supersedes
  • cancel: Cancels the alert specified in messageType.supersedes, with an expiration time set to 1 hour after issuance.

messageType.supersedes specifies the identifier of the previous alert message that is replaced by the current alert. This array is only relevant when messageType.code is update or cancel. It helps developers understand the relationship between the current alert and a previous one, ensuring data correctness and smooth updates.

Urgency#

urgency indicates the urgency of the event.

  • immediate: Responsive action should be taken immediately
  • expected: Responsive action should be taken soon (within the next hour)
  • future: Responsive action should be taken in the near future
  • past: The event is no longer current
  • unknown: Urgency unknown

Severity#

severity indicates the expected impact level of the event.

Note: Severity may be expanded based on local specifications, your code should be compatible with this possibility.

  • extreme: Extraordinary threat to life or property
  • severe: Significant threat to life or property
  • moderate: Possible threat to life or property
  • minor: Minimal to no known threat to life or property
  • unknown: Severity unknown

Certainty#

certainty indicates the certainty or confidence level of the event.

  • observed: Determined to have occurred or to be ongoing
  • likely: Likely (probability > ~50%)
  • possible: Possible but not likely (probability ≤ ~50%)
  • unlikely: Not expected to occur (probability ≈ 0)
  • unknown: Certainty unknown

Color#

color contains the color code and its corresponding RGBA value, these are the recommended colors for the visual representation of warning messages. Supported color codes include:

  • white
  • gray
  • green
  • blue
  • yellow
  • orange
  • red
  • purple
  • black

Event and code#

We have designed a unified coding system for alert event types in each country or region.

CodeEvent
1001Typhoon
1002Tornado
1003Rainstorm
1004Snow Storm
1005Cold Wave
1006Gale
1007Sandstorm
1008Low Temperature Freeze
1009High Temperature
1010Heat Wave
1011Dry Hot Winds
1012Downburst
1013Avalanche
1014Lightning
1015Hail
1016Frost
1017Heavy Fog
1018Low-Level Wind Shearl
1019Haze
1020Thunder Gust
1021Road Icing
1022Drought
1023Gale at Sea
1024Heat Stroke
1025Wildfire
1026Grassland Fire
1027Freeze
1028Space Weather
1029Heavy Air Pollution
1030Low Temperature Rain and Snow
1031Strong Convection
1032Ozone
1033Heavy Snow
1034Cold
1035Continuous Rain
1036Waterlogging
1037Geological Hazard
1038Heavy Rainfall
1039Severely Falling Temperature
1040Snow Disaster
1041Wildfire (Grassland)
1042Medical Meteorology
1043Thunderstorm
1044School Closure
1045Factory Closure
1046Maritime Risk
1047Spring Dust
1048Falling Temperature
1049Typhoon and Rainstorm
1050Severe Cold
1051Sand Dust
1052Sea Thunderstorms
1053Sea Fog
1054Sea Thunder
1055Sea Typhoon
1056Low Temperature
1057Road Ice and Snow
1058Thunderstorm and Gale
1059Continuous Low Temperature
1060Low Visibility
1061Strong Dust
1062Gale at Sea
1063Short Duration Heavy Precipitation
1064Short-lived Heavy Rain
1065Sea Fog
1066Heat Stroke Conditions
1067Heavy Pollution Weather
1068CO Poisoning Weather Conditions
1069Respiratory Disease Weather Conditions
1071Intestinal Diseases Weather Conditions
1072Cardiovascular Diseases Weather Conditions
1073Flooding Weather Risk
1074Heavy Pollution Weather Conditions
1075Urban Flooding Weather Risk
1076Flooding Weather Risk
1077Wildfire Weather Risk
1078Meteorological Drought
1079Agro-Meteorological Risk
1080Strong Monsoon
1081Ice Accretion on Wires
1082Stroke Weather Risk
1084Wildfire (Grassland) Risk
1085Thunderstorms and strong winds
1086Low Temperature Freeze
1087Low Temperature Damage
1088National Agro-Meteorological Risk
1089Dry Hot Winds Risk for Winter Wheat
1201Flood
1202Waterlogging
1203Reservoir Danger
1204Dike Danger
1205Ice Flood
1206Waterlogged
1207Flood
1208Dry Water
1209Flood and flash flood in small and medium rivers
1210Difficulty drinking water for rural people and animals
1211Flood in small and medium rivers
1212Flood and Drought Advisory
1213Urban Waterlogging Risk
1214Flash Flood
1215Agricultural Drought
1216Urban Water Shortage
1217Ecological Drought
1218Disaster Risk Early Warning
1219Meteorological Risk of Flash Flood
1221Water Conservancy and Drought
1241Landslide
1242Debris Flows
1243Landslide Event
1244Ground Collapses
1245Ground Fissure
1246Land Subsidence
1247Volcanic Eruption
1248Geological Hazard Meteorological Risk
1249Geological Hazard Weather
1250Geological hazard
1251Geological hazard Risk
1271Air Pollution Incident
1272Heavy Air Pollution
1273Air Pollution
1274Heavy Pollution Weather
1601Very Hot Weather
1602Strong Monsoon Signal
1603Landslip
1604Tropical Cyclone
1605Fire Danger
1606Special Announcement on Flooding in the northern New Territories
1607Cold Weather
1608Thunderstorm
1609Rainstorm
1610Frost
1701Cold Surge
1702Strong Wind
1703Rainfall
1704Typhoon
1705Dense Fog
1706Thunderstorm
1707Heat
1708Flood
1709High Water
1710Drought
1801Strong Monsoon Signal
1802Storm Surge
1803Tropical Cyclone
1804Rainstorm
1805Thunderstorm
2001Wind
2002Snow-ice
2003Fog
2004Coastal Event
2005Forest Fire
2006Rain
2007Rain-flood
2029Thunderstorm
2030High Temperature
2031Low Temperature
2032Avalanches
2033Flooding
2050Rain
2051Wind
2052Snow
2053Zonda wind
2054Storm
2070Dust Raising Winds
2071Strong Surface Winds
2072Hot Day
2073Warm Night
2074Cold Day
2075Thunderstorm and Lightning
2076Hailstorm
2077Sea area warning
2078Fishermen warning
2079Heavy Snow
2080Dust Storm
2081Heat Wave
2082Cold Wave
2083Fog
2084Heavy Rain
2085Ground Frost
2100Fog
2101Thunder Rain
2102Thunder Storm
2103Light Rain
2104Heavy Rain
2105Fresh Wind
2106Thunderstorm and Dust
2107Dust
2108High Wave
2109Frost
2111Drop in Visibility
2120Low Humidity
2121Accumulated Rain
2122Cold Wave
2123Tornado
2124Thunderstorm
2125Hail
2126Heavy Rainfall
2127Gale
2128Heat Wave
2129Cold
2130Frost
2131Drought
2132Forest Fire
2133Heavy Snow
2134Severely Falling Temperature
2135Rainstorm
2150Wind
2152Freeze
2153Thunderstorms
2154Fog
2155High Temperature
2156Low Temperature
2157Coastal Event
2158Forest Fire
2159Avalanches
2160Rain
2161Flood
2162Rain Flood
2163Mudflow
2164Duststorm
2165Freezing rain and icing
2166Other Dangers
2167Low Water
2168Snow
2190Severe Thunderstorms
2191Damaging Winds
2192Veld Fire Conditions
2193Weather Advisory
2200Thunderstorm
2201Squall
2202Air Quality
2203Rainfall
2204Fog
2205Heat
2207Wildfire
2208Wind
2209Freezing Rain
2210Tornado
2211Blizzard
2212Weather
2213Winter Storm
2214Freezing Drizzle
2215Snowfall
2216Blowing Snow
2217Extreme Cold
2218Frost
2219Cold
2220Arctic Outflow
2221Snow Squall
2300Hazardous Seas Warning
2301Heavy Freezing Spray Warning
2302Red Flag Warning
2303Freeze Warning
2304Hard Freeze Warning
2305Extreme Cold Warning
2306Wind Chill Warning
2307Gale Warning
2308Excessive Heat Warning
2309Lake Effect Snow Warning
2311Blowing Dust Warning
2312Dust Storm Warning
2313Storm Warning
2314Tropical Storm Warning
2315High Wind Warning
2316High Surf Warning
2317Flood Warning
2318Lakeshore Flood Warning
2319Coastal Flood Warning
2320Ashfall Warning
2321Volcano Warning
2322Earthquake Warning
2323Avalanche Warning
2324Winter Storm Warning
2325Ice Storm Warning
2326Snow Squall Warning
2327Blizzard Warning
2328Special Marine Warning
2330Typhoon Warning
2331Hurricane Warning
2332Hurricane Force Wind Warning
2333Storm Surge Warning
2341Flash Flood Warning
2343Severe Thunderstorm Warning
2345Extreme Wind Warning
2346Tornado Warning
2348Tsunami Warning
2349Fire Weather Watch
2350Freeze Watch
2351Hard Freeze Watch
2352Wind Chill Watch
2353Extreme Cold Watch
2354Excessive Heat Watch
2355High Wind Watch
2356Flood Watch
2357Lakeshore Flood Watch
2358Coastal Flood Watch
2359Heavy Freezing Spray Watch
2360Hazardous Seas Watch
2361Winter Storm Watch
2362Gale Watch
2363Avalanche Watch
2364Storm Watch
2365Tropical Storm Watch
2366Typhoon Watch
2367Hurricane Force Wind Watch
2368Hurricane Watch
2369Storm Surge Watch
2370Flash Flood Watch
2371Severe Thunderstorm Watch
2372Tornado Watch
2373Tsunami Watch
2374Air Stagnation Advisory
2375Low Water Advisory
2376Freezing Spray Advisory
2377Freezing Fog Advisory
2378Ashfall Advisory
2379Frost Advisory
2380Wind Advisory
2381Lake Wind Advisory
2382Blowing Dust Advisory
2383Dust Advisory
2384Brisk Wind Advisory
2385Small Craft Advisory
2386Small Craft Advisory For Winds
2387Small Craft Advisory For Rough Bar
2388Small Craft Advisory For Hazardous Seas
2389Dense Smoke Advisory
2390Dense Fog Advisory
2391High Surf Advisory
2392Coastal Flood Advisory
2393Lakeshore Flood Advisory
2394Hydrologic Advisory
2395Flood Advisory
2396Heat Advisory
2397Wind Chill Advisory
2398Winter Weather Advisory
2399Avalanche Advisory
2400Tsunami Advisory
2409Flood Statement
2411Hydrologic Outlook
2412Hazardous Weather Outlook
2413Air Quality Alert
2414Extreme Fire Danger
2415Marine Weather Statement
2416Special Weather Statement
2417Lakeshore Flood Statement
2418Coastal Flood Statement
2419Beach Hazards Statement
2420Rip Current Statement
2421Tropical Depression Local Statement
2422Tropical Storm Local Statement
2423Typhoon Local Statement
2424Hurricane Local Statement
2425Severe Weather Statement
2426Flash Flood Statement
2501Heavy Rain
2502Very Heavy Rain
2521Moderate Rain
2522Light Rain
2523Heavy Rain
2524Light Mist
2525Raised Dust
2526High Winds
2527Dusty plankton
2528Active Winds
2529Heat Wave
2530Cold Wave
2531Fog
2532Light Fog
2550Heavy Rain
2551Strong Wind
2552Heavy Snow
2553Thunderstorms
2554Road Snowfall
2581Thunderstorm
2601Strong Wind Advisory
2602Strong Wind Warning
2603Wind Wave Advisory
2604Wind Wave Warning
2605Heavy Rain Advisory
2606Heavy Rain Warning
2607Heavy Snow Advisory
2608Heavy Snow Warning
2609Dryness Advisory
2610Dryness Warning
2611Storm Surge Advisory
2612Storm Surge Warning
2613Cold Wave Advisory
2614Cold Wave Warning
2615Typhoon Advisory
2616Typhoon Warning
2617Asian Dust Advisory
2618Asian Dust Warning
2619Heatwave Advisory
2620Heatwave Warning
2641Heavy Rain
9999Other Warning