Air Quality API logo

Air Quality API

Bydataandapis.com
|
Data
|
10 tokens / call

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).

Quick Start

Subscribe to get instant API access with your unique API key.

View Pricing Plans

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' }
});