OpenAQ API
openaq.org
OpenAQ - open air quality data with monitoring stations and pollutant readings.
- Actions
- 1
- Category
- Weather
- Login
- Not required
- Output
- JSON
Call the OpenAQ API
Submit a task, then poll the job until it settles. This example runs act_openaq_homepage_featured_station.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_openaq_homepage_featured_station",
"params": {}
}'1 action on openaq.org
Read
Homepage Featured Station
act_openaq_homepage_featured_stationread1 credit / callReturns the featured monitoring station with location, provider, and latest pollutant readings.
OpenAQ API questions
- Is there an API for OpenAQ?
- OpenAQ does not offer a public data API for this, but Anakin Wire provides 1 maintained endpoint for openaq.org. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape OpenAQ data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when openaq.org changes its markup, Anakin updates the action.
- Do I need a OpenAQ account?
- No. Every OpenAQ action listed here runs anonymously — no account and no credentials required.
- What does the OpenAQ API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Weather APIs
7Timer
7Timer - numerical weather, astronomy, cloud-cover, and meteogram forecasts worldwide.
Bureau of Meteorology (Australia)
Australia's weather service - forecasts, observations, radar, and severe weather warnings.
EU PVGIS
EU PVGIS - solar PV output and hourly irradiance and wind time-series.
IQAir
IQAir - global air quality with location search, AQI dashboards, forecasts, and rankings.
NWS Forecast
National Weather Service - location forecasts, hourly views, text forecasts, and maps.
Open-Meteo
Open-Meteo - weather, historical, air quality, geocoding, and marine data.