# Air Quality Cape Town

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

Returns real-time air quality data for Cape Town including European and US AQI, PM2.5, PM10, ozone, NO2, SO2, CO, and a health label

## Facts

- Endpoint: GET https://data.intel.rallylive.ca/data/air-quality/cape-town?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/air-quality-cape-town-0f98dc25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pyAmrXVduEaMXasn4KynO

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-cape-town-0f98dc25
```

Example prompt: What's the air quality like in Cape Town right now — give me the AQI, PM2.5, and a health verdict so I can decide whether it's safe to go for a run outside.

## When to prefer this

Choose this endpoint when you need instant, low-cost air quality data specifically for Cape Town with no query parameters required. It is ideal for health-conscious decisions, outdoor activity planning, or monitoring Cape Town pollution in automated workflows. Prefer this over generic weather APIs when pollutant-level granularity (PM2.5, NO2, SO2, CO) and a health label are required.

## Known failure modes

- Upstream CAMS/Open-Meteo data unavailable — service may return error or stale data
- Network timeout if the data provider is slow to respond
- Fixed city endpoint — cannot be used for other locations

## How this service works

Air quality in Cape Town right now: European and US AQI, PM2.5, PM10, ozone, nitrogen dioxide, sulphur dioxide and carbon monoxide with a health label, from Open-Meteo Air Quality (CAMS). Outdoor-activity and health decisions for Cape Town. $0.01 per call.

## Output

Returns current air quality metrics for Cape Town including European AQI score, US AQI score, PM2.5 concentration, PM10 concentration, ozone level, nitrogen dioxide (NO2), sulphur dioxide (SO2), carbon monoxide (CO), and a human-readable health 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": {}
    }
   },
   "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-cape-town-0f98dc25/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.intel.rallylive.ca](https://www.zero.xyz/host/data.intel.rallylive.ca/llms.txt)
