# NOAA Weather Forecast API (via Maxwell International)

> NOAA Weather Forecast API (via Maxwell International) is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-30).

Returns official NOAA weather forecasts for a given location, including temperature, wind, and short/detailed forecast periods.

## Facts

- Endpoint: GET https://api.maxwellinternational.ai/v1/weather/noaa?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/noaa-weather-forecast-api-via-maxwell-international-20f98d8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__pAawD5PK8Wri0uYoEwEl

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 noaa-weather-forecast-api-via-maxwell-international-20f98d8c
```

Example prompt: Can you get me the official NOAA weather forecast for Denver, Colorado — I need tonight's temperature, wind speed, and a detailed outlook for the next few periods?

## When to prefer this

Choose this endpoint when you need official US government (NOAA) weather forecast data with per-period breakdowns including wind, temperature, and detailed text forecasts. It is particularly suited for US locations where authoritative forecast data is required, and for AI agents that need structured multi-period forecasts rather than a simple current-conditions summary. Prefer this over third-party weather APIs when regulatory, compliance, or data-quality requirements favor official government sources.

## Known failure modes

- Location outside US coverage (NOAA only covers US territories) — may return error or empty periods
- Invalid or missing query parameters result in a 400 or schema validation error
- Payment not processed (x402 protocol) — returns 402 Payment Required before forecast is served
- NOAA upstream API outage causes stale or failed response
- Cache miss combined with NOAA rate limits may increase latency or return errors

## How this service works

NWS daily/period forecast for a US point or grid; same answer as weather.forecast. From the NWS (US and territories), cached and refreshed about every 3 hours; a location not yet cached answers 404, is not charged, and is queued.

## Output

Returns a structured JSON object with forecast periods (name, start/end times, daytime flag, temperature in °F and °C, wind speed and direction, short forecast, detailed forecast), plus metadata including the Weather Forecast Office (WFO), grid coordinates, state, country, cache status, source class, and generation timestamp.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sku": "weather.forecast",
  "wfo": "BOU",
  "cache": "hit",
  "gridX": 63,
  "gridY": 62,
  "state": "Colorado",
  "country": "United States",
  "periods": [
   {
    "name": "Tonight",
    "endTime": "2026-09-26T06:00:00-06:00",
    "isDaytime": false,
    "startTime": "2026-09-25T21:00:00-06:00",
    "windSpeed": "5 to 8 mph",
    "temperature": 53,
    "temperatureC": 11.7,
    "shortForecast": "Mostly Clear",
    "windDirection": "SSW",
    "temperatureUnit": "F",
    "detailedForecast": "Mostly clear. Low around 53, with temperatures rising to around 55 overnight...."
   }
  ],
  "updatedAt": null,
  "generatedAt": "2026-09-26T03:52:17.125Z",
  "sourceClass": "official-api",
  "resolvedFrom": "latlon"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/noaa-weather-forecast-api-via-maxwell-international-20f98d8c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
