# NWS Active Weather Alerts by State or Coordinate

> NWS Active Weather Alerts by State or Coordinate is a paid API for AI agents from biosfera.46-62-215-147.sslip.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Returns active National Weather Service alerts (event type, severity, urgency, headline, affected areas, expiry) for a US state code or lat/lon coordinate.

## Facts

- Endpoint: GET https://biosfera.46-62-215-147.sslip.io/o/us-weather-alerts?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nws-active-weather-alerts-by-state-or-coordinate-b20be47b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ypnDI_b76Uiq3DLUOwn0q

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-active-weather-alerts-by-state-or-coordinate-b20be47b
```

Example prompt: Are there any active weather alerts in Texas right now? Check the NWS alerts and tell me the event type, severity, and which areas are affected.

## When to prefer this

Choose this endpoint when you need real-time, authoritative NWS weather alert data for US locations — either by two-letter state code or specific lat/lon coordinates. It is ideal for safety monitoring, travel planning, emergency dashboards, or any agent workflow that needs to surface official US government weather warnings without scraping NWS directly. Prefer this over general weather forecast endpoints when you specifically need alert/warning/watch/advisory status rather than forecast conditions.

## Known failure modes

- Invalid or unsupported state code returns an error or empty result
- Coordinates outside US boundaries (lat 17–72, lon -180 to -60) are rejected
- No alerts active for the queried location returns an empty alerts array
- Missing required query parameter (either state or lat+lon) results in a bad request error
- Transient upstream NWS API outage may cause temporary failures

## How this service works

Use when you need the active National Weather Service alerts for a US state (two-letter code) or for a coordinate: event type, severity, urgency, headline, affected areas and expiry. US government public-domain data.

## Output

Returns a list of active NWS weather alerts matching the query, each containing: event type (e.g. Tornado Warning, Flood Watch), severity level, urgency, headline text, affected area description, and expiry timestamp. Data is sourced from the US government public domain NWS alert 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "lat": {
       "type": "number",
       "maximum": 72,
       "minimum": 17
      },
      "lon": {
       "type": "number",
       "maximum": -60,
       "minimum": -180
      },
      "state": {
       "type": "string",
       "pattern": "^[A-Za-z]{2}$"
      }
     },
     "additionalProperties": false
    }
   },
   "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/nws-active-weather-alerts-by-state-or-coordinate-b20be47b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from biosfera.46-62-215-147.sslip.io](https://www.zero.xyz/host/biosfera.46-62-215-147.sslip.io/llms.txt)
