# NOAA SPC Severe Hail, Wind & Tornado Reports Scraper (`groundplanes/noaa-hail-wind-storm-roofer-leads`) Actor

Scrape official NOAA Storm Prediction Center (SPC) daily storm reports for severe hail, damaging wind gusts, and tornadoes, geocoded with US Census Bureau ZIP code and census tract identifiers.

- **URL**: https://apify.com/groundplanes/noaa-hail-wind-storm-roofer-leads.md
- **Developed by:** [Groundplane Labs](https://apify.com/groundplanes) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 reports

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

## NOAA SPC Severe Hail, Wind & Tornado Reports Scraper

Extract official NOAA Storm Prediction Center (SPC) preliminary storm reports for severe hail, damaging convective wind gusts, and tornadoes, geocoded to US Census Bureau tracts and postal ZIP codes.

> **Important Disclosure on SPC Storm Reports:** NOAA Storm Prediction Center reports are preliminary point observations submitted by trained storm spotters, law enforcement, local emergency managers, and automated radar estimates. They represent individual point events, not continuous hail swaths or damage contour polygons. The presence of a report within a given ZIP code or Census tract describes the report location only and does not establish structural damage at any specific parcel or property address.

### What it does

- **Severe Hail Filtering & Size Normalization:** Accurately converts SPC hundredths-of-an-inch encoding (e.g. 175 -> 1.75 in) into decimal inches, maps common comparison sizes (Quarter, Golf Ball, Baseball), and filters by minimum diameter.
- **Damaging Wind & Tornado Tracking:** Filters convective wind gusts by measured/estimated MPH threshold and captures tornado touchdown coordinates with spotter narratives.
- **US Census Bureau Geocoding:** Automatically queries the US Census Bureau coordinate geocoder to enrich each lat/lon observation with its official 11-digit Census tract FIPS GEOID and a postal ZIP code. The ZIP is the Census Bureau's ZIP Code Tabulation Area (ZCTA5) code for the point, which approximates the USPS ZIP code; it is not a property address.
- **Historical & Near-Real-Time Cadence:** Query "today", "yesterday", "last_7_days", or explicit historical dates in YYMMDD format (e.g. `240528`). SPC publishes one file per hazard per day and updates it as reports arrive. Today's file is preliminary and still accumulating until the day closes, and SPC may revise reports afterwards. A run that includes "today" delivers the reports posted so far and says so in its status message.
- **Filtered Files and the Unfiltered Fallback:** SPC publishes a filtered file per hazard per day. Only if that filtered file is genuinely missing (HTTP 404) does the actor fall back to the unfiltered daily file for that hazard and day. A run that used the fallback ends PARTIAL, and its status states plainly that the unfiltered file was used and that counts may differ from the filtered file. Any other source error is a source failure and also ends the run PARTIAL, with no dataset substitution.
- **Wind Reports With No Measured Speed:** SPC marks many damage reports `UNK` (no measured or estimated gust). Those reports are delivered with a null `windSpeedMph` regardless of `minWindSpeedMph`, because an unknown speed is not a speed below the threshold. The run status counts how many UNK-speed wind reports were included, so the delivered count can be reconciled against the source file.

### Who it's for

- **Roofing, Siding & Storm Restoration Contractors:** Identify immediate post-storm impact areas and neighborhoods where severe hail (>= 1.5 in) or gale-force winds occurred.
- **Property & Casualty Claims Adjusters:** Verify weather conditions and spotter observations for date-of-loss insurance claims.
- **Solar & Exterior Asset Due Diligence Teams:** Correlate catastrophic storm dates with commercial rooftop solar portfolios.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `reportDates` | array | `["today", "yesterday"]` | Dates: "today", "yesterday", "last_7_days", or explicit YYMMDD (e.g. "240528"). |
| `hazardTypes` | array | `["HAIL", "WIND", "TORNADO"]` | Event hazard types to include. |
| `minHailSizeInches` | number | `1.25` | Minimum hail diameter in inches (e.g. 1.25 = Half Dollar). |
| `minWindSpeedMph` | integer | `60` | Minimum wind gust speed in MPH. |
| `states` | array | `[]` | 2-letter US state postal codes (e.g. TX, OK). Empty array includes all states. |
| `enrichZipAndCensusTract` | boolean | `true` | When true, reverse-geocodes coordinates via US Census Bureau. |
| `maxItems` | integer | `2000` | Maximum storm reports to deliver. |

#### Example input

```json
{
  "reportDates": ["today", "yesterday"],
  "hazardTypes": ["HAIL", "WIND"],
  "minHailSizeInches": 1.5,
  "minWindSpeedMph": 60,
  "states": ["TX", "OK", "KS"],
  "enrichZipAndCensusTract": true,
  "maxItems": 1000
}
```

### Output

One row per storm observation report.

| Field | Type | Description |
|---|---|---|
| `eventDate` | string | Observation date (YYYY-MM-DD). |
| `timeUtc` | string or null | Time of report in UTC (HHMM). |
| `hazardType` | string | `HAIL`, `WIND`, or `TORNADO`. |
| `hailDiameterInches` | number or null | Diameter in inches. |
| `hailSizeCommonName` | string or null | Comparison size name (e.g. Golf Ball, Hen Egg). |
| `windSpeedMph` | integer or null | Gust speed in miles per hour. |
| `locationDescription` | string or null | Location description relative to landmark. |
| `county` | string or null | County. |
| `state` | string or null | 2-letter US state code. |
| `latitude` | number | Decimal latitude coordinate. |
| `longitude` | number | Decimal longitude coordinate. |
| `enrichedZipCode` | string or null | Census ZCTA5 code for the report point (approximates the USPS ZIP code); null when geocoding fails or no ZCTA covers the point. |
| `censusTractGeoid` | string or null | 11-digit Census tract FIPS identifier. |
| `spotterComments` | string or null | Spotter remarks and observing agency. For TORNADO rows, the SPC F-Scale value is prepended to this field in the form `[F-Scale: <value>] ` (for example `[F-Scale: UNK] ...`), because the output has no separate F-Scale field; the original remarks follow the prefix unchanged. Other hazard types carry the remarks as published, with no prefix. |

#### Sample row (real NOAA SPC data)

```json
{
  "eventDate": "2024-05-28",
  "timeUtc": "1500",
  "hazardType": "HAIL",
  "hailDiameterInches": 2.0,
  "hailSizeCommonName": "Hen Egg (2.00 in)",
  "windSpeedMph": null,
  "locationDescription": "5 NNW Sharon",
  "county": "Woodward",
  "state": "OK",
  "latitude": 36.34,
  "longitude": -99.36,
  "enrichedZipCode": "73801",
  "censusTractGeoid": "40153953200",
  "spotterComments": "Relayed images. Radar estimated time. (OUN)"
}
```

### Troubleshooting

- **Calm Days (Zero Matches):** On days with no severe convective activity, SPC publishes a header-only file. The actor reports `Complete: 0 severe storm reports delivered`, which is valid and expected.
- **Geocoding Failures:** If the US Census Bureau geocoder fails for a coordinate after retries, the actor delivers that storm report with null tract and ZIP rather than failing the run, and the run ends PARTIAL with the number of affected rows stated.
- **Caps:** A run that hits `maxItems` or the run charge cap ends PARTIAL and states the cap. Raise the cap to get the remaining reports.
- **Stale or Revised Data:** SPC reports are preliminary. Reports for a day can be added or corrected after the day closes, so re-running a historical date can return slightly different rows than an earlier run of the same date.

If this keeps happening, please open an issue on this actor's Issues tab and we'll fix it fast.

### Changelog

- 0.1.2 (2026-11-01): Fixed the unfiltered fallback: it now triggers only when the filtered SPC file is genuinely missing (HTTP 404), other source errors end the run PARTIAL as source failures instead of substituting a different dataset, and any run that actually used the unfiltered fallback ends PARTIAL with a plain status reason stating that the unfiltered file was used and counts may differ from the filtered file, plus the Issues CTA. The wind UNK status count now counts delivered rows only (after coordinate validation and maxItems truncation), so it reconciles exactly with the UNK rows in the dataset. Disclosed in the output table that TORNADO rows carry their F-Scale value prepended to spotterComments as `[F-Scale: <value>] `. Aligned the input schema minimum for minHailSizeInches to 0, matching the code and the spec (the schema previously set 0.5 with no spec basis).
- 0.1.1 (2026-11-01): Fixed Census ZIP enrichment (the geocoder returns a ZIP Code Tabulation Area only when all geography layers are requested; ZIP was previously always null) and tract enrichment reliability (fresh request per coordinate with retries; failures now end the run PARTIAL with the affected row count instead of silently shipping nulls). Added the hazard magnitude column (Size, Speed, F_Scale) to the schema sentinel, strict integer parsing for hail and wind magnitudes with unparsed values counted and reported as PARTIAL, loud handling of empty SPC files, validation of hazardTypes and reportDates values, an HTTP-date Retry-After fix, disclosure of UNK-speed wind reports and of today's preliminary file in the run status, and maxItems in the input schema.
- 0.1.0 (2026-11-01): Initial build.

# Actor input Schema

## `enrichZipAndCensusTract` (type: `boolean`):

Reverse-geocode point coordinates using US Census Bureau geocoder for ZIP code and census tract.

## `hazardTypes` (type: `array`):

Storm hazard event types to pull (HAIL, WIND, TORNADO).

## `minHailSizeInches` (type: `number`):

Minimum hail diameter in inches (e.g. 1.00 = Quarter, 1.25 = Half Dollar, 1.75 = Golf Ball).

## `minWindSpeedMph` (type: `integer`):

Minimum measured or estimated wind speed in MPH for wind reports.

## `reportDates` (type: `array`):

Dates to retrieve: 'today', 'yesterday', 'last_7_days', or explicit YYMMDD dates (e.g. '240528').

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

Filter by 2-letter US state postal codes (e.g. TX, OK, KS). Empty array includes all states.

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

Maximum storm reports to deliver.

## Actor input object example

```json
{
  "enrichZipAndCensusTract": true,
  "hazardTypes": [
    "HAIL",
    "WIND",
    "TORNADO"
  ],
  "minHailSizeInches": 1.25,
  "minWindSpeedMph": 60,
  "reportDates": [
    "today",
    "yesterday"
  ],
  "states": [],
  "maxItems": 2000
}
```

# Actor output Schema

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

No description

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("groundplanes/noaa-hail-wind-storm-roofer-leads").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("groundplanes/noaa-hail-wind-storm-roofer-leads").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 '{}' |
apify call groundplanes/noaa-hail-wind-storm-roofer-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,groundplanes/noaa-hail-wind-storm-roofer-leads"
        }
    }
}
```

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/mOu2xwoOzTJ2tMJXD/builds/BKHrvunZJ5S827vBj/openapi.json
