# The Stall — Air Quality Lookup

> The Stall — Air Quality Lookup is a paid API for AI agents from the-stall.intuitek.ai, paid per call via x402, $0.059/call, status unknown (last checked 2026-09-15).

Returns current air quality data for a given geographic coordinate (latitude/longitude), paid via USDC on Base mainnet using the x402 protocol.

## Facts

- Endpoint: GET https://the-stall.intuitek.ai/cap/air-quality
- Price: $0.059/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/the-stall-air-quality-lookup-22a73f8a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wk6mLlp45XSW0IRPIjUB2

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 the-stall-air-quality-lookup-22a73f8a
```

Example prompt: What's the current air quality like at latitude 40.71, longitude -74.01 in New York City — is it safe to go for a run outside?

## When to prefer this

Use this endpoint when you need real-time air quality data for any geographic coordinate worldwide without requiring API keys or account setup, and when your agent can pay micro-amounts of USDC on Base mainnet via x402. Ideal for autonomous agents needing environmental context at a specific location.

## Known failure modes

- Missing required lat or lon parameters — returns 400 or validation error
- Coordinates out of valid range (lat > 90, lon > 180) — schema validation failure
- Payment failure or insufficient USDC balance — 402 Payment Required response
- No air quality data available for remote or ocean coordinates — may return empty or error
- Network timeout from upstream air quality data provider

## How this service works

Real-time US AQI and pollutant readings for any lat/lon. Returns current AQI with category label (Good/Moderate/Unhealthy/Hazardous), PM2.5, PM10, nitrogen dioxide, ozone, carbon monoxide, dust levels, and UV index. Data from CAMS (Copernicus Atmosphere Monitoring Service), updated hourly. Use for health advisories, outdoor event planning, environment-sensitive routing, or regulatory compliance checks.

## Output

Returns current air quality data for the specified coordinates, likely including AQI (Air Quality Index) score, pollutant levels, and health categorization for the location.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "lat": 40.71,
   "lon": -74.01
  }
 }
}
```

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/the-stall-air-quality-lookup-22a73f8a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from the-stall.intuitek.ai](https://www.zero.xyz/host/the-stall.intuitek.ai/llms.txt)
