Air Quality Daily Forecast
Air quality (AQI) dailay forecasts, pollutants, and health advice for the next 3 days.
We recommend to read Air Quality Info to learn about the AQIs, pollutants, supported regions and more.
Endpoint#
GET /airquality/v1/daily/{latitude}/{longitude}Parameters#
Path parameters
-
latitude requirednumberLatitude of the requested location in decimal degrees
-
longitude requirednumberLongitude of the requested location in decimal degrees
Query parameters
-
langstringLanguage setting. See Language for behavior, configuration, and data availability
Request example#
curl -X GET --compressed \
-H 'Authorization: Bearer your_token' \
'https://your-api-host/airquality/v1/daily/39.92/116.41'
Replace your_token and your_api_host with your JWT Authentication and API Host
Response#
{
"metadata": {
"tag": "4b78230843e636a6f910631d94878da73aa980a66abfcf53d35f9c06493a292d",
"attributions": [
"https://developer.qweather.com/attribution.html"
]
},
"days": [
{
"forecastStartTime": "2023-02-14T23:00Z",
"forecastEndTime": "2023-02-15T23:00Z",
"indexes": [
{
"code": "qaqi",
"name": "QAQI",
"aqi": 1.0,
"aqiDisplay": "1.0",
"level": "1",
"category": "Excellent",
"color": {
"red": 195,
"green": 217,
"blue": 78,
"alpha": 1
},
"primaryPollutant": {
"code": "pm2p5",
"name": "PM 2.5",
"fullName": "Fine particulate matter (<2.5µm)"
},
"health": {
"effect": "No health implications.",
"advice": {
"generalPopulation": "Enjoy your outdoor activities.",
"sensitivePopulation": "Enjoy your outdoor activities."
}
}
},
{
"code": "eu-eea",
"name": "EAQI (EU)",
"aqi": 2,
"aqiDisplay": "2",
"level": "2",
"category": "Fair",
"color": {
"red": 80,
"green": 204,
"blue": 170,
"alpha": 1
},
"primaryPollutant": {
"code": "pm2p5",
"name": "PM 2.5",
"fullName": "Fine particulate matter (<2.5µm)"
},
"health": {
"effect": null,
"advice": {
"generalPopulation": "Enjoy your usual outdoor activities.",
"sensitivePopulation": "Enjoy your usual outdoor activities."
}
}
}
],
"pollutants": [
{
"code": "pm2p5",
"name": "PM 2.5",
"fullName": "Fine particulate matter (<2.5µm)",
"concentration": {
"value": 11.88,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 2,
"aqiDisplay": "2"
},
{
"code": "qaqi",
"aqi": 1,
"aqiDisplay": "1"
}
]
},
{
"code": "pm10",
"name": "PM 10",
"fullName": "Inhalable particulate matter (<10µm)",
"concentration": {
"value": 2.38,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.1,
"aqiDisplay": "0.1"
}
]
},
{
"code": "no2",
"name": "NO2",
"fullName": "Nitrogen dioxide",
"concentration": {
"value": 4.1,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.1,
"aqiDisplay": "0.1"
}
]
},
{
"code": "o3",
"name": "O3",
"fullName": "Ozone",
"concentration": {
"value": 36.33,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.8,
"aqiDisplay": "0.8"
}
]
},
{
"code": "so2",
"name": "SO2",
"fullName": "Sulfur dioxide",
"concentration": {
"value": 32.13,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.7,
"aqiDisplay": "0.7"
}
]
}
]
},
{
"forecastStartTime": "2023-02-15T23:00Z",
"forecastEndTime": "2023-02-16T23:00Z",
"indexes": [
{
"code": "qaqi",
"name": "QAQI",
"aqi": 1.1,
"aqiDisplay": "1.1",
"level": "1",
"category": "Excellent",
"color": {
"red": 195,
"green": 217,
"blue": 78,
"alpha": 1
},
"primaryPollutant": {
"code": "o3",
"name": "O3",
"fullName": "Ozone"
},
"health": {
"effect": "No health implications.",
"advice": {
"generalPopulation": "Enjoy your outdoor activities.",
"sensitivePopulation": "Enjoy your outdoor activities."
}
}
},
{
"code": "eu-eea",
"name": "EAQI (EU)",
"aqi": 2,
"aqiDisplay": "2",
"level": "2",
"category": "Fair",
"color": {
"red": 80,
"green": 204,
"blue": 170,
"alpha": 1
},
"primaryPollutant": {
"code": "o3",
"name": "O3",
"fullName": "Ozone"
},
"health": {
"effect": null,
"advice": {
"generalPopulation": "Enjoy your usual outdoor activities.",
"sensitivePopulation": "Enjoy your usual outdoor activities."
}
}
}
],
"pollutants": [
{
"code": "pm2p5",
"name": "PM 2.5",
"fullName": "Fine particulate matter (<2.5µm)",
"concentration": {
"value": 9.13,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.8,
"aqiDisplay": "0.8"
}
]
},
{
"code": "pm10",
"name": "PM 10",
"fullName": "Inhalable particulate matter (<10µm)",
"concentration": {
"value": 1.08,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.1,
"aqiDisplay": "0.1"
}
]
},
{
"code": "no2",
"name": "NO2",
"fullName": "Nitrogen dioxide",
"concentration": {
"value": 2.34,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.1,
"aqiDisplay": "0.1"
}
]
},
{
"code": "o3",
"name": "O3",
"fullName": "Ozone",
"concentration": {
"value": 53.33,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 2,
"aqiDisplay": "2"
},
{
"code": "qaqi",
"aqi": 1.1,
"aqiDisplay": "1.1"
}
]
},
{
"code": "so2",
"name": "SO2",
"fullName": "Sulfur dioxide",
"concentration": {
"value": 22.17,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.5,
"aqiDisplay": "0.5"
}
]
}
]
},
{
"forecastStartTime": "2023-02-16T23:00Z",
"forecastEndTime": "2023-02-17T23:00Z",
"indexes": [
{
"code": "qaqi",
"name": "QAQI",
"aqi": 0.9,
"aqiDisplay": "0.9",
"level": "1",
"category": "Excellent",
"color": {
"red": 195,
"green": 217,
"blue": 78,
"alpha": 1
},
"primaryPollutant": {
"code": "o3",
"name": "O3",
"fullName": "Ozone"
},
"health": {
"effect": "No health implications.",
"advice": {
"generalPopulation": "Enjoy your outdoor activities.",
"sensitivePopulation": "Enjoy your outdoor activities."
}
}
},
{
"code": "eu-eea",
"name": "EAQI (EU)",
"aqi": 1,
"aqiDisplay": "1",
"level": "1",
"category": "Good",
"color": {
"red": 80,
"green": 240,
"blue": 230,
"alpha": 1
},
"primaryPollutant": {
"code": "o3",
"name": "O3",
"fullName": "Ozone"
},
"health": {
"effect": null,
"advice": {
"generalPopulation": "The air quality is good. Enjoy your usual outdoor activities.",
"sensitivePopulation": "The air quality is good. Enjoy your usual outdoor activities."
}
}
}
],
"pollutants": [
{
"code": "pm2p5",
"name": "PM 2.5",
"fullName": "Fine particulate matter (<2.5µm)",
"concentration": {
"value": 8.5,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.7,
"aqiDisplay": "0.7"
}
]
},
{
"code": "pm10",
"name": "PM 10",
"fullName": "Inhalable particulate matter (<10µm)",
"concentration": {
"value": 1.54,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.1,
"aqiDisplay": "0.1"
}
]
},
{
"code": "no2",
"name": "NO2",
"fullName": "Nitrogen dioxide",
"concentration": {
"value": 2.77,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.1,
"aqiDisplay": "0.1"
}
]
},
{
"code": "o3",
"name": "O3",
"fullName": "Ozone",
"concentration": {
"value": 43.86,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.9,
"aqiDisplay": "0.9"
}
]
},
{
"code": "so2",
"name": "SO2",
"fullName": "Sulfur dioxide",
"concentration": {
"value": 20.94,
"unit": "μg/m3"
},
"subIndexes": [
{
"code": "eu-eea",
"aqi": 1,
"aqiDisplay": "1"
},
{
"code": "qaqi",
"aqi": 0.5,
"aqiDisplay": "0.5"
}
]
}
]
}
]
}
-
metadataobjectMetadata for this response
-
tagstringUnique data identifier
-
attributionsarrayData attribution or statements that must be displayed with the response data
-
-
daysarrayDaily AQI list
-
forecastStartTimedate-timeForecast start time
-
forecastEndTimedate-timeForecast end time
-
indexesarrayAir quality index list
-
codestringCode of air quality index
-
namestringName of air quality index
-
aqinumber
-
aqiDisplaystring
-
levelstringLevel of air quality index
-
categorystringCategory of air quality index
-
colorobjectRGBA color for the air quality index
-
rednumberRed component in RGBA, [0, 255]
-
greennumberGreen component in RGBA, [0, 255]
-
bluenumberBlue component in RGBA, [0, 255]
-
alphanumberAlpha (opacity) in RGBA, [0, 1]
-
-
primaryPollutantobjectPrimary pollutant. May be NULL
-
codestringCode of primary pollutan
-
namestringName of primary pollutant
-
fullNamestringFull name of primary pollutant
-
-
healthobject
-
effectstringHealth effects of air quality, maybe NULL
-
adviceobjectHealth advice, may be NULL
-
generalPopulationstringHealth advice for general population, maybe NULL
-
sensitivePopulationstringHealth advice for sensitive population, maybe NULL
-
-
-
-
pollutantsarrayPollutant list, may be NULL
-
codestringCode of pollutant
-
namestringName of pollutant
-
fullNamestringFull name of pollutant
-
concentrationobjectConcentration of pollutant
-
valuenumberValue
-
unitstring
-
-
subIndexesarraySub-index list, maybe NULL
-
codestringCode of sub-index
-
aqinumberSub-index value for pollutant
-
aqiDisplaystringSub-index for display
-
-
-