# Orders of Magnitude Air Quality API

> Orders of Magnitude Air Quality API is a paid API for AI agents from x402-api-production-5133.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Returns current air quality data for a given location, delivered via the x402 micropayment protocol

## Facts

- Endpoint: GET https://x402-api-production-5133.up.railway.app/data/air-quality?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orders-of-magnitude-air-quality-api-b799d2d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u_GM78hgABSGjDAt6JKsF

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 orders-of-magnitude-air-quality-api-b799d2d3
```

Example prompt: What's the current air quality like? Can you pull the latest air quality data and let me know if it's safe to go for a run outside?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call air quality data without a subscription and are already using the x402 micropayment protocol. At $0.01 USDC per call it is well-suited for infrequent spot checks or agent-driven queries where cost control matters. Prefer established AQI APIs (AirNow, OpenAQ, IQAir) if you need historical data, specific geographic targeting, or guaranteed schema consistency.

## Known failure modes

- Payment not included or invalid x402 payment header — returns 402 Payment Required
- Invalid format parameter — may return malformed or default response
- Service unavailable on Railway deployment — returns 5xx error
- Empty or missing response schema fields if data is unavailable for a location

## How this service works

Data and AI services via x402 payment protocol

## Output

Returns air quality data including AQI values and pollutant metrics. The response schema is loosely defined, so the exact fields returned may vary, but typically includes measures of air quality conditions such as index values and pollutant concentrations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "format": {
   "type": "string",
   "description": "Response format"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orders-of-magnitude-air-quality-api-b799d2d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api-production-5133.up.railway.app](https://www.zero.xyz/host/x402-api-production-5133.up.railway.app/llms.txt)
