{
  "openapi": "3.0.1",
  "info": {
    "title": "Executive Moves Tracker: Appointments & Departures",
    "description": "Track executive appointments, departures, promotions and retirements from SEC 8-K Item 5.02, Forms 3/4, UK Companies House, press releases and leadership-page changes. Cookieless sources, de-duplicated moves, dates, titles and source evidence.",
    "version": "1.0",
    "x-build-id": "3ejJ7oILIprO8H3Vm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~executive-moves-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-executive-moves-tracker",
        "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/dataspryva~executive-moves-tracker/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-executive-moves-tracker",
        "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/dataspryva~executive-moves-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-executive-moves-tracker",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "companyMonitor",
              "marketFeed",
              "people"
            ],
            "type": "string",
            "description": "Monitor companies: moves for the companies you list. Market feed: all moves in a date range. People: reported moves for specific names.",
            "default": "marketFeed"
          },
          "companies": {
            "title": "Companies (companyMonitor)",
            "type": "array",
            "description": "Company names, domains, tickers, SEC CIKs or UK company numbers. Examples: `apple.com`, `Monzo Bank Limited`, `AAPL`, `0000320193`, `09446231`.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "people": {
            "title": "People (people mode)",
            "type": "array",
            "description": "Person names to look up in SEC filings, Companies House officer records and press releases.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "Start date (inclusive) in YYYY-MM-DD format. Leave empty to use the lookback window."
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "End date (inclusive) in YYYY-MM-DD format. Leave empty for today."
          },
          "lookbackDays": {
            "title": "Lookback days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Used when Date from is empty: how many days back to scan.",
            "default": 7
          },
          "country": {
            "title": "Country",
            "enum": [
              "any",
              "US",
              "GB"
            ],
            "type": "string",
            "description": "Filter moves by company country. SEC sources are US; Companies House is GB; press and leadership pages use the site's country when it can be inferred.",
            "default": "any"
          },
          "industry": {
            "title": "Industry",
            "enum": [
              "any",
              "technology",
              "financials",
              "healthcare",
              "energy",
              "industrials",
              "consumer",
              "realEstate",
              "materials",
              "utilities",
              "telecom"
            ],
            "type": "string",
            "description": "Filter by broad industry sector derived from the company's SEC SIC code.",
            "default": "any"
          },
          "roleLevel": {
            "title": "Role level",
            "enum": [
              "any",
              "board",
              "cLevel",
              "vp",
              "director"
            ],
            "type": "string",
            "description": "Filter by seniority inferred from the new or previous title.",
            "default": "any"
          },
          "moveType": {
            "title": "Move type",
            "enum": [
              "any",
              "appointment",
              "departure",
              "promotion",
              "retirement",
              "interim"
            ],
            "type": "string",
            "description": "Filter by the type of leadership move.",
            "default": "any"
          },
          "sources": {
            "title": "Sources",
            "uniqueItems": true,
            "type": "array",
            "description": "Which public sources to query. SEC sources work in all modes; Companies House and leadership pages work in companyMonitor (Companies House also in people mode); press releases work in all modes.",
            "items": {
              "type": "string",
              "enum": [
                "sec8k",
                "secForm3",
                "secForm4",
                "companiesHouse",
                "pressReleases",
                "leadershipPages"
              ],
              "enumTitles": [
                "SEC 8-K Item 5.02",
                "SEC Form 3",
                "SEC Form 4",
                "UK Companies House",
                "Press releases",
                "Leadership pages"
              ]
            },
            "default": [
              "sec8k",
              "secForm3"
            ]
          },
          "leadershipPages": {
            "title": "Leadership page URLs",
            "type": "array",
            "description": "Optional leadership/team page URLs for companyMonitor. Leave empty to auto-discover common paths on each company domain.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "newsroomUrls": {
            "title": "Newsroom / press release URLs",
            "type": "array",
            "description": "Optional company newsroom, press-release or RSS URLs. Leave empty to search Google News by company name.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxItems": {
            "title": "Max moves",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many de-duplicated moves.",
            "default": 100
          },
          "includeCompanyProfile": {
            "title": "Include company profile fields",
            "type": "boolean",
            "description": "Fetch company metadata (ticker, SIC industry, address) from SEC submissions. Adds one request per unique company.",
            "default": true
          },
          "includeInitialLeadershipTeam": {
            "title": "Emit first leadership snapshot",
            "type": "boolean",
            "description": "When a leadership page is seen for the first time, emit its current team as appointments. Off by default so the first run only stores the baseline.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}