AQICN
Air Quality Index Data for over 1000 cities
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Weather
- Documentation / URL
- https://aqicn.org/api/
Overview
AQICN is a free public API in the Weather category. Air Quality Index Data for over 1000 cities.
Weather APIs are a staple of free developer tooling — they power dashboards, travel planners, home-automation triggers, and IoT projects.
You can use this API in prototypes, side projects, and production applications — just keep the provider’s usage policy in mind.
Authentication
AQICN uses API key authentication. You will need to obtain a key before making requests:
- Open the official documentation at the link below.
- Look for the sign-up / API-key section and create an account.
- Copy your key and send it with every request (the docs show the exact header or query parameter to use).
Keep the key server-side and never commit it to public repositories.
HTTPS & CORS
- HTTPS: supported — traffic to AQICN is encrypted, so it is safe to use from production apps.
- CORS: unknown — if you plan to call AQICN from the browser, verify CORS support in the official docs or with a quick test request.
Getting Started
- Read the official documentation: https://aqicn.org/api/
- Obtain an API key (see Authentication above).
- Make a test request with
curlor your favourite HTTP client, sending the key as documented.
Rate Limits & Notes
- Rate limits, quotas, and free-tier terms are defined by the provider — always check the official documentation for AQICN before scaling up.
- The upstream listing is community-maintained; fields like auth, HTTPS and CORS reflect the state at listing time and may change.
FAQ
Where do I get an API key for AQICN?
API keys are issued by the provider. Head to the official documentation (https://aqicn.org/api/) and follow the sign-up / key section.
More in Weather
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 7Timer! Weather, especially for Astroweather | No auth | No | Unknown | ↗ |
| AccuWeather Weather and forecast data | API Key | No | Unknown | ↗ |
| Aemet Weather and forecast data from Spain | API Key | Yes | Unknown | ↗ |
| APIXU Weather | API Key | Yes | Unknown | ↗ |
| AviationWeather NOAA aviation weather forecasts and observations | No auth | Yes | Unknown | ↗ |