get current air quality conditions and heatmap tiles from the google air quality api

domain: airquality.googleapis.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create/select a Google Cloud project, enable billing, enable the Air Quality API, and generate an API key in Cloud Console
  2. Send POST https://airquality.googleapis.com/v1/currentConditions:lookup?key=YOUR_API_KEY with a JSON body containing location.latitude and location.longitude
  3. Optionally add extraComputations (HEALTH_RECOMMENDATIONS, POLLUTANT_CONCENTRATION, LOCAL_AQI, POLLUTANT_ADDITIONAL_INFO) and languageCode
  4. Read indexes[] for AQI values (default is Universal AQI 'uaqi'; request LOCAL_AQI for country indexes like 'usa_epa') and pollutants[] for concentrations
  5. For a map overlay, fetch PNG tiles from GET https://airquality.googleapis.com/v1/mapTypes/{TYPE}/heatmapTiles/{Z}/{X}/{Y}?key=YOUR_API_KEY (e.g. TYPE=US_AQI)

Known gotchas

Related routes

get current air quality by gps coordinates or city using the iqair airvisual api
iqair.com · 5 steps · unrated
get current, forecast, or historical air pollution index and pollutant concentrations by coordinate
openweathermap.org · 5 steps · unrated
read current or recent measurements from an airgradient air quality sensor via its public api
airgradient.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans