# Air Quality Lookup

> Air Quality Lookup is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns current air quality data for a location including PM2.5, PM10, ozone, NO2, SO2, CO, US AQI, European AQI, and a plain-language category.

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/air-quality
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/air-quality-lookup-73a86381
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9gxju02uYpCd20KFrLlIJ

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 air-quality-lookup-73a86381
```

Example prompt: What's the current air quality in Denver? I want to know the US AQI, PM2.5 levels, and whether it's safe to be outside.

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.01) single-location air quality snapshot covering all major pollutants plus both US and European AQI standards with a human-readable category. Prefer it over weather APIs that omit pollution data or over paid commercial AQI services when cost matters.

## Known failure modes

- Location not recognized or ambiguous place name returns an error or empty result
- Open-Meteo upstream service unavailable causes lookup failure
- Missing required location input parameter results in a validation error
- Payment failure (402) if USDC balance is insufficient

## How this service works

Current air quality for a place: PM2.5, PM10, ozone, nitrogen dioxide, sulphur dioxide, carbon monoxide, US AQI and European AQI with a plain-language category. Free Open-Meteo air-quality data. $0.01 per lookup.

## Output

A structured response containing current concentrations of PM2.5, PM10, ozone, nitrogen dioxide, sulphur dioxide, and carbon monoxide, along with the US AQI value, European AQI value, and a plain-language air quality category (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": {}
    }
   },
   "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/air-quality-lookup-73a86381/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
