v2
latestSwagger 2.02026-07-131892241.6 KBUse to get current air quality information that includes potential risks and suggested precautions.
The Get Current Air Quality API is an HTTP GET request that returns detailed information about the concentration of pollutants and overall status for current air quality, 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.
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.