# Air Quality Beijing

> Air Quality Beijing 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-15).

Returns current air quality data for Beijing 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/beijing?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/air-quality-beijing-d4f3271e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9sbTEwwUcEYXtl1FFLTha

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-beijing-d4f3271e
```

Example prompt: What's the current air quality in Beijing right now — give me the AQI, PM2.5 levels, and whether it's safe to be outside?

## When to prefer this

Choose this endpoint when you need real-time, multi-pollutant air quality data specifically for Beijing, including both EU and US AQI standards and individual pollutant breakdowns. Prefer this over generic weather APIs that lack pollutant-level detail, or when a health label is needed for decision-making. Ideal for applications requiring outdoor activity guidance or health risk assessment in Beijing.

## Known failure modes

- Upstream CAMS/Open-Meteo data unavailable — service may return 503 or stale data
- Payment not processed — 402 response if USDC payment of $0.01 is not attached
- Rate limiting or quota exceeded on underlying provider
- Temporary network outage between proxy and Open-Meteo — may return timeout error

## How this service works

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

## Output

Returns a JSON object with current Beijing air quality metrics including European AQI, US AQI, PM2.5 concentration, PM10 concentration, ozone, nitrogen dioxide, sulphur dioxide, carbon monoxide levels, and a human-readable health label categorizing overall air quality risk.

## 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-beijing-d4f3271e/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)
