# Risk Events API – US Severe Weather Alerts

> Risk Events API – US Severe Weather Alerts is a paid API for AI agents from risk-events-api.onrender.com, paid per call via x402, $0.0385/call, status unknown (last checked 2026-11-28).

Returns active US National Weather Service severe-weather alerts (hurricanes, tornadoes, floods, heat waves, winter storms, etc.) filtered by state or lat/lon, sorted by severity.

## Facts

- Endpoint: GET https://risk-events-api.onrender.com/v1/weather-alerts?utm_source=zero.xyz
- Price: $0.0385/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/risk-events-api-us-severe-weather-alerts-cebbb111
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WmVzN1OgbVuOWqQnOgVvG

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 risk-events-api-us-severe-weather-alerts-cebbb111
```

Example prompt: Are there any active severe weather alerts in Texas right now? Show me up to 20 results, starting from Extreme severity down.

## When to prefer this

Use this endpoint when you need real-time, official US severe-weather alert data from the National Weather Service, especially when you need to filter by state or precise coordinates and sort by severity. Prefer it over generic weather APIs when public-safety or emergency-response context is needed and NWS authority matters.

## Known failure modes

- Invalid or missing state code returns an error or empty result
- Lat/lon outside the US returns no alerts (NWS covers US only)
- Both state and lat/lon omitted may return all alerts or an error depending on API behavior
- Invalid min_severity value may be rejected
- No active alerts for the queried area returns an empty alerts array
- API rate limits or payment failure (x402) result in 402 or 429 response

## How this service works

Returns active US severe-weather alerts (National Weather Service) for a state or a lat/lon point: event (hurricane, tornado, flood, heat, winter storm...), severity, urgency, area, effective and expiry times, instructions. Sorted by severity.

## Output

A list of active NWS severe-weather alerts sorted by severity. Each alert includes the event name (e.g. Tornado Warning, Hurricane Watch), severity level (Extreme/Severe/Moderate/Minor), urgency, the geographic area affected, effective and expiry timestamps, and official safety instructions.

## 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": "string",
       "description": "Latitude (alternative to state)"
      },
      "lon": {
       "type": "string",
       "description": "Longitude"
      },
      "event": {
       "type": "string",
       "description": "Filter by event name, e.g. Hurricane, Tornado, Flood"
      },
      "limit": {
       "type": "string",
       "description": "Max alerts (1-100)"
      },
      "state": {
       "type": "string",
       "description": "Two-letter US state code, e.g. TX"
      },
      "min_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/risk-events-api-us-severe-weather-alerts-cebbb111/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from risk-events-api.onrender.com](https://www.zero.xyz/host/risk-events-api.onrender.com/llms.txt)
