{
  "openapi": "3.0.1",
  "info": {
    "title": "Executive Job Changes & Leadership Hiring Moves",
    "description": "Track executive moves and leadership changes. Each record has the person, company, role, seniority, move type, and date. A self-serve exec change and job change data API.",
    "version": "0.1",
    "x-build-id": "bZD8T9wwJwiVcO8Jk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datahyena~executive-job-changes/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datahyena-executive-job-changes",
        "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/datahyena~executive-job-changes/runs": {
      "post": {
        "operationId": "runs-sync-datahyena-executive-job-changes",
        "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/datahyena~executive-job-changes/run-sync": {
      "post": {
        "operationId": "run-sync-datahyena-executive-job-changes",
        "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": "Max records",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum records to fetch. You are charged per record returned.",
            "default": 100
          },
          "since": {
            "title": "Since (date)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:?\\d{2})?)?$",
            "type": "string",
            "description": "Only records on or after this date (YYYY-MM-DD), e.g. 2026-01-01. ISO-8601 timestamps also work."
          },
          "until": {
            "title": "Until (date)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:?\\d{2})?)?$",
            "type": "string",
            "description": "Only records on or before this date (YYYY-MM-DD, inclusive). ISO-8601 timestamps also work."
          },
          "country": {
            "title": "HQ country",
            "enum": [
              "AE",
              "AR",
              "AT",
              "AU",
              "BD",
              "BE",
              "BR",
              "BS",
              "CA",
              "CH",
              "CL",
              "CN",
              "CO",
              "CY",
              "CZ",
              "DE",
              "DK",
              "EE",
              "EG",
              "ES",
              "FI",
              "FR",
              "GB",
              "GR",
              "HK",
              "HU",
              "ID",
              "IE",
              "IL",
              "IN",
              "IT",
              "JP",
              "KE",
              "KR",
              "LT",
              "LU",
              "LV",
              "MX",
              "MY",
              "NG",
              "NL",
              "NO",
              "NZ",
              "PH",
              "PK",
              "PL",
              "PT",
              "RO",
              "RU",
              "SA",
              "SE",
              "SG",
              "TH",
              "TR",
              "TW",
              "UA",
              "US",
              "VN",
              "ZA",
              "unknown"
            ],
            "type": "string",
            "description": "Filter by company HQ country. Pick \"Not disclosed\" for companies whose HQ country we never established. They are excluded from any other country filter."
          },
          "countries": {
            "title": "HQ countries",
            "uniqueItems": true,
            "type": "array",
            "description": "Filter by company HQ country. Select several to cover a whole region in one run instead of one run per country. About a quarter of companies have no HQ country on record, so add \"Not disclosed\" to keep those deals in.",
            "items": {
              "type": "string",
              "enum": [
                "AE",
                "AR",
                "AT",
                "AU",
                "BD",
                "BE",
                "BR",
                "BS",
                "CA",
                "CH",
                "CL",
                "CN",
                "CO",
                "CY",
                "CZ",
                "DE",
                "DK",
                "EE",
                "EG",
                "ES",
                "FI",
                "FR",
                "GB",
                "GR",
                "HK",
                "HU",
                "ID",
                "IE",
                "IL",
                "IN",
                "IT",
                "JP",
                "KE",
                "KR",
                "LT",
                "LU",
                "LV",
                "MX",
                "MY",
                "NG",
                "NL",
                "NO",
                "NZ",
                "PH",
                "PK",
                "PL",
                "PT",
                "RO",
                "RU",
                "SA",
                "SE",
                "SG",
                "TH",
                "TR",
                "TW",
                "UA",
                "US",
                "VN",
                "ZA",
                "unknown"
              ],
              "enumTitles": [
                "United Arab Emirates",
                "Argentina",
                "Austria",
                "Australia",
                "Bangladesh",
                "Belgium",
                "Brazil",
                "Bahamas",
                "Canada",
                "Switzerland",
                "Chile",
                "China",
                "Colombia",
                "Cyprus",
                "Czechia",
                "Germany",
                "Denmark",
                "Estonia",
                "Egypt",
                "Spain",
                "Finland",
                "France",
                "United Kingdom",
                "Greece",
                "Hong Kong",
                "Hungary",
                "Indonesia",
                "Ireland",
                "Israel",
                "India",
                "Italy",
                "Japan",
                "Kenya",
                "South Korea",
                "Lithuania",
                "Luxembourg",
                "Latvia",
                "Mexico",
                "Malaysia",
                "Nigeria",
                "Netherlands",
                "Norway",
                "New Zealand",
                "Philippines",
                "Pakistan",
                "Poland",
                "Portugal",
                "Romania",
                "Russia",
                "Saudi Arabia",
                "Sweden",
                "Singapore",
                "Thailand",
                "Turkey",
                "Taiwan",
                "Ukraine",
                "United States",
                "Vietnam",
                "South Africa",
                "Not disclosed"
              ]
            }
          },
          "naicsCode": {
            "title": "NAICS code",
            "enum": [
              "11",
              "111",
              "1114",
              "113",
              "114",
              "21",
              "2111",
              "212",
              "22",
              "2211",
              "2213",
              "23",
              "236",
              "2361",
              "238",
              "2382",
              "31-33",
              "311",
              "3111",
              "3115",
              "3116",
              "3117",
              "3118",
              "3121",
              "3122",
              "313",
              "315",
              "316",
              "3162",
              "321",
              "322",
              "3222",
              "323",
              "325",
              "3253",
              "3254",
              "3255",
              "3256",
              "3261",
              "327",
              "3272",
              "331",
              "332",
              "3323",
              "3325",
              "3328",
              "3331",
              "3332",
              "3334",
              "3341",
              "3342",
              "3343",
              "3344",
              "3345",
              "335",
              "3351",
              "3352",
              "3353",
              "3359",
              "336",
              "3361",
              "3363",
              "3364",
              "3365",
              "3366",
              "337",
              "3372",
              "3391",
              "3399",
              "42",
              "4231",
              "4233",
              "4234",
              "4235",
              "4236",
              "4238",
              "4244",
              "4245",
              "4246",
              "4247",
              "4248",
              "44-45",
              "4411",
              "4441",
              "4451",
              "4491",
              "4561",
              "4571",
              "458",
              "4591",
              "4593",
              "48-49",
              "4811",
              "482",
              "483",
              "484",
              "485",
              "4851",
              "4853",
              "4921",
              "493",
              "51",
              "5121",
              "5122",
              "5131",
              "5132",
              "5161",
              "5162",
              "5173",
              "519",
              "5192",
              "52",
              "5221",
              "5231",
              "5239",
              "5241",
              "5242",
              "53",
              "5311",
              "5312",
              "532",
              "5322",
              "54",
              "5411",
              "5412",
              "5413",
              "5414",
              "5415",
              "5416",
              "5417",
              "5418",
              "5419",
              "5511",
              "56",
              "5613",
              "5614",
              "5615",
              "5616",
              "5617",
              "562",
              "5621",
              "611",
              "6111",
              "6113",
              "6114",
              "6115",
              "621",
              "6213",
              "6214",
              "6215",
              "6216",
              "622",
              "623",
              "6241",
              "6242",
              "6244",
              "71",
              "7111",
              "7112",
              "7115",
              "712",
              "7132",
              "7139",
              "721",
              "722",
              "7225",
              "81",
              "811",
              "8111",
              "812",
              "8121",
              "8123",
              "8129",
              "813",
              "8131",
              "8132",
              "8134",
              "8139",
              "92",
              "9211",
              "9221",
              "9281",
              "unknown"
            ],
            "type": "string",
            "description": "Filter by NAICS 2022 code. Matches the code and everything beneath it, so picking a sector like Manufacturing (31-33) returns every manufacturer under it. Pick \"Not classified\" for companies we could not classify."
          },
          "moveType": {
            "title": "Move type",
            "enum": [
              "appointment",
              "promotion",
              "departure",
              "transition"
            ],
            "type": "string",
            "description": "Filter by executive move type."
          },
          "roleSeniority": {
            "title": "Role seniority",
            "enum": [
              "c_level",
              "vp_level",
              "founder"
            ],
            "type": "string",
            "description": "Filter by seniority."
          },
          "cursor": {
            "title": "Resume cursor",
            "type": "string",
            "description": "Resume from a previous run's NEXT_CURSOR (saved in the run's key-value store) to paginate ahead. Leave empty to start from the newest records."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}