# GDACS Disaster Alerts (`vizellie/gdacs-disaster-alerts`) Actor

Earthquakes, cyclones, floods, volcanoes and the other event types in the public GDACS feed. One row per event, with the alert level GDACS publishes and a link to the official report.

- **URL**: https://apify.com/vizellie/gdacs-disaster-alerts.md
- **Developed by:** [Vi Zellie](https://apify.com/vizellie) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 saved events

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

## GDACS Disaster Alerts

Read the public GDACS feed of natural disasters with a possible humanitarian impact. Each row is one event: the event id, the type, the alert level GDACS publishes, the title, the date, the location and coordinates when the feed has them, and a link to the official report.

GDACS publishes this feed as public domain. The system is run with the European Commission and the United Nations.

Not legal advice, and not an official emergency service. Source: GDACS.

On 8 November 2026 the feed held about 286 events. The types in that file were earthquakes (EQ), tropical cyclones (TC), floods (FL), droughts (DR) and wildfires (WF). Volcanoes (VO) were not in that file. The filter still accepts VO, and a run with no matching events saves nothing. Alert levels in that file were Green and Orange. Red is a level GDACS uses and is accepted here. This Actor does not invent a level the feed did not send.

### Who it is for

Agencies who want a short list of current GDACS events, filtered by type or alert level, and a schedule that skips ids already saved.

### What you get

- One row per event after the filters, up to the row cap. The rest of the feed is not charged.
- The id, such as EQ1576162, the type code, the alert level, the title and the date.
- Country or region, latitude and longitude when the feed includes them.
- An https link to the GDACS report. The report page is not downloaded.
- New events only, for a schedule. Off by default. A normal run does not open a named store.
- A note when GDACS does not respond, or when the feed is larger than this run reads. That run does not charge an event row.

The form saves 5 events and does not filter by type. The first event on 8 November 2026 was a green earthquake, magnitude 5.8, in the Central Mid-Atlantic Ridge.

### Tutorial

1. Leave **Event type** and **Minimum alert level** empty.
2. Leave **Max events** at 5. When the field is omitted, the run saves up to 40.
3. Leave **New events only** off for a first look.
4. Run the Actor and open `url` for the GDACS report.
5. For a schedule of orange and red earthquakes, set the type to EQ, the minimum level to Orange, turn **New events only** on, and keep the same state key.

### Example input

```json
{
  "maxResults": 5,
  "newEventsOnly": false
}
```

### Example output

```json
{
  "id": "EQ1576162",
  "eventId": "1576162",
  "eventType": "EQ",
  "eventTypeLabel": "Earthquake",
  "alertLevel": "Green",
  "title": "Green earthquake (Magnitude 5.8M, Depth:10km) in Central Mid-Atlantic Ridge 07/11/2026 23:17 UTC, [unknown].",
  "date": "2026-11-07T23:17:05Z",
  "country": "Central Mid-Atlantic Ridge",
  "latitude": 7.4618,
  "longitude": -36.8221,
  "url": "https://www.gdacs.org/report.aspx?eventtype=EQ&eventid=1576162",
  "source": "GDACS"
}
```

`alertLevel` is the value GDACS sent. `eventTypeLabel` is a name for the six GDACS codes. An unknown code is stored as the code, with an empty label.

### Pricing

You pay a small fee when the run starts, then a fee for each event row that is saved.

| What | Price |
|---|---|
| Run start | $0.00005 |
| Saved event | $0.002 |

Events that were not saved are free. That includes events outside the type or alert level, ids already seen, events past **Max events**, and a feed that did not respond.

**Examples**

- The form, 5 events saved: 5 x $0.002 = **$0.01**, plus the $0.00005 start fee.
- The omitted cap of 40 events, all saved: 40 x $0.002 = **$0.08**, plus the start fee.
- A scheduled run that saves 3 new rows: 3 x $0.002 = **$0.006**, plus the start fee.
- A quiet run, or a run where GDACS does not respond: **$0.00005**.

The feed can contain a few hundred events. You are not charged for the ones past **Max events**. Use that cap and Apify's maximum cost per run. The pricing tab on the store is the price you are charged if it ever differs.

### Scheduling and integrations

Save a task, turn on **New events only**, and schedule it with the same state key. The dataset can go to Google Sheets, Slack, email, Make or Zapier, or you can read it from the Apify API.

The state record stores event ids only.

### Nederlands

Dit leest de openbare GDACS-feed met aardbevingen, cyclonen, overstromingen, droogte, natuurbranden en, als de feed ze publiceert, vulkanen. Het formulier pakt de eerste 5 gebeurtenissen, zonder typefilter.

Op 8 november 2026 stond bovenaan een groene aardbeving, magnitude 5.8, op de Centraal Mid-Atlantische Rug (EQ1576162). De feed had die dag ongeveer 286 gebeurtenissen. Alleen opgeslagen rijen worden gerekend.

Laat je het maximum weg, dan worden hooguit 40 rijen opgeslagen. Een gebeurtenis die niet is opgeslagen, rekenen we niet aan. De prijs is $0.00005 bij de start en $0.002 per opgeslagen gebeurtenis.

Geen juridisch advies, en geen officiële hulpdienst. Bron: GDACS. De feed is public domain.

### No personal data

This Actor does not collect personal data.

- It reads the public disaster feed. It does not download report pages or map images.
- Email addresses and phone numbers are removed if they appear in a title.
- The state store, when new events only is on, keeps event ids.
- Raw feeds are not stored.
- Logs do not include the address that was called.

### FAQ

**Does Green mean safe?**
Green, Orange and Red are the labels GDACS puts on the event. This Actor does not translate them into a risk score.

**Why is a volcano missing?**
The feed that day had no VO events. An empty result is valid and is not charged per row.

**What if the feed is too large or down?**
The run finishes and the summary says so. No event row is charged. The read stops at 3 MB.

### Next additions

- A country filter on the location name the feed already publishes.

### Feedback

Missing a field? Open an issue on the Actor's Issues tab.

# Actor input Schema

## `eventType` (type: `string`):

EQ earthquake, TC tropical cyclone, FL flood, VO volcano, DR drought, WF wildfire. Leave empty for every type in the feed. A type with no current events saves nothing and is not charged per row.

## `minimumAlertLevel` (type: `string`):

Green, Orange or Red, the levels GDACS publishes. Orange keeps Orange and Red. Leave empty for every level in the feed. A level the feed does not use is not invented.

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

Most events saved in one run, from 1 to 100. When this field is omitted the run saves up to 40. The form starts at 5. Events past the cap are not charged.

## `newEventsOnly` (type: `boolean`):

Save only events whose official id was not saved by an earlier run with the same state store and state key. Off by default, so a normal run does not need a named store.

## `stateStoreName` (type: `string`):

Named key-value store used only when new events only is on. It remembers event ids, not the event text.

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

Key inside the state store. Use a different key for each event type.

## Actor input object example

```json
{
  "maxResults": 5,
  "newEventsOnly": false,
  "stateStoreName": "gdacs-state",
  "stateKey": "default"
}
```

# Actor output Schema

## `events` (type: `string`):

Event id, type, alert level, title, date, location and the official GDACS report.

## `summary` (type: `string`):

The OUTPUT record in the default key-value store.

# 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 = {
    "maxResults": 5,
    "stateKey": "default"
};

// Run the Actor and wait for it to finish
const run = await client.actor("vizellie/gdacs-disaster-alerts").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 = {
    "maxResults": 5,
    "stateKey": "default",
}

# Run the Actor and wait for it to finish
run = client.actor("vizellie/gdacs-disaster-alerts").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 '{
  "maxResults": 5,
  "stateKey": "default"
}' |
apify call vizellie/gdacs-disaster-alerts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vizellie/gdacs-disaster-alerts"
        }
    }
}
```

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/oAecfYdKGw5lWhgNg/builds/VVIqEBoya8Z5ggps1/openapi.json
