# US Weather Alerts Scraper — Warnings & Watches (`hipersoft/us-weather-alerts-scraper`) Actor

Get active US weather alerts from the National Weather Service: event type, severity, urgency, affected areas, headline, full description, instructions and effective/expiry times. Filter by state and severity. Great for safety, logistics and monitoring. One row per alert as JSON, CSV or Excel.

- **URL**: https://apify.com/hipersoft/us-weather-alerts-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.0002 / alert scraped

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## US Weather Alerts Scraper — Warnings & Watches

Get **active US weather alerts** from the National Weather Service with the **US Weather Alerts Scraper**. Choose states (or go nationwide) and export each alert's **event type, severity, urgency, affected areas, headline, full description, safety instructions and effective/expiry times** — one clean row per alert as **JSON, CSV or Excel**.

Built for **safety and emergency monitoring, logistics and fleet operations, agriculture, insurance and weather dashboards**, it turns live severe-weather warnings into structured data you can filter, map and automate.

### What it does

- ⚠️ **Live alerts** — active warnings, watches, advisories and statements across the US.
- 🌪️ **Event & severity** — event type (Tornado Warning, Flood Watch…), severity, urgency and certainty.
- 📍 **Affected areas** — the counties/zones each alert covers.
- 📝 **Full text** — headline, description and safety instructions.
- ⏱️ **Timing** — effective, onset, expiry and end times.
- 🎛️ **Filters** — by state and by minimum severity.
- 📤 **Export anywhere** — JSON, CSV or Excel, or straight into a dashboard, alerting system or map.

### Example output

```json
{
  "event": "Severe Thunderstorm Warning",
  "severity": "Severe",
  "urgency": "Immediate",
  "areaDesc": "Smith, TX; Upshur, TX; Wood, TX",
  "headline": "Severe Thunderstorm Warning issued...",
  "expires": "2026-09-21T12:45:00-05:00"
}
```

### How to use it

1. Add **state codes** (e.g. `TX`, `CA`) — or leave empty for all US alerts.
2. Optionally set a **minimum severity**.
3. Set **Max alerts** and run. Download the results as **JSON, CSV or Excel**.

### Input fields

| Field | Description |
|-------|-------------|
| **States** | Two-letter state codes; empty = nationwide. |
| **Minimum severity** | Extreme, Severe, Moderate, Minor or any. |
| **Max alerts** | Maximum alerts to collect (0 = no limit). |

### Output fields

`id`, `event`, `severity`, `urgency`, `certainty`, `status`, `messageType`, `category`, `areaDesc`, `headline`, `description`, `instruction`, `senderName`, `effective`, `onset`, `expires`, `ends`.

### Popular use cases

- **Safety & emergency monitoring** — track severe weather for a region in real time.
- **Logistics & fleets** — reroute around storms, floods and winter weather.
- **Agriculture** — watch for frost, wind and flood alerts affecting operations.
- **Insurance** — monitor events that may drive claims.
- **Dashboards & alerting** — schedule runs and pipe alerts into notifications.

### FAQ

**Do I need an account or key?**
No. Choose states and run.

**How current are the alerts?**
They reflect the currently active National Weather Service alerts at run time. Schedule the actor for continuous monitoring.

**Can I focus on severe events only?**
Yes — set a minimum severity to keep only the most serious alerts.

**Can I export to Excel or Google Sheets?**
Yes — results download as JSON, CSV or Excel and integrate with Sheets, dashboards and alerting tools.

***

Live **US weather warnings and watches** — event, severity, area and timing — clean and export-ready for safety, logistics and monitoring.

# Actor input Schema

## `areas` (type: `array`):

Two-letter US state/territory codes — e.g. 'TX', 'CA', 'FL'. Leave empty for all active alerts nationwide.

## `severity` (type: `string`):

Filter by severity level.

## `maxItems` (type: `integer`):

Maximum number of alerts to collect (0 = no limit).

## Actor input object example

```json
{
  "areas": [
    "TX",
    "CA"
  ],
  "severity": "",
  "maxItems": 0
}
```

# Actor output Schema

## `results` (type: `string`):

The results as dataset items.

# 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 = {
    "areas": [
        "TX",
        "CA"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/us-weather-alerts-scraper").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 = { "areas": [
        "TX",
        "CA",
    ] }

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

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

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

```

## CLI example

```bash
echo '{
  "areas": [
    "TX",
    "CA"
  ]
}' |
apify call hipersoft/us-weather-alerts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/us-weather-alerts-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Wz65JynAfSzpzO0dh/builds/PJmrFmbpn9Dmc9Hai/openapi.json
