提供全国城市空气质量数据,每小时更新。支持全国多个城市,可查询监测点数据、实时空气质量、小时粒度,给出AQI指数、级别和首要污染物。可用于交通、环境监测、智能设备、互联网等领域。
权益档次可使用平台积分兑换更高调用档位,多种积分获取方式请查看积分与档位详情。
单个城市及其下属的监测点的PM数据,包括AQI,空气质量,指数类别,首要污染物,PM 2.5,细颗粒物,PM 10,可吸入颗粒物, 一氧化碳, 二氧化氮, 臭氧1小时平均, 臭氧8小时平均, 二氧化硫等信息。
showapi_res_body
curl -X POST "https://route.showapi.com/104-29?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded" \ -d "city=%E5%A4%A9%E6%B4%A5"
{ "showapi_res_code": 0, "showapi_res_error": "", "showapi_res_id":"ce135f6739294c63be0c021b76b6fbff", "showapi_res_body": { "ret_code": 0, "pm": { "num": "1", //排名 "so2": "2", // "o3": "96", //臭氧1小时平均,μg/m3 "area_code": "hangzhou", // "pm2_5": "91", //颗粒物(粒径小于等于2.5μm)1小时平均,μg/m3 "ct": "2017-05-06 16:19:26.556", //发布时间 "primary_pollutant": "颗粒物(PM10)", //首要污染物 "co": "0.28", //一氧化碳1小时平均,mg/m3 "area": "杭州", //城市名称 "no2": "8", //二氧化氮1小时平均,μg/m3 "aqi": "500", //空气质量指数(AQI),即air quality index,是定量描述空气质量状况的无纲量指数 "quality": "严重污染", //空气质量指数类别,有“优、良、轻度污染、中度污染、重度污染、严重污染”6类 "pm10": "841", //颗粒物(粒径小于等于10μm)1小时平均,μg/m3 "o3_8h": "89" //臭氧8小时滑动平均,μg/m3 }, "siteList": [ { "site_name": "万寿西宫", "co": "0.2", "so2": "2", "o3": "112", "no2": "8", "aqi": "59", "quality": "良", "pm10": "54", "pm2_5": "42", "o3_8h": "89", "primary_pollutant": "细颗粒物(PM2.5)", "ct": "2017-05-06 16:19:40.889" }, { "site_name": "定陵", "co": "0.2", "so2": "2", "o3": "116", "no2": "2", "aqi": "52", "quality": "良", "pm10": "_", "pm2_5": "36", "o3_8h": "109", "primary_pollutant": "细颗粒物(PM2.5)", "ct": "2017-05-06 16:19:40.889" } ] } }
在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{ "mcpServers": { "showapi-mcp-104": { "url": "http://www.showapi.com.cn/mcp/104/{your_appKey}" } } }
标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。
客服热线请拨打
400-998-8033