{"uid":"cap_hD-R3XKGKfM3Rcw_TZl0i","slug":"agentrxi-air-quality-city-comparison-036da934","name":"AgentRXI Air Quality City Comparison","description":"Compare current air quality across 2-8 cities: US AQI, category, PM2.5, PM10, ozone and NO2 from the nearest active monitors, ranked cleanest to most polluted.","url":"https://agentrxi.com/v1/airquality/compare?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","required":["places"],"properties":{"places":{"type":"string","description":"2-8 places separated by |"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pB-ajFuzshPt33trCbTYC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares current air quality across 2–8 cities, returning US AQI, category, PM2.5, PM10, ozone, and NO2 ranked from cleanest to most polluted.","exampleAgentPrompt":"Can you compare the current air quality across Los Angeles, New York, Chicago, and Denver — show me the AQI, PM2.5, ozone, and NO2 for each and rank them from cleanest to most polluted?","exampleUseCases":[{"title":"Travel destination air quality check","prompt":"I'm deciding between visiting Seattle, Portland, San Francisco, and Phoenix this weekend — which one has the best air quality right now? Show me the AQI and PM2.5 for each."},{"title":"Relocation health research","prompt":"We're considering moving to one of these cities: Austin, Denver, Minneapolis, or Nashville. Can you pull the current air quality data for all of them and rank them from cleanest to most polluted so we can factor that into our decision?"},{"title":"Remote worker city comparison","prompt":"Compare air pollution levels today in New York, Miami, and Los Angeles — I want to see AQI, ozone, and NO2 for each so I can decide where to work remotely this month."}],"resultDescription":"Returns a ranked list of cities (cleanest to most polluted) each with: US AQI score, AQI category (e.g. Good, Moderate, Unhealthy), PM2.5 concentration, PM10 concentration, ozone level, and NO2 level sourced from the nearest active air quality monitors.","failureModes":["Fewer than 2 or more than 8 cities provided — request rejected","City name not recognized or no active monitor nearby — city may be omitted or return null values","Pipe separator missing between city names — malformed query","Monitor data temporarily unavailable for a city — partial results returned","Network timeout from upstream monitor data source"],"whenToPreferThis":"Choose this endpoint when you need to compare real-time air quality across multiple cities simultaneously (2–8) with multi-pollutant granularity (PM2.5, PM10, ozone, NO2). It is ideal for travel planning, relocation research, or health-conscious city comparisons. Prefer it over single-city weather APIs that include only basic AQI or over general weather endpoints that do not break down individual pollutants.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:02.380Z","isFirstParty":false,"canonicalSlug":"agentrxi-air-quality-city-comparison-036da934"}