Air Quality API - AQI & Pollutant Levels by Coordinates
Returns the current Air Quality Index (both US EPA and European scales) and individual pollutant concentrations for a given latitude and longitude. Pollutants include PM2.5, PM10, carbon monoxide, nitrogen dioxide, sulphur dioxide, and ozone.
Code examples
curl -X POST https://api.botoi.com/v1/air-quality/check \
-H "Content-Type: application/json" \
-d '{"lat":40.7128,"lng":-74.006}'When to use this API
Health and fitness app recommendations
Check local air quality before recommending outdoor activities. When AQI exceeds 100 (Unhealthy for Sensitive Groups), suggest indoor workouts instead of running or cycling outdoors. Display a color-coded AQI badge in the app dashboard.
Real estate and property listing enrichment
Add air quality scores to property listings. Buyers searching for homes can filter by average AQI, and listing pages can display current pollutant levels alongside neighborhood data like schools and transit.
Environmental monitoring dashboards
Build a live air quality dashboard that polls this endpoint every 30 minutes for multiple locations. Display historical trends, set threshold alerts for PM2.5 or ozone spikes, and generate daily air quality reports for facility managers.
Frequently asked questions
What is the difference between US and European AQI?
What units are the pollutant concentrations in?
How often is air quality data refreshed?
Can I get air quality data for a city name instead of coordinates?
What does aqi_category mean?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.