# AEML Regional Environmental Gauge Bundle (AQI + Rainfall + River)

> AEML Regional Environmental Gauge Bundle (AQI + Rainfall + River) is a paid API for AI agents from aeml-x402.zeabur.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Returns a unified cross-signal bundle for a location combining air quality index, precipitation/drought status, and nearby river gage height/streamflow, with a cross-line narrative tying the signals together.

## Facts

- Endpoint: GET https://aeml-x402.zeabur.app/gauge/region
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aeml-regional-environmental-gauge-bundle-aqi-rainfall-river-628b9882
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5ju3su2aocdyR6RJeKm8A

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-regional-environmental-gauge-bundle-aqi-rainfall-river-628b9882
```

Example prompt: Can you pull the integrated environmental snapshot for Phoenix, Arizona — I want to see the AQI, drought and rainfall status, and nearby river gage height all together with a narrative explaining how they relate?

## When to prefer this

Choose this endpoint when you need a correlated, multi-signal environmental picture of a single location in one paid call — specifically when AQI, precipitation/drought, and river hydrology need to be interpreted together rather than fetched from separate APIs. Prefer this over individual signal endpoints when the cross-signal narrative adds value, when you want provenance and freshness metadata in a single response, or when you need an offline-verifiable citation bundle. Not appropriate for weather forecasting, decision-making advice, or precision hydrological modeling.

## Known failure modes

- Invalid or unrecognized location returns an error — loc parameter must identify a supported geographic region
- If upstream data sources are stale or frozen, freshness field will reflect 'stale' status and data_age_hours will be elevated
- Some legs may be unavailable for a given location if no monitoring stations exist nearby
- Missing loc parameter returns a bad request error
- Payment failure via x402 protocol prevents call from completing

## How this service works

[3-LEG] Local three-leg environment chain, one location (?loc=): leading air quality (AQI) -> current precipitation, rain and 30-day dry-wet -> realized nearest river stage and streamflow (confirmation gate). A sequential chain, not one reading - confidence = how many legs are lit, in order. Sources: EPA/CAMS, ERA5, USGS. Descriptive only, never a forecast or advice. No data -> 422 no_charge, not billed.

## Output

A JSON object containing: (1) legs — keyed readings for each signal (AQI, drought/rainfall, gage height/streamflow) with current values, observation timestamps, data age, and record hashes; (2) cross_line_narrative — a plain-language description of how the signals relate; (3) provenance including freshness status and data lineage; (4) scope and grade disclosures; (5) decision_points listing swappable signal tags; and (6) an offline-verifiable citation object with Ed25519 signature for zero-trust verification.

## 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-region.input.json",
        "shown": 6,
        "total": 12
       }
      }
     },
     "additionalProperties": false
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aeml-regional-environmental-gauge-bundle-aqi-rainfall-river-628b9882/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)
