# US National Weather Service Active Alerts

> US National Weather Service Active Alerts is a paid API for AI agents from x402-datashop-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Returns active weather alerts from NOAA/NWS for a US state or geographic point, with filtering by severity and event type

## Facts

- Endpoint: GET https://x402-datashop-production.up.railway.app/v1/us/wx-alerts?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-national-weather-service-active-alerts-5106eee2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D3yHlwC7kqg4eaEQ_cBME

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 us-national-weather-service-active-alerts-5106eee2
```

Example prompt: Are there any active Severe or Extreme weather alerts right now in Texas? Show me the event names, headlines, and when they expire.

## When to prefer this

Use this endpoint when you need real-time, authoritative active weather alerts from NOAA/NWS for a specific US state or location. Prefer it over general weather forecast APIs when the user's need is safety-critical alerting (watches, warnings, advisories) rather than temperature or precipitation forecasts. It covers all official NWS alert event types and severity levels.

## Known failure modes

- Invalid or unrecognized state code returns empty results or error
- GPS point outside US territory may return no alerts
- Unrecognized event name string returns empty results
- Temporary NWS feed outage may cause stale or missing data
- Malformed point parameter (wrong format) returns validation error

## How this service works

Active weather alerts from the US National Weather Service (NOAA, public domain, real-time feed). Query: ?area=CA (2-letter state code) or ?point=34.05,-118.24; optional severity=Extreme|Severe|Moderate|Minor and event='Tornado Warning'. Returns up to 50 normalized alerts: event, severity, urgency, headline, affected areas, onset/expiry. count=0 means no active alert matches. 2 min cache.

## Output

A list of up to 50 normalized active weather alerts including event type (e.g. 'Tornado Warning'), severity, urgency, headline text, affected areas, onset and expiry timestamps. If count=0, no alerts match the query. Data is cached for 2 minutes from the NWS real-time 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": "2-letter US state or marine area code (e.g. CA)"
      },
      "event": {
       "type": "string",
       "description": "Exact event name, e.g. 'Tornado Warning'"
      },
      "point": {
       "type": "string",
       "description": "GPS point 'lat,lon' (alternative to area)"
      },
      "severity": {
       "enum": [
        "Extreme",
        "Severe",
        "Moderate",
        "Minor",
        "Unknown"
       ],
       "type": "string"
      }
     }
    }
   },
   "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/us-national-weather-service-active-alerts-5106eee2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-datashop-production.up.railway.app](https://www.zero.xyz/host/x402-datashop-production.up.railway.app/llms.txt)
