# FAA NOTAM Scraper (`rainminer/faa-notam-scraper`) Actor

Search FAA NOTAMs by airport designator and export active Temporary Flight Restrictions from official public feeds. Optional AI parsing turns NOTAM text into structured runway, timing, and impact fields.

- **URL**: https://apify.com/rainminer/faa-notam-scraper.md
- **Developed by:** [rainminer](https://apify.com/rainminer) (community)
- **Categories:** Travel, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.49 / 1,000 notam rows

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

## FAA NOTAM Scraper

![FAA NOTAM search](https://notams.aim.faa.gov/notamSearch/assets/images/faa-logo.png)

**FAA NOTAM Scraper** searches **FAA NOTAMs by airport designator** and exports **active Temporary Flight Restrictions (TFRs)** from official US public feeds. Optional **AI parsing** turns NOTAM text into structured runway, timing, and impact fields. No airline login required.

Run on the **Apify platform** with **residential proxy** for location searches, or use **TFR mode** without a proxy for quick airspace restriction monitoring.

### What can FAA NOTAM Scraper do?

- **Location NOTAM search** — Query the FAA NOTAM search service by designator (e.g. `KJFK`, `KLGA`).
- **Active TFR export** — Download the official FAA TFR JSON list and filter by US state.
- **Structured parsing** — Optional OpenRouter AI enrichment for NOTAM type, runway/navaid, and effective windows.
- **Heuristic fallback** — Regex-based parsing when AI is disabled or the key is unavailable.
- **Dual modes** — `location` for airport NOTAMs, `tfr` for nationwide restriction lists.
- **Residential proxy default** — Location mode defaults to Apify residential proxy because the FAA endpoint blocks datacenter IPs.
- **Apify scheduling** — Poll TFRs or airport NOTAMs on an interval and push to ops dashboards.

### Why scrape FAA NOTAMs?

- **Dispatch and ops tools** — Feed structured NOTAM rows into flight planning workflows.
- **Drone operators** — Monitor TFRs and airport restrictions near a designator.
- **Disruption analytics** — Track active NOTAM themes during irregular operations.
- **Data products** — Resell structured NOTAM/TFR feeds built from official public sources.
- **Compliance monitoring** — Archive NOTAM text with parsed effective times.
- **Integrations** — Webhook Apify runs into Slack, PagerDuty, or internal ops systems.

### What data can you extract?

| Field | Description |
| --- | --- |
| mode | `location` or `tfr` |
| notamNumber | NOTAM or TFR identifier |
| facilityDesignator | Affected FAA location |
| featureName / notamType | NOTAM feature or TFR type |
| plainLanguageMessage | Human-readable text |
| runwayOrNavaid | Parsed runway or navaid reference |
| effectiveStart / effectiveEnd | Parsed or source timing |
| status | Active status when provided |
| state | US state (TFR mode) |
| scrapedAt | UTC collection timestamp |

### How to scrape FAA NOTAMs

1. For **TFR mode** (no proxy): set `mode` to `tfr`, optionally filter **states**, run.
2. For **location mode**: set `designators` (e.g. `KJFK`), enable **Apify residential proxy**, run.
3. Toggle **Parse NOTAM text** for AI enrichment (requires `OPENROUTER_API_KEY` on Apify).
4. Download JSON/CSV from the dataset tab.

### Input

| Field | Default | Description |
| --- | --- | --- |
| mode | `tfr` (prefill) | `location` or `tfr` |
| designators | `["KJFK"]` | FAA location codes |
| states | `[]` | Optional TFR state filter |
| maxItems | `5` | Row cap |
| parseNotams | `true` | AI/heuristic structured fields |
| proxyConfiguration | residential | Required for location mode |

### Output example

```json
{
  "mode": "tfr",
  "notamNumber": "6/1854",
  "facilityDesignator": "ZDV",
  "notamType": "HAZARDS",
  "state": "CO",
  "plainLanguageMessage": "5NM NW LYONS, CO, Wednesday, September 9, 2026 through Friday, September 18, 2026 UTC",
  "status": "Active"
}
```

### Pricing

Pay per NOTAM/TFR row exported. AI parsing may incur an additional per-row event when enabled.

### Integrations

Use Apify API, webhooks, or scheduled tasks to push NOTAM/TFR rows into ops systems.

### Image Credit

Image credit: [notams.aim.faa.gov](https://notams.aim.faa.gov/)

# Actor input Schema

## `mode` (type: `string`):

location searches NOTAMs for airport designators. tfr exports the active FAA TFR list (works without proxy).

## `designators` (type: `array`):

FAA location codes for location mode, e.g. KJFK, KLGA, KORD.

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

Optional two-letter state filter for tfr mode, e.g. NY, CA.

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

Maximum number of NOTAM or TFR rows to export.

## `parseNotams` (type: `boolean`):

When enabled, enrich location-mode NOTAMs with structured fields using OpenRouter AI (falls back to heuristics if the key is missing).

## `proxyConfiguration` (type: `object`):

Location mode requires Apify residential proxy because the FAA NOTAM search endpoint blocks datacenter IPs. TFR mode works without a proxy.

## Actor input object example

```json
{
  "mode": "tfr",
  "designators": [
    "KJFK"
  ],
  "maxItems": 5,
  "parseNotams": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "mode": "tfr",
    "designators": [
        "KJFK"
    ],
    "maxItems": 5,
    "parseNotams": true,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/faa-notam-scraper").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 = {
    "mode": "tfr",
    "designators": ["KJFK"],
    "maxItems": 5,
    "parseNotams": True,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("rainminer/faa-notam-scraper").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 '{
  "mode": "tfr",
  "designators": [
    "KJFK"
  ],
  "maxItems": 5,
  "parseNotams": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call rainminer/faa-notam-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rainminer/faa-notam-scraper"
        }
    }
}
```

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/00HKFijIoDKJeD2C3/builds/MfQvGjRlqwdfVbS9V/openapi.json
