{
"count": 3,
"items": [
{
"station_code": "DEBE068",
"station_name": "Berlin Mitte",
"country_code": "DE",
"country": "Germany",
"lat": 52.5136,
"lon": 13.4188,
"distance_km": 1.17,
"station_type": "Some main pollutants",
"measurements": {
"PM2.5": {
"value": 8.28,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"PM10": {
"value": 10.61,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"NO2": {
"value": 15.14,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
}
},
"eaqi": {
"band": "Fair",
"band_index": 2,
"dominant_pollutant": "PM2.5",
"per_pollutant": {
"PM2.5": {
"band": "Fair",
"band_index": 2
},
"PM10": {
"band": "Good",
"band_index": 1
},
"NO2": {
"band": "Fair",
"band_index": 2
}
}
},
"data_age_hours": 1.4,
"stale": false
},
{
"station_code": "DEBE125",
"station_name": "Berlin Leipziger Straße (MC)",
"country_code": "DE",
"country": "Germany",
"lat": 52.5098,
"lon": 13.3824,
"distance_km": 1.9,
"station_type": "Some main pollutants",
"measurements": {
"PM2.5": {
"value": 12.55,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"PM10": {
"value": 16.12,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"NO2": {
"value": 22.87,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
}
},
"eaqi": {
"band": "Fair",
"band_index": 2,
"dominant_pollutant": "PM2.5",
"per_pollutant": {
"PM2.5": {
"band": "Fair",
"band_index": 2
},
"PM10": {
"band": "Fair",
"band_index": 2
},
"NO2": {
"band": "Fair",
"band_index": 2
}
}
},
"data_age_hours": 1.4,
"stale": false
},
{
"station_code": "DEBE034",
"station_name": "Berlin Neukölln",
"country_code": "DE",
"country": "Germany",
"lat": 52.4895,
"lon": 13.4308,
"distance_km": 3.81,
"station_type": "Main pollutants",
"measurements": {
"PM2.5": {
"value": 9.61,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"PM10": {
"value": 12.9,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"NO2": {
"value": 20.24,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"O3": {
"value": 23.16,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
}
},
"eaqi": {
"band": "Fair",
"band_index": 2,
"dominant_pollutant": "PM2.5",
"per_pollutant": {
"PM2.5": {
"band": "Fair",
"band_index": 2
},
"PM10": {
"band": "Good",
"band_index": 1
},
"NO2": {
"band": "Fair",
"band_index": 2
},
"O3": {
"band": "Good",
"band_index": 1
}
}
},
"data_age_hours": 1.4,
"stale": false
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15566/air+quality+api/41904/air+quality+api?mode=latest&lat=52.52&lon=13.405&radius_km=25&limit=3&hours=24' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 空气质量 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
欧洲任意地点的实时空气质量:来自 38 个国家 3700 多个官方监测站测得的最新每小时 PM2.5、PM10、NO2、臭氧和 SO2 数值,以简洁的 JSON 格式呈现
欧洲任意地点的实时空气质量:由38个国家的3700多个官方监测站测得的最新每小时PM2.5、PM10、NO2、臭氧和SO2数值,以整洁的JSON格式呈现
每次请求最多返回 100 条结果。使用 limit 参数设置。】【。
每次请求都会从公共来源收集实时数据。相同的请求可能会从缓存中提供,最长缓存时间为 6 小时”】【
列表参数可以接受多个值,并以逗号分隔,例如:london,paris
该端点接受以下查询参数,均为可选:mode、lat、lon、locations、station、country、pollutants、radius_km、limit、hours。Mode:Latest = 距某地点最近的站点的最新小时值(附欧洲空气质量指数等级);history = 一个站点过去 N 小时的小时值;stations = 列出某个国家的所有站点。Lat:地点的纬度,例如 52.52(柏林)。仅限欧洲(欧洲环境署成员国和合作国家,以及英国)。Lon:地点的经度,例如 13.405(柏林)。Locations:对于 latest:最多 25 个地点,格式为“lat,lon”,例如 48.8566,2.3522。每个地点返回其最近的站点;行中包含 query_location。