{"uid":"cap_kn66z4X9Z7Y6-XGzwZ71M","slug":"agentrxi-air-quality-history-f0790253","name":"AgentRXI 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://agentrxi.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_0tiXnRnT-ZYGBvkKLZs69","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 historical air pollution data (PM2.5, PM10, ozone, NO2, SO2, CO) for any location for up to 365 days, including US AQI, worst day, WHO exceedance count, and trend direction.","exampleAgentPrompt":"Can you pull the PM2.5 air quality history for Austin, Texas for the past 60 days and tell me whether it's been improving or worsening, and how many days exceeded the WHO guideline?","exampleUseCases":[{"title":"Real estate air quality due diligence","prompt":"Before I make an offer on a house in Salt Lake City, can you check the PM2.5 air pollution history there for the past 90 days and tell me the trend and how many days were over the WHO limit?"},{"title":"Travel health planning","prompt":"I'm planning a trip to Bangkok next month — can you look up the ozone air quality history there for the last 30 days, including the worst day and the US AQI trend?"},{"title":"City pollution comparison report","prompt":"I'm writing a report on urban air quality — can you get me the last 365 days of NO2 history for latitude 40.71, longitude -74.01 in New York, with daily averages and whether it's been getting better or worse?"}],"resultDescription":"Returns a time-series of daily air pollution readings from the nearest active monitor: daily average, min, and max for the chosen pollutant (PM2.5 by default), daily US AQI value, identification of the worst day, count of days exceeding WHO guidelines, and an overall improving or worsening trend for the requested period.","failureModes":["No nearby active monitor found for the given coordinates or place name","Invalid or unrecognized place name returns an error","Days parameter outside 1–365 range is rejected","Unsupported pollutant parameter string returns an error","Monitor data gap may result in fewer days than requested","Payment failure or insufficient USDC balance blocks the call"],"whenToPreferThis":"Choose this endpoint when you need historical daily air pollution data for a specific location over a customizable window up to one year, and want derived metrics like US AQI, WHO exceedance counts, and trend direction out of the box — rather than raw sensor feeds or real-time current readings.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:38:59.446Z","isFirstParty":false,"canonicalSlug":"agentrxi-air-quality-history-f0790253"}