IQAir
空气质量和天气数据
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 环境
简介
IQAir(AirVisual)提供空气质量数据——基于密钥(无效密钥返回 403,已实测)。
快速开始
城市 AQI(替换 YOUR_KEY):
curl "https://api.airvisual.com/v2/city?city=Beijing&state=Beijing&country=China&key=YOUR_KEY"
{ "status": "success", "data": { "city": "Beijing", "current": { "pollution": { "aqius": 85 } } } }
认证方式
- 在 iqair.com 注册 → API 密钥。
- 通过
key查询参数携带(无效 → 403,已实测)。
速率限制与注意事项
- 免费层:有限次/天(看文档);付费档可扩展。
- 城市/最近/站点端点。
常见问题
IQAir 免费吗? 免费层带每日限额;更多需要付费。
为什么 403? 无效密钥返回 403(已实测)——请注册拿密钥。
认证风格是什么?
key 查询参数。
环境 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| BreezoMeter Pollen Daily Forecast pollen conditions data for a specific location | API Key | Yes | Unknown | ↗ |
| Carbon Interface API to calculate carbon (C02) emissions estimates for common C02 emitting activities | API Key | Yes | Yes | ↗ |
| Climatiq Calculate the environmental footprint created by a broad range of emission-generating activities | API Key | Yes | Yes | ↗ |
| Cloverly API calculates the impact of common carbon-intensive activities in real time | API Key | Yes | Unknown | ↗ |
| CO2 Offset API calculates and validates the carbon footprint | No auth | Yes | Unknown | ↗ |