# Earthquake & Natural Hazard Feed: USGS + NASA EONET (`datacrate/natural-hazard-alerts-feed`) Actor

One normalized feed of recent earthquakes (USGS) and open wildfire, storm, volcano and flood events (NASA EONET). Filter by hazard, magnitude, US state or bounding box; delta mode flags new events. Unofficial data, not a warning service.

- **URL**: https://apify.com/datacrate/natural-hazard-alerts-feed.md
- **Developed by:** [Data Crate](https://apify.com/datacrate) (community)
- **Categories:** News, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 hazard event returneds

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

## Earthquake & Natural Hazard Feed – USGS earthquakes and NASA EONET wildfires, storms and volcanoes in one dataset

One normalized feed of recent **earthquakes (USGS)** and **open wildfire, storm, flood, volcano and other natural events (NASA EONET)**. Filter by hazard, minimum severity, magnitude, US state or bounding box, and use delta mode to see only what is new since your last run. Built for insurance and property-risk monitoring, logistics and fleet routing, newsletters and dashboards. No scraping, no browser, no API key.

**First run:** press Start. The prefill (earthquakes + wildfires from both sources over the last 7 days, up to 100 events) usually finishes in a few seconds and costs about **$0.10 at $0.001 per event** (fewer events = less). **Empty input also works:** you get up to 100 events from both sources over the last 7 days, for at most $0.10. When more events match than `maxItems`, the cap is shared across the two sources so both appear.

> **Not an official warning service. Do not rely on this actor for safety decisions.** The data is an unofficial, reformatted copy of public feeds and may be delayed, incomplete or wrong. For warnings, follow your national or local emergency authority (for example usgs.gov and your local emergency management office). Not affiliated with or endorsed by USGS or NASA.

### What you can do with it

- **Property and insurance risk:** pull significant quakes and nearby wildfires for a list of US states or a bounding box, and schedule it hourly.
- **Logistics and fleet routing:** watch for storms, floods, volcanoes and wildfires near your corridors; use `boundingBox` for areas with coordinates.
- **Newsletters and dashboards:** one schema for quakes, wildfires and storms, with `severity`, `magnitude`, timestamps and links.
- **Change alerts:** schedule with `onlyNewSinceLastRun`. Each row also carries `changeStatus` (`new`, `updated`, `unchanged`), `firstSeenAt` and `updatedAt`. Connect a webhook or the Apify integrations (Make, Zapier, n8n, Slack, email).

### Input

| Field | What it does |
|---|---|
| `hazards` | `earthquake`, `wildfire`, `storm`, `flood`, `volcano`, `drought`, `landslide`, `other`. Empty = all |
| `sources` | `usgs` (earthquakes), `eonet` (NASA EONET). Empty = both. A source is only queried when it can supply the chosen hazards |
| `sinceHours` | Only events first reported or updated in the last N hours (1 to 720, default 168 = 7 days). EONET events use their latest observation date |
| `minMagnitude` | Earthquakes only (default 2.5; 0 = everything, a large output) |
| `minSeverity` | `minor`, `moderate`, `severe`, `extreme`. NASA EONET events have unknown severity and are dropped when this is set |
| `states` | US state or territory codes (`CA`, `AK`, `PR`). Applies to earthquakes whose place name ends in a US state |
| `boundingBox` | `{"minLat":32,"maxLat":42,"minLon":-125,"maxLon":-114}`. Events with no coordinates are dropped when a box is set |
| `sortBy` | `severity` (default) or `newest`. With `maxItems` this gives you the most severe N, or the newest N |
| `onlyNewSinceLastRun`, `stateKey` | Delta mode. Returns only events that are new or changed since the last run with the same State name. The first run returns everything |
| `maxItems` | Cap on events (default 100). You pay per event |

Example: `{ "hazards": ["earthquake","wildfire"], "sources": ["usgs","eonet"], "sinceHours": 168, "maxItems": 100 }`

Watchlist example: `{ "states": ["CA","OR","WA"], "minSeverity": "moderate", "onlyNewSinceLastRun": true, "stateKey": "west-coast" }`

### Output

```json
{
  "source": "usgs",
  "eventId": "nc75123456",
  "hazardType": "earthquake",
  "subType": "earthquake (mw)",
  "title": "M 4.6 - 14 km N of Susanville, CA",
  "description": null,
  "severity": "moderate",
  "magnitude": 4.6,
  "magnitudeUnit": "mw",
  "startedAt": "2026-11-18T10:49:00.000Z",
  "updatedAt": "2026-11-18T11:20:00.000Z",
  "endsAt": null,
  "areaDescription": "14 km N of Susanville, CA",
  "state": "CA",
  "states": ["CA"],
  "country": "US",
  "latitude": 40.55,
  "longitude": -120.65,
  "depthKm": 8.2,
  "tsunamiFlag": false,
  "pagerAlert": "green",
  "url": "https://earthquake.usgs.gov/earthquakes/eventpage/nc75123456",
  "firstSeenAt": "2026-11-18T19:54:04.456Z",
  "changeStatus": null,
  "license": "U.S. Public Domain (USGS-authored data)",
  "attribution": "Earthquake data: U.S. Geological Survey (USGS). Reformatted by this actor; not endorsed by or affiliated with the USGS.",
  "notice": "Unofficial, reformatted public data. Not an official warning service; do not use for safety decisions."
}
```

All times are UTC ISO 8601. Field notes:

- **`severity`** is `minor`, `moderate`, `severe`, `extreme` or `unknown`. For earthquakes it is **derived by this actor from magnitude** (4.5+ moderate, 6+ severe, 7+ extreme; below 4.5 minor) and is not an official rating. NASA EONET events are `unknown`.
- **Earthquakes** also carry `depthKm`, `tsunamiFlag` (USGS tsunami flag) and `pagerAlert` (USGS PAGER colour when published). `magnitudeUnit` is the USGS magnitude type (for example `mww`).
- **NASA EONET events** use the latest observation as `updatedAt` and the first as `startedAt`; `magnitude`/`magnitudeUnit` are the latest reported value (for example acres for wildfires, knots for cyclones). `endsAt` is set when EONET has closed the event.
- **`changeStatus`** is `null` when there is no previous snapshot for the State name (first run).
- **Per-event delta state** is stored in a named key-value store (`natural-hazard-alerts-feed-state`) on your account. Events cut off by `maxItems` are not marked as seen, so they are still new next time.
- **Run summary** per source is saved to the `SUMMARY` key of the run's key-value store.

### Terms and licence evidence

Checked on 2026-11-18 with curl and the User-Agent `datacrate-actor/1.0 (Apify actor; natural-hazard-alerts-feed)`. Each source returned HTTP 200. Quotes are copied from the official pages.

**USGS earthquakes** (`https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/*.geojson`, HTTP 200). `earthquake.usgs.gov/robots.txt` returns 404 (no restrictions published). From <https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits>:

> "USGS-authored or produced data and information are considered to be in the U.S. Public Domain."

> "When using information from USGS information products, publications, or websites, we ask that proper credit be given. Credit can be provided by including a citation such as the following: Credit: U.S. Geological Survey Department of the Interior/USGS"

Attribution used: "Earthquake data: U.S. Geological Survey (USGS)". The actor does not use the USGS identifier or logo.

**NASA EONET** (`https://eonet.gsfc.nasa.gov/api/v3/events?status=open`, HTTP 200). `eonet.gsfc.nasa.gov/robots.txt` returns `User-agent: *` / `Disallow:` (nothing disallowed). EONET publishes no separate data licence. Its documentation (<https://eonet.gsfc.nasa.gov/docs/v3>) says: "Please note that all metadata contained within EONET is subject to our disclaimer", and the disclaimer (<https://eonet.gsfc.nasa.gov/what-is-eonet>) reads:

> "All EONET metadata and services are intended to be used for visualization and general information purposes only and should not be construed as “official” with regards to spatial or temporal extent. Spatial and temporal extents of natural events represented in EONET are based on multiple sources, and often these representations are approximations at best."

NASA's general reuse policy (<https://www.nasa.gov/nasa-brand-center/images-and-media/>) says:

> "NASA content ... generally are not subject to copyright in the United States."

> "NASA content used in a factual manner that does not imply endorsement may be used without needing explicit permission. NASA should be acknowledged as the source of the material."

That page is written for images, audio and video; EONET records are factual event metadata (title, category, dates, coordinates, magnitude, links). Only that metadata is returned. NASA insignia, logos and imagery are not used.

**Attribution you should keep** if you republish: "Earthquake data: USGS", "Event data: NASA Earth Observatory Natural Event Tracker (EONET)", plus a note that your copy is unofficial. Do not imply endorsement by USGS or NASA. Every row has `license`, `attribution` and `notice` fields.

**Not included:** NOAA/National Weather Service alerts are excluded because the NWS API's robots.txt disallows automated access, so the US weather-alert hazard type is removed. FEMA OpenFEMA disaster declarations (`www.fema.gov/robots.txt` and the OpenFEMA terms page return HTTP 403 to automated requests, so those terms could not be read) and GDACS (reuse terms not read). They can be added once their terms are verified.

### Notes and limits

- Sources are polled once per run. USGS updates its feeds every minute, EONET at the pace of its upstream sources (often daily for wildfires).
- The `sinceHours` window filters on each event's own update time, so quiet days return fewer events.
- Earthquakes and EONET events are worldwide.
- `country` for earthquakes is the last part of the USGS place text (for example `Chile`) and is null for oceanic places such as `Pacific-Antarctic Ridge`. EONET events have no country.
- No personal data is collected or returned; rows contain places, magnitudes and public alert text only.

### FAQ

**How do I get quakes only for my state?** Set `states: ["TX"]`. The filter matches earthquakes whose USGS place name ends in that state.

**How do I only see new events on a schedule?** Set `onlyNewSinceLastRun: true` and keep the same `stateKey`. The first run returns everything, later runs return `new` and `updated` events.

**Can I use it with MCP, webhooks or schedules?** Yes: it runs like any Actor. Use Apify Schedules for hourly runs, webhooks or integrations for delivery, and the Apify MCP server to call it from an AI agent.

**Why is my run empty?** Widen `sinceHours`, lower `minMagnitude`, remove `minSeverity`/`states`/`boundingBox`, or check that your `sources` can supply your `hazards` (usgs = earthquake, eonet = everything else).

### Pricing

Pay per result: **$0.001 per hazard event** ($1 per 1,000), no start fee beyond the platform default. Volume tiers (Bronze to Diamond) lower the price per event. Set `maxItems` to cap spend; the default of 100 costs at most $0.10 per run.

### Changelog

- 1.0 – USGS earthquakes and NASA EONET open events; filters for hazard, severity, magnitude, state, bounding box; delta mode.

# Actor input Schema

## `hazards` (type: `array`):

Which hazards to return. Empty = all. earthquake comes from USGS, the rest (wildfire, storm, flood, volcano and so on) from NASA EONET.

## `sources` (type: `array`):

Which data sources to query. Empty = both.

## `sinceHours` (type: `integer`):

Only events first reported or updated within this many hours (1 to 720). EONET events use their latest observation date.

## `minMagnitude` (type: `number`):

Applies to earthquakes only. 0 returns all magnitudes, including very small quakes (large output).

## `minSeverity` (type: `string`):

Skip anything below this level. Earthquake severity is derived from magnitude (4.5+ moderate, 6+ severe, 7+ extreme). NASA EONET events have unknown severity and are dropped when this is set.

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

Two-letter US state or territory codes, e.g. CA, AK, TX, PR. Applies to earthquakes whose place name ends in a US state. Empty = everywhere.

## `boundingBox` (type: `object`):

Optional: {"minLat": 32, "maxLat": 42, "minLon": -125, "maxLon": -114}. Events without coordinates are dropped when a box is set. minLon greater than maxLon crosses the antimeridian.

## `sortBy` (type: `string`):

severity = most severe first, then newest (so Max events returned gives you the most severe N). newest = latest update first.

## `onlyNewSinceLastRun` (type: `boolean`):

Return only events that are new or changed since the previous run with the same State name. The first run returns everything. Every row carries changeStatus (new, updated, unchanged) once a previous run exists.

## `stateKey` (type: `string`):

Name of the saved snapshot. Use different names for different watchlists.

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

Stop after this many events. You are charged per event returned. If more events match, the cap is shared across sources so both USGS and EONET appear.

## Actor input object example

```json
{
  "hazards": [
    "earthquake",
    "wildfire"
  ],
  "sources": [
    "usgs",
    "eonet"
  ],
  "sinceHours": 168,
  "minMagnitude": 2.5,
  "minSeverity": "any",
  "states": [],
  "sortBy": "severity",
  "onlyNewSinceLastRun": false,
  "stateKey": "default",
  "maxItems": 100
}
```

# Actor output Schema

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

One row per hazard event (default 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 = {
    "hazards": [
        "earthquake",
        "wildfire"
    ],
    "sources": [
        "usgs",
        "eonet"
    ],
    "sinceHours": 168,
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("datacrate/natural-hazard-alerts-feed").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 = {
    "hazards": [
        "earthquake",
        "wildfire",
    ],
    "sources": [
        "usgs",
        "eonet",
    ],
    "sinceHours": 168,
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("datacrate/natural-hazard-alerts-feed").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 '{
  "hazards": [
    "earthquake",
    "wildfire"
  ],
  "sources": [
    "usgs",
    "eonet"
  ],
  "sinceHours": 168,
  "maxItems": 100
}' |
apify call datacrate/natural-hazard-alerts-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datacrate/natural-hazard-alerts-feed"
        }
    }
}
```

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/SCDPQFYsjCYwCPwd4/builds/epzUL4avQAedo4oiJ/openapi.json
