OpenAQ
by docs.openaq.org
Weather forecasts
Added on October 31st, 2026
Checked and working on November 16th, 2026
Visit docs.openaq.org →
What it does
OpenAQ collects air quality measurements from government monitors and research-grade sensors in more than 100 countries and makes them available as open data. The API gives you locations, sensors and measurements of pollutants such as PM2.5, PM10, ozone, nitrogen dioxide and carbon monoxide, both latest values and history. Responses are JSON. Free, with a free API key from your OpenAQ account.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free, with a free API key from your OpenAQ account.
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- docs.openaq.org
- Last checked
- Working on November 16th, 2026
More information: https://docs.openaq.org/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://api.openaq.org/v3/locations?coordinates=51.5,-0.12&radius=10000&limit=1' \
-H 'X-API-Key: YOUR_API_KEY'
JavaScript
const response = await fetch("https://api.openaq.org/v3/locations?coordinates=51.5,-0.12&radius=10000&limit=1", {
headers: {
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://api.openaq.org/v3/locations?coordinates=51.5,-0.12&radius=10000&limit=1",
headers={
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key.