v2
latestSwagger 2.02026-07-131892241.6 KBUse to get hourly air quality forecasts for the next one to 96 hours that include pollutant levels, potential risks and suggested precautions.
The Get Air Quality Hourly Forecasts API is an HTTP GET request that returns detailed information about the concentration of pollutants and overall status for forecasted upcoming hourly air quality. The service can provide forecasted hourly air quality information for the upcoming time spans of 1, 12, 24, 48, 72, and 96 hours, including pollution levels, air quality index values, the dominant pollutant, and a brief statement summarizing risk level and suggested precautions.
Path parameters
Desired format of the response. Only json format is supported.
Query parameters
The API version to use for this operation.
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.
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.
Defines the duration, in hours, for the air quality forecast. Available values are 1, 12, 24, 48, 72, and 96. The default value is 1 hour.
Boolean value that returns detailed information about each pollutant. By default is True.
Headers
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.
Response
The request has succeeded.