{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC Form 8-K Material Events, M&A, Cyber & CEO Scraper",
    "description": "Monitor real-time SEC Form 8-K & 8-K/A material corporate events: Item 1.05 cyberattacks, Item 1.01/2.01 M&A deals, Item 5.02 CEO/CFO departures, Item 2.05/2.06 layoffs, Item 1.03/3.01 bankruptcy/delisting & Item 4.02 restatements with materiality scores + Standby MCP.",
    "version": "1.0",
    "x-build-id": "nWoYlMKjJrlhtSXZW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/desastreger~sec-8k-material-events-cyber-ma-radar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-desastreger-sec-8k-material-events-cyber-ma-radar",
        "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/desastreger~sec-8k-material-events-cyber-ma-radar/runs": {
      "post": {
        "operationId": "runs-sync-desastreger-sec-8k-material-events-cyber-ma-radar",
        "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/desastreger~sec-8k-material-events-cyber-ma-radar/run-sync": {
      "post": {
        "operationId": "run-sync-desastreger-sec-8k-material-events-cyber-ma-radar",
        "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": {
          "eventCategory": {
            "title": "Event Trigger Category",
            "enum": [
              "all",
              "cybersecurity",
              "ma_deals",
              "exec_changes",
              "layoffs_distress",
              "accounting"
            ],
            "type": "string",
            "description": "Filter Form 8-K filings by high-intent B2B trigger category (or 'all' for any 8-K item).",
            "default": "all"
          },
          "itemCodes": {
            "title": "Specific 8-K Item Codes",
            "type": "array",
            "description": "Optional explicit Form 8-K item numbers to filter by (e.g., '1.05', '1.01', '2.01', '2.05', '4.02', '5.02'). Overrides eventCategory if provided.",
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Full-Text Search Keyword",
            "type": "string",
            "description": "Optional full-text search phrase across Form 8-K filings (e.g., 'ransomware', 'definitive merger', 'chief financial officer').",
            "default": ""
          },
          "ciksOrTickers": {
            "title": "Company Tickers or CIKs",
            "type": "array",
            "description": "Optional list of US stock tickers (e.g., 'AAPL', 'MSFT', 'CRWD') or 10-digit SEC CIKs to monitor.",
            "items": {
              "type": "string"
            }
          },
          "daysBack": {
            "title": "Lookback Window (Days Back)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Number of past days of SEC filing dates to scan (1 to 3650). Defaults to 7 days and automatically widens to 90 days if 0 hits match.",
            "default": 7
          },
          "excludeRegFdOnly": {
            "title": "Exclude Routine Reg FD / Exhibits Only",
            "type": "boolean",
            "description": "Skip filings that contain only Item 7.01 (Reg FD), Item 8.01 (Other Events), and/or Item 9.01 (Exhibits) with no higher-materiality item.",
            "default": false
          },
          "enrichSubmissions": {
            "title": "Enrich via SEC Submissions JSON",
            "type": "boolean",
            "description": "Fetch company SIC industry description, stock exchanges, and official ticker list from data.sec.gov/submissions for each matched issuer.",
            "default": false
          },
          "maxResults": {
            "title": "Max Filings",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum normalized Form 8-K event records to return (1 to 500).",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}