# US Weather Alerts

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

Returns active National Weather Service warnings, watches, and advisories for a US state or geographic point, sorted by severity.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/weather/us-alerts?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-weather-alerts-b47f9625
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IuWyyO6_-ZGfOGEAPdgku

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-weather-alerts-b47f9625
```

Example prompt: What active weather alerts are there right now in Florida — show me the worst ones first, with severity, affected areas, and any safety instructions.

## When to prefer this

Use this endpoint when you need real-time, authoritative US weather alert data from the National Weather Service, especially when you need severity-ranked results for a specific state or GPS coordinate. Prefer this over general weather APIs when the user is asking specifically about warnings, watches, or advisories rather than forecast conditions like temperature or precipitation.

## Known failure modes

- Invalid or missing state code returns an error or empty result
- Latitude/longitude outside the US returns no alerts or an error
- Both state and lat/lon provided may cause conflict — only one should be used
- Limit parameter outside 1-50 range may be rejected
- NWS API downtime may cause upstream errors
- No active alerts for the queried area returns an empty list

## How this service works

Active US weather warnings, watches and advisories from the National Weather Service for a state or a point: event, severity, urgency, areas, onset, end, description and safety instructions, worst first.

## Output

A list of active weather alerts sorted worst-first, each containing: event name (e.g. Tornado Warning), severity (extreme/severe/moderate/minor), urgency, affected geographic areas, onset and end times, a detailed description of the hazard, and official safety instructions 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 (instead of state)"
      },
      "lon": {
       "type": "number",
       "description": "Longitude"
      },
      "limit": {
       "type": "integer",
       "description": "Maximum number of results (1-50)"
      },
      "state": {
       "type": "string",
       "description": "Two-letter US state, e.g. FL"
      },
      "severity": {
       "type": "string",
       "description": "extreme, severe, moderate or minor"
      }
     }
    }
   },
   "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-weather-alerts-b47f9625/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
