| 字段名 | 类型 | 说明 |
|---|---|---|
code | int | 状态码,0=成功 |
desc | string | 状态描述 |
data− |
object | 业务数据(成功时返回) |
city− |
object | 城市信息 |
city |
string | 城市名 |
district |
string | 区县 |
province |
string | 省份 |
country |
string | 国家 |
air− |
object | 实况空气质量数据(仅 time_type=realtime 时返回) |
aqi |
string | 空气质量指数 AQI |
pm25 |
string | PM2.5 浓度(μg/m³) |
pm10 |
string | PM10 浓度(μg/m³) |
so2 |
string | 二氧化硫浓度(μg/m³) |
no2 |
string | 二氧化氮浓度(μg/m³) |
o3 |
string | 臭氧浓度(μg/m³) |
co |
string | 一氧化碳浓度(mg/m³) |
publish_time |
string | 数据发布时间 |
air_hourly− |
array | 24小时逐时空气质量预报数组(仅 time_type=24hours 时返回) |
forecast_time |
string | 预报时间 |
aqi |
string | 空气质量指数 AQI |
publish_time |
string | 数据发布时间 |
air_forecast− |
array | 15日空气质量预报数组(仅 time_type=15days 时返回) |
forecast_day |
string | 预报日期 |
aqi |
string | 空气质量指数 AQI |
publish_time |
string | 数据发布时间 |
request_id | string | 请求追踪ID |
{
"code": 0,
"desc": "success",
"data": { ... },
"request_id": "abc123..."
}
{
"code": 999,
"desc": "错误描述",
"request_id": "abc123..."
}
© 网程科技(林州网程科技有限公司) | 豫ICP备2025120409号-2 | 豫B2-20230220 | 豫公网安备 41058102000262号