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.
| Interface code | Interface | Class | 
|---|---|---|
| airDaily | Air quality daily forecast | AirV1DailyResponse | 
Parameters
AirV1Parameter
- 
            
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 
- 
            
langMulti-language setting, please see Language to find out how our multi-language works and how to set up. 
Sample code
public void airDaily(AirV1Parameter parameter, Callback<AirV1DailyResponse> callback);
Response
AirV1DailyResponse
- 
        
metadata.tagUnique tag for this data - 
        
days.forecastStartTimeThe start time of the forecast data, ISO8601 format - 
        
days.forecastEndTimeThe end time of the forecast data, ISO8601 format - 
        
days.indexes.codeCode of air quality index - 
        
days.indexes.nameName of air quality index - 
        
days.indexes.aqiValue of air quality index - 
        
days.indexes.aqiDisplayDisplay name of the AQI value - 
        
days.indexes.levelLevel of air quality index - 
        
days.indexes.categoryCategory of air quality index - 
        
days.indexes.color.redRed in RGBA color for AQI - 
        
days.indexes.color.greenGreen in RGBA color for AQI - 
        
days.indexes.color.blueBlue in RGBA color for AQI - 
        
days.indexes.color.alphaAlpha in RGBA color for AQI - 
        
days.indexes.primaryPollutant.codeThe primary pollutant code, maybe NULL. - 
        
days.indexes.primaryPollutant.nameName of primary pollutant, maybe NULL. - 
        
days.indexes.primaryPollutant.fullNameFull name of primary pollutant, maybe NULL. - 
        
days.indexes.health.effectHealth effects of air quality, maybe NULL. - 
        
days.indexes.health.advice.generalPopulationHealth advice for general population, maybe NULL. - 
        
days.indexes.health.advice.sensitivePopulationHealth advice for sensitive population, maybe NULL. - 
        
days.pollutants.codeThe pollutant code. - 
        
days.pollutants.nameName of pollutant. - 
        
days.pollutants.fullNameFull name of pollutant. - 
        
days.pollutants.concentration.valueConcentration values of pollutants. - 
        
days.pollutants.concentration.unitUnits for concentration values of pollutants. - 
        
days.pollutants.subIndexes.codeCode of air quality sub-index, maybe NULL. - 
        
days.pollutants.subIndexes.aqiSub-index value for pollutant, maybe NULL. - 
        
days.pollutants.subIndexes.aqiDisplaySub-index for display, maybe NULL.