# AgentToll Air Quality Lookup

> AgentToll Air Quality Lookup is a paid API for AI agents from agenttoll.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Returns real-time air quality data for a given latitude/longitude, including pollutant concentrations and air quality index values.

## Facts

- Endpoint: POST https://agenttoll.dev/paid/health/air-quality
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttoll-air-quality-lookup-7c03e64c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6O4ks30M01boZwtRrJHu1

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 agenttoll-air-quality-lookup-7c03e64c -d '<json body>'
```

Example prompt: What's the current air quality at coordinates 37.7749, -122.4194 in San Francisco? Include PM2.5 and ozone levels if available.

## When to prefer this

Use this endpoint when an AI agent needs real-time, pay-per-call air quality data at a precise geographic coordinate without requiring an API key subscription. It is ideal for agents making occasional lookups across diverse locations, especially when integrated into health, fitness, travel, real estate, or environmental monitoring workflows. Prefer this over free tier APIs when reliability and breadth of pollutant variables matter, or when embedding environmental data into automated agentic pipelines.

## Known failure modes

- Invalid or out-of-range latitude/longitude returns an error or empty result
- Coordinates in remote ocean areas may have no monitoring station coverage
- Invalid pollutant variable names may be silently ignored or return an error
- Payment failure (insufficient USDC balance) blocks the request via x402 protocol
- Upstream environmental data provider outage may result in stale or unavailable data

## How this service works

108+ receipt-backed x402 work products for AI agents. Clear prices, spend caps, buyer metadata, and structured results over Base USDC.

## Output

Returns an object containing current air quality metrics for the specified coordinates, including air quality index (AQI) scores and concentrations of requested or default pollutants such as PM2.5, PM10, ozone (O3), nitrogen dioxide (NO2), carbon monoxide (CO), and sulfur dioxide (SO2).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "number",
   "description": "number latitude"
  },
  "lon": {
   "type": "number",
   "description": "number longitude"
  },
  "variables": {
   "type": "string",
   "description": "optional pollutant variables"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttoll-air-quality-lookup-7c03e64c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.dev](https://www.zero.xyz/host/agenttoll.dev/llms.txt)
