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 |
|
format
|
path | True |
Desired format of the response. Only |
|
|
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
|
|
|
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 |
The request has succeeded. |
|
| Other Status Codes |
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-idheader to indicate which Azure Maps resource the application is requesting access to. This can be acquired from the Maps management API. - The
Authorization URLis 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 |
|---|---|
|
Alert |
One geographic area covered by a severe weather alert, returned as an
entry in |
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). |
|
Json |
Desired format of the response. Only |
|
Latest |
The most recent status of a severe weather alert in a specific area,
returned on |
|
Latest |
A predefined list of eight keywords used to describe the current status of a severe weather alert. |
|
Severe |
One severe weather alert active at the specified location, returned as
an entry in |
|
Severe |
Short summary phrases for a severe weather alert, returned on
|
|
Severe |
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 |
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 |
string |
The language of |
| 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 |
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
|
|
| 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
|
| 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 |
The error additional info. |
|
| code |
string |
The error code. |
| details |
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 |
The error object. |
JsonFormat
Desired format of the response. Only json format is supported.
| Value | Description |
|---|---|
| json |
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 |
The status keyword in English (en-US) - one of the values defined by
|
|
| 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 |
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 |
| 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 |
The geographic areas covered by the alert. Each |
|
| 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, |
| 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,
|
| description |
Short summary phrases for the alert (for example, Heat Warning or
Tornado Watch), returned both in the language specified in the
request ( |
|
| 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
|
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 |
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 |
The severe weather alerts active at the specified location, ordered by
|