# x402-toolbox Air Quality Index

> x402-toolbox Air Quality Index is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-29).

Returns the current Air Quality Index (AQI) for a given location via a pay-per-call x402 micropayment on Base/USDC.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/weather/air-quality-index?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-air-quality-index-6c936090
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xsR3QR76LmOMan7oUKo6B

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 x402-toolbox-air-quality-index-6c936090
```

Example prompt: What's the current air quality index in Denver, Colorado right now? I want to know if it's safe to go for a run outside.

## When to prefer this

Choose this endpoint when you need a no-signup, API-key-free, pay-per-call air quality lookup using x402 micropayments on Base/USDC. Ideal for AI agents that need to query AQI data on demand without managing API credentials — the USDC micropayment serves as the access mechanism. Best for low-frequency, on-demand lookups rather than high-volume batch monitoring.

## Known failure modes

- Invalid or unsupported location schema returns an error response
- Payment failure over x402 protocol prevents data access
- Missing schema parameter may result in a bad request error
- Location not covered by underlying AQI data source returns empty or null result
- Network timeout from Cloudflare Workers edge node

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object with ok and paid status flags, along with air quality index data for the queried location — including AQI value and likely pollution category or health advisory level.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-air-quality-index-6c936090/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
