# AEML Gauge Precipitation Plugin

> AEML Gauge Precipitation Plugin 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-15).

Returns daily precipitation readings and 30-day cumulative wet/dry drought index (ERA5) for a given location

## Facts

- Endpoint: GET https://aeml-x402.zeabur.app/gauge/precip
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aeml-gauge-precipitation-plugin-66627806
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FGuZ-hry-5F9uAm9LrJLa

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-gauge-precipitation-plugin-66627806
```

Example prompt: What's the current daily rainfall and 30-day drought status for Iowa City — is it trending wet or dry based on ERA5 data?

## When to prefer this

Choose this endpoint when you need ERA5-backed daily precipitation and 30-day cumulative drought context for a specific location in a single call. Prefer it over generic weather APIs when you need reanalysis-quality data with dry/wet strata classification and trend history rather than forecast data. Use it alongside the sibling air quality or river gauge endpoints for a full environmental picture of a location.

## Known failure modes

- Invalid or unrecognized location string returns error or empty readings
- Location outside ERA5 coverage area may return null current values
- Payment not completed (x402) returns 402 Payment Required
- Upstream ERA5 data lag may cause stale or missing recent readings
- No official classification thresholds available for some regions returns null strata

## How this service works

Add-on, precipitation for one location: daily rainfall plus 30-day accumulated wet-dry drought context from ERA5. 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 readings array with: current daily precipitation amount, 30-day cumulative wet/dry drought index derived from ERA5 reanalysis, 7-day trend series, previous period comparison, strata classification (where available), and source provenance. Also includes neutral gauge nature statement, scope disclaimers, and grade disclosure. Location key and addon marker ('precip') are echoed back.

## 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-precip.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-gauge-precipitation-plugin-66627806/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)
