# Tsunami Warning Tracker: Active NOAA Alerts (`m_ctim/noaa-tsunami-warning-tracker`) Actor

Check for active tsunami warnings, watches, and advisories from the official NOAA/National Weather Service alerts feed, optionally filtered by US coastal state. For coastal emergency management, ports and shipping operations, and coastal property and insurance teams. No key, no proxy.

- **URL**: https://apify.com/m\_ctim/noaa-tsunami-warning-tracker.md
- **Developed by:** [Timothy Kelvin](https://apify.com/m_ctim) (community)
- **Categories:** News
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

## Tsunami Warning Tracker: Active NOAA Alerts by Area

Check for active tsunami warnings, watches, and advisories from the
official NOAA/National Weather Service alerts feed. Optionally scope to
specific coastal states so you only see what matters for your operations.

### Output (sample)

```json
{
  "id": "urn:oid:2.49.0.1.840.0.abc123",
  "event": "Tsunami Warning",
  "severity": "Extreme",
  "certainty": "Observed",
  "urgency": "Immediate",
  "headline": "Tsunami Warning issued for the coastal areas of California",
  "description": "A tsunami warning is in effect...",
  "instruction": "Move to high ground or inland immediately.",
  "areaDesc": "Coastal Los Angeles County",
  "senderName": "NWS Los Angeles CA",
  "effective": "2026-09-19T08:00:00-07:00",
  "expires": "2026-09-19T14:00:00-07:00",
  "nwsUrl": "https://api.weather.gov/alerts/urn:oid:..."
}
```

No active alerts returns an empty result, still billed once for the check.

### Who this is for

- **Coastal emergency management teams** running a standing check instead of manually watching NOAA's site.
- **Ports and shipping operations** deciding whether to hold or divert vessels.
- **Coastal property and insurance teams** who need an automated trigger for a wider alert process.

### Input

| Field | Type | Description |
|---|---|---|
| `areas` | array | Two-letter US state/territory codes, e.g. `["CA", "HI", "AK"]`. Leave empty for all coastal areas nationwide. |
| `severities` | array | Limit to `"Tsunami Warning"`, `"Tsunami Watch"`, `"Tsunami Advisory"`. Leave empty for all three. |

```json
{
  "areas": ["CA", "HI"]
}
```

### How it works

One direct call to the official NWS/NOAA alerts API (`api.weather.gov`),
the same data source and reliability pattern already proven in
[US Weather Tracker](https://github.com/timmKal01/us-weather-tracker) and
[Field Operations Risk Briefing](https://github.com/timmKal01/field-operations-risk-briefing)
in this portfolio: automatic retries on transient failures, a per-attempt
timeout so a slow response cannot hang the run. No key, no proxy, no
scraping, public-domain US government data.

### Related products

- [US Weather Tracker](https://github.com/timmKal01/us-weather-tracker): everyday NWS forecasts and alerts for a specific location, not scoped to tsunamis
- [Earthquake Alert](https://github.com/timmKal01/earthquake-alert): the seismic event that most often triggers a tsunami warning in the first place
- [Active Hurricane Tracker](https://github.com/timmKal01/active-hurricane-tracker) / [Volcano Alert Tracker](https://github.com/timmKal01/volcano-alert-tracker): the rest of this portfolio's natural hazard family

# Actor input Schema

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

Limit to these two-letter US state/territory codes, e.g. "CA", "HI", "AK". Leave empty to check all coastal areas nationwide.

## `severities` (type: `array`):

Limit to these alert types: "Tsunami Warning", "Tsunami Watch", "Tsunami Advisory". Leave empty to check all three.

## Actor input object example

```json
{}
```

# 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("m_ctim/noaa-tsunami-warning-tracker").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("m_ctim/noaa-tsunami-warning-tracker").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 m_ctim/noaa-tsunami-warning-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,m_ctim/noaa-tsunami-warning-tracker"
        }
    }
}
```

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/bOCE09YqkOtxFbxox/builds/WG4ReFHMAiJcQ2j5j/openapi.json
