# AEML Air Quality Gauge — US AQI + PM2.5 by Location

> AEML Air Quality Gauge — US AQI + PM2.5 by Location is a paid API for AI agents from aeml-x402.zeabur.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns current US AQI and PM2.5 readings (EPA/CAMS sources) for a specified location, with trend and change data.

## Facts

- Endpoint: GET https://aeml-x402.zeabur.app/gauge/air
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aeml-air-quality-gauge-us-aqi-pm2-5-by-location-75b284eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G5W2NhlLwPNiJWJbyDrOU

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 aeml-air-quality-gauge-us-aqi-pm2-5-by-location-75b284eb
```

Example prompt: What's the current US AQI and PM2.5 level in St. Louis right now, including whether it's been rising or falling recently?

## When to prefer this

Use this endpoint when you need current, source-attributed US AQI and PM2.5 air quality readings for a specific US city or region, especially when you need trend context (7-day) and honest data-grade disclosures. Prefer this over generic weather APIs that may not include AQI or PM2.5, and over forecast-only services when you need observational ground truth from EPA/CAMS sources.

## Known failure modes

- Invalid or unsupported loc code returns an error or empty readings
- Location outside US coverage area may return no data or partial results
- Upstream EPA/CAMS data delays may result in stale as_of timestamps
- Payment failure (x402) blocks access before data is returned
- Truncated response schema fields if signal not applicable for location

## How this service works

Add-on, air quality for one location: US AQI category and PM2.5 reading from EPA and CAMS official feeds. Descriptive only, never a forecast or advice. No data -> 422 no_charge, not billed. Every record carries an offline-recomputable record_hash.

## Output

Returns a structured JSON object with a readings array containing: current US AQI and PM2.5 values sourced from EPA/CAMS, previous-period values, 7-day trend data points, change delta and direction (rising/falling/stable), data grade disclosure (e.g. screening-level), source attribution with weights and timestamps, and a nature statement clarifying this is observational gauge data (not a forecast or recommendation).

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "loc"
     ],
     "properties": {
      "loc": {
       "type": "string",
       "examples": [
        "us-stlouis",
        "us-memphis",
        "us-losangeles",
        "us-fresno",
        "us-phoenix",
        "us-denver"
       ],
       "description": "required - location id; full list at free /gauge/preview",
       "x-accepted-values": {
        "all": "https://api.truthbear.co/schemas/gauge-air.input.json",
        "shown": 6,
        "total": 12
       }
      }
     },
     "additionalProperties": false
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "const": "json"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aeml-air-quality-gauge-us-aqi-pm2-5-by-location-75b284eb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aeml-x402.zeabur.app](https://www.zero.xyz/host/aeml-x402.zeabur.app/llms.txt)
