# NOAA US Weather Forecast

> NOAA US Weather Forecast is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-14).

Returns multi-day or hourly weather forecasts from the National Weather Service for any US location by coordinates or street address

## Facts

- Endpoint: GET https://payai.agentstools.dev/forecast?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/noaa-us-weather-forecast-a4f77b5b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hZoT76xz_670SYn3k7jB6

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-us-weather-forecast-a4f77b5b
```

Example prompt: Can you pull the official NOAA 5-day forecast for San Francisco, CA — give me day-by-day periods with temperature in both Celsius and Fahrenheit, precipitation chance, and wind conditions?

## When to prefer this

Use this endpoint when you need authoritative, government-sourced US weather forecasts with both Celsius and Fahrenheit temperatures, precipitation probabilities, and wind data — especially when accuracy and public-domain provenance matter. Prefer this over third-party weather APIs when working with US addresses or coordinates and when commercial use is required without licensing concerns.

## Known failure modes

- Non-US coordinates or address provided — NWS only covers the United States, returns error or no data
- Invalid or unresolvable address string — geocoding fails, no forecast returned
- lat/lon out of valid range (lat outside -90 to 90, lon outside -180 to 180) — validation error
- days parameter outside 1–7 range — schema validation error
- NWS API upstream outage — service temporarily unavailable
- Coordinates fall in water or outside NWS grid coverage — no forecast grid available

## How this service works

Official US weather forecast from the National Weather Service (NOAA): multi-day and hourly periods for any US coordinates or street address. Temperature in Celsius and Fahrenheit, precipitation probability, wind speed and direction, and plain-language conditions. Authoritative government public-domain data, commercial use OK.

## Output

A list of forecast periods (day/night or hourly) for the requested US location, each containing temperature in Celsius and Fahrenheit, precipitation probability percentage, wind speed and direction, and a plain-language conditions summary — sourced directly from the National Weather Service.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "lat": {
       "type": "number",
       "description": "Latitude [-90,90] (with lon)"
      },
      "lon": {
       "type": "number",
       "description": "Longitude [-180,180] (with lat)"
      },
      "days": {
       "type": "integer",
       "maximum": 7,
       "minimum": 1,
       "description": "Limit number of days returned"
      },
      "hourly": {
       "type": "boolean",
       "description": "Hourly instead of day/night periods"
      },
      "address": {
       "type": "string",
       "description": "US address (alternative to lat/lon)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/noaa-us-weather-forecast-a4f77b5b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
