{"uid":"cap__o0OlOcLe2KYPMzwjyWST","slug":"air-quality-index-7fa0bacc","name":"Air Quality Index","description":"Current air quality and hourly forecast for any place or coordinates: US and European AQI with category, PM2.5, PM10, ozone, NO2, SO2, CO, dust and UV index.","url":"https://bess-x402.onrender.com/v1/geo/air-quality?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"lat":{"type":"number","description":"Latitude"},"lon":{"type":"number","description":"Longitude"},"hours":{"type":"integer","description":"Forecast hours (1-120)"},"place":{"type":"string","description":"City or address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B5XaQ0E_jiEB1rjIgewed","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 (US/EU AQI, PM2.5, PM10, ozone, NO2, SO2, CO, dust, UV index) plus hourly forecast for any location by coordinates or place name.","exampleAgentPrompt":"What's the current air quality in San Francisco right now, and can you also show me the hourly forecast for the next 48 hours — including PM2.5, ozone, and UV index?","exampleUseCases":[{"title":"Outdoor exercise safety check","prompt":"I'm planning to go for a long run in Chicago this morning — can you check the current air quality and tell me if PM2.5 and ozone levels are safe for outdoor exercise?"},{"title":"Travel health planning","prompt":"I'm flying to Paris next week and have asthma — can you pull the current European AQI and a 72-hour hourly air quality forecast for Paris so I know what to expect?"},{"title":"Real estate air quality research","prompt":"Can you check the air quality index and pollution levels including NO2, SO2, and dust for the coordinates 33.4484, -112.0740 in Phoenix, Arizona? I'm considering moving there and want to understand the typical air quality."}],"resultDescription":"Returns current air quality data for the requested location including US AQI value and category, European AQI, and pollutant concentrations (PM2.5, PM10, ozone, NO2, SO2, CO, dust) along with UV index. When forecast hours are specified (1–120), also returns an hourly breakdown of these same metrics.","failureModes":["Invalid or missing location: neither 'place' nor 'lat'/'lon' provided returns an error","Unrecognized place name that cannot be geocoded returns a location resolution error","Forecast hours outside the 1–120 range may be rejected or clamped","Payment failure (x402 micropayment not completed) blocks the request","Downstream weather/air-quality data provider outage may return 503 or empty data","Coordinates in remote oceanic regions may return no data"],"whenToPreferThis":"Choose this endpoint when you need real-time or short-term forecast air quality data — including both US and European AQI standards — with detailed pollutant breakdowns (PM2.5, PM10, ozone, NO2, SO2, CO, dust) and UV index for any global location. It is especially useful for agents handling health-sensitive decisions, outdoor activity planning, or travel preparation where knowing specific pollutant levels matters. Prefer this over generic weather APIs that omit air quality, or over government portals limited to specific countries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:38:17.839Z","isFirstParty":false,"canonicalSlug":"air-quality-index-7fa0bacc"}