Alerts

Weather Alerts

Returns government weather alerts and warnings (USA, UK, Europe, rest of world) for a given location, if available.

get/alerts.json

Request

  • Base URL
    https://api.weatherapi.com/v1
  • Auth
    API key in query parameter key

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

Changes

No recorded changes to this operation across all 4 revisions of this API.