Weather - Get Severe Weather Alerts

Use to get information about severe weather conditions such as hurricanes, thunderstorms, flooding, lightning, heat waves or forest fires for a given location.
Severe weather phenomenon can significantly impact our everyday life and business operations. For example, severe weather conditions such as tropical storms, high winds or flooding can close roads and force logistics companies to reroute their fleet causing delays in reaching destinations and breaking the cold chain of refrigerated food products.

The Get Severe Weather Alerts API is an HTTP GET request that returns the severe weather alerts that are available worldwide from both official Government Meteorological Agencies and leading global to regional weather alert providers. The service can return details such as alert type, category, level and detailed description about the active severe alerts for the requested location, like hurricanes, thunderstorms, lightning, heat waves or forest fires. For more information, see Request severe weather alerts

GET {endpoint}/weather/severe/alerts/json?api-version=1.1&query={query}
GET {endpoint}/weather/severe/alerts/json?api-version=1.1&query={query}&language={language}&details={details}

URI Parameters

Name In Required Type Description
endpoint
path True

string (uri)

The Azure Maps service hostname. Use https://atlas.microsoft.com for the Azure public cloud. To target a specific Azure Maps geography or a sovereign cloud, see Azure Maps geographic scope.

format
path True

JsonFormat

Desired format of the response. Only json format is supported.

api-version
query True

string

minLength: 1

The API version to use for this operation.

query
query True

number[]

The applicable query specified as a comma separated string composed by latitude followed by longitude e.g. "47.641268,-122.125679".

Weather information is generally available for locations on land, bodies of water surrounded by land, and areas of the ocean that are within approximately 50 nautical miles of a coastline.

details
query

string

Return full details for the severe weather alerts. Available values are

  • true - Returns full details. By default all details are returned.
  • false - Returns a truncated version of the alerts data, which excludes the area-specific full description of alert details (alertDetails).
language
query

string

Language in which search results should be returned. Should be one of supported IETF language tags, case insensitive. When data in specified language is not available for a specific field, default language is used.

Please refer to Supported Languages for details.

Request Header

Name Required Type Description
x-ms-client-id

string

Indicates the account intended for use with the Microsoft Entra ID security model. This unique ID for the Azure Maps account can be obtained from the Azure Maps management plane Account API. For more information on using Microsoft Entra ID security in Azure Maps, see Manage authentication in Azure Maps.

Responses

Name Type Description
200 OK

SevereWeatherAlertsResult

The request has succeeded.

Other Status Codes

ErrorResponse

An unexpected error response.

Security

AadToken

These are the Microsoft Entra OAuth 2.0 Flows. When paired with Azure role-based access control it can be used to control access to Azure Maps REST APIs. Azure role-based access controls are used to designate access to one or more Azure Maps resource account or sub-resources. Any user, group, or service principal can be granted access via a built-in role or a custom role composed of one or more permissions to Azure Maps REST APIs.

To implement scenarios, we recommend viewing authentication concepts. In summary, this security definition provides a solution for modeling application(s) via objects capable of access control on specific APIs and scopes.

Note

  • This security definition requires the use of the x-ms-client-id header to indicate which Azure Maps resource the application is requesting access to. This can be acquired from the Maps management API.
  • The Authorization URL is specific to the Azure public cloud instance. Sovereign clouds have unique Authorization URLs and Microsoft Entra ID configurations.
  • The Azure role-based access control is configured from the Azure management plane via Azure portal, PowerShell, CLI, Azure SDKs, or REST APIs.
  • Usage of the Azure Maps Web SDK allows for configuration based setup of an application for multiple use cases.
  • For more information on Microsoft identity platform, see Microsoft identity platform overview.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
https://atlas.microsoft.com/.default

subscription-key

This is a shared key that is provisioned when you Create an Azure Maps account in the Azure portal or using PowerShell, CLI, Azure SDKs, or REST API.

With this key, any application can access all REST API. In other words, this key can be used as a master key in the account that they are issued in.

For publicly exposed applications, our recommendation is to use the confidential client applications approach to access Azure Maps REST APIs so your key can be securely stored.

Type: apiKey
In: header

SAS Token

This is a shared access signature token is created from the List SAS operation on the Azure Maps resource through the Azure management plane via Azure portal, PowerShell, CLI, Azure SDKs, or REST APIs.

With this token, any application is authorized to access with Azure role-based access controls and fine-grain control to the expiration, rate, and region(s) of use for the particular token. In other words, the SAS Token can be used to allow applications to control access in a more secured way than the shared key.

