取消
AQI查询:AQI+PM2.5+NO2+CO+O3+SO2+PM10
1231
6
895874
  • API调试: 演示GET
    接口地址: /apis/aqi2
    请求方法: GET
    http://api.help.bj.cn/apis/aqi?id=101060101
    城市编码下载:http://api.help.bj.cn/api/CityCode.XLS
    请求参数: UrlParam
    参数名 类型 必填 描述 默认值
    idString城市编码(如:101060101代表长春)101060101
    返回说明:JSON格式,UTF-8编码。
    返回事例:{
        "status": "0",
        "city": "长春",
        "cityid": "101060101",
        "en": "AQI",
        "cn": "空气质量指数",
        "val": "20",
        "lev": "优",
        "impx": "空气质量令人满意,基本无空气污染",
        "advc": "各类人群可正常活动",
        "data": [
            {
                "en": "PM2.5",
                "cn": "细颗粒物",
                "val": "8"
            },{
                "en": "NO2",
                "cn": "二氧化氮",
                "val": "14"
            },{
                "en": "CO",
                "cn": "一氧化碳",
                "val": "0.69"
            },{
                "en": "O3",
                "cn": "臭氧",
                "val": "37"
            },{
                "en": "SO2",
                "cn": "二氧化硫",
                "val": "6"
            },{
                "en": "PM10",
                "cn": "可吸入颗粒物",
                "val": "18"
            }
        ],
        "updata": "201610170900"
    }
    字段说明:{
        "status": "0",  //反馈代码 0成功
        "msg": "反馈信息", //反馈信息
        "cityid": "101060101",//城市编码
        "en": "AQI",//指标英文名称
        "cn": "空气质量指数",//指标中文名称
        "val": "20",//值
        "lev": "优",//评价
        "impx": "空气质量令人满意,基本无空气污染",//说明
        "advc": "各类人群可正常活动",//建议
        "data": [//其它数值
            {
                "en": "PM2.5",//指标英文名称
                "cn": "细颗粒物",//指标中文名称
                "val": "8"//指标数值
            },{
                "en": "NO2",
                "cn": "二氧化氮",
                "val": "14"
            },{
                "en": "CO",
                "cn": "一氧化碳",
                "val": "0.69"
            },{
                "en": "O3",
                "cn": "臭氧",
                "val": "37"
            },{
                "en": "SO2",
                "cn": "二氧化硫",
                "val": "6"
            },{
                "en": "PM10",
                "cn": "可吸入颗粒物",
                "val": "18"
            }
        ],
        "updata": "201610170900"//更新时间
    }
  • 评论:

轻触这里

关闭目录