PM25.in

API

Real-time air quality data API for China

Visit Website

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)

script.js JS

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

AirVisual API Search Google
China NEMC Public API Search Google

People Also Ask about PM25.in

PM25.in vs AirVisual APIPM25.in vs China NEMC Public API PM25.in 2025 review

Tool Info

Pricing Free
Category Environment
Platform Public API

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

More Environment Tools