# Air Quality Trend & Alert Oracle

> Air Quality Trend & Alert Oracle is a paid API for AI agents from store.cryptotradecalc.com, paid per call via x402, $0.012/call, status unknown (last checked 2026-09-13).

Retrieves air quality trends and alert levels for a given city, enabling monitoring and decision-making based on pollution and air health data.

## Facts

- Endpoint: GET https://store.cryptotradecalc.com/api/air-quality-trend
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/air-quality-trend-alert-oracle-14be49a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GWEB0xRJusRFKuKAyIL2j

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-trend-alert-oracle-14be49a2
```

Example prompt: What are the current air quality trends and any active alerts for Chicago — is pollution improving or getting worse there?

## When to prefer this

Choose this endpoint when an agent needs city-level air quality trend data and alerts, particularly for health advisories, outdoor activity planning, or environmental monitoring workflows. Prefer over generic weather APIs when air quality index and pollution trend direction are the primary concern.

## Known failure modes

- Unknown or misspelled city name returns an error or empty result
- City not covered by data sources returns no data
- Missing required city parameter returns a validation error
- Service unavailable returns HTTP 402 or 5xx error
- Rate limiting or payment failure blocks the request

## How this service works

air-quality-trend-oracle: Air Quality Trend & Alert Oracle

## Output

Returns air quality trend data for the specified city, including current AQI levels, directional trend (improving/worsening), and any active air quality alerts or advisories.

## 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": {
      "city": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/air-quality-trend-alert-oracle-14be49a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from store.cryptotradecalc.com](https://www.zero.xyz/host/store.cryptotradecalc.com/llms.txt)
