International Air Quality API Parameters

Version 2

Request parameters | Current conditions/forecast response parameters | Observational response parameters

Version 1 parameters (deprecated)

 

 

Air Quality API Query String Parameters

Parameter Description Default value
api Hostname to be used only in production: api.accuweather.com N/A Required
apidev Hostname to be used only in development: apidev.accuweather.com N/A Required
apikey Unique code used to access the API N/A Required
version Version of the API v2 Required
locationkey Unique ID used to search for a specific location N/A Required
format Response format (currently only JSON is supported) JSON Optional
hour# Time of forecast measured in hours from the current time. Available time spans are 1, 12, 24, 48, 72, and 96 hours. N/A Required
day# Time of forecast measured in days from the current time. Available time spans are 1, 2, 3, and 4 days. N/A Required
pollutants Boolean value that returns detailed information about each pollutant when true. Only available with the premium option. false Optional
language String indicating the language in which to return the resource en-us Optional

Top of Page



 



Current Conditions/Forecast Air Quality API Response Parameters

Parameter Description
success Boolean indicating server status. Returns true if the server responded properly.
status Code indicating the status of the returned data.
version The current version of the API.
data Array containing the requested weather data along with relevant metadata.

Top of Page



 



Observational Air Quality API Response Parameters

Parameter Description
success Boolean indicating server status. Returns true if the server responded properly.
status Code indicating the status of the returned data.
version The current version of the API.
data Array containing the requested weather data along with relevant metadata.

 Top of Page

 

 

 

Version 1 (deprecated)

Request parameters | Response parameters

 

 

Air Quality API Query String Parameters

Parameter Description Default value
api Hostname to be used only in production: api.accuweather.com N/A Required
apidev Hostname to be used only in development: apidev.accuweather.com N/A Required
apikey Unique code used to access the API N/A Required
version Version of the API v1 Required
locationkey Unique ID used to search for a specific location N/A Required
format Format of the response JSON Optional

Top of Section

Top of Page



 



Air Quality API Response Parameters

Parameter Description
Date Date
EpochDate Datetime of the forecast displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT)
Index Air quality index. Scale from 0-500, with 0 being best air quality and 500 being worst.
ParticulateMatter2_5 The concentration, in micrograms per cubic meter of air (µg/m3), of particles smaller than 2.5 microns in diameter. Average value over the past hour.
ParticulateMatter10 The concentration, in µg/m3, of particles larger than 2.5 microns in diameter, but smaller than 10 microns in diameter. Average value over the past hour.
Ozone The concentration, in µg/m3, of ozone particles. Average value over the past hour.
CarbonMonoxide The concentration, in parts per million (ppm), of carbon monoxide. Average value over the past hour.
NitrogenMonoxide The concentration, in µg/m3, of nitrogen monoxide. Average value over the past hour.
NitrogenDioxide The concentration, in µg/m3, of nitrogen dioxide. Average value over the past hour.
SulfurDioxide The concentration, in µg/m3, of sulfur dioxide. Average value over the past hour.
Lead The concentration, in µg/m3, of lead particles. Average value over the past hour.
Source Data Source.

Top of Section

Top of Page