For publicly exposed applications, our recommendation is to configure a specific list of allowed origins on the Map account resource to limit rendering abuse and regularly renew the SAS Token.

Type: apiKey
In: header

Examples

Successfully retrieve severe weather alerts

Sample request

GET https://atlas.microsoft.com/weather/severe/alerts/json?api-version=1.1&query=48.057,-81.091

Sample response

{
  "results": [
    {
      "description": {
        "english": "Heat Warning",
        "localized": "Heat Warning"
      },
      "alertAreas": [
        {
          "name": "Kirkland Lake - Englehart",
          "alertDetails": "\nA heat event continues through Thursday.\n\nDaytime high temperatures in the low thirties with overnight lows near 18 degrees Celsius are expected to continue until Thursday. Humidex values are expected to reach between 36 and 40 today. Cooler air will move into the region Thursday night. \n\nPlease refer to your public forecast for further details on expected temperatures.\n\nHot and humid air can also bring deteriorating air quality and can result in the air quality health index to approach the high risk category.\n\n###\n\nExtreme heat affects everyone.\n\nThe risks are greater for young children, pregnant women, older adults, people with chronic illnesses and people working or exercising outdoors.\n\nWatch for the effects of heat illness: swelling, rash, cramps, fainting, heat exhaustion, heat stroke and the worsening of some health conditions.\n\nPlease continue to monitor alerts and forecasts issued by Environment Canada. To report severe weather, send an email to ONstorm@canada.ca or tweet reports using #ONStorm.\n",
          "alertDetailsLanguageCode": "en-CA",
          "endTime": "2020-07-02T07:16:03+00:00",
          "latestStatus": {
            "english": "Continue",
            "localized": "Continue"
          },
          "startTime": "2020-06-29T19:44:00+00:00",
          "summary": "Heat Warning in effect until Thursday, 3:16 AM EDT.  Source: Environment Canada"
        }
      ],
      "alertId": 242621,
      "category": "NON-PRECIPITATION",
      "countryCode": "CA",
      "priority": 31,
      "source": "Environment Canada",
      "sourceId": 3
    },
    {
      "description": {
        "english": "Heat Warning",
        "localized": "Heat Warning"
      },
      "alertAreas": [
        {
          "name": "Kirkland Lake - Englehart",
          "alertDetails": "\nA heat event is expected through Thursday.  \n\nDaytime high temperatures in the low thirties on Wednesday and Thursday with overnight lows near 18 degrees Celsius are expected. This heat event may be extended into the weekend with daytime high temperatures near 30 degrees Celsius. \n\nPlease refer to your public forecast for further details on expected temperatures.  \n\nHot and humid air can also bring deteriorating air quality and can result in the Air Quality Health Index to approach the high risk category.\n\n###\n\nExtreme heat affects everyone.\n\nThe risks are greater for young children, pregnant women, older adults, people with chronic illnesses and people working or exercising outdoors.\n\nPlease continue to monitor alerts and forecasts issued by Environment Canada. To report severe weather, send an email to ONstorm@canada.ca or tweet reports using #ONStorm.\n",
          "alertDetailsLanguageCode": "en-CA",
          "endTime": "2020-07-02T01:25:59+00:00",
          "latestStatus": {
            "english": "New",
            "localized": "New"
          },
          "startTime": "2020-07-01T09:25:59+00:00",
          "summary": "Heat Warning in effect until 9:25 PM EDT.  Source: Environment Canada"
        }
      ],
      "alertId": 242633,
      "category": "NON-PRECIPITATION",
      "countryCode": "CA",
      "priority": 31,
      "source": "Environment Canada",
      "sourceId": 3
    }
  ]
}

Definitions

Name Description
AlertArea

One geographic area covered by a severe weather alert, returned as an entry in SevereWeatherAlert.alertAreas. Each AlertArea identifies the affected area by name, gives the start and end times during which the alert is in effect there (startTime, endTime), reports the most recent status of the alert in that area (latestStatus), and carries a short displayable summary of the alert. When the request asks for full details, the complete alert text is also returned in alertDetails, with alertDetailsLanguageCode identifying the language it is supplied in.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

JsonFormat

Desired format of the response. Only json format is supported.

LatestStatus

The most recent status of a severe weather alert in a specific area, returned on AlertArea.latestStatus. The same status keyword (one of New, Continue, Update, Correct, Extend, Upgrade, Cancel, or Expire - see LatestStatusKeyword for the complete list) is returned twice: once translated into the language specified on the request (localized), and once in English (english), so callers can display a localized label to end users while still keeping a stable, language-independent value for switching on status.

