# AgentRXI Air Quality

> AgentRXI Air Quality is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-15).

Returns real-time air quality data (PM2.5, PM10, ozone, NO2, and more) for any location using nearby OpenAQ monitoring stations, with a US AQI score and health category.

## Facts

- Endpoint: GET https://agentrxi.com/v1/airquality?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-air-quality-2541de24
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4j2GJAm4VMvPDL7oA2xmN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentrxi-air-quality-2541de24
```

Example prompt: What's the current air quality near downtown Chicago? Give me the AQI, PM2.5 levels, and health category.

## When to prefer this

Choose this endpoint when you need real-time ambient air quality data for any global location, especially when you need both raw pollutant concentrations and a US AQI health category in a single call. It draws from the OpenAQ network, making it suitable for any publicly monitored location worldwide. Prefer it over historical endpoints when current conditions are needed, and over weather APIs when air quality specifically (not just weather) is the concern.

## Known failure modes

- No monitoring stations found within the default or specified radius — returns empty or null results
- Invalid or out-of-range coordinates cause a query error
- Ambiguous place name that cannot be resolved to coordinates
- Station data may be stale if monitoring stations have not recently reported
- Rate limit or payment failure (x402 micropayment not processed)

## How this service works

Air quality near any place from nearby monitoring stations (OpenAQ): PM2.5, PM10, ozone, NO2 and more, with a US AQI and health category.

## Output

Returns current air quality readings from the nearest OpenAQ monitoring stations for the requested location, including individual pollutant concentrations (PM2.5, PM10, ozone, NO2, SO2, etc.), a US AQI numeric score, and a health category label (e.g. Good, Moderate, Unhealthy).

## Request schema (JSON Schema)

```json
{
 "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"
      },
      "near": {
       "type": "string"
      },
      "radius_m": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-air-quality-2541de24/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
