{"uid":"cap_Cb-a9flWN-3cfpE-5yg9N","slug":"openweather-air-quality-index-via-locus-x402-6d9018b6","name":"OpenWeather Air Quality Index via Locus x402","description":"Global weather data — current conditions, 5-day forecasts, hourly forecasts, air quality index with pollutants, geocoding, and One Call 3.0 with full weather suite and government alerts.","url":"https://openweather.x402.paywithlocus.com/openweather/air-quality","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6ntjbQ6LPSLWRMvB10BEx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current air quality index and pollutant concentrations for a given geographic coordinate, paid via x402 microtransaction.","exampleAgentPrompt":"What's the current air quality index at latitude 34.05 and longitude -118.24 — is the air safe to breathe there right now?","exampleUseCases":[{"title":"Outdoor activity safety check","prompt":"I'm planning a morning run in downtown Los Angeles — can you check the current air quality at latitude 34.05, longitude -118.24 and tell me if the pollution levels are safe?"},{"title":"Real estate due diligence report","prompt":"I'm evaluating a property at latitude 40.71, longitude -74.01 in New York — pull the current air quality index and pollutant breakdown so I can assess environmental conditions there."},{"title":"Travel health advisory for sensitive traveler","prompt":"My grandmother is flying into Beijing — can you check the air quality index at latitude 39.91, longitude 116.39 so we know if she should bring an N95 mask?"}],"resultDescription":"Returns a JSON object with current air quality index (AQI on a 1-5 scale), individual pollutant concentrations (CO, NO, NO2, O3, SO2, PM2.5, PM10, NH3) in μg/m³, and the timestamp of the measurement, along with payment settlement metadata.","failureModes":["Invalid or out-of-range latitude/longitude returns a 400 error","Payment failure or insufficient USDC balance causes a 402 response","Network timeout if OpenWeatherMap upstream is slow","Coordinates in ocean or uninhabited areas may return sparse or no pollutant data","Rate limiting if too many requests are made in a short window"],"whenToPreferThis":"Choose this endpoint when you need real-time air quality and pollutant data for a specific geographic coordinate and can pay per call via x402/USDC microtransactions. Prefer it over scraping environmental agency websites when you need programmatic, structured AQI data. It is especially useful in agent workflows that already use x402-compatible payment rails, or when you need to combine air quality with other OpenWeather data available on the same host.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:31:39.872Z","isFirstParty":false}