# ALFRED Tempest Weather History

> ALFRED Tempest Weather History is a paid API for AI agents from x402.wallace.us, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-10).

Retrieves recent weather history data (Tempest station) for the last N observations, paid via Lightning/x402 micropayment protocol

## Facts

- Endpoint: GET https://x402.wallace.us/x402/tempest-history?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alfred-tempest-weather-history-5c5e8551
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eStcJ-1gqXYtyqVU1ZQop

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 alfred-tempest-weather-history-5c5e8551
```

Example prompt: Can you pull the last 60 weather history readings from ALFRED's Tempest station for me?

## When to prefer this

Use this endpoint when you need recent historical weather observations from a self-hosted Tempest personal weather station and are comfortable with the x402/L402 Lightning micropayment flow. Best when you want a configurable number of past readings (1-120) and can handle the HTTP 402 payment challenge/retry cycle.

## Known failure modes

- Payment not yet confirmed — server returns HTTP 402 with Lightning invoice; must pay and retry with X-Payment-Hash header
- Invalid n parameter value (outside 1-120 range) — may return error or use default of 30
- Station offline or no data available — may return empty or partial history
- Expired or invalid payment hash — returns 402 requiring new payment
- Network or server downtime on self-hosted instance

## How this service works

Self-hosted personal-assistant paid tools via Lightning. Uses x402-shaped protocol (L402 lineage): HTTP 402 with a Lightning invoice in the response body + WWW-Authenticate header, retry with X-Payment-Hash: <hex> once paid. Results cached per payment_hash so legitimate retries don't cost twice.

## Output

Returns a JSON object containing the most recent N weather history records from a Tempest personal weather station, including observations such as temperature, humidity, wind, and other meteorological readings. Results are cached per payment hash so re-fetching with the same payment doesn't double-charge.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "n": {
   "type": "string",
   "description": "(1-120, default 30)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alfred-tempest-weather-history-5c5e8551/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.wallace.us](https://www.zero.xyz/host/x402.wallace.us/llms.txt)
