# US Weather Alerts & Warnings Tracker (`scrapemint/weather-alerts-tracker`) Actor

Live US weather alerts from the official National Weather Service: tornado, flood, winter storm, heat, and marine warnings and advisories with severity, urgency, area, timing, and instructions. Filter by state, point, zone, event, and severity. Schedule with dedupe for a new-alerts feed.

- **URL**: https://apify.com/scrapemint/weather-alerts-tracker.md
- **Developed by:** [Ken M](https://apify.com/scrapemint) (community)
- **Categories:** Business, News
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## US Weather Alerts & Warnings Tracker

Live US weather alerts straight from the official **National Weather Service** (`api.weather.gov`) — every active watch, warning, and advisory across the 50 states and US marine zones. Tornado, flash flood, winter storm, excessive heat, hurricane, red flag, coastal flood, air quality and more, each with severity, urgency, affected area, onset and expiry times, and the full headline / description / safety instruction text.

No API key, no account. Filter by state, exact point, NWS zone, event type, and severity. Turn on **dedupe** with a schedule to get a live feed of only the alerts you have not seen yet.

### Who uses it

- **Logistics & trucking** — reroute around storms and closures along a corridor of states.
- **Insurance** — early notice of severe/extreme events in covered territories.
- **Agriculture & utilities** — frost, heat, wind, and flood warnings by zone.
- **Event & field operations** — point-based alerts for a single venue or site.

### Input

| Field | Description |
|-------|-------------|
| `states` | Two-letter state / marine codes (e.g. `TX`, `CA`). Empty = whole US. |
| `point` | `latitude,longitude` for a single location (e.g. `39.7,-104.9`). Overrides states/zones. |
| `zones` | NWS forecast/county zone IDs (e.g. `TXZ211`). Overrides states. |
| `events` | Exact NWS event names to keep (e.g. `Tornado Warning`, `Flood Warning`). Empty = all. |
| `severity` | Keep only `Extreme`/`Severe`/`Moderate`/`Minor`/`Unknown`. Empty = all. |
| `urgency` | Keep only `Immediate`/`Expected`/`Future`/`Past`/`Unknown`. Empty = all. |
| `certainty` | Keep only `Observed`/`Likely`/`Possible`/`Unlikely`/`Unknown`. Empty = all. |
| `status` | `actual` (real alerts, default) or test/exercise variants. |
| `maxRows` | Cap on alert rows per run. |
| `dedupe` | Remember alerts across runs and return only new ones. Use with a schedule. |

Only one geographic selector applies per run — `point` beats `zones` beats `states` (the NWS API does not allow combining them).

### Output

One row per active alert: `event`, `severity`, `certainty`, `urgency`, `status`, `messageType`, `category`, `area`, `states`, `headline`, `nwsHeadline`, `description`, `instruction`, `response`, `sent`, `effective`, `onset`, `expires`, `ends`, `senderName`, `url`.

### Pricing

Pay per event: **$0.003 per alert row**. Quiet windows with no matching active alerts cost nothing. The first 2 rows of every run are free.

Data source: National Weather Service, `api.weather.gov` (US government, public domain).

# Actor input Schema

## `states` (type: `array`):

Two-letter state or marine-zone codes, e.g. TX, CA, FL. Empty = the whole US. Only one location filter applies per run: point beats zones beats states.

## `point` (type: `string`):

Alerts covering a single location, e.g. 39.7,-104.9 for Denver. Overrides states and zones when set.

## `zones` (type: `array`):

Specific NWS forecast or county zone IDs, e.g. TXZ211, COC031. Overrides states when set.

## `events` (type: `array`):

Only these alert types, matched by exact NWS event name (case-insensitive), e.g. Tornado Warning, Flood Warning, Winter Storm Warning, Excessive Heat Warning. Empty = all events.

## `severity` (type: `array`):

Keep only these severity levels. Empty = all.

## `urgency` (type: `array`):

Keep only these urgency levels. Empty = all.

## `certainty` (type: `array`):

Keep only these certainty levels. Empty = all.

## `status` (type: `string`):

Alert status. Actual is real alerts; the others are test/exercise messages.

## `maxRows` (type: `integer`):

Cap on alert rows returned. Controls total cost.

## `dedupe` (type: `boolean`):

Remember returned alerts across runs and skip them. Turn on with a schedule for a live new-alerts feed.

## Actor input object example

```json
{
  "states": [
    "FL",
    "CA",
    "TX"
  ],
  "point": "",
  "zones": [],
  "events": [],
  "severity": [],
  "urgency": [],
  "certainty": [],
  "status": "actual",
  "maxRows": 50,
  "dedupe": false
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "states": [
        "FL",
        "CA",
        "TX"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapemint/weather-alerts-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "states": [
        "FL",
        "CA",
        "TX",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scrapemint/weather-alerts-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "states": [
    "FL",
    "CA",
    "TX"
  ]
}' |
apify call scrapemint/weather-alerts-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapemint/weather-alerts-tracker",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/yfdqxK1caThfbyffT/builds/WVVArZZNawX5XCNlH/openapi.json
