# opendata402 US Weather Forecast

> opendata402 US Weather Forecast is a paid API for AI agents from opendata402.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-15).

Returns a 7-day US weather forecast in 12-hour periods (temperature, wind, precipitation chance, short and detailed text) for a given latitude/longitude using NOAA/NWS data.

## Facts

- Endpoint: GET https://opendata402.com/v1/weather/us?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/opendata402-us-weather-forecast-1c0d4eb7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i5POwcuZI7iwcqKo4IJBg

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 opendata402-us-weather-forecast-1c0d4eb7
```

Example prompt: What's the 7-day weather forecast for latitude 40.7128, longitude -74.0060? I need temperature, wind, and rain chances for each 12-hour period.

## When to prefer this

Choose this endpoint when you need authoritative, structured NOAA/NWS forecast data for a specific US location by coordinates, especially when you need multi-day (up to 7 days) forecasts in 12-hour blocks with both quantitative fields (temperature, wind, precipitation chance) and human-readable narrative text. Prefer it over generic weather APIs when NOAA sourcing, US public-domain data provenance, or detailed narrative forecasts matter. Not suitable for non-US locations or real-time current conditions.

## Known failure modes

- Coordinates outside the United States return an error or no data — NWS only covers US territory
- Invalid lat/lon format (e.g. letters or out-of-range values) will be rejected by schema validation
- NWS API upstream outages may cause the endpoint to return a 5xx or timeout
- Coordinates over open ocean or US territories without NWS grid coverage may fail to resolve a forecast grid point

## How this service works

US weather forecast from the National Weather Service for a latitude/longitude inside the United States: the next 7 days in 12-hour periods with temperature, wind, precipitation chance and a short and detailed text forecast. Use it for travel, events, logistics or field work in the US. NOAA/NWS data, US public domain.

## Output

A structured 7-day forecast broken into 12-hour periods, each containing the period name (e.g. 'Tonight', 'Monday Morning'), temperature with unit, wind speed and direction, precipitation chance, a short forecast label (e.g. 'Mostly Cloudy'), and a detailed text narrative — all sourced 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "string",
       "pattern": "^-?\\d{1,2}(\\.\\d+)?$",
       "description": "Latitude (US only)."
      },
      "lon": {
       "type": "string",
       "pattern": "^-?\\d{1,3}(\\.\\d+)?$",
       "description": "Longitude (US only)."
      }
     }
    }
   },
   "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/opendata402-us-weather-forecast-1c0d4eb7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from opendata402.com](https://www.zero.xyz/host/opendata402.com/llms.txt)
