# NWS Climate Day Summary (agent-utils-x402)

> NWS Climate Day Summary (agent-utils-x402) is a paid API for AI agents from agent-utils-x402-production.revenue-agent-jw.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Returns the official and provisional climate summary for a specific NWS/ICAO weather station and date, including high temperature and histogram bucket data.

## Facts

- Endpoint: GET https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/weather/climate-day?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nws-climate-day-summary-agent-utils-x402-da38369c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MVDYddFYALLmb4dx95oX1

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 nws-climate-day-summary-agent-utils-x402-da38369c
```

Example prompt: What was the official NWS climate day high temperature at KNYC yesterday, in Fahrenheit, and which 1-degree bucket does it fall into?

## When to prefer this

Use this endpoint when you need the official NWS daily climate record (or best available provisional value) for a specific US weather station and date, especially when you want temperature bucketed into histogram bins. Prefer this over general forecast APIs when you need historical or same-day official climate data rather than a future forecast. Ideal for agents that need structured, pay-per-call access without API key setup.

## Known failure modes

- Invalid or unrecognized station ID returns an error or empty result
- Date too far in the past (beyond ~6 days) may return no data
- Future dates are not supported
- Missing required 'station' query parameter results in a 400/validation error
- Payment failure via x402 prevents the request from completing
- NWS data source may be temporarily unavailable, causing delays or errors

## How this service works

Small pay-per-call utility APIs for AI agents. Pay per request in USDC on Base via x402 (v2, exact scheme). No accounts, no API keys.

## Output

A JSON object containing the station ID, climate date, the official CLI max temperature (if finalized), a finalization flag, the provisional high value, and its histogram bucket (with label, lower bound, and upper bound). Also includes an in-progress status flag indicating whether the official record is still being compiled.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "station"
     ],
     "properties": {
      "cli": {
       "type": "string",
       "description": "override CLI location code (default: station without leading K)"
      },
      "date": {
       "type": "string",
       "format": "date",
       "description": "climate date (LST), default today; up to ~6 days back"
      },
      "edges": {
       "type": "string",
       "description": "comma-separated increasing bucket edges; overrides width/offset"
      },
      "round": {
       "enum": [
        "nearest",
        "none"
       ],
       "type": "string"
      },
      "units": {
       "enum": [
        "F",
        "C"
       ],
       "type": "string"
      },
      "station": {
       "type": "string",
       "description": "NWS/ICAO station id, e.g. KNYC, KMDW, KLAX"
      },
      "bucket_width": {
       "type": "number",
       "description": "bucket width, default 1"
      },
      "bucket_offset": {
       "type": "number",
       "description": "bucket origin, default 0"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "in_progress",
  "station": "KNYC",
  "climateDate": "2026-10-22",
  "officialCLI": {
   "maxF": 61,
   "final": false
  },
  "provisionalHigh": {
   "value": 61,
   "bucket": {
    "label": "gte61lt62",
    "lower": 61,
    "upper": 62
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nws-climate-day-summary-agent-utils-x402-da38369c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-utils-x402-production.revenue-agent-jw.workers.dev](https://www.zero.xyz/host/agent-utils-x402-production.revenue-agent-jw.workers.dev/llms.txt)
