For developers
Free, open air-quality data for every city we track.
Air Quality Data API
DailyAQI publishes its computed live AQI as open JSON — free to use with attribution.
Endpoint
A single JSON document lists every city we track with its current reading, updated hourly:
GET https://dailyaqi.com/assets/near.json
Response shape
An array of objects, one per city:
{
"s": "delhi", // slug
"n": "Delhi", // name
"r": "Delhi", // region / country
"la": 28.70, "lo": 77.17, // coordinates
"u": "/air-quality/delhi/",// page URL
"a": 386, // current AQI (null if updating)
"bn": "Very Poor", // band name
"bc": "#E93F33", // band colour
"sc": "IN" // scale: IN = CPCB, US = US EPA
}
Terms & attribution
Free for non-commercial and commercial use with a visible link back to dailyaqi.com. Underlying data © Central Pollution Control Board (India, via data.gov.in, GODL) and OpenAQ contributors (world). Readings are indicative; see our methodology. No warranty — do not use as the sole basis for health or safety decisions.
Prefer a visual badge?
Use the copy-paste embeddable badge instead of calling the API directly.