# NWS US Weather Forecast (Coordinates or Address)

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

Returns normalized National Weather Service forecast periods for a US location given coordinates or a street address, with optional hourly resolution and day limit, in both Celsius and Fahrenheit.

## Facts

- Endpoint: GET https://api.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/nws-us-weather-forecast-coordinates-or-address-908d6a11
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XckcXscav5ClbzcaV7eU3

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-us-weather-forecast-coordinates-or-address-908d6a11
```

Example prompt: What's the weather forecast for the next 3 days in Austin, Texas? Give me hourly resolution and show temps in both Celsius and Fahrenheit.

## When to prefer this

Use this endpoint when you need structured, normalized NWS weather forecast data for a US location and want temperatures in both Celsius and Fahrenheit without manually calling the NWS API or handling its multi-step coordinate→gridpoint→forecast flow. Prefer it over raw NWS API calls when you want clean period-based or hourly output with a simple address or lat/lon input.

## Known failure modes

- Address outside the US — NWS only covers US territories, returns error for non-US locations
- Invalid latitude/longitude range — lat must be [-90,90] and lon [-180,180]
- NWS upstream outage or rate limit — the underlying NWS API may be temporarily unavailable
- Address not geocodable — ambiguous or unrecognized address string returns no results
- Days parameter out of range — must be between 1 and 7 inclusive
- Missing required input — neither lat/lon pair nor address provided returns a validation error

## 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 normalized list of forecast periods from the National Weather Service, each containing temperature in both Celsius and Fahrenheit, period name (e.g. 'Tonight', 'Monday'), short forecast description, wind speed/direction, and precipitation info — structured consistently regardless of whether coordinates or an address was provided.

## 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/nws-us-weather-forecast-coordinates-or-address-908d6a11/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
