Alerts
Weather Alerts
Returns government weather alerts and warnings (USA, UK, Europe, rest of world) for a given location, if available.
get/alerts.json
Query parameters
keystring required
Example:YOUR_API_KEY
Your WeatherAPI.com API key.
qstring required
Example:London
Location query. Accepts: city name, lat/lon, US zip, UK postcode, Canada postal code, METAR code (metar:EGLL), IATA (iata:DXB), auto:ip, IPv4/IPv6, or location ID (id:2801268).
Response
Weather alerts