LatestStatusKeyword

A predefined list of eight keywords used to describe the current status of a severe weather alert.

SevereWeatherAlert

One severe weather alert active at the specified location, returned as an entry in SevereWeatherAlertsResult.results. Combines metadata about the alert itself (country, identifier, category, severity classification, priority, issuing source, and any disclaimer) with a description carrying short localized and English summary phrases and an alertAreas array describing the specific geographic areas the alert covers, the times during which it is in effect, and the full alert detail. The underlying alerts are issued by official government meteorological agencies and leading global weather alert providers, and cover phenomena such as hurricanes, thunderstorms, flooding, lightning, heat waves, and forest fires.

SevereWeatherAlertDescription

Short summary phrases for a severe weather alert, returned on SevereWeatherAlert.description. The same phrase is provided twice: once translated into the language specified on the request (localized) and once in English (english), so callers can display a localized label to end users while still keeping a stable, language-independent string for logging, matching, or fallback display.

SevereWeatherAlertsResult

The response returned by the Get Severe Weather Alerts operation, containing every severe weather alert active at the specified location. Alerts cover phenomena such as hurricanes, thunderstorms, flooding, lightning, heat waves, and forest fires - whatever local meteorological authorities have issued. The results array is empty when no alerts are in effect.

AlertArea

One geographic area covered by a severe weather alert, returned as an entry in SevereWeatherAlert.alertAreas. Each AlertArea identifies the affected area by name, gives the start and end times during which the alert is in effect there (startTime, endTime), reports the most recent status of the alert in that area (latestStatus), and carries a short displayable summary of the alert. When the request asks for full details, the complete alert text is also returned in alertDetails, with alertDetailsLanguageCode identifying the language it is supplied in.

Name Type Description
alertDetails

string

The complete free-form alert text issued by the source for this area, suitable for displaying the full advisory. Returned only when the request asks for full details. The text is returned in whatever language the issuing provider supplied it in, which may differ from the language requested for the rest of the response; the companion alertDetailsLanguageCode identifies that language. Some countries or regions may offer both their native language and English.

alertDetailsLanguageCode

string

The language of alertDetails, as an ISO 639-1 Alpha-2 language code - for example, en-CA for Canadian English. May differ from the language requested for the rest of the response. Returned only when the request asks for full details.

endTime

string (date-time)

The date and time at which the alert ends or will end for this area, in RFC 3339 format (yyyy-mm-ddThh:mm:ss-hh:mm). For example, 2025-04-29T07:00:00-07:00. If the alert spans multiple time zones, the value reflects the local time at the coordinates supplied on the request.

latestStatus

LatestStatus

The most recent status of the alert in this area (for example, whether it is newly issued, continuing, or has been canceled). Returned as both a localized phrase and a language-independent LatestStatusKeyword value.

name

string

The name of the geographic area affected by the alert in this entry - for example, Kirkland Lake - Englehart. Identifies the specific region or locality the times, status, and detail text on this AlertArea apply to.

startTime

string (date-time)

The date and time at which the alert begins for this area, in RFC 3339 format (yyyy-mm-ddThh:mm:ss-hh:mm). For example, 2025-04-29T07:00:00-07:00. If the alert spans multiple time zones, the value reflects the local time at the coordinates supplied on the request.

summary

string

A short, displayable summary of the alert for this area, including the timeframe during which it is in effect and the issuing source. For example, Heat Warning in effect until Thursday, 3:16 AM EDT. Source: Environment Canada.

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

maps.weather.getsevereweatheralerts

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

Name Type Description
error

ErrorDetail

The error object.

JsonFormat

Desired format of the response. Only json format is supported.

Value Description
json

The JavaScript Object Notation Data Interchange Format

LatestStatus

The most recent status of a severe weather alert in a specific area, returned on AlertArea.latestStatus. The same status keyword (one of New, Continue, Update, Correct, Extend, Upgrade, Cancel, or Expire - see LatestStatusKeyword for the complete list) is returned twice: once translated into the language specified on the request (localized), and once in English (english), so callers can display a localized label to end users while still keeping a stable, language-independent value for switching on status.

Name Type Description
english

LatestStatusKeyword

The status keyword in English (en-US) - one of the values defined by LatestStatusKeyword (New, Continue, Update, Correct, Extend, Upgrade, Cancel, or Expire). Always returned in English regardless of the requested language, which makes it suitable for stable, language-independent status checks.

