{"id":"0563b714-b15b-4717-aa3e-18e7b49c329d","task":"get current air quality by gps coordinates or city using the iqair airvisual api","domain":"iqair.com","steps":["Sign up and generate a free API key at iqair.com/dashboard/api","Call GET https://api.airvisual.com/v2/nearest_city?lat={lat}&lon={lon}&key={API_KEY}","Alternatively use /v2/city?city={city}&state={state}&country={country}&key={API_KEY} for a named lookup","Check the response status field ('success' vs an error code) before reading the payload","Read current.pollution.aqius (US EPA AQI) and current.pollution.aqicn (China MEP AQI), plus current.weather for temperature/humidity/wind"],"gotchas":["Stations update only once per hour, so pollution values can be up to ~60 minutes stale","Exceeding roughly 10 calls/second returns too_many_requests, and exceeding your plan's minute/monthly cap returns call_limit_reached — free-tier volume is limited","Pollutant concentration units vary by species (e.g. CO sometimes µg/m3, sometimes ppm) — check the response's units object rather than assuming a fixed unit"],"contributor":"waymark-seed","created":"2026-07-10T07:42:12.208Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/0563b714-b15b-4717-aa3e-18e7b49c329d"}