# SiteCheck Weather Alerts

> SiteCheck Weather Alerts is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-21).

Retrieves active NWS weather alerts for a US state or geographic coordinate pair

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/weather/alerts?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-weather-alerts-0e4ea80b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SJP8PXiVpREfuw6lamjx0

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 sitecheck-weather-alerts-0e4ea80b
```

Example prompt: Can you check if there are any active NWS weather alerts for California right now?

## When to prefer this

Use this endpoint when you need real-time, official US National Weather Service active alerts for a specific state or geographic location. Prefer it over general weather APIs when you specifically need emergency/advisory-level alert data (warnings, advisories, watches) rather than forecast conditions. Best for safety-critical or event-planning decisions where knowing about active NWS-issued hazards is essential.

## Known failure modes

- Missing both state and lat/lon parameters returns an error
- Invalid state code (non-US or wrong format) may return zero alerts or an error
- NWS upstream outage may cause delayed or empty responses
- Coordinates outside the US may return no alerts since NWS only covers US territories
- Very recent alerts may have propagation delay from NWS

## How this service works

Active US National Weather Service alerts for a state or a point: event, severity, urgency, area, onset, end of the event (ends), expiry of this message (expires), headline and instruction (cut to 400 characters). Attribution: National Weather Service, public domain.

## Output

Returns a list of active NWS weather alerts including event type (e.g. Freeze Warning, Wind Advisory, Frost Advisory), affected geographic area, onset and expiration times, urgency level, severity, a plain-English headline from the issuing NWS office, and recommended safety instructions. Also includes total alert count, the query used, the NWS source URL, and the timestamp when the check was performed.

## 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": "string",
       "description": "Latitude, with lon, instead of state"
      },
      "lon": {
       "type": "string",
       "description": "Longitude"
      },
      "state": {
       "type": "string",
       "description": "Two-letter US state, e.g. CA"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 20,
  "query": "area=CA",
  "alerts": [
   {
    "area": "Owens Valley North",
    "event": "Freeze Warning",
    "onset": "2026-10-14T00:00:00-07:00",
    "expires": "2026-10-14T08:00:00-07:00",
    "urgency": "Expected",
    "headline": "Freeze Warning issued October 13 at 11:30PM PDT until October 14 at 8:00AM PDT by NWS Las Vegas NV",
    "severity": "Severe",
    "instruction": "Take steps now to protect tender plants from the cold."
   },
   {
    "area": "Lake Havasu and Fort Mohave; Lake Mohave - AZ side; Eastern Mojave Desert, Including the Mojave National Preserve; Cadiz Basin; San Bernardino County-Upper Colorado River Valley; Southern Clark County; Lake Mohave - NV side",
    "event": "Wind Advisory",
    "onset": "2026-10-15T08:00:00-07:00",
    "expires": "2026-10-14T08:00:00-07:00",
    "urgency": "Expected",
    "headline": "Wind Advisory issued October 13 at 11:30PM PDT until October 16 at 11:00AM PDT by NWS Las Vegas NV",
    "severity": "Moderate",
    "instruction": "Winds this strong can make driving difficult, especially for high\nprofile vehicles. Use extra caution.\n\nStrong winds and rough waves on area lakes will create hazardous\nconditions for small craft."
   },
   {
    "area": "Southwestern Humboldt; Southeastern Interior Humboldt; Southern Trinity; Northwestern Interior Mendocino; Northeastern Interior Mendocino; Northern Lake; Northwestern and Central Trinity; Northeastern Trinity; Eastern Lake",
    "event": "Frost Advisory",
    "onset": "2026-10-14T01:00:00-07:00",
    "expires": "2026-10-14T06:00:00-07:00",
    "urgency": "Expected",
    "headline": "Frost Advisory issued October 13 at 9:57PM PDT until October 14 at 8:00AM PDT by NWS Eureka CA",
    "severity": "Minor",
    "instruction": "Take steps now to protect tender plants from the cold."
   }
  ],
  "source": "https://api.weather.gov/alerts/active (NWS, public domain)",
  "checkedAt": "2026-10-14T07:00:45.426Z"
 }
}
```

## More

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