v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1341833.5 KB
currentConditions

The Current Conditions endpoint provides hourly air quality information in more than 100 countries, up to a 500 x 500 meters resolution. Includes over 70 local indexes and global air quality index and categories.

post/v1/currentConditions:lookup

Request body

uaqiColorPalette'COLOR_PALETTE_UNSPECIFIED' | 'RED_GREEN' | 'INDIGO_PERSIAN_DARK' | 'INDIGO_PERSIAN_LIGHT'

Optional. Determines the color palette used for data provided by the 'Universal Air Quality Index' (UAQI). This color palette is relevant just for UAQI, other AQIs have a predetermined color palette that can't be controlled.

languageCodestring

Optional. Allows the client to choose the language for the response. If data cannot be provided for that language the API uses the closest match. Allowed values rely on the IETF standard. Default value is en.

universalAqiboolean

Optional. If set to true, the Universal AQI will be included in the 'indexes' field of the response. Default value is true.

extraComputationsstring[]

Optional. Additional features that can be optionally enabled. Specifying extra computations will result in the relevant elements and fields to be returned in the response.

Response

Successful response

All 4 operations