# air-quality-vienna

> air-quality-vienna 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 real-time air quality data for Vienna including European and US AQI, key pollutant concentrations, and a health label sourced from Open-Meteo/CAMS.

## Facts

- Endpoint: GET https://data.intel.rallylive.ca/data/air-quality/vienna?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-vienna-4c79b5aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fetloo1y902AR-uH4yIcO

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-vienna-4c79b5aa
```

Example prompt: What's the air quality like in Vienna right now — give me the AQI, main pollutant levels, and whether it's safe to go for a run outside?

## When to prefer this

Choose this endpoint when you need a quick, no-parameter real-time air quality snapshot specifically for Vienna, including both European and US AQI standards plus a health label. Ideal for health and outdoor-activity decisions. Prefer over general weather endpoints when pollutant-level detail (PM2.5, ozone, NO2, SO2, CO) matters. Not suitable for historical data, forecasts, or other cities.

## Known failure modes

- Upstream Open-Meteo/CAMS data unavailable — may return stale or empty data
- Network timeout from the data.intel.rallylive.ca host
- Payment not processed (x402 payment required) — returns 402 status if $0.01 USDC not sent
- Invalid request format — returns error if HTTP method is not GET

## How this service works

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

## Output

Returns current air quality metrics for Vienna including the European AQI score, US AQI score, concentrations of PM2.5, PM10, ozone (O3), nitrogen dioxide (NO2), sulphur dioxide (SO2), and carbon monoxide (CO), along with a human-readable health category 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-vienna-4c79b5aa/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)
