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(required) The latitude of the desired location. Decimal format, up to 2 decimal places. For example39.92 -
longitude(required) The longitude of the desired location. Decimal format, up to 2 decimal places. For example116.41
Query parameters
-
langMulti-language setting, please see Language to find out how our multi-language works and how to set up.
Request example#
curl -X GET --compressed \
-H 'Authorization: Bearer your_token' \
'https://your-api-host/airquality/v1/daily/39.92/116.41?lang=en'
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"
}
]
}
]
}
]
}
-
metadataobject Metadata for this response-
tagstring Unique tag for this data -
attributionsarray Data attribution list that must be displayed with the current data
-
-
daysarray Daily AQI list-
forecastStartTimedate-time Forecast start time in ISO 8601 format -
forecastEndTimedate-time Forecast end time in ISO 8601 format -
-
codestring Code of air quality index -
namestring Name of air quality index -
levelstring Level of air quality index -
categorystring Category of air quality index -
colorobject RGBA color for the air quality index-
rednumber Red component in RGBA, [0, 255] -
greennumber Green component in RGBA, [0, 255] -
bluenumber Blue component in RGBA, [0, 255] -
alphanumber Alpha (opacity) in RGBA, [0, 1]
-
-
-
codestring Code of primary pollutan -
namestring Name of primary pollutant -
fullNamestring Full name of primary pollutant
-
-
-
effectstring Health effects of air quality, maybe NULL -
adviceobject Health advice, may be NULL-
generalPopulationstring Health advice for general population, maybe NULL -
sensitivePopulationstring Health advice for sensitive population, maybe NULL
-
-
-
-
-
codestring Code of pollutant -
namestring Name of pollutant -
fullNamestring Full name of pollutant -
concentrationobject Concentration of pollutant-
valuenumber Value -
unitstring Unit
-
-
-
codestring Code of sub-index -
aqinumber Sub-index value for pollutant -
aqiDisplaystring Sub-index for display
-
-
-