{"uid":"cap_McVerXqA7MrXWbYOIccTP","slug":"citiview-air-quality-history-865ed4c0","name":"Citiview Air Quality History","description":"Air pollution history for any place: daily average, min and max of PM2.5 (or PM10, ozone, NO2, SO2, CO) from the nearest active monitor for up to 365 days, with daily US AQI, worst day, days over the WHO guideline and an improving/worsening trend.","url":"https://agents.citiviewgroup.com/v1/airquality/history?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"],"type":"string"},"queryParams":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"days":{"type":"integer","description":"1-365, default 30"},"near":{"type":"string","description":"Place name"},"parameter":{"type":"string","description":"pm25 (default), pm10, o3, no2, so2, co"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rVpB1JlAnthrTJyK7itz_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns daily air pollution history (PM2.5, PM10, ozone, NO2, SO2, CO) for any location for up to 365 days, including AQI, worst day, WHO exceedances, and trend direction.","exampleAgentPrompt":"What has the PM2.5 air quality been like in Denver over the last 60 days — was it getting better or worse, and how many days exceeded the WHO guideline?","exampleUseCases":[{"title":"City air quality trend report","prompt":"Can you pull the PM2.5 air pollution history for Los Angeles for the last 90 days and tell me if it's been improving or worsening, and how many days exceeded the WHO standard?"},{"title":"Real estate research air quality check","prompt":"I'm considering moving to Austin, Texas — what has the air quality been like there over the past 30 days? Give me daily AQI, worst day, and the overall trend."},{"title":"Ozone pollution history for a specific location","prompt":"Look up ozone pollution history near coordinates 40.7128, -74.0060 for the past 180 days — I want to see the daily averages, min, max, and whether it's trending better or worse."}],"resultDescription":"Returns a time series of daily air quality readings from the nearest active monitor covering the requested parameter (PM2.5 by default), with each day's average, min, and max values, a daily US AQI score, the single worst day in the period, the total count of days exceeding the WHO guideline, and an overall improving or worsening trend indicator.","failureModes":["No nearby active monitor found for the given coordinates or place name","Invalid or out-of-range 'days' parameter (must be 1–365)","Unknown place name that cannot be geocoded","Unsupported pollutant parameter string","Coordinates outside coverage area","Payment failure or insufficient USDC balance (x402)"],"whenToPreferThis":"Use this endpoint when you need historical daily air quality data (not real-time or forecast) for a specific place, want multi-pollutant flexibility (PM2.5, PM10, ozone, NO2, SO2, CO), or need summary statistics like worst day, WHO exceedance count, and trend direction — all in a single call. Prefer over generic weather APIs that lack pollutant-level granularity or WHO guideline comparison.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:48:38.713Z","isFirstParty":false,"canonicalSlug":"citiview-air-quality-history-865ed4c0"}