# Air Quality Ljubljana

> Air Quality Ljubljana 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 Ljubljana including European and US AQI, major pollutants, and a health label, sourced from Open-Meteo CAMS.

## Facts

- Endpoint: GET https://data.intel.rallylive.ca/data/air-quality/ljubljana?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-ljubljana-9d4d5e6e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5SHbrjvcv8OJiK0VOzMrw

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-ljubljana-9d4d5e6e
```

Example prompt: What's the air quality like in Ljubljana right now? I want to know the AQI, PM2.5, and whether it's safe to go for a run outside.

## When to prefer this

Choose this endpoint when you specifically need real-time air quality data for Ljubljana, including both European and US AQI standards alongside individual pollutant breakdowns and a health label. It is ideal for health-conscious decisions, outdoor activity planning, or automated environmental monitoring for Ljubljana specifically, rather than a general multi-city or forecast-based air quality service.

## Known failure modes

- Upstream Open-Meteo CAMS data unavailable — may return stale or empty data
- Network timeout if the data provider is slow
- Payment not processed — returns 402 if USDC payment header is missing or invalid
- Invalid request format — returns error if query parameters are malformed

## How this service works

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

## Output

Returns a JSON object with current European AQI and US AQI scores, concentrations of PM2.5, PM10, ozone, nitrogen dioxide, sulphur dioxide, and carbon monoxide, plus a human-readable health label indicating overall risk level for Ljubljana.

## 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-ljubljana-9d4d5e6e/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)
