AQICN
APIFree Air Quality Index (AQI) Data API for 1000+ Cities
Overview
The AQICN API provides real-time and historical air quality data, including Air Quality Index (AQI) values and pollutant metrics (PM2.5, PM10, NO2, SO2, CO) for over 1000 cities globally. Key endpoints support city-specific queries (by name/ID), geolocation-based retrieval (latitude/longitude), and historical trend access. Responses are in JSON format, ideal for integrating into weather apps, health monitoring tools, environmental research platforms, or smart city solutions to alert users of poor air quality conditions.
Example Integration (JavaScript)
fetch('https://aqicn.org/api/')
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err)); Key Features
- RESTful API
- JSON Response Format
- Real-time AQI Data
- Geo-location Support
- 1000+ Cities Coverage
- Historical Air Quality Trends
Frequently Asked Questions
? Is AQICN API free to use?
Yes, it offers a free tier with limited requests per minute/day. Paid plans are available for higher usage and advanced features like extended historical data access.
? Does it require an API Key?
Yes, you need to register on the AQICN website to obtain an API key for authenticating your requests.
? What is the response format?
The API returns data in JSON format, including AQI values, pollutant concentrations (PM2.5, PM10, NO2, etc.), location details, and timestamp information.
Top Alternatives
People Also Ask about AQICN
Tool Info
Pros
- ⊕ Easy to Integrate
- ⊕ Free Tier Accessible
- ⊕ Comprehensive Pollutant Metrics
- ⊕ Global City Coverage
Cons
- ⊖ Rate-limited Free Tier
- ⊖ Requires API Key
- ⊖ No SLA for Free Users
- ⊖ Limited Historical Data in Basic Plan