# FAA Aircraft Registry Lookup (`phobia82/faa-aircraft-registry-lookup`) Actor

Look up US civil aircraft by N-Number, manufacturer, or model in the official FAA Releasable Aircraft Database. Street addresses are never returned.

- **URL**: https://apify.com/phobia82/faa-aircraft-registry-lookup.md
- **Developed by:** [Clearfield Data](https://apify.com/phobia82) (community)
- **Categories:** Travel
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 aircraft records

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

## FAA Aircraft Registry Lookup

Look up US civil aircraft by **N-Number**, manufacturer, or model in the official FAA Releasable Aircraft Database. Each result includes registration and technical fields such as serial number, manufacturer, model, status, Mode S codes, and certificate dates — without registrant names or mailing addresses. Use it for aviation research, fleet checks, and identifier enrichment.

### Data source and freshness

The Actor reads the official [FAA Releasable Aircraft Database](https://www.faa.gov/licenses_certificates/aircraft_certification/aircraft_registry/releasable_aircraft_download) zip (`https://registry.faa.gov/database/ReleasableAircraft.zip`), a public US government data product published as a periodic (typically monthly) snapshot. It does **not** scrape the FAA N-Number inquiry website. Unless you pass a local `databasePath` (or the run already has a cached copy), the official zip is downloaded for the run (~70 MB). Records are only as current as that published snapshot.

### Input

Provide at least one of `nNumbers`, `manufacturerContains`, or `modelContains`. If N-Numbers are set, only those registrations are considered; manufacturer and model filters then apply to that set.

| Field | Type | Required | Description | Example |
| --- | --- | --- | --- | --- |
| `nNumbers` | array of strings | no (one of this, `manufacturerContains`, or `modelContains`) | US registration numbers, with or without a leading `N`. Case-insensitive. | `["N100", "N656UA"]` |
| `manufacturerContains` | string | no | Case-insensitive substring of the manufacturer name (from the FAA ACFTREF file). | `"BOEING"` |
| `modelContains` | string | no | Case-insensitive substring of the model name. | `"737"` |
| `maxItems` | integer | no | Maximum aircraft records to emit (default `25`, min `1`, max `5,000`). | `25` |
| `databasePath` | string | no | Optional path to an already-downloaded `ReleasableAircraft.zip`, useful for repeated local runs. When omitted, the official zip is downloaded and cached for the run. | `"/path/to/ReleasableAircraft.zip"` |

### Output

Each item is one aircraft from the MASTER file, joined to manufacturer/model data from ACFTREF. **Street address is never returned. Registrant name is omitted.** `type_registrant` is only the official registrant-type category (for example `individual` or `llc`), not a personal name.

Example item from a real local test run:

```json
{
  "n_number": "N100",
  "serial_number": "5334",
  "mfr_mdl_code": "7100510",
  "status_code": "25",
  "manufacturer": "PIPER",
  "model": "J3C-65",
  "year_mfr": "1940",
  "type_aircraft": "4",
  "type_engine": "1",
  "no_engines": "01",
  "no_seats": "002",
  "type_registrant": "individual",
  "type_registrant_code": "1",
  "mode_s_code": "50002263",
  "mode_s_hex": "A004B3",
  "cert_issue_date": "20050506",
  "air_worth_date": "19540430",
  "expiration_date": "20270430",
  "last_action_date": "20230122",
  "kit_mfr": "",
  "kit_model": "",
  "country": "US",
  "unique_id": "00600060"
}
```

### Pricing

This Actor is **priced per result** at **$1.00 per 1,000 results** (one `result` event for each aircraft record written to the dataset). For example, 25 aircraft cost **$0.025** in result charges ($0.001 per aircraft).

Apify also bills **platform usage** (compute and storage) for the run according to your Apify plan. Result charges and platform usage appear separately on the run.

### Use cases

- Resolve one or more N-Numbers to official registration and airframe fields.
- Search the releasable database by manufacturer or model (for example all Cessna 172s, up to `maxItems`).
- Enrich Mode S hex or serial data for aviation analytics.
- Check certificate issue, airworthiness, and expiration dates from the official snapshot.
- Support research and fleet tools without scraping the FAA inquiry site.
- Let an AI agent answer “what aircraft is N100?” from the official downloadable database.

### How to use

You can run this Actor from the Apify Console, via the API, from Python or JavaScript, or from an AI agent that speaks MCP.

#### API

```bash
curl "https://api.apify.com/v2/acts/phobia82~faa-aircraft-registry-lookup/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"nNumbers":["N100","N10000"],"maxItems":5}'
```

Replace `YOUR_API_TOKEN` with an API token from [Apify Console → Settings → Integrations](https://console.apify.com/account/integrations). For longer jobs, start a run with [the Run Actor endpoint](https://docs.apify.com/api/v2/act-runs-post) and read the dataset when it finishes.

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("phobia82/faa-aircraft-registry-lookup").call(run_input={"nNumbers": ["N100", "N10000"], "maxItems": 5})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

#### JavaScript

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('phobia82/faa-aircraft-registry-lookup').call({ nNumbers: ["N100", "N10000"], maxItems: 5 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### AI agents and MCP

Connect the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) to an MCP client such as Claude, Cursor, or another compatible agent, then call Actor `phobia82/faa-aircraft-registry-lookup` with the same JSON input as the API. The agent receives the dataset items as structured results.

### FAQ

**Is this legal to use?** Yes. The Actor uses the official FAA Releasable Aircraft Database, a public US government data product. It does not log in, does not scrape the FAA inquiry website, and does not emit registrant names or street addresses.

**Why are registrant name and address missing?** By design. Street address is never returned, and registrant name is omitted, to avoid shipping personal contact data. `type_registrant` is only a category code such as individual, corporation, or LLC.

**How current is a result?** It matches the latest official zip the Actor downloaded (or the zip you supplied via `databasePath`). This is a periodic snapshot, not a live query of the FAA website, so very recent registrations or status changes may not appear yet.

**The first cloud run failed with HTTP 403. Is that fixed?** The FAA download host rejects some non-browser User-Agents. The Actor now sends a standard browser User-Agent for the zip download. If a download still fails, retry later or supply `databasePath`.

**Do I need the leading N?** No. `N100` and `100` are treated as the same registration.

**Can I search only by manufacturer?** Yes. Leave `nNumbers` empty and set `manufacturerContains` and/or `modelContains`. Raise `maxItems` if you need a larger slice (up to 5,000).

### Limits and known issues

- The official zip is large (~70 MB). Prefer at least 512 MB of run memory, and expect a longer first run while the file downloads.
- `maxItems` is capped at 5,000.
- Status, aircraft, and engine type codes are the official FAA coded values, not always decoded into labels.
- This is not a live airworthiness directive, accident, or flight-tracking product.
- A hardcoded local cache path may be used when present on the build environment; on the Apify platform the zip is downloaded unless `databasePath` or the `FAA_REGISTRY_ZIP` environment variable points to a file.

### Support

Questions, incorrect data, or a feature request? Open a ticket on this Actor's **Issues** tab in [Apify Console](https://console.apify.com) or on the Actor's Store page. Built by **Clearfield Data**.

# Actor input Schema

## `nNumbers` (type: `array`):

US registration numbers, with or without the leading N (for example N100, 100, N656UA). Matching is case-insensitive.

## `manufacturerContains` (type: `string`):

Optional case-insensitive substring of the aircraft manufacturer name (for example BOEING or CESSNA). Used with or without N-Numbers.

## `modelContains` (type: `string`):

Optional case-insensitive substring of the aircraft model name (for example 737 or 172).

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

Maximum aircraft records to emit.

## `databasePath` (type: `string`):

Optional path to an already-downloaded ReleasableAircraft.zip. When omitted, the official FAA zip is downloaded and cached for the run.

## Actor input object example

```json
{
  "nNumbers": [
    "N100",
    "N101"
  ],
  "maxItems": 25
}
```

# Actor output Schema

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

Default dataset items produced by this Actor.

# 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 = {
    "nNumbers": [
        "N100",
        "N101"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("phobia82/faa-aircraft-registry-lookup").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 = { "nNumbers": [
        "N100",
        "N101",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("phobia82/faa-aircraft-registry-lookup").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 '{
  "nNumbers": [
    "N100",
    "N101"
  ]
}' |
apify call phobia82/faa-aircraft-registry-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,phobia82/faa-aircraft-registry-lookup"
        }
    }
}
```

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/vKHff31VgBVEoqwh7/builds/4MGxgxY7G4pnvhvBs/openapi.json
