{"uid":"cap_lx2N42GdwHO2mBM_-lPmn","slug":"openweather-coral-vercel-app-4ca4f482","name":"OpenWeather Air Quality Index API","description":"Air quality index (AQI) with PM2.5, PM10, NO2, O3, CO, SO2 for any location","url":"https://openweather-coral.vercel.app/weather/air-quality","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"],"type":"string"},"queryParams":{"type":"object","properties":{"lat":{"type":"string","description":"Latitude"},"lon":{"type":"string","description":"Longitude"},"city":{"type":"string","description":"City name"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"aqi":{"type":"object"},"city":{"type":"string"},"components":{"type":"object"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"city":"London"}}},"response":{"aqi":{"index":2,"label":"Fair"},"city":"London","components":{"co":102.4,"no":0.15,"o3":70.06,"nh3":0.01,"no2":2.42,"so2":1.97,"pm10":7.77,"pm2_5":2.65},"coordinates":{"lat":51.5074456,"lon":-0.1277653},"measured_at":"2026-06-03T18:38:16.000Z"}},"exampleRequest":{"city":"London"},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","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_o2iAdYTLa7LzISJ5BT1VM","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 real-time air quality index (AQI) with detailed pollutant concentrations (PM2.5, PM10, NO2, O3, CO, SO2) for any geographic location","exampleAgentPrompt":"What's the current air quality index and pollutant breakdown — PM2.5, PM10, ozone, NO2 — for San Francisco right now? Use latitude 37.7749 and longitude -122.4194.","exampleUseCases":null,"resultDescription":"Returns an AQI object with a numeric index (1-5) and label (e.g. 'Moderate'), plus individual concentrations in μg/m³ for CO, NO, NO2, O3, SO2, PM2.5, PM10, and NH3, along with the measurement timestamp and coordinates.","failureModes":["Invalid or out-of-range latitude/longitude returns an error","Missing required query parameters (no lat/lon or city) returns a 400-type error","Unrecognized city name may fail to resolve coordinates","Payment failure (insufficient balance) returns 402","Service unavailability from upstream OpenWeatherMap returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need real-time air pollution data including granular pollutant concentrations (PM2.5, PM10, NO2, O3, CO, SO2) for a specific latitude/longitude or city. It is ideal for health-aware applications, travel planning, or environmental monitoring workflows that need AQI alongside specific chemical component levels.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T20:27:18.625Z","isFirstParty":false}