# Airport Traffic Report Scraper (`rainminer/airport-traffic-report-scraper`) Actor

Export official airport passenger and movement statistics from the PANYNJ monthly CSV and UK CAA Table 09 monthly reports. Filter by airport, year, and month. No login required.

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

## Pricing

from $1.49 / 1,000 traffic report 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

## Airport Traffic Report Scraper

![Port Authority airport statistics](docs/airport-traffic-report-scraper-banner.jpg)

**Airport Traffic Report Scraper** exports **official monthly airport traffic statistics** from public government sources — the **PANYNJ monthly CSV** for JFK, Newark, LaGuardia, and Stewart, and **UK CAA Table 09** monthly passenger reports for airports like Heathrow. Filter by **airport**, **year**, and **month**. No login required.

Run it on the **Apify platform** to automate monthly passenger, freight, and movement reporting for analytics, consulting, and airport-adjacent real estate research.

### What can Airport Traffic Report Scraper do?

- **PANYNJ CSV** — Stream the official Port Authority traffic CSV and filter by airport and month.
- **UK CAA Table 09** — Discover the monthly Terminal & Transit Passengers CSV link and export Heathrow or other UK airports.
- **Passenger volumes** — Revenue passengers, terminal passengers, and totals where published.
- **Freight and mail** — PANYNJ freight/mail tonnage and flight counts by airline and market.
- **Month and year filters** — Target a specific reporting period instead of downloading full archives manually.
- **Two sources, one schema** — Pick an airport; PANYNJ or CAA is chosen automatically.
- **No proxy by default** — Official CSV endpoints work without Apify Proxy.
- **Apify scheduling** — Refresh monthly statistics on a calendar schedule.

### Why scrape airport traffic reports?

- **Consulting decks** — Pull verified passenger totals for airport market slides.
- **Real estate near airports** — Track passenger growth around JFK, EWR, LGA, or Heathrow.
- **Journalism** — Quote official monthly passenger statistics with reproducible Apify runs.
- **Competitive analysis** — Compare airline/market splits from PANYNJ monthly rows.
- **Historical archives** — Schedule runs after each month’s report lands.
- **Complement live boards** — Pair day-level flight boards with month-level passenger totals.

### What data can you extract?

| Field | Description |
| --- | --- |
| airport | Airport code or name |
| reportingPeriod | Month (`YYYY-MM` or `YYYYMM`) |
| passengers | Passenger total (airline row or airport total) |
| flights | Flight count (PANYNJ rows) |
| airlineName | Airline (PANYNJ rows) |
| direction / market | Inbound/outbound and market split (PANYNJ) |
| freightTonnes / mailTonnes | Cargo metrics when non-zero (PANYNJ) |
| terminalPassengers | CAA terminal passengers |
| airportGroup | CAA airport group name |
| scrapedAt | UTC collection timestamp |

### How to scrape airport traffic statistics

1. Choose **Airport** — e.g. `JFK`, `EWR`, `HEATHROW`.
2. Set **Year** and **Month**.
3. Run with a small **Max Items** for tests, then raise for full exports.

### Input

| Field | Default | Description |
| --- | --- | --- |
| airport | `JFK` | `JFK`, `EWR`, `LGA`, `SWF`, `HEATHROW`, `GATWICK`, or `MANCHESTER` |
| year | `2024` | Report year |
| month | `9` | Report month (1–12) |
| maxItems | `5` | Row cap |

### Output example

PANYNJ (JFK) — airline-level rows with passengers, flights, and market splits:

```json
{
  "dataSource": "panynj",
  "airport": "JFK",
  "reportingPeriod": "2024-09",
  "summary": "JetBlue Airways · Outbound · Domestic · 42 flights",
  "airlineName": "JetBlue Airways",
  "direction": "Outbound",
  "market": "Domestic",
  "passengers": 3277,
  "flights": 42,
  "scrapedAt": "2026-09-09T09:30:00.000Z"
}
```

CAA (Heathrow) — monthly airport totals:

```json
{
  "dataSource": "caa",
  "airport": "HEATHROW",
  "reportingPeriod": "202412",
  "passengers": 7077966,
  "terminalPassengers": 7074968,
  "summary": "Heathrow",
  "airportGroup": "Heathrow",
  "scrapedAt": "2026-09-09T09:30:00.000Z"
}
```

### Pricing

Pay per exported traffic report row on Apify Store.

### Integrations

Download JSON/CSV/Excel from Apify Console or call the Actor via API for scheduled reporting pipelines.

### Image Credit

Image credit: [panynj.gov](https://www.panynj.gov/)

# Actor input Schema

## `airport` (type: `string`):

Airport to export monthly traffic statistics for. US airports use PANYNJ data; UK airports use CAA Table 09.

## `year` (type: `integer`):

Report year.

## `month` (type: `integer`):

Report month (1–12).

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

Maximum number of rows to export.

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

Official sources work without a proxy.

## Actor input object example

```json
{
  "airport": "JFK",
  "year": 2024,
  "month": 9,
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "airport": "JFK",
    "year": 2024,
    "month": 9,
    "maxItems": 5,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/airport-traffic-report-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 = {
    "airport": "JFK",
    "year": 2024,
    "month": 9,
    "maxItems": 5,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rainminer/airport-traffic-report-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 '{
  "airport": "JFK",
  "year": 2024,
  "month": 9,
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rainminer/airport-traffic-report-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rainminer/airport-traffic-report-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/GhLvd615gzYb9SAHd/builds/vIJDmjTagPJrgmRjg/openapi.json
