# ClearCheck Air Quality by ZIP

> ClearCheck Air Quality by ZIP is a paid API for AI agents from loonie-toll.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the current worst AQI reading, the driving pollutant, and a GOOD-to-HAZARDOUS verdict for a given US ZIP code.

## Facts

- Endpoint: GET https://loonie-toll.onrender.com/airquality
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clearcheck-air-quality-by-zip-cf17faa2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OmSGaLvYd_iHt54mqAlaP

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 clearcheck-air-quality-by-zip-cf17faa2
```

Example prompt: What's the current air quality in ZIP code 90210 — what's the AQI, which pollutant is driving it, and is it safe to be outside?

## When to prefer this

Use this endpoint when you need a real-time, single-point air quality verdict for a specific US ZIP code, including both the AQI score and the specific pollutant driving it. It is ideal for health-conscious decisions (outdoor activity, travel, relocation research) and is simpler than querying raw EPA data directly. Prefer this over general weather APIs when air quality specifics — pollutant identity, AQI category, and a clear verdict — are needed.

## Known failure modes

- No monitoring station found within the search radius — response may indicate no data available
- Invalid or non-existent ZIP code returns an error or empty observations
- Stale data if upstream air quality monitors are offline or delayed
- ZIP code outside the US is not supported

## How this service works

Current US air quality by ZIP: worst AQI now, the pollutant driving it, and a GOOD to HAZARDOUS verdict.

## Output

Returns a JSON object with: the worst current AQI value and its pollutant, an overall verdict string (e.g. GOOD, MODERATE, UNHEALTHY, HAZARDOUS), an array of all monitoring observations (each with AQI, state, category, pollutant, reporting area, and local timestamp), the data source attribution, the retrieval timestamp, a disclaimer, and any reasons for the verdict.

## 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",
     "required": [
      "zip"
     ],
     "properties": {
      "zip": {
       "type": "string",
       "description": "5-digit US ZIP code"
      },
      "distance": {
       "type": "integer",
       "description": "Search radius in miles if the ZIP has no monitor, default 50"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "query": {
       "type": "object",
       "properties": {
        "zip": {
         "type": "string"
        },
        "distanceMiles": {
         "type": "integer"
        }
       }
      },
      "source": {
       "type": "string"
      },
      "reasons": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "verdict": {
       "type": "string"
      },
      "disclaimer": {
       "type": "string"
      },
      "retrievedAt": {
       "type": "string"
      },
      "observations": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "aqi": {
          "type": "integer"
         },
         "state": {
          "type": "string"
         },
         "category": {
          "type": "string"
         },
         "pollutant": {
          "type": "string"
         },
         "reportingArea": {
          "type": "string"
         },
         "observedAtLocal": {
          "type": "string"
         }
        }
       }
      },
      "worstPollutant": {
       "type": "object",
       "properties": {
        "aqi": {
         "type": "integer"
        },
        "state": {
         "type": "string"
        },
        "category": {
         "type": "string"
        },
        "pollutant": {
         "type": "string"
        },
        "reportingArea": {
         "type": "string"
        },
        "observedAtLocal": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clearcheck-air-quality-by-zip-cf17faa2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from loonie-toll.onrender.com](https://www.zero.xyz/host/loonie-toll.onrender.com/llms.txt)
