# NASA EONET Natural Events Delta Monitor (`apex-nexus/nasa-eonet-natural-events-delta-monitor`) Actor

Watchlist-based delta monitor of NASA EONET natural events. Alerts on new events matching your watchlist. Free when nothing changes, pay per alert. Public NASA data only.

- **URL**: https://apify.com/apex-nexus/nasa-eonet-natural-events-delta-monitor.md
- **Developed by:** [Valunex](https://apify.com/apex-nexus) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 natural event alerts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## NASA EONET Natural Events Delta Monitor

Watchlist-based delta monitor of the NASA EONET (Earth Observatory Natural Event
Tracker) natural events API: get alerted only when *new* natural events
(wildfires, severe storms, floods, volcanoes, ...) matching your category /
place-keywords watchlist occur since the last run — "free when nothing changes",
pay only on signal. Built on public NASA data (no API key, no signup, no
credentials, no proxies).

### What it does

The Actor polls the official, public NASA EONET events API
(https://eonet.gsfc.nasa.gov/api/v3/events) for natural events in a lookback
window you choose (default: the last 7 days, all categories, worldwide) and
emits one dataset item per newly observed event matching your watchlist:

- New events matching a watchlist entry (category / place keywords)
  → one dataset item per event, tagged `newSinceLastRun: true`
- Nothing changed since the last run → no dataset items at all (free when nothing changes)

State is checkpointed per watchlist item in the Actor default key-value store,
so repeat runs only surface genuinely new natural events.

### Search terms this Actor answers

- NASA EONET monitor
- natural events watchlist
- wildfire storm flood volcano alert tracker
- EONET API delta monitor
- NASA natural hazards watchlist
- natural hazard event tracker

### Who it is for

Property insurers and cat-risk desks, emergency-management contractors,
airline/aviation operations (volcanic ash, severe weather), and news desks
covering natural disasters. Early natural-event signal has direct loss-mitigation
and crew/passenger safety value and is typically bought from insurance risk and
operations-continuity budgets.

### Data source

Public NASA data, keyless, no login, no proxies:

https://eonet.gsfc.nasa.gov/

This Actor queries
`https://eonet.gsfc.nasa.gov/api/v3/events?days=...&limit=...`
(server-side lookback) with deterministic client-side re-checking of the
category / place-keywords filters and checkpoint-based delta emission. No LLMs,
no commercial inference, no credentials, no proxies inside the product.

### Input

See `actor/.actor/input_schema.json`.

- `watchlist` (array of objects, optional, default `[]`): each entry is
  `{category, placeKeywords}`. `category` is an EONET category id
  (e.g. `wildfires`, `severeStorms`, `floods`, `volcanoes`); leave unset to
  monitor every category. `placeKeywords` is a case-insensitive substring
  matched against the event title. One checkpoint is kept per entry.
- `sinceDays` (integer, 1-365, default 7): how far back to look on the first
  run; repeat runs only emit events newer than the last checked state.
- `maxResults` (integer, 1-200, default 25): cap of new natural-event alerts per run.

Example input:

```json
{
  "watchlist": [
    { "category": "wildfires", "placeKeywords": "California" },
    { "category": "volcanoes" }
  ],
  "sinceDays": 7,
  "maxResults": 25
}
```

### Output

One dataset item per newly observed natural event matching a watchlist entry
since the last run (see `actor/.actor/dataset_schema.json`), including event id,
title, categories, sources, link, geometry, time, magnitude, matched watchlist
entry, and the EONET source link.

### Pricing

Published as a FREE Apify Store listing: unchanged replays emit nothing, so
runs with no new natural events are free. You only pay for runs that surface
new events.

### Verification

- `pytest actor/tests` — deterministic tests, no network (fakes httpx responses
  and the Apify default key-value store)
- `ruff check actor/` — 0 errors
- Default input returns >0 dataset items against the live NASA EONET API in
  under 5 minutes (evidenced by a real Apify run of the pushed build)

### Distinctness

NASA EONET multi-hazard natural-events delta monitoring — distinct from the
other apex-nexus Actors (SEC filings, FDA/NHTSA/FSIS/CPSC recalls, CFPB
complaints, state campaign finance, USDA/BLS economic reports, USGS
earthquakes, NWS weather alerts, Federal Register). No Apify Store listing is
an EONET delta watchlist monitor; incumbents are one-shot pay-per-event
collection scrapers with no checkpoint and no "free when nothing changes"
behavior.

# Actor input Schema

## `watchlist` (type: `array`):

Each entry filters new EONET events by event category (e.g. wildfires, severeStorms, floods, volcanoes) and/or place keywords matched case-insensitively against the event title. An entry is an object { "category": <string>, "placeKeywords": <string> }; leave category unset to monitor every category. One checkpoint is kept per entry so repeat runs emit only new events.

## `sinceDays` (type: `integer`):

How far back to look for natural events on the first run; repeat runs only emit events newer than the last checked state.

## `maxResults` (type: `integer`):

Cap the number of new natural-event alerts emitted in a single run.

## Actor input object example

```json
{
  "watchlist": [],
  "sinceDays": 7,
  "maxResults": 25
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset items filtered by the overview view defined in the dataset schema.

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

All dataset items emitted by the Actor run (newly detected natural events).

# 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 = {
    "watchlist": [],
    "sinceDays": 7,
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("apex-nexus/nasa-eonet-natural-events-delta-monitor").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 = {
    "watchlist": [],
    "sinceDays": 7,
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("apex-nexus/nasa-eonet-natural-events-delta-monitor").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 '{
  "watchlist": [],
  "sinceDays": 7,
  "maxResults": 25
}' |
apify call apex-nexus/nasa-eonet-natural-events-delta-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apex-nexus/nasa-eonet-natural-events-delta-monitor"
        }
    }
}
```

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/KAg9S4NKP7bK4pDde/builds/eXaSjyW3aO2s93cuR/openapi.json
