{
  "openapi": "3.0.1",
  "info": {
    "title": "Canada Aerospace & Defence Company Scraper",
    "description": "Scrape 500+ aerospace and defence companies from AIAC and CADSI directories. Targets Canada's structural engineering talent shortage market — Systems Engineers, DO-178C specialists, avionics, propulsion, and more. Optional Corporations Canada enrichment.",
    "version": "1.0",
    "x-build-id": "ePocSmx2g9bPKg76x"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/skydernet~canada-aerospace-defence-agencies/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-skydernet-canada-aerospace-defence-agencies",
        "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/skydernet~canada-aerospace-defence-agencies/runs": {
      "post": {
        "operationId": "runs-sync-skydernet-canada-aerospace-defence-agencies",
        "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/skydernet~canada-aerospace-defence-agencies/run-sync": {
      "post": {
        "operationId": "run-sync-skydernet-canada-aerospace-defence-agencies",
        "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": {
          "source": {
            "title": "Directory Source",
            "enum": [
              "both",
              "aiac",
              "cadsi"
            ],
            "type": "string",
            "description": "Which industry directories to scrape.",
            "default": "both"
          },
          "province": {
            "title": "Province Filter",
            "enum": [
              "",
              "AB",
              "BC",
              "MB",
              "NB",
              "NL",
              "NS",
              "NT",
              "NU",
              "ON",
              "PE",
              "QC",
              "SK",
              "YT"
            ],
            "type": "string",
            "description": "Return only companies in this province. Leave empty for all of Canada.",
            "default": ""
          },
          "sectorFilter": {
            "title": "Sector / Category Filter",
            "type": "string",
            "description": "Comma-separated keywords. Matched against company categories and description. E.g. 'systems integration, avionics, DO-178'. Leave empty for all sectors.",
            "default": ""
          },
          "roleSignals": {
            "title": "Flag Tier 1 Role Targets",
            "type": "boolean",
            "description": "Tag companies likely to hire: Systems Engineers (MBSE/V&V), DO-178C/software, structural, propulsion, flight controls, airworthiness, cybersecurity/EW, program managers.",
            "default": true
          },
          "tier1Only": {
            "title": "Return Tier 1 Targets Only",
            "type": "boolean",
            "description": "Only return companies flagged as Tier 1 role targets.",
            "default": false
          },
          "maxResults": {
            "title": "Max Company Records",
            "minimum": 1,
            "maximum": 9999,
            "type": "integer",
            "description": "Maximum number of company records to return.",
            "default": 1000
          },
          "findContacts": {
            "title": "Find Decision-Maker Contacts",
            "type": "boolean",
            "description": "For each company, find: Hiring Managers, Talent Acquisition leads, Systems Engineering Directors/Managers, VPs, HR Directors, Group Leaders. Uses company leadership pages (free) + Hunter.io (optional, needs API key).",
            "default": false
          },
          "hunterApiKey": {
            "title": "Hunter.io API Key (optional)",
            "type": "string",
            "description": "If provided, use Hunter.io domain search to find professional emails + LinkedIn for each company. Free tier: 25 searches/month. Get your key at hunter.io. Leave empty to use the free company leadership page scraper only."
          },
          "maxContactsPerCompany": {
            "title": "Max Contacts Per Company",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of decision-maker contacts to find per company.",
            "default": 5
          },
          "findHiringSignals": {
            "title": "Find Live Hiring Signals",
            "type": "boolean",
            "description": "Check 3 real-time sources to identify which companies are actively hiring right now: (1) Job Bank Canada, (2) Indeed Canada, (3) Company career page. Adds significant run time.",
            "default": false
          },
          "useJobBank": {
            "title": "Signal Source: Job Bank Canada",
            "type": "boolean",
            "description": "Search Job Bank Canada (government job board) for active postings matching our companies.",
            "default": true
          },
          "useIndeed": {
            "title": "Signal Source: Indeed Canada",
            "type": "boolean",
            "description": "Search Indeed Canada for active postings matching our companies.",
            "default": false
          },
          "useCareers": {
            "title": "Signal Source: Company Career Pages",
            "type": "boolean",
            "description": "Scan each company's own career/jobs page for open positions. Most direct signal.",
            "default": true
          },
          "enrichWithCorporationsCanada": {
            "title": "Enrich with Corporations Canada",
            "type": "boolean",
            "description": "Add federal incorporation data (date, number, registered address) via OpenCorporates. ~1 second per company.",
            "default": false
          },
          "useAeroMontreal": {
            "title": "Include Aéro Montréal (Quebec Cluster)",
            "type": "boolean",
            "description": "Also scrape Aéro Montréal's member directory (250+ Quebec aerospace companies: Pratt & Whitney Canada, CAE, Bombardier supply chain). Adds QC-focused companies not always in AIAC/CADSI.",
            "default": true
          },
          "useOAC": {
            "title": "Include Ontario Aerospace Council (OAC)",
            "type": "boolean",
            "description": "Also scrape the Ontario Aerospace Council member directory (~200 ON companies: Honeywell, Magellan, Spar Aerospace supply chain, Ottawa defence firms).",
            "default": true
          },
          "useAlberta": {
            "title": "Include Alberta Aerospace & Technology Council (AATC)",
            "type": "boolean",
            "description": "Also scrape the Alberta Aerospace and Technology Council members (Field Aviation, StandardAero, Heli-One, Viking Air, NDT specialists).",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}