PM25.in
APIReal-time air quality data API for China
Overview
PM25.in API provides real-time and historical air quality data across China, including key metrics like PM2.5, PM10, SO2, NO2, CO, O3 levels, and AQI indices. Endpoints support fetching data by city, monitoring station, or region. Responses are in JSON format for seamless integration. Ideal for building air quality tracking apps, public health platforms, environmental research tools, or smart city solutions to inform users about pollution levels and support data-driven air quality management decisions.
Example Integration (JavaScript)
fetch('http://www.pm25.in/api_doc')
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err)); Key Features
- RESTful API
- JSON response format
- Real-time & historical data
- City/station-level details
- Comprehensive pollutant metrics
Frequently Asked Questions
? Is PM25.in free to use?
Yes, PM25.in API offers free access to its air quality data, though some advanced features may have restrictions per the official terms.
? Does it require an API Key?
Certain endpoints may require an API key, which can be obtained via the official documentation portal.
? What is the response format?
The API primarily returns data in JSON format, which is lightweight and easy to parse for developers.
Top Alternatives
People Also Ask about PM25.in
Tool Info
Pros
- ⊕ China-wide coverage
- ⊕ Detailed air quality metrics
- ⊕ Easy integration
- ⊕ Free access
Cons
- ⊖ Limited to China only
- ⊖ Potential rate limits
- ⊖ No official SLA
- ⊖ Some endpoints require API key