{
  "openapi": "3.0.1",
  "info": {
    "title": "FAA Aircraft Registry Scraper",
    "description": "Get the FAA registry of US civil aircraft: N-Number, manufacturer/model, engine, owner, address, registration status and expiration. Look up by N-Number or filter into a list. Also covers FAA dealer certificates, reserved N-Numbers and documents. No API key",
    "version": "1.0",
    "x-build-id": "ujoeRu0KhtiCBQt7t"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/normdata~faa-aircraft-registry-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-normdata-faa-aircraft-registry-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/normdata~faa-aircraft-registry-scraper/runs": {
      "post": {
        "operationId": "runs-sync-normdata-faa-aircraft-registry-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/normdata~faa-aircraft-registry-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-normdata-faa-aircraft-registry-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "type": "integer",
            "description": "Caps how many aircraft rows this run writes. Starts at 10 for a quick sample; raise it for a full run (the active registry is about 290,000 aircraft)."
          },
          "mode": {
            "title": "What to do",
            "enum": [
              "search",
              "lookup",
              "dealers",
              "reserved",
              "documents"
            ],
            "type": "string",
            "description": "Search/Look up cover the active aircraft registry. Dealers, Reserved and Documents are 3 separate FAA datasets with their own filters below.",
            "default": "search"
          },
          "nNumber": {
            "title": "N-Number contains (for Search)",
            "type": "string",
            "description": "Match aircraft whose N-Number contains this text (with or without the leading N)."
          },
          "ownerName": {
            "title": "Owner name contains (for Search)",
            "type": "string",
            "description": "Match aircraft whose registrant name contains this text."
          },
          "manufacturer": {
            "title": "Manufacturer contains (for Search)",
            "type": "string",
            "description": "Match aircraft whose manufacturer name contains this text, e.g. CESSNA, CIRRUS, ROBINSON."
          },
          "model": {
            "title": "Model contains (for Search)",
            "type": "string",
            "description": "Match aircraft whose model name contains this text."
          },
          "state": {
            "title": "State(s) (for Search)",
            "type": "array",
            "description": "Two-letter US state code(s) for the registrant address, e.g. CA, TX, FL. Leave empty for all states.",
            "items": {
              "type": "string"
            }
          },
          "city": {
            "title": "City contains (for Search)",
            "type": "string",
            "description": "Match aircraft whose registrant city contains this text."
          },
          "yearFrom": {
            "title": "Year manufactured from (for Search)",
            "type": "integer",
            "description": "Only aircraft manufactured in or after this year."
          },
          "yearTo": {
            "title": "Year manufactured to (for Search)",
            "type": "integer",
            "description": "Only aircraft manufactured in or before this year."
          },
          "typeAircraft": {
            "title": "Aircraft type (for Search)",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict by airframe type.",
            "items": {
              "type": "string",
              "enum": [
                "fixed_wing_single",
                "fixed_wing_multi",
                "rotorcraft",
                "glider",
                "balloon",
                "gyroplane",
                "weight_shift_control",
                "powered_parachute",
                "blimp_dirigible",
                "hybrid_lift",
                "other"
              ],
              "enumTitles": [
                "Fixed wing, single engine",
                "Fixed wing, multi engine",
                "Rotorcraft (helicopter)",
                "Glider",
                "Balloon",
                "Gyroplane",
                "Weight-shift-control",
                "Powered parachute",
                "Blimp/dirigible",
                "Hybrid lift",
                "Other"
              ]
            }
          },
          "typeRegistrant": {
            "title": "Registrant type (for Search)",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict by owner/registrant type. Corporation and LLC are the two most useful for B2B lead lists.",
            "items": {
              "type": "string",
              "enum": [
                "individual",
                "partnership",
                "corporation",
                "co_owned",
                "government",
                "llc",
                "non_citizen_corporation",
                "non_citizen_co_owned"
              ],
              "enumTitles": [
                "Individual",
                "Partnership",
                "Corporation",
                "Co-owned",
                "Government",
                "LLC",
                "Non-citizen corporation",
                "Non-citizen co-owned"
              ]
            }
          },
          "statusValidOnly": {
            "title": "Valid registration only (for Search)",
            "type": "boolean",
            "description": "Only aircraft with a currently valid registration on file, excluding expired, revoked, pending and reserved records.",
            "default": false
          },
          "identifiers": {
            "title": "N-Numbers (for Look up)",
            "type": "array",
            "description": "FAA N-Numbers, with or without the leading N (e.g. N172SP or 172SP). Unmatched identifiers come back as an error row.",
            "items": {
              "type": "string"
            }
          },
          "dealerName": {
            "title": "Dealer/manufacturer name contains (for Dealers)",
            "type": "string",
            "description": "Match dealer certificate holders whose name contains this text. Also uses State and City above."
          },
          "dealerExpiredOnly": {
            "title": "Expired certificates only (for Dealers)",
            "type": "boolean",
            "description": "Only dealer certificates flagged expired in the source.",
            "default": false
          },
          "reservedNNumber": {
            "title": "Reserved N-Number contains (for Reserved)",
            "type": "string",
            "description": "Match a reserved N-Number, with or without the leading N. Also uses Owner name (registrant) and State above."
          },
          "documentNNumber": {
            "title": "Aircraft N-Number contains (for Documents)",
            "type": "string",
            "description": "Match recorded documents (liens, bills of sale, security agreements) filed against this N-Number, with or without the leading N."
          },
          "documentPartyName": {
            "title": "Filed party name contains (for Documents)",
            "type": "string",
            "description": "Match documents where the named party (lienholder, buyer, seller) contains this text."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}