# air-quality-johannesburg

> air-quality-johannesburg 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-11-21).

Returns current air quality data for Johannesburg including European and US AQI, PM2.5, PM10, ozone, NO2, SO2, CO, and a health label sourced from Open-Meteo/CAMS.

## Facts

- Endpoint: GET https://data.intel.rallylive.ca/data/air-quality/johannesburg?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/air-quality-johannesburg-3588afb4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z6a3TW0-rgAYRQNVIfgJR

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-johannesburg-3588afb4
```

Example prompt: What's the air quality like in Johannesburg right now — can you give me the AQI, PM2.5, and a health assessment so I know if it's safe to exercise outside?

## When to prefer this

Choose this endpoint when you need real-time air quality data specifically for Johannesburg, South Africa, including both European and US AQI standards alongside individual pollutant concentrations and a ready-made health label — ideal for health-conscious outdoor planning or automated monitoring agents covering the Johannesburg metro area.

## Known failure modes

- Upstream Open-Meteo/CAMS data temporarily unavailable — may return 503 or stale data
- Network timeout if data.intel.rallylive.ca is unreachable
- Payment failure if x402 payment of $0.01 USDC is not correctly attached
- Missing or malformed response if CAMS has not yet updated for the current hour

## How this service works

Air quality in Johannesburg 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 Johannesburg. $0.01 per call.

## Output

Returns current air quality metrics for Johannesburg including European AQI, US AQI, PM2.5 (µg/m³), PM10 (µg/m³), ozone, nitrogen dioxide, sulphur dioxide, carbon monoxide concentrations, and a human-readable health label (e.g. 'Good', 'Moderate', 'Unhealthy') derived from CAMS data via Open-Meteo.

## 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-johannesburg-3588afb4/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)
