# Air Quality Lagos

> Air Quality Lagos 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 metrics for Lagos 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/lagos?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-lagos-32ccd6d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e8Z7te6JU-XU0_xzXoB7-

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-lagos-32ccd6d6
```

Example prompt: What is the air quality in Lagos right now — give me the AQI, PM2.5, and a health assessment so I know whether it's safe to go outside?

## When to prefer this

Choose this endpoint when you need real-time air quality data specifically for Lagos, Nigeria, with both European and US AQI standards plus individual pollutant breakdowns and a health label. Prefer this over generic weather APIs that do not include air quality metrics, or over broader air quality APIs that require configuring coordinates and don't pre-package a health label.

## Known failure modes

- CAMS/Open-Meteo upstream outage returning stale or no data
- Network timeout if the data.intel.rallylive.ca host is unreachable
- Payment failure if the x402 $0.01 USDC transaction is not completed
- Temporary data gap if sensor readings are unavailable for Lagos

## How this service works

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

## Output

Returns current air quality readings for Lagos including European AQI, US AQI, PM2.5 (µg/m³), PM10 (µg/m³), ozone (µg/m³), nitrogen dioxide (µg/m³), sulphur dioxide (µg/m³), carbon monoxide (µg/m³), and a human-readable health label (e.g. Good, Moderate, Unhealthy) sourced from Open-Meteo's CAMS dataset.

## 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-lagos-32ccd6d6/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)
