
Air Quality API
Latest air-quality measurements — PM2.5, PM10, ozone, NO2, SO2, CO — from the nearest government monitoring stations to any coordinates, with station distance and reading timestamps. Open data via OpenAQ (CC BY 4.0).
Available Endpoints
Request Parameters
API URL
Please subscribe to see the API URL
Headers
X-Api-Key
Query Parameters
lat(Required)
lon(Required)
radius(Optional)
Please subscribe to see the actual API URL
import axios from 'axios';
const url = '{API_URL}';
const { data } = await axios.get(url, {
headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});