# Polyform Weather Alerts

> Polyform Weather Alerts is a paid API for AI agents from api.polyform.org, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Returns active NWS watches, warnings, and advisories for a US state or coordinate, including event type, severity, headline, and timing.

## Facts

- Endpoint: GET https://api.polyform.org/v1/weather/alerts?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polyform-weather-alerts-b670f77e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fKv6s1finLhF8G8jlHBj5

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 polyform-weather-alerts-b670f77e
```

Example prompt: Are there any active weather watches, warnings, or advisories right now for Florida — pull the NWS alerts with their severity and headline so I know what's in effect.

## When to prefer this

Choose this endpoint when you need real-time official US weather alert data (watches, warnings, advisories) from the National Weather Service for a specific state or coordinate, without needing a full forecast. It is ideal for safety checks, automated monitoring, or triggering alerts in workflows. Prefer it over a general forecast endpoint when the user's concern is hazard-level official alerts rather than routine weather conditions.

## Known failure modes

- Missing or invalid state/coordinate input returns an error
- No active alerts returns count:0 with an empty alerts array
- Invalid coordinate outside the US may return no results or an error
- API unavailability or NWS data outage could cause timeout or 5xx response
- Malformed query parameters may result in a 400 bad request

## How this service works

Active watches/warnings/advisories for a US state or coordinate: event type, severity, headline, timing. Source: National Weather Service. JSON.

## Output

A JSON object containing a count of active alerts and an array of alert objects, each with event type (e.g. 'Severe Thunderstorm Warning'), severity level, a human-readable headline, and expiration time. Sourced live 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "alerts": [
   {
    "event": "Severe Thunderstorm Warning",
    "expires": "…",
    "headline": "…",
    "severity": "Severe"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polyform-weather-alerts-b670f77e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.polyform.org](https://www.zero.xyz/host/api.polyform.org/llms.txt)