localized

string

The status keyword translated into the language specified on the request - for example, Continu for French. If no language was specified on the request, this matches english.

LatestStatusKeyword

A predefined list of eight keywords used to describe the current status of a severe weather alert.

Value Description
Cancel

Indicates that the alert has been canceled before its scheduled expiration time.

Continue

Indicates that the alert has been updated since its initial issuance, but no changes were made to alertDetails, startTime, endTime, or class.

Correct

Indicates that the alert has been modified to correct a previous error.

Expire

Indicates that the alert has expired and is no longer active.

Extend

Indicates that the alert has been extended in duration, area, or both since its initial issuance.

New

The status of an alert when first issued.

Update

Indicates that the alert has been modified since its initial issuance.

Upgrade

Indicates that the alert has been elevated to a higher class or category since first issued.

SevereWeatherAlert

One severe weather alert active at the specified location, returned as an entry in SevereWeatherAlertsResult.results. Combines metadata about the alert itself (country, identifier, category, severity classification, priority, issuing source, and any disclaimer) with a description carrying short localized and English summary phrases and an alertAreas array describing the specific geographic areas the alert covers, the times during which it is in effect, and the full alert detail. The underlying alerts are issued by official government meteorological agencies and leading global weather alert providers, and cover phenomena such as hurricanes, thunderstorms, flooding, lightning, heat waves, and forest fires.

Name Type Description
alertAreas

AlertArea[]

The geographic areas covered by the alert. Each AlertArea identifies one affected area by name, gives the alert's start and end times for that area, the most recent alert status, and (when the request asks for full details) the complete alert detail text. An alert may cover one or several areas - for example, a heat warning may apply to multiple adjacent regions on the same advisory.

alertId

integer (int32)

A numeric identifier for the alert, unique within the issuing provider.

category

string

A short, language-independent label classifying the alert by the weather phenomenon it concerns - for example, NON-PRECIPITATION, PRECIPITATION, THUNDERSTORM, TROPICAL, or FIRE. The exact set of values depends on the issuing provider.

class

string

A provider-specific classification of the alert (for example, a warning class or alert kind), when one is supplied by the issuing agency. Not available in all countries and may be omitted.

countryCode

string

The 2-character ISO 3166-1 Alpha-2 country code for the country or region the alert was issued in - for example, US or CA.

description

SevereWeatherAlertDescription

Short summary phrases for the alert (for example, Heat Warning or Tornado Watch), returned both in the language specified in the request (localized) and in English (english).

disclaimer

string

A disclaimer about the alert information from the source - for example, a note about possible delays or data limitations. If present, it must be displayed alongside the alert. Not always returned.

level

string

The severity level of the alert, when one is supplied by the issuing agency. The exact set of values is provider-specific. Not available in all countries and may be omitted.

priority

integer (int32)

The importance of the alert within its originating country or region, where 1 is the highest priority and larger numbers are lower priority. The exact scale is provider-specific and may change over time as alert systems evolve.

source

string

The name of the agency that issued the alert - for example, Environment Canada or U.S. National Weather Service. Alerts are typically issued by official government meteorological agencies or leading global weather alert providers.

sourceId

integer (int32)

A numeric identifier for the source provider that pairs with source. Suitable for stable, language-independent lookup of the provider.

SevereWeatherAlertDescription

Short summary phrases for a severe weather alert, returned on SevereWeatherAlert.description. The same phrase is provided twice: once translated into the language specified on the request (localized) and once in English (english), so callers can display a localized label to end users while still keeping a stable, language-independent string for logging, matching, or fallback display.

Name Type Description
english

string

The summary phrase in English (en-US) - for example, Heat Warning or Tornado Watch. Always returned in English regardless of the requested language, which makes it suitable as a stable, language-independent label.

localized

string

The summary phrase translated into the language specified on the request (for example, Avis de chaleur for French). If no language was specified on the request, this matches english.

SevereWeatherAlertsResult

The response returned by the Get Severe Weather Alerts operation, containing every severe weather alert active at the specified location. Alerts cover phenomena such as hurricanes, thunderstorms, flooding, lightning, heat waves, and forest fires - whatever local meteorological authorities have issued. The results array is empty when no alerts are in effect.

Name Type Description
results

SevereWeatherAlert[]

The severe weather alerts active at the specified location, ordered by priority (highest priority first). Empty when no alerts are in effect.