{
  "openapi": "3.0.1",
  "info": {
    "title": "FAA Aircraft Registry Scraper - Owners & Expiring Registrations",
    "description": "Aircraft registration data from the official FAA Releasable Aircraft database: registrations expiring soon, newly issued or recently deregistered. N-number, make/model, year, engine, owner company and address. Filter by state, aircraft and engine type. Business owners by default.",
    "version": "0.1",
    "x-build-id": "YLgoaTRbFU4tR8Qj2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/groundplanes~faa-aircraft-registry-owners/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-groundplanes-faa-aircraft-registry-owners",
        "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/groundplanes~faa-aircraft-registry-owners/runs": {
      "post": {
        "operationId": "runs-sync-groundplanes-faa-aircraft-registry-owners",
        "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/groundplanes~faa-aircraft-registry-owners/run-sync": {
      "post": {
        "operationId": "run-sync-groundplanes-faa-aircraft-registry-owners",
        "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": {
          "registrationSignal": {
            "title": "Registration Signal",
            "enum": [
              "EXPIRING_SOON",
              "NEWLY_ISSUED_30_DAYS",
              "RECENTLY_DEREGISTERED_30_DAYS",
              "ALL_ACTIVE"
            ],
            "type": "string",
            "description": "Select the registration lifecycle signal to filter on.",
            "default": "EXPIRING_SOON"
          },
          "expiringWithinDays": {
            "title": "Expiring within (days)",
            "minimum": 1,
            "maximum": 730,
            "type": "integer",
            "description": "Used with the Expiring soon signal. FAA registrations expire on the last day of the month and many owners renew months early, so 180 days gives a much fuller list than 90.",
            "default": 180
          },
          "states": {
            "title": "Registrant States",
            "type": "array",
            "description": "Two-letter US state codes for registrant mailing address (e.g. ['AZ', 'TX']). Leave empty for all states.",
            "items": {
              "type": "string"
            },
            "default": [
              "AZ",
              "TX"
            ]
          },
          "aircraftTypes": {
            "title": "Aircraft Types",
            "type": "array",
            "description": "FAA aircraft type codes: 4 (Fixed Wing Single-Engine), 5 (Fixed Wing Multi-Engine), 6 (Rotorcraft), 1 (Glider), 2 (Balloon), 3 (Blimp/Dirigible), 7 (Weight-Shift-Control), 8 (Powered Parachute), 9 (Gyroplane), H (Hybrid Lift), O (Other).",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "H",
                "O"
              ],
              "enumTitles": [
                "1 — Glider",
                "2 — Balloon",
                "3 — Blimp / Dirigible",
                "4 — Fixed Wing Single-Engine",
                "5 — Fixed Wing Multi-Engine",
                "6 — Rotorcraft",
                "7 — Weight-Shift-Control",
                "8 — Powered Parachute",
                "9 — Gyroplane",
                "H — Hybrid Lift",
                "O — Other"
              ]
            },
            "default": [
              "4",
              "5",
              "6"
            ]
          },
          "engineTypes": {
            "title": "Engine Types",
            "type": "array",
            "description": "Optional FAA engine type codes: 1 (Reciprocating), 2 (Turbo-prop), 3 (Turbo-shaft), 4 (Turbo-jet), 5 (Turbo-fan). Leave empty for all engine types.",
            "items": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "10",
                "11"
              ],
              "enumTitles": [
                "0 — None",
                "1 — Reciprocating",
                "2 — Turbo-prop",
                "3 — Turbo-shaft",
                "4 — Turbo-jet",
                "5 — Turbo-fan",
                "6 — Ramjet",
                "7 — 2 Cycle",
                "8 — 4 Cycle",
                "9 — Unknown",
                "10 — Electric",
                "11 — Rotary"
              ]
            },
            "default": []
          },
          "includeIndividualOwners": {
            "title": "Include Private Individual Registrants",
            "type": "boolean",
            "description": "Defaults to false, which excludes individual owners and co-owner registrations (TYPE REGISTRANT 1, 4 and 9, which are almost always people). Only corporations, LLCs, partnerships, non-citizen corporations and government registrants (2, 3, 5, 7, 8) are returned.",
            "default": false
          },
          "nNumbers": {
            "title": "Specific N-Numbers (Optional)",
            "type": "array",
            "description": "Optional list of exact N-Numbers (with or without leading 'N', e.g. ['N100', '101UV']) to look up from the bulk file.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxItems": {
            "title": "Maximum Items",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of aircraft records to return.",
            "default": 200
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}