# NWS Weather Alerts (x402)

> NWS Weather Alerts (x402) is a paid API for AI agents from x402-data-api-x6da.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Retrieves active National Weather Service weather alerts for a US area, event type, geographic point, or severity level, billed per-call in USDC via x402.

## Facts

- Endpoint: GET https://x402-data-api-x6da.onrender.com/v1/weather/alerts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nws-weather-alerts-x402-05a8519e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vDbGTyuHsDW_--o3wW0aX

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-weather-alerts-x402-05a8519e
```

Example prompt: Are there any active Tornado or Severe Thunderstorm warnings in Texas right now? Show me up to 10 results.

## When to prefer this

Choose this endpoint when you need real-time, official US weather alert data from the National Weather Service, filterable by state, geographic point, event type, or severity. Prefer it over general weather APIs when the focus is on active hazard alerts (warnings, watches, advisories) rather than forecasts or current conditions. Ideal for safety-critical workflows where authoritative government data is required.

## Known failure modes

- No alerts found for the given area/event/severity — returns empty list
- Invalid state/territory code returns 400 or empty result
- Invalid lat/lon format for point parameter causes error
- Payment failure or insufficient USDC balance prevents call
- Rate limiting or service unavailability on the upstream NWS API causes 503

## How this service works

Pay-per-call data and web utilities for AI agents: web page to Markdown, SEO audit, email check, domain RDAP/DNS and mail security, ECB FX rates, time zones and business days, SEC EDGAR search and fundamentals, Federal Register, USAspending, weather and NWS alerts, VIN, NPI, ATS jobs. USDC on Base via x402, no sign-up.

## Output

A list of active NWS weather alerts matching the query filters, each containing the alert event type (e.g. Tornado Warning), severity, affected area description, headline, effective and expiry timestamps, and the issuing NWS office. Results are sourced directly from the official weather.gov alerts feed.

## 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",
     "properties": {
      "area": {
       "type": "string",
       "description": "US state/territory code, e.g. TX"
      },
      "event": {
       "type": "string",
       "description": "substring, e.g. Tornado"
      },
      "point": {
       "type": "string",
       "description": "lat,lon inside the US"
      },
      "severity": {
       "type": "string",
       "description": "comma list: Extreme,Severe,Moderate,Minor"
      },
      "max_results": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "number"
      },
      "alerts": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "id": {
          "type": "string"
         },
         "ugc": {
          "type": "array",
          "items": {
           "type": "string"
          }
         },
         "sent": {
          "type": "string"
         },
         "event": {
          "type": "string"
         },
         "onset": {
          "type": "string"
         },
         "expires": {
          "type": "string"
         },
         "urgency": {
          "type": "string"
         },
         "areaDesc": {
          "type": "string"
         },
         "headline": {
          "type": "string"
         },
         "severity": {
          "type": "string"
         },
         "certainty": {
          "type": "string"
         },
         "effective": {
          "type": "string"
         },
         "senderName": {
          "type": "string"
         },
         "description": {
          "type": "string"
         },
         "instruction": {
          "type": "string"
         }
        }
       }
      },
      "source": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "alerts": [
   {
    "id": "urn:oid:2.49.0.1.840.0.1db81bffb973da6a1b146d252e9e14a53c0a90ff.001.1",
    "ugc": [
     "NMZ028",
     "TXZ273"
    ],
    "sent": "2026-10-25T15:27:00-05:00",
    "event": "Special Weather Statement",
    "onset": "2026-10-25T15:27:00-05:00",
    "expires": "2026-10-25T16:15:00-05:00",
    "urgency": "Expected",
    "areaDesc": "Eddy County Plains; Eastern Culberson County",
    "headline": "Special Weather Statement issued October 25 at 3:27PM CDT by NWS Midland/Odessa TX",
    "severity": "Moderate",
    "certainty": "Observed",
    "effective": "2026-10-25T15:27:00-05:00",
    "senderName": "NWS Midland/Odessa TX",
    "description": "At 327 PM CDT/227 PM MDT/, Doppler radar was tracking a strong\nthunderstorm 22 miles southeast of McKittrick Canyon, or 24 miles\neast of Pine Springs, moving northeast at 15 mph.\n\nHAZARD...Wind gusts up to 50 mph and pea size hail.\n\nSOURCE.…",
    "instruction": "If outdoors, consider seeking shelter inside a building.\n\nTorrential rainfall is also occurring with this storm and may lead to\nlocalized flooding. Do not drive your vehicle through flooded\nroadways."
   }
  ],
  "source": "US National Weather Service (api.weather.gov), public domain"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nws-weather-alerts-x402-05a8519e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api-x6da.onrender.com](https://www.zero.xyz/host/x402-data-api-x6da.onrender.com/llms.txt)
