# NWS US Weather Alerts API

Get NWS US Weather Alerts data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Nws, pass parameters such as area, and retrieve structured data including alert resource identifier, alert event type, alert headline, reported alert severity, and affected-area description to build a state alert board, add regional context, and track alert changes.

Documentation: https://openany.si/market/apis/nws/nws-us-active-weather-alerts/
API ID: 83f861b9-80bd-4c97-bcb6-dc5682762ea2
Provider: nws
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/nws/alerts/active
Page update time: 2026-12-03T02:36:40.300Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:36:40.300Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "NWS US Weather Alerts API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "area": {
          "type": "string",
          "description": "Two-letter US state or territory code, such as CA.",
          "minLength": 1,
          "maxLength": 2
        }
      },
      "required": [
        "area"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "@context": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "object",
            "properties": {
              "@version": {
                "type": "string"
              },
              "@vocab": {
                "type": "string"
              },
              "wx": {
                "type": "string"
              }
            }
          }
        ]
      }
    },
    "features": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "geometry": {
            "type": "null"
          },
          "id": {
            "type": "string"
          },
          "properties": {
            "type": "object",
            "properties": {
              "@id": {
                "type": "string"
              },
              "@type": {
                "type": "string"
              },
              "affectedZones": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "areaDesc": {
                "type": "string"
              },
              "category": {
                "type": "string"
              },
              "certainty": {
                "type": "string"
              },
              "code": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "effective": {
                "type": "string"
              },
              "ends": {
                "type": "string"
              },
              "event": {
                "type": "string"
              },
              "eventCode": {
                "type": "object",
                "properties": {
                  "NationalWeatherService": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "SAME": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "expires": {
                "type": "string"
              },
              "geocode": {
                "type": "object",
                "properties": {
                  "SAME": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "UGC": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "headline": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "instruction": {
                "type": "string"
              },
              "language": {
                "type": "string"
              },
              "messageType": {
                "type": "string"
              },
              "note": {
                "type": "null"
              },
              "onset": {
                "type": "string"
              },
              "parameters": {
                "type": "object",
                "properties": {
                  "AWIPSidentifier": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "BLOCKCHANNEL": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "NWSheadline": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "VTEC": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "WMOidentifier": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "eventEndingTime": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "references": {
                "type": "array",
                "items": {}
              },
              "response": {
                "type": "string"
              },
              "scope": {
                "type": "string"
              },
              "sender": {
                "type": "string"
              },
              "senderName": {
                "type": "string"
              },
              "sent": {
                "type": "string"
              },
              "severity": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "urgency": {
                "type": "string"
              },
              "web": {
                "type": "string"
              }
            }
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "title": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "updated": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/nws/alerts/active?area=CA' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "@context": [
    "https://geojson.org/geojson-ld/geojson-context.jsonld",
    {
      "@version": "1.1",
      "@vocab": "https://api.weather.gov/ontology#",
      "wx": "https://api.weather.gov/ontology#"
    }
  ],
  "features": [
    {
      "geometry": null,
      "id": "https://api.weather.gov/alerts/urn:oid:2.49.0.1.840.0.36d27685614e35fbcc8682a9c2e37f391c244f9f.001.1",
      "properties": {
        "@id": "https://api.weather.gov/alerts/urn:oid:2.49.0.1.840.0.36d27685614e35fbcc8682a9c2e37f391c244f9f.001.1",
        "@type": "wx:Alert",
        "affectedZones": [
          "https://api.weather.gov/zones/forecast/CAZ338"
        ],
        "areaDesc": "Mojave Desert Slopes",
        "category": "Met",
        "certainty": "Likely",
        "code": "IPAWSv1.0",
        "description": "* WHAT...West winds 15 to 25 mph with gusts up to 45 mph expected.\n\n* WHERE...Mojave Desert Slopes.\n\n* WHEN...From 4 PM this afternoon to 6 AM PST Wednesday.\n\n* IMPACTS...Gusty winds will blow around unsecured objects. Tree\nlimbs could be blown down and a few power outages may result.\n\n* ADDITIONAL DETAILS...Highways impacted include State Routes 14, 58,\nand 178, as well as U.S. 395.",
        "effective": "2026-11-03T03:01:00-08:00",
        "ends": "2026-11-04T06:00:00-08:00",
        "event": "Wind Advisory",
        "eventCode": {
          "NationalWeatherService": [
            "WIY"
          ],
          "SAME": [
            "NWS"
          ]
        },
        "expires": "2026-11-03T11:15:00-08:00",
        "geocode": {
          "SAME": [
            "006029"
          ],
          "UGC": [
            "CAZ338"
          ]
        },
        "headline": "Wind Advisory issued November 3 at 3:01AM PST until November 4 at 6:00AM PST by NWS Hanford CA",
        "id": "urn:oid:2.49.0.1.840.0.36d27685614e35fbcc8682a9c2e37f391c244f9f.001.1",
        "instruction": "Winds this strong can make driving difficult, especially for high\nprofile vehicles. Use extra caution.",
        "language": "en-US",
        "messageType": "Alert",
        "note": null,
        "onset": "2026-11-03T16:00:00-08:00",
        "parameters": {
          "AWIPSidentifier": [
            "NPWHNX"
          ],
          "BLOCKCHANNEL": [
            "EAS",
            "NWEM",
            "CMAS"
          ],
          "NWSheadline": [
            "WIND ADVISORY IN EFFECT FROM 4 PM THIS AFTERNOON TO 6 AM PST WEDNESDAY"
          ],
          "VTEC": [
            "/O.NEW.KHNX.WI.Y.0033.261104T0000Z-261104T1400Z/"
          ],
          "WMOidentifier": [
            "WWUS76 KHNX 031101"
          ],
          "eventEndingTime": [
            "2026-11-04T06:00:00-08:00"
          ]
        },
        "references": [],
        "response": "Execute",
        "scope": "Public",
        "sender": "w-nws.webmaster@noaa.gov",
        "senderName": "NWS Hanford CA",
        "sent": "2026-11-03T03:01:00-08:00",
        "severity": "Moderate",
        "status": "Actual",
        "urgency": "Expected",
        "web": "http://www.weather.gov"
      },
      "type": "Feature"
    }
  ],
  "title": "Current watches, warnings, and advisories for California",
  "type": "FeatureCollection",
  "updated": "2026-11-03T14:38:40+00:00"